@fluid-topics/ft-ripple 1.1.106 → 1.1.109

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,13 +1,13 @@
1
- "use strict";(()=>{var qa=Object.defineProperty;var P=(o,e)=>{for(var t in e)qa(o,t,{get:e[t],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,c=new WeakMap,d=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,N=new Set(b.observedAttributes||[]);m(b,N,S);let I={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:N};this._definitionsByTag.set(x,I),this._definitionsByClass.set(b,I);let D=t.call(n,x);D||(D=p(x),e.call(n,x,D)),this===window.customElements&&(c.set(b,I),I.standInClass=D);let _=this._awaitingUpgrade.get(x);if(_){this._awaitingUpgrade.delete(x);for(let A of _)a.delete(A),y(A,I,!0)}let E=this._whenDefinedPromises.get(x);return E!==void 0&&(E.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(N=>S.resolve=N),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let N=this._awaitingUpgrade.get(b);N||this._awaitingUpgrade.set(b,N=new Set),S?N.add(x):N.delete(x)}};let s;window.HTMLElement=function(){let b=s;if(b)return s=void 0,b;let S=c.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(o,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=o.prototype;let f=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!f(b)){let S=O[O.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),f(b)||(b=d.get(b)?.getRootNode()||document)}return b.customElements},p=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let N=h(S)||window.customElements,I=N._getDefinition(x);return I?y(S,I):a.set(S,N),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let N=x.prototype.setAttribute;N&&(x.prototype.setAttribute=function(_,E){let A=_.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);N.call(this,A,E),S.call(this,A,R,E)}else N.call(this,A,E)});let I=x.prototype.removeAttribute;I&&(x.prototype.removeAttribute=function(_){let E=_.toLowerCase();if(b.has(E)){let A=this.getAttribute(E);I.call(this,E),S.call(this,E,A,null)}else I.call(this,E)});let D=x.prototype.toggleAttribute;D&&(x.prototype.toggleAttribute=function(_,E){let A=_.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);D.call(this,A,E);let U=this.getAttribute(A);S.call(this,A,R,U)}else D.call(this,A,E)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===o?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),s=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(N=>{x.hasAttribute(N)&&b.attributeChangedCallback.call(x,N,null,x.getAttribute(N))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let O=[document],w=(x,b,S=void 0)=>{let N=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){O.push(this);let I=N.apply(S||this,arguments);return I!==void 0&&d.set(I,this),O.pop(),I}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(N){O.push(this),S.set.call(this,N),O.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(..._){let E=b.call(this,..._);return x.set(E,this),E},S.forEach(_=>{let E=window.ElementInternals.prototype,A=E[_];E[_]=function(...R){let U=x.get(this);if(i.get(U).formAssociated===!0)return A?.call(this,...R);throw new DOMException(`Failed to execute ${A} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class N extends Array{constructor(E){super(...E),this._elements=E}get value(){return this._elements.find(E=>E.checked===!0)?.value||""}}class I{constructor(E){let A=new Map;E.forEach((R,U)=>{let Sr=R.getAttribute("name"),mn=A.get(Sr)||[];this[+U]=R,mn.push(R),A.set(Sr,mn)}),this.length=E.length,A.forEach((R,U)=>{R&&(R.length===1?this[U]=R[0]:this[U]=new N(R))})}namedItem(E){return this[E]}}let D=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let _=D.get.call(this,[]),E=[];for(let A of _){let R=i.get(A);(!R||R.formAssociated===!0)&&E.push(A)}return new I(E)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,n,i)=>{if(n!==null)try{e.bind(window.customElements)(t,n,i)}catch(a){console.info(t,n,i,a)}}}var Mr={};P(Mr,{CSSResult:()=>ze,LitElement:()=>ne,ReactiveElement:()=>J,_$LE:()=>xc,_$LH:()=>gc,adoptStyles:()=>Zt,css:()=>T,defaultConverter:()=>Vt,getCompatibleStyle:()=>dt,html:()=>kr,isServer:()=>rd,noChange:()=>fe,notEqual:()=>Rr,nothing:()=>W,render:()=>Lr,supportsAdoptingStyleSheets:()=>st,svg:()=>mc,unsafeCSS:()=>lt});var $t=globalThis,Lt=$t.ShadowRoot&&($t.ShadyCSS===void 0||$t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yn=Symbol(),gn=new WeakMap,kt=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==yn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(Lt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=gn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&gn.set(t,e))}return e}toString(){return this.cssText}},bn=o=>new kt(typeof o=="string"?o:o+"",void 0,yn);var Or=(o,e)=>{if(Lt)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=$t.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},Mt=Lt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return bn(t)})(o):o;var{is:Ya,defineProperty:Ja,getOwnPropertyDescriptor:Xa,getOwnPropertyNames:Qa,getOwnPropertySymbols:ec,getPrototypeOf:tc}=Object,Wt=globalThis,xn=Wt.trustedTypes,rc=xn?xn.emptyScript:"",oc=Wt.reactiveElementPolyfillSupport,rt=(o,e)=>o,ot={toAttribute(o,e){switch(e){case Boolean:o=o?rc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Tt=(o,e)=>!Ya(o,e),vn={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Tt};Symbol.metadata??=Symbol("metadata"),Wt.litPropertyMetadata??=new WeakMap;var Ce=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=vn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&Ja(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=Xa(this.prototype,e)??{get(){return this[t]},set(c){this[t]=c}};return{get(){return i?.call(this)},set(c){let d=i?.call(this);a.call(this,c),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??vn}static _$Ei(){if(this.hasOwnProperty(rt("elementProperties")))return;let e=tc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(rt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(rt("properties"))){let t=this.properties,n=[...Qa(t),...ec(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(Mt(i))}else e!==void 0&&t.push(Mt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Or(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:ot).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ot;this._$Em=i,this[i]=c.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Tt)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};Ce.elementStyles=[],Ce.shadowRootOptions={mode:"open"},Ce[rt("elementProperties")]=new Map,Ce[rt("finalized")]=new Map,oc?.({ReactiveElement:Ce}),(Wt.reactiveElementVersions??=[]).push("2.0.2");var Cr=globalThis,Ut=Cr.trustedTypes,Sn=Ut?Ut.createPolicy("lit-html",{createHTML:o=>o}):void 0,Er="$lit$",re=`lit$${(Math.random()+"").slice(9)}$`,Nr="?"+re,nc=`<${Nr}>`,Ae=document,Ft=()=>Ae.createComment(""),it=o=>o===null||typeof o!="object"&&typeof o!="function",An=Array.isArray,Rn=o=>An(o)||typeof o?.[Symbol.iterator]=="function",wr=`[
1
+ "use strict";(()=>{var qa=Object.defineProperty;var P=(o,e)=>{for(var t in e)qa(o,t,{get:e[t],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,c=new WeakMap,s=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(b,x){if(b=b.toLowerCase(),this._getDefinition(b)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${b}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=x.prototype.attributeChangedCallback,N=new Set(x.observedAttributes||[]);m(x,N,S);let I={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:N};this._definitionsByTag.set(b,I),this._definitionsByClass.set(x,I);let D=t.call(n,b);D||(D=p(b),e.call(n,b,D)),this===window.customElements&&(c.set(x,I),I.standInClass=D);let _=this._awaitingUpgrade.get(b);if(_){this._awaitingUpgrade.delete(b);for(let A of _)a.delete(A),y(A,I,!0)}let E=this._whenDefinedPromises.get(b);return E!==void 0&&(E.resolve(x),this._whenDefinedPromises.delete(b)),x}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(b){return this._definitionsByTag.get(b)?.elementClass}_getDefinition(b){return this._definitionsByTag.get(b)}whenDefined(b){let x=this._getDefinition(b);if(x!==void 0)return Promise.resolve(x.elementClass);let S=this._whenDefinedPromises.get(b);return S===void 0&&(S={},S.promise=new Promise(N=>S.resolve=N),this._whenDefinedPromises.set(b,S)),S.promise}_upgradeWhenDefined(b,x,S){let N=this._awaitingUpgrade.get(x);N||this._awaitingUpgrade.set(x,N=new Set),S?N.add(b):N.delete(b)}};let d;window.HTMLElement=function(){let x=d;if(x)return d=void 0,x;let S=c.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(o,[],S.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),i.set(x,S),x},window.HTMLElement.prototype=o.prototype;let f=b=>b===document||b instanceof ShadowRoot,h=b=>{let x=b.getRootNode();if(!f(x)){let S=O[O.length-1];if(S instanceof CustomElementRegistry)return S;x=S.getRootNode(),f(x)||(x=s.get(x)?.getRootNode()||document)}return x.customElements},p=b=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let N=h(S)||window.customElements,I=N._getDefinition(b);return I?y(S,I):a.set(S,N),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,b,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,b,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(b,x,S)=>{if(x.size===0||S===void 0)return;let N=b.prototype.setAttribute;N&&(b.prototype.setAttribute=function(_,E){let A=_.toLowerCase();if(x.has(A)){let R=this.getAttribute(A);N.call(this,A,E),S.call(this,A,R,E)}else N.call(this,A,E)});let I=b.prototype.removeAttribute;I&&(b.prototype.removeAttribute=function(_){let E=_.toLowerCase();if(x.has(E)){let A=this.getAttribute(E);I.call(this,E),S.call(this,E,A,null)}else I.call(this,E)});let D=b.prototype.toggleAttribute;D&&(b.prototype.toggleAttribute=function(_,E){let A=_.toLowerCase();if(x.has(A)){let R=this.getAttribute(A);D.call(this,A,E);let F=this.getAttribute(A);S.call(this,A,R,F)}else D.call(this,A,E)})},g=b=>{let x=Object.getPrototypeOf(b);if(x!==window.HTMLElement)return x===o?Object.setPrototypeOf(b,window.HTMLElement):g(x)},y=(b,x,S=!1)=>{Object.setPrototypeOf(b,x.elementClass.prototype),i.set(b,x),d=b;try{new x.elementClass}catch{g(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(N=>{b.hasAttribute(N)&&x.attributeChangedCallback.call(b,N,null,b.getAttribute(N))}),S&&x.connectedCallback&&b.isConnected&&x.connectedCallback.call(b)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(b){let x=v.apply(this,arguments);return b.customElements&&(x.customElements=b.customElements),x};let O=[document],w=(b,x,S=void 0)=>{let N=(S?Object.getPrototypeOf(S):b.prototype)[x];b.prototype[x]=function(){O.push(this);let I=N.apply(S||this,arguments);return I!==void 0&&s.set(I,this),O.pop(),I}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(b,x)=>{let S=Object.getOwnPropertyDescriptor(b.prototype,x);Object.defineProperty(b.prototype,x,{...S,set(N){O.push(this),S.set.call(this,N),O.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let b=new WeakMap,x=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(..._){let E=x.call(this,..._);return b.set(E,this),E},S.forEach(_=>{let E=window.ElementInternals.prototype,A=E[_];E[_]=function(...R){let F=b.get(this);if(i.get(F).formAssociated===!0)return A?.call(this,...R);throw new DOMException(`Failed to execute ${A} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class N extends Array{constructor(E){super(...E),this._elements=E}get value(){return this._elements.find(E=>E.checked===!0)?.value||""}}class I{constructor(E){let A=new Map;E.forEach((R,F)=>{let Sr=R.getAttribute("name"),mn=A.get(Sr)||[];this[+F]=R,mn.push(R),A.set(Sr,mn)}),this.length=E.length,A.forEach((R,F)=>{R&&(R.length===1?this[F]=R[0]:this[F]=new N(R))})}namedItem(E){return this[E]}}let D=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let _=D.get.call(this,[]),E=[];for(let A of _){let R=i.get(A);(!R||R.formAssociated===!0)&&E.push(A)}return new I(E)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,n,i)=>{if(n!==null)try{e.bind(window.customElements)(t,n,i)}catch(a){console.info(t,n,i,a)}}}var Mr={};P(Mr,{CSSResult:()=>ze,LitElement:()=>ne,ReactiveElement:()=>J,_$LE:()=>xc,_$LH:()=>gc,adoptStyles:()=>Vt,css:()=>T,defaultConverter:()=>Zt,getCompatibleStyle:()=>dt,html:()=>kr,isServer:()=>rd,noChange:()=>fe,notEqual:()=>Rr,nothing:()=>W,render:()=>Lr,supportsAdoptingStyleSheets:()=>st,svg:()=>mc,unsafeCSS:()=>lt});var $t=globalThis,Lt=$t.ShadowRoot&&($t.ShadyCSS===void 0||$t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yn=Symbol(),gn=new WeakMap,kt=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==yn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(Lt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=gn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&gn.set(t,e))}return e}toString(){return this.cssText}},bn=o=>new kt(typeof o=="string"?o:o+"",void 0,yn);var Or=(o,e)=>{if(Lt)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=$t.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},Mt=Lt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return bn(t)})(o):o;var{is:Ya,defineProperty:Ja,getOwnPropertyDescriptor:Xa,getOwnPropertyNames:Qa,getOwnPropertySymbols:ec,getPrototypeOf:tc}=Object,Wt=globalThis,xn=Wt.trustedTypes,rc=xn?xn.emptyScript:"",oc=Wt.reactiveElementPolyfillSupport,rt=(o,e)=>o,ot={toAttribute(o,e){switch(e){case Boolean:o=o?rc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Tt=(o,e)=>!Ya(o,e),vn={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Tt};Symbol.metadata??=Symbol("metadata"),Wt.litPropertyMetadata??=new WeakMap;var Ce=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=vn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&Ja(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=Xa(this.prototype,e)??{get(){return this[t]},set(c){this[t]=c}};return{get(){return i?.call(this)},set(c){let s=i?.call(this);a.call(this,c),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??vn}static _$Ei(){if(this.hasOwnProperty(rt("elementProperties")))return;let e=tc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(rt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(rt("properties"))){let t=this.properties,n=[...Qa(t),...ec(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(Mt(i))}else e!==void 0&&t.push(Mt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Or(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:ot).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ot;this._$Em=i,this[i]=c.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Tt)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};Ce.elementStyles=[],Ce.shadowRootOptions={mode:"open"},Ce[rt("elementProperties")]=new Map,Ce[rt("finalized")]=new Map,oc?.({ReactiveElement:Ce}),(Wt.reactiveElementVersions??=[]).push("2.0.2");var Cr=globalThis,Ft=Cr.trustedTypes,Sn=Ft?Ft.createPolicy("lit-html",{createHTML:o=>o}):void 0,Er="$lit$",re=`lit$${(Math.random()+"").slice(9)}$`,Nr="?"+re,nc=`<${Nr}>`,Ae=document,Ut=()=>Ae.createComment(""),it=o=>o===null||typeof o!="object"&&typeof o!="function",An=Array.isArray,Rn=o=>An(o)||typeof o?.[Symbol.iterator]=="function",wr=`[
2
2
  \f\r]`,nt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,On=/-->/g,wn=/>/g,Ee=RegExp(`>|${wr}(?:([^\\s"'>=/]+)(${wr}*=${wr}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Cn=/'/g,En=/"/g,Pn=/^(?:script|style|textarea|title)$/i,In=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),Hl=In(1),jl=In(2),H=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),Nn=new WeakMap,Ne=Ae.createTreeWalker(Ae,129);function _n(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Sn!==void 0?Sn.createHTML(e):e}var $n=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",c=nt;for(let d=0;d<t;d++){let s=o[d],f,h,p=-1,m=0;for(;m<s.length&&(c.lastIndex=m,h=c.exec(s),h!==null);)m=c.lastIndex,c===nt?h[1]==="!--"?c=On:h[1]!==void 0?c=wn:h[2]!==void 0?(Pn.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ee):h[3]!==void 0&&(c=Ee):c===Ee?h[0]===">"?(c=i??nt,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ee:h[3]==='"'?En:Cn):c===En||c===Cn?c=Ee:c===On||c===wn?c=nt:(c=Ee,i=void 0);let g=c===Ee&&o[d+1].startsWith("/>")?" ":"";a+=c===nt?s+nc:p>=0?(n.push(f),s.slice(0,p)+Er+s.slice(p)+re+g):s+re+(p===-2?d:g)}return[_n(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},at=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,c=0,d=e.length-1,s=this.parts,[f,h]=$n(e,t);if(this.el=o.createElement(f,n),Ne.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Ne.nextNode())!==null&&s.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Er)){let m=h[c++],g=i.getAttribute(p).split(re),y=/([.?@])?(.*)/.exec(m);s.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Bt:y[1]==="?"?zt:y[1]==="@"?Ht:Pe}),i.removeAttribute(p)}else p.startsWith(re)&&(s.push({type:6,index:a}),i.removeAttribute(p));if(Pn.test(i.tagName)){let p=i.textContent.split(re),m=p.length-1;if(m>0){i.textContent=Ut?Ut.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],Ft()),Ne.nextNode(),s.push({type:2,index:++a});i.append(p[m],Ft())}}}else if(i.nodeType===8)if(i.data===Nr)s.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(re,p+1))!==-1;)s.push({type:7,index:a}),p+=re.length-1}a++}}static createElement(e,t){let n=Ae.createElement("template");return n.innerHTML=e,n}};function Re(o,e,t=o,n){if(e===H)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=it(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=Re(o,i._$AS(o,e.values),i,n)),e}var Dt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Ae).importNode(t,!0);Ne.currentNode=i;let a=Ne.nextNode(),c=0,d=0,s=n[0];for(;s!==void 0;){if(c===s.index){let f;s.type===2?f=new ct(a,a.nextSibling,this,e):s.type===1?f=new s.ctor(a,s.name,s.strings,this,e):s.type===6&&(f=new jt(a,this,e)),this._$AV.push(f),s=n[++d]}c!==s?.index&&(a=Ne.nextNode(),c++)}return Ne.currentNode=Ae,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},ct=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Re(this,e,t),it(e)?e===k||e==null||e===""?(this._$AH!==k&&this._$AR(),this._$AH=k):e!==this._$AH&&e!==H&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Rn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==k&&it(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ae.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=at.createElement(_n(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Dt(i,this),c=a.u(this.options);a.p(t),this.$(c),this._$AH=a}}_$AC(e){let t=Nn.get(e.strings);return t===void 0&&Nn.set(e.strings,t=new at(e)),t}T(e){An(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(Ft()),this.k(Ft()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=k}_$AI(e,t=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=Re(this,e,t,0),c=!it(e)||e!==this._$AH&&e!==H,c&&(this._$AH=e);else{let d=e,s,f;for(e=a[0],s=0;s<a.length-1;s++)f=Re(this,d[n+s],t,s),f===H&&(f=this._$AH[s]),c||=!it(f)||f!==this._$AH[s],f===k?e=k:e!==k&&(e+=(f??"")+a[s+1]),this._$AH[s]=f}c&&!i&&this.O(e)}O(e){e===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bt=class extends Pe{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===k?void 0:e}},zt=class extends Pe{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==k)}},Ht=class extends Pe{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Re(this,e,t,0)??k)===H)return;let n=this._$AH,i=e===k&&n!==k||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==k&&(n===k||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},jt=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Re(this,e)}},kn={j:Er,P:re,A:Nr,C:1,M:$n,L:Dt,R:Rn,V:Re,D:ct,I:Pe,H:zt,N:Ht,U:Bt,B:jt},ic=Cr.litHtmlPolyfillSupport;ic?.(at,ct),(Cr.litHtmlVersions??=[]).push("3.1.0");var Kt=globalThis,st=Kt.ShadowRoot&&(Kt.ShadyCSS===void 0||Kt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ar=Symbol(),Ln=new WeakMap,ze=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Ar)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(st&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=Ln.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ln.set(t,e))}return e}toString(){return this.cssText}},lt=o=>new ze(typeof o=="string"?o:o+"",void 0,Ar),T=(o,...e)=>{let t=o.length===1?o[0]:e.reduce((n,i,a)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new ze(t,o,Ar)},Zt=(o,e)=>{if(st)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=Kt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},dt=st?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return lt(t)})(o):o;var{is:ac,defineProperty:cc,getOwnPropertyDescriptor:sc,getOwnPropertyNames:lc,getOwnPropertySymbols:dc,getPrototypeOf:fc}=Object,Gt=globalThis,Mn=Gt.trustedTypes,uc=Mn?Mn.emptyScript:"",pc=Gt.reactiveElementPolyfillSupport,ft=(o,e)=>o,Vt={toAttribute(o,e){switch(e){case Boolean:o=o?uc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Rr=(o,e)=>!ac(o,e),Wn={attribute:!0,type:String,converter:Vt,reflect:!1,hasChanged:Rr};Symbol.metadata??=Symbol("metadata"),Gt.litPropertyMetadata??=new WeakMap;var J=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Wn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&cc(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=sc(this.prototype,e)??{get(){return this[t]},set(c){this[t]=c}};return{get(){return i?.call(this)},set(c){let d=i?.call(this);a.call(this,c),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Wn}static _$Ei(){if(this.hasOwnProperty(ft("elementProperties")))return;let e=fc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ft("properties"))){let t=this.properties,n=[...lc(t),...dc(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(dt(i))}else e!==void 0&&t.push(dt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Zt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Vt).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Vt;this._$Em=i,this[i]=c.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Rr)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};J.elementStyles=[],J.shadowRootOptions={mode:"open"},J[ft("elementProperties")]=new Map,J[ft("finalized")]=new Map,pc?.({ReactiveElement:J}),(Gt.reactiveElementVersions??=[]).push("2.0.2");var Ir=globalThis,qt=Ir.trustedTypes,Tn=qt?qt.createPolicy("lit-html",{createHTML:o=>o}):void 0,_r="$lit$",oe=`lit$${(Math.random()+"").slice(9)}$`,$r="?"+oe,hc=`<${$r}>`,$e=document,pt=()=>$e.createComment(""),ht=o=>o===null||typeof o!="object"&&typeof o!="function",Hn=Array.isArray,jn=o=>Hn(o)||typeof o?.[Symbol.iterator]=="function",Pr=`[
4
- \f\r]`,ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Un=/-->/g,Fn=/>/g,Ie=RegExp(`>|${Pr}(?:([^\\s"'>=/]+)(${Pr}*=${Pr}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Dn=/'/g,Bn=/"/g,Kn=/^(?:script|style|textarea|title)$/i,Zn=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),kr=Zn(1),mc=Zn(2),fe=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),zn=new WeakMap,_e=$e.createTreeWalker($e,129);function Vn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Tn!==void 0?Tn.createHTML(e):e}var Gn=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",c=ut;for(let d=0;d<t;d++){let s=o[d],f,h,p=-1,m=0;for(;m<s.length&&(c.lastIndex=m,h=c.exec(s),h!==null);)m=c.lastIndex,c===ut?h[1]==="!--"?c=Un:h[1]!==void 0?c=Fn:h[2]!==void 0?(Kn.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ie):h[3]!==void 0&&(c=Ie):c===Ie?h[0]===">"?(c=i??ut,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ie:h[3]==='"'?Bn:Dn):c===Bn||c===Dn?c=Ie:c===Un||c===Fn?c=ut:(c=Ie,i=void 0);let g=c===Ie&&o[d+1].startsWith("/>")?" ":"";a+=c===ut?s+hc:p>=0?(n.push(f),s.slice(0,p)+_r+s.slice(p)+oe+g):s+oe+(p===-2?d:g)}return[Vn(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},mt=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,c=0,d=e.length-1,s=this.parts,[f,h]=Gn(e,t);if(this.el=o.createElement(f,n),_e.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=_e.nextNode())!==null&&s.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(_r)){let m=h[c++],g=i.getAttribute(p).split(oe),y=/([.?@])?(.*)/.exec(m);s.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Jt:y[1]==="?"?Xt:y[1]==="@"?Qt:Le}),i.removeAttribute(p)}else p.startsWith(oe)&&(s.push({type:6,index:a}),i.removeAttribute(p));if(Kn.test(i.tagName)){let p=i.textContent.split(oe),m=p.length-1;if(m>0){i.textContent=qt?qt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],pt()),_e.nextNode(),s.push({type:2,index:++a});i.append(p[m],pt())}}}else if(i.nodeType===8)if(i.data===$r)s.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(oe,p+1))!==-1;)s.push({type:7,index:a}),p+=oe.length-1}a++}}static createElement(e,t){let n=$e.createElement("template");return n.innerHTML=e,n}};function ke(o,e,t=o,n){if(e===fe)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=ht(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=ke(o,i._$AS(o,e.values),i,n)),e}var Yt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??$e).importNode(t,!0);_e.currentNode=i;let a=_e.nextNode(),c=0,d=0,s=n[0];for(;s!==void 0;){if(c===s.index){let f;s.type===2?f=new He(a,a.nextSibling,this,e):s.type===1?f=new s.ctor(a,s.name,s.strings,this,e):s.type===6&&(f=new er(a,this,e)),this._$AV.push(f),s=n[++d]}c!==s?.index&&(a=_e.nextNode(),c++)}return _e.currentNode=$e,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},He=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=ke(this,e,t),ht(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==fe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):jn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==W&&ht(this._$AH)?this._$AA.nextSibling.data=e:this.$($e.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=mt.createElement(Vn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Yt(i,this),c=a.u(this.options);a.p(t),this.$(c),this._$AH=a}}_$AC(e){let t=zn.get(e.strings);return t===void 0&&zn.set(e.strings,t=new mt(e)),t}T(e){Hn(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(pt()),this.k(pt()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,t=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=ke(this,e,t,0),c=!ht(e)||e!==this._$AH&&e!==fe,c&&(this._$AH=e);else{let d=e,s,f;for(e=a[0],s=0;s<a.length-1;s++)f=ke(this,d[n+s],t,s),f===fe&&(f=this._$AH[s]),c||=!ht(f)||f!==this._$AH[s],f===W?e=W:e!==W&&(e+=(f??"")+a[s+1]),this._$AH[s]=f}c&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Jt=class extends Le{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},Xt=class extends Le{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},Qt=class extends Le{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=ke(this,e,t,0)??W)===fe)return;let n=this._$AH,i=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==W&&(n===W||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},er=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ke(this,e)}},gc={j:_r,P:oe,A:$r,C:1,M:Gn,L:Yt,R:jn,V:ke,D:He,I:Le,H:Xt,N:Qt,U:Jt,B:er},yc=Ir.litHtmlPolyfillSupport;yc?.(mt,He),(Ir.litHtmlVersions??=[]).push("3.1.0");var Lr=(o,e,t)=>{let n=t?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=t?.renderBefore??null;n._$litPart$=i=new He(e.insertBefore(pt(),a),a,void 0,t??{})}return i._$AI(o),i};var ne=class extends J{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Lr(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return fe}};ne._$litElement$=!0,ne.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ne});var bc=globalThis.litElementPolyfillSupport;bc?.({LitElement:ne});var xc={_$AK:(o,e,t)=>{o._$AK(e,t)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var rd=!1;var Wr={};P(Wr,{customElement:()=>vc,eventOptions:()=>Oc,property:()=>L,query:()=>tr,queryAll:()=>Cc,queryAssignedElements:()=>Nc,queryAssignedNodes:()=>Ac,queryAsync:()=>Ec,standardProperty:()=>qn,state:()=>X});var vc=o=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var Sc={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Tt},qn=(o=Sc,e,t)=>{let{kind:n,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(t.name,o),n==="accessor"){let{name:c}=t;return{set(d){let s=e.get.call(this);e.set.call(this,d),this.requestUpdate(c,s,o)},init(d){return d!==void 0&&this.C(c,void 0,o),d}}}if(n==="setter"){let{name:c}=t;return function(d){let s=this[c];e.call(this,d),this.requestUpdate(c,s,o)}}throw Error("Unsupported decorator location: "+n)};function L(o){return(e,t)=>typeof t=="object"?qn(o,e,t):((n,i,a)=>{let c=i.hasOwnProperty(a);return i.constructor.createProperty(a,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(i,a):void 0})(o,e,t)}function X(o){return L({...o,state:!0,attribute:!1})}function Oc(o){return(e,t)=>{let n=typeof e=="function"?e:e[t];Object.assign(n,o)}}var G=(o,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,t),t);function tr(o,e){return(t,n,i)=>{let a=c=>c.renderRoot?.querySelector(o)??null;if(e){let{get:c,set:d}=typeof n=="object"?t:i??(()=>{let s=Symbol();return{get(){return this[s]},set(f){this[s]=f}}})();return G(t,n,{get(){let s=c.call(this);return s===void 0&&(s=a(this),(s!==null||this.hasUpdated)&&d.call(this,s)),s}})}return G(t,n,{get(){return a(this)}})}}var wc;function Cc(o){return(e,t)=>G(e,t,{get(){return(this.renderRoot??(wc??=document.createDocumentFragment())).querySelectorAll(o)}})}function Ec(o){return(e,t)=>G(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function Nc(o){return(e,t)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return G(e,t,{get(){let c=this.renderRoot?.querySelector(a),d=c?.assignedElements(o)??[];return i===void 0?d:d.filter(s=>s.matches(i))}})}}function Ac(o){return(e,t)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return G(e,t,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var Tr={};P(Tr,{repeat:()=>Ic});var ue={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},pe=o=>(...e)=>({_$litDirective$:o,values:e}),Q=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:Rc}=kn;var Yn=()=>document.createComment(""),je=(o,e,t)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(t===void 0){let a=n.insertBefore(Yn(),i),c=n.insertBefore(Yn(),i);t=new Rc(a,c,o,o.options)}else{let a=t._$AB.nextSibling,c=t._$AM,d=c!==o;if(d){let s;t._$AQ?.(o),t._$AM=o,t._$AP!==void 0&&(s=o._$AU)!==c._$AU&&t._$AP(s)}if(a!==i||d){let s=t._$AA;for(;s!==a;){let f=s.nextSibling;n.insertBefore(s,i),s=f}}}return t},he=(o,e,t=o)=>(o._$AI(e,t),o),Pc={},Jn=(o,e=Pc)=>o._$AH=e,Xn=o=>o._$AH,rr=o=>{o._$AP?.(!1,!0);let e=o._$AA,t=o._$AB.nextSibling;for(;e!==t;){let n=e.nextSibling;e.remove(),e=n}};var Qn=(o,e,t)=>{let n=new Map;for(let i=e;i<=t;i++)n.set(o[i],i);return n},Ic=pe(class extends Q{constructor(o){if(super(o),o.type!==ue.CHILD)throw Error("repeat() can only be used in text expressions")}ht(o,e,t){let n;t===void 0?t=e:e!==void 0&&(n=e);let i=[],a=[],c=0;for(let d of o)i[c]=n?n(d,c):c,a[c]=t(d,c),c++;return{values:a,keys:i}}render(o,e,t){return this.ht(o,e,t).values}update(o,[e,t,n]){let i=Xn(o),{values:a,keys:c}=this.ht(e,t,n);if(!Array.isArray(i))return this.dt=c,a;let d=this.dt??=[],s=[],f,h,p=0,m=i.length-1,g=0,y=a.length-1;for(;p<=m&&g<=y;)if(i[p]===null)p++;else if(i[m]===null)m--;else if(d[p]===c[g])s[g]=he(i[p],a[g]),p++,g++;else if(d[m]===c[y])s[y]=he(i[m],a[y]),m--,y--;else if(d[p]===c[y])s[y]=he(i[p],a[y]),je(o,s[y+1],i[p]),p++,y--;else if(d[m]===c[g])s[g]=he(i[m],a[g]),je(o,i[p],i[m]),m--,g++;else if(f===void 0&&(f=Qn(c,g,y),h=Qn(d,p,m)),f.has(d[p]))if(f.has(d[m])){let v=h.get(c[g]),O=v!==void 0?i[v]:null;if(O===null){let w=je(o,i[p]);he(w,a[g]),s[g]=w}else s[g]=he(O,a[g]),je(o,i[p],O),i[v]=null;g++}else rr(i[m]),m--;else rr(i[p]),p++;for(;g<=y;){let v=je(o,s[y+1]);he(v,a[g]),s[g++]=v}for(;p<=m;){let v=i[p++];v!==null&&rr(v)}return this.dt=c,Jn(o,s),H}});var Fr={};P(Fr,{classMap:()=>Ur});var Ur=pe(class extends Q{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(e=>o[e]).join(" ")+" "}update(o,[e]){if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.st=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let t=o.element.classList;for(let n of this.it)n in e||(t.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(t.add(n),this.it.add(n)):(t.remove(n),this.it.delete(n)))}return H}});var Dr={};P(Dr,{styleMap:()=>$c});var ei="important",_c=" !"+ei,$c=pe(class extends Q{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="style"||o.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(o){return Object.keys(o).reduce((e,t)=>{let n=o[t];return n==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:t}=o.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?t.removeProperty(n):t[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(_c);n.includes("-")||a?t.setProperty(n,a?i.slice(0,-11):i,a?ei:""):t[n]=i}}return H}});var Br={};P(Br,{UnsafeHTMLDirective:()=>Ke,unsafeHTML:()=>kc});var Ke=class extends Q{constructor(e){if(super(e),this.et=k,e.type!==ue.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===k||e==null)return this.vt=void 0,this.et=e;if(e===H)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Ke.directiveName="unsafeHTML",Ke.resultType=1;var kc=pe(Ke);var Kr={};P(Kr,{CacheRegistry:()=>jr});var Hr={};P(Hr,{CancelablePromise:()=>Ze,CanceledPromiseError:()=>gt,cancelable:()=>zr});var gt=class extends Error{constructor(e,t,n){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=n}},Ze=class extends Promise{constructor(e){super((t,n)=>e(i=>{this.isCanceled?n(new gt("Promise has been canceled",i)):t(i)},i=>{this.isCanceled?n(new gt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},zr=o=>new Ze((e,t)=>o.then(e).catch(t));var jr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Ze&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,n){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let i=zr(t());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Vr={};P(Vr,{ClusteringHelper:()=>Zr});var Zr=class o{constructor(e,t,n,i){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,t){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return t==null?o.flattenMetadata(a):o.flattenMetadata(a.find(c=>c.key===t))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>o.flattenMetadata(n)).filter(n=>n!=null);let t=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!t))if(t){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,t,n="No value"){var i,a;let c=o.extractResultMetadata(this.selectedResult,e),d=(i=c?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>o.extractResultMetadata(f,e)).map(f=>f??{key:e,label:d,value:void 0,displayValue:n}).filter(f=>f.value!=c?.value).filter((f,h,p)=>p.findIndex(m=>m.value===f.value)===h).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,h)=>this.compareMetadata(f.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,n,i){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(n),c=a?.sortRule||"NONE",d=a?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let s=e.localeCompare(t,i,{numeric:!0});return d?s*-1:s}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let n=this.allResults.filter(s=>{var f;return((f=o.extractResultMetadata(s,e))===null||f===void 0?void 0:f.value)==t}),a=[...o.extractResultMetadata(this.selectedResult).filter(s=>this.clusteringMetadata.has(s.key)).filter(s=>s.key!==e)],c,d=-1;for(let s of n){let f=this.countMatchingMetadata(s,a);if(f>d&&(d=f,c=s,f===a.length))break}return c}countMatchingMetadata(e,t){return o.extractResultMetadata(e).filter(n=>t.some(i=>i.key===n.key&&i.value===n.value)).length}};var Gr={};P(Gr,{Debouncer:()=>me});var me=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,n)=>{this.resolvePromise=t,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){i(d);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Qr={};P(Qr,{customElement:()=>Jr,isNumber:()=>ii,jsonProperty:()=>Xr,optionalNumberProperty:()=>Fc});var Yr={};P(Yr,{dateReviver:()=>Mc,deepEqual:()=>yt,delay:()=>ti,eventPathContainsMatchingElement:()=>Tc,flatDeep:()=>oi,hasChanged:()=>bt,last:()=>Uc,minmax:()=>qr,parseDate:()=>ni,waitFor:()=>ri,waitUntil:()=>Lc});var ti=o=>new Promise(e=>setTimeout(e,o));async function Lc(o,e=10,t=2e4){await ri(async()=>await o()||void 0,e,t)}async function ri(o,e=10,t=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!t||a-i<t);)await ti(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function oi(o,e){return o.flatMap(t=>[t,...oi(e(t),e)])}function Mc(...o){return function(e,t){return o.includes(e)?ni(t):t}}function ni(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,n,i)=>t+n+":"+i),new Date(o)}function Wc(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var t,n,i;if(Array.isArray(o)){if(t=o.length,t!=e.length)return!1;for(n=t;n--!==0;)if(!yt(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!yt(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),t=i.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=t;n--!==0;){var a=i[n];if(!yt(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function yt(o,e){try{return Wc(o,e)}catch{return!1}}function bt(o,e){return!yt(o,e)}function Tc(o,e,t=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===t)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function qr(o,e,t){return Math.min(Math.max(o,e),t)}function Uc(o){return o[o.length-1]}var Jr=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function Xr(o,e){let t=()=>JSON.parse(JSON.stringify(o));return L({type:Object,converter:{fromAttribute:n=>{if(n==null)return t();try{return JSON.parse(n)}catch{return t()}},toAttribute:n=>JSON.stringify(n)},hasChanged:bt,...e??{}})}function Fc(o){return L({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ii(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function ii(o){return!isNaN(parseFloat(o))}var oo={};P(oo,{designSystemVariables:()=>ae});var ro={};P(ro,{DesignSystemFamily:()=>xt,DesignSystemSize:()=>vt,FtCssVariableFactory:()=>r,badge:()=>Zc,banner:()=>Kc,breadcrumb:()=>Vc,button:()=>zc,chart:()=>as,checkbox:()=>ss,chip:()=>Hc,collapsible:()=>ns,comboboxMultiSelect:()=>rs,comboboxSingleSelect:()=>ts,drawer:()=>Yc,floatingMenu:()=>es,foundation:()=>l,link:()=>jc,modal:()=>qc,notice:()=>cs,notification:()=>fs,pageHeader:()=>Gc,popover:()=>os,radio:()=>ds,resolveFamilyClass:()=>eo,resolveSizeClass:()=>to,semantic:()=>u,setVariable:()=>or,switch_:()=>is,tabs:()=>Jc,textArea:()=>Qc,textInput:()=>Xc,toggle:()=>ls,tooltip:()=>us,typographies:()=>Dc,typographyBody1Medium:()=>fi,typographyBody1Regular:()=>di,typographyBody1Semibold:()=>ui,typographyBody2Medium:()=>hi,typographyBody2MediumUnderline:()=>mi,typographyBody2Regular:()=>pi,typographyBody2Semibold:()=>gi,typographyCaption1Bold:()=>Ei,typographyCaption1Medium:()=>wi,typographyCaption1Semibold:()=>Ci,typographyCaption2Bold:()=>Ri,typographyCaption2Medium:()=>Ni,typographyCaption2Semibold:()=>Ai,typographyCaption3Bold:()=>_i,typographyCaption3Medium:()=>Pi,typographyCaption3Semibold:()=>Ii,typographyDisplay:()=>ai,typographyLabel1Bold:()=>xi,typographyLabel1Medium:()=>yi,typographyLabel1Semibold:()=>bi,typographyLabel2Bold:()=>Oi,typographyLabel2Medium:()=>vi,typographyLabel2Semibold:()=>Si,typographyTitle1:()=>ci,typographyTitle2:()=>si,typographyTitle3:()=>li,typographyVariants:()=>Bc});var ie=o=>typeof o=="string"?lt(o):o,r=class{static create(e,t,n,i){let a=d=>ie(d??i),c=T`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=t,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=d=>T`var(${ie(e)}, ${a(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,t,n,i){let a=d=>n.get(d??i),c=T`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=t,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=d=>T`var(${ie(e)}, ${a(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,t){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ie(a??e.lastResortDefaultValue()),i=T`var(${ie(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=t,i.defaultCssValue=n,i.get=a=>T`var(${ie(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function or(o,e){return ie(`${o.name}: ${e}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},ai={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},si={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},pi={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},hi={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},mi={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},gi={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},yi={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},vi={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ii={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Dc={display:ai,"title-1":ci,"title-2":si,"title-3":li,"body-1-regular":di,"body-1-medium":fi,"body-1-semibold":ui,"body-2-regular":pi,"body-2-medium":hi,"body-2-medium-underline":mi,"body-2-semibold":gi,"label-1-medium":yi,"label-1-semibold":bi,"label-1-bold":xi,"label-2-medium":vi,"label-2-semibold":Si,"label-2-bold":Oi,"caption-1-medium":wi,"caption-1-semibold":Ci,"caption-1-bold":Ei,"caption-2-medium":Ni,"caption-2-semibold":Ai,"caption-2-bold":Ri,"caption-3-medium":Pi,"caption-3-semibold":Ii,"caption-3-bold":_i},Bc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var zc={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Hc={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var jc={focusOpacity:r.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",u.contentInfoPrimary)};var Kc={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Zc={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Vc={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Gc={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var qc={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Yc={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Jc={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Xc={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Qc={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var es={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var ts={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var rs={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var os={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02)};var ns={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var is={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var as={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var cs={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var ss={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var ls={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var ds={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var fs={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var us={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var xt;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(xt||(xt={}));var vt;(function(o){o.large="large",o.medium="medium",o.small="small"})(vt||(vt={}));function eo(o){return`ftds--family-${o}`}function to(o){return`ftds--size-${o}`}var ae={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var co={};P(co,{FtNotificationEvent:()=>no,PostResizeEvent:()=>ao,PreResizeEvent:()=>io});var no=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},io=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ao=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var xo={};P(xo,{computeOffsetPosition:()=>_s});var ki=["top","right","bottom","left"],$i=["start","end"],lo=ki.reduce((o,e)=>o.concat(e,e+"-"+$i[0],e+"-"+$i[1]),[]),St=Math.min,ge=Math.max,Ot=Math.round;var ce=o=>({x:o,y:o}),ps={left:"right",right:"left",bottom:"top",top:"bottom"},hs={start:"end",end:"start"};function fo(o,e,t){return ge(o,St(e,t))}function nr(o,e){return typeof o=="function"?o(e):o}function Ve(o){return o.split("-")[0]}function ye(o){return o.split("-")[1]}function uo(o){return o==="x"?"y":"x"}function po(o){return o==="y"?"height":"width"}function ir(o){return["top","bottom"].includes(Ve(o))?"y":"x"}function ho(o){return uo(ir(o))}function Li(o,e,t){t===void 0&&(t=!1);let n=ye(o),i=ho(o),a=po(i),c=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=so(c)),[c,so(c)]}function Mi(o){return o.replace(/start|end/g,e=>hs[e])}function so(o){return o.replace(/left|right|bottom|top/g,e=>ps[e])}function ms(o){return{top:0,right:0,bottom:0,left:0,...o}}function Wi(o){return typeof o!="number"?ms(o):{top:o,right:o,bottom:o,left:o}}function Me(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Ti(o,e,t){let{reference:n,floating:i}=o,a=ir(e),c=ho(e),d=po(c),s=Ve(e),f=a==="y",h=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,m=n[d]/2-i[d]/2,g;switch(s){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-i.width,y:p};break;default:g={x:n.x,y:n.y}}switch(ye(e)){case"start":g[c]-=m*(t&&f?-1:1);break;case"end":g[c]+=m*(t&&f?-1:1);break}return g}var Ui=async(o,e,t)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=t,d=a.filter(Boolean),s=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:p}=Ti(f,n,s),m=n,g={},y=0;for(let v=0;v<d.length;v++){let{name:O,fn:w}=d[v],{x:C,y:x,data:b,reset:S}=await w({x:h,y:p,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:c,elements:{reference:o,floating:e}});if(h=C??h,p=x??p,g={...g,[O]:{...g[O],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await c.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:p}=Ti(f,m,s)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:i,middlewareData:g}};async function mo(o,e){var t;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:d,strategy:s}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=nr(e,o),y=Wi(g),O=d[m?p==="floating"?"reference":"floating":p],w=Me(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(O)))==null||t?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(d.floating)),boundary:f,rootBoundary:h,strategy:s})),C=p==="floating"?{...c.floating,x:n,y:i}:c.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Me(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:x,strategy:s}):C);return{top:(w.top-S.top+y.top)/b.y,bottom:(S.bottom-w.bottom+y.bottom)/b.y,left:(w.left-S.left+y.left)/b.x,right:(S.right-w.right+y.right)/b.x}}function gs(o,e,t){return(o?[...t.filter(i=>ye(i)===o),...t.filter(i=>ye(i)!==o)]:t.filter(i=>Ve(i)===i)).filter(i=>o?ye(i)===o||(e?Mi(i)!==i:!1):!0)}var go=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var t,n,i;let{rects:a,middlewareData:c,placement:d,platform:s,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=lo,autoAlignment:g=!0,...y}=nr(o,e),v=p!==void 0||m===lo?gs(p||null,g,m):m,O=await mo(e,y),w=((t=c.autoPlacement)==null?void 0:t.index)||0,C=v[w];if(C==null)return{};let x=Li(C,a,await(s.isRTL==null?void 0:s.isRTL(f.floating)));if(d!==C)return{reset:{placement:v[0]}};let b=[O[Ve(C)],O[x[0]],O[x[1]]],S=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],N=v[w+1];if(N)return{data:{index:w+1,overflows:S},reset:{placement:N}};let I=S.map(E=>{let A=ye(E.placement);return[E.placement,A&&h?E.overflows.slice(0,2).reduce((R,U)=>R+U,0):E.overflows[0],E.overflows]}).sort((E,A)=>E[1]-A[1]),_=((i=I.filter(E=>E[2].slice(0,ye(E[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||I[0][0];return _!==d?{data:{index:w+1,overflows:S},reset:{placement:_}}:{}}}};var yo=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...s}=nr(o,e),f={x:t,y:n},h=await mo(e,s),p=ir(Ve(i)),m=uo(p),g=f[m],y=f[p];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],x=g-h[w];g=fo(C,g,x)}if(c){let O=p==="y"?"top":"left",w=p==="y"?"bottom":"right",C=y+h[O],x=y-h[w];y=fo(C,y,x)}let v=d.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-t,y:v.y-n}}}}};function se(o){return Di(o)?(o.nodeName||"").toLowerCase():"#document"}function B(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function le(o){var e;return(e=(Di(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Di(o){return o instanceof Node||o instanceof B(o).Node}function ee(o){return o instanceof Element||o instanceof B(o).Element}function q(o){return o instanceof HTMLElement||o instanceof B(o).HTMLElement}function Fi(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof B(o).ShadowRoot}function Ge(o){let{overflow:e,overflowX:t,overflowY:n,display:i}=j(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function Bi(o){return["table","td","th"].includes(se(o))}function cr(o){let e=sr(),t=j(o);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function zi(o){let e=We(o);for(;q(e)&&!wt(e);){if(cr(e))return e;e=We(e)}return null}function sr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wt(o){return["html","body","#document"].includes(se(o))}function j(o){return B(o).getComputedStyle(o)}function Ct(o){return ee(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function We(o){if(se(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Fi(o)&&o.host||le(o);return Fi(e)?e.host:e}function Hi(o){let e=We(o);return wt(e)?o.ownerDocument?o.ownerDocument.body:o.body:q(e)&&Ge(e)?e:Hi(e)}function ar(o,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=Hi(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),c=B(i);return a?e.concat(c,c.visualViewport||[],Ge(i)?i:[],c.frameElement&&t?ar(c.frameElement):[]):e.concat(i,ar(i,[],t))}function Zi(o){let e=j(o),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=q(o),a=i?o.offsetWidth:t,c=i?o.offsetHeight:n,d=Ot(t)!==a||Ot(n)!==c;return d&&(t=a,n=c),{width:t,height:n,$:d}}function Vi(o){return ee(o)?o:o.contextElement}function qe(o){let e=Vi(o);if(!q(e))return ce(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:a}=Zi(e),c=(a?Ot(t.width):t.width)/n,d=(a?Ot(t.height):t.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var ys=ce(0);function Gi(o){let e=B(o);return!sr()||!e.visualViewport?ys:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function bs(o,e,t){return e===void 0&&(e=!1),!t||e&&t!==B(o)?!1:e}function Et(o,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=o.getBoundingClientRect(),a=Vi(o),c=ce(1);e&&(n?ee(n)&&(c=qe(n)):c=qe(o));let d=bs(a,t,n)?Gi(a):ce(0),s=(i.left+d.x)/c.x,f=(i.top+d.y)/c.y,h=i.width/c.x,p=i.height/c.y;if(a){let m=B(a),g=n&&ee(n)?B(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=qe(y),O=y.getBoundingClientRect(),w=j(y),C=O.left+(y.clientLeft+parseFloat(w.paddingLeft))*v.x,x=O.top+(y.clientTop+parseFloat(w.paddingTop))*v.y;s*=v.x,f*=v.y,h*=v.x,p*=v.y,s+=C,f+=x,y=B(y).frameElement}}return Me({width:h,height:p,x:s,y:f})}function xs(o){let{rect:e,offsetParent:t,strategy:n}=o,i=q(t),a=le(t);if(t===a)return e;let c={scrollLeft:0,scrollTop:0},d=ce(1),s=ce(0);if((i||!i&&n!=="fixed")&&((se(t)!=="body"||Ge(a))&&(c=Ct(t)),q(t))){let f=Et(t);d=qe(t),s.x=f.x+t.clientLeft,s.y=f.y+t.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-c.scrollLeft*d.x+s.x,y:e.y*d.y-c.scrollTop*d.y+s.y}}function vs(o){return Array.from(o.getClientRects())}function qi(o){return Et(le(o)).left+Ct(o).scrollLeft}function Ss(o){let e=le(o),t=Ct(o),n=o.ownerDocument.body,i=ge(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ge(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-t.scrollLeft+qi(o),d=-t.scrollTop;return j(n).direction==="rtl"&&(c+=ge(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:d}}function Os(o,e){let t=B(o),n=le(o),i=t.visualViewport,a=n.clientWidth,c=n.clientHeight,d=0,s=0;if(i){a=i.width,c=i.height;let f=sr();(!f||f&&e==="fixed")&&(d=i.offsetLeft,s=i.offsetTop)}return{width:a,height:c,x:d,y:s}}function ws(o,e){let t=Et(o,!0,e==="fixed"),n=t.top+o.clientTop,i=t.left+o.clientLeft,a=q(o)?qe(o):ce(1),c=o.clientWidth*a.x,d=o.clientHeight*a.y,s=i*a.x,f=n*a.y;return{width:c,height:d,x:s,y:f}}function ji(o,e,t){let n;if(e==="viewport")n=Os(o,t);else if(e==="document")n=Ss(le(o));else if(ee(e))n=ws(e,t);else{let i=Gi(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Me(n)}function Yi(o,e){let t=We(o);return t===e||!ee(t)||wt(t)?!1:j(t).position==="fixed"||Yi(t,e)}function Cs(o,e){let t=e.get(o);if(t)return t;let n=ar(o,[],!1).filter(d=>ee(d)&&se(d)!=="body"),i=null,a=j(o).position==="fixed",c=a?We(o):o;for(;ee(c)&&!wt(c);){let d=j(c),s=cr(c);!s&&d.position==="fixed"&&(i=null),(a?!s&&!i:!s&&d.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ge(c)&&!s&&Yi(o,c))?n=n.filter(h=>h!==c):i=d,c=We(c)}return e.set(o,n),n}function Es(o){let{element:e,boundary:t,rootBoundary:n,strategy:i}=o,c=[...t==="clippingAncestors"?Cs(e,this._c):[].concat(t),n],d=c[0],s=c.reduce((f,h)=>{let p=ji(e,h,i);return f.top=ge(p.top,f.top),f.right=St(p.right,f.right),f.bottom=St(p.bottom,f.bottom),f.left=ge(p.left,f.left),f},ji(e,d,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Ns(o){return Zi(o)}function As(o,e,t){let n=q(e),i=le(e),a=t==="fixed",c=Et(o,!0,a,e),d={scrollLeft:0,scrollTop:0},s=ce(0);if(n||!n&&!a)if((se(e)!=="body"||Ge(i))&&(d=Ct(e)),n){let f=Et(e,!0,a,e);s.x=f.x+e.clientLeft,s.y=f.y+e.clientTop}else i&&(s.x=qi(i));return{x:c.left+d.scrollLeft-s.x,y:c.top+d.scrollTop-s.y,width:c.width,height:c.height}}function Ki(o,e){return!q(o)||j(o).position==="fixed"?null:e?e(o):o.offsetParent}function Ji(o,e){let t=B(o);if(!q(o))return t;let n=Ki(o,e);for(;n&&Bi(n)&&j(n).position==="static";)n=Ki(n,e);return n&&(se(n)==="html"||se(n)==="body"&&j(n).position==="static"&&!cr(n))?t:n||zi(o)||t}var Rs=async function(o){let{reference:e,floating:t,strategy:n}=o,i=this.getOffsetParent||Ji,a=this.getDimensions;return{reference:As(e,await i(t),n),floating:{x:0,y:0,...await a(t)}}};function Ps(o){return j(o).direction==="rtl"}var lr={convertOffsetParentRelativeRectToViewportRelativeRect:xs,getDocumentElement:le,getClippingRect:Es,getOffsetParent:Ji,getElementRects:Rs,getClientRects:vs,getDimensions:Ns,getScale:qe,isElement:ee,isRTL:Ps};var Xi=(o,e,t)=>{let n=new Map,i={platform:lr,...t},a={...i.platform,_c:n};return Ui(o,e,{...i,platform:a})};function Qi(o){return Is(o)}function bo(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Is(o){for(let e=o;e;e=bo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=bo(o);e;e=bo(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function _s(o,e,t){return Xi(o,e,{platform:{...lr,getOffsetParent:n=>lr.getOffsetParent(n,Qi)},middleware:[yo({crossAxis:!0}),go({allowedPlacements:[t]})]})}var wo={};P(wo,{FtdsBase:()=>Oo,toFtdsBase:()=>ca});var So={};P(So,{FtLitElement:()=>K});var vo={};P(vo,{ScopedRegistryLitElement:()=>Nt});var dr=window,$s=dr.ShadowRoot&&(dr.ShadyCSS===void 0||dr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lh=Symbol();var ea=(o,e)=>{$s?o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let n=document.createElement("style"),i=dr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)})};var Nt=class extends ne{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let t={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(t);return ea(n,e.elementStyles),n}};var fr=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},na,ta=Symbol("constructorPrototype"),ra=Symbol("constructorName"),ia=Symbol("exportpartsDebouncer"),oa=Symbol("dynamicDependenciesLoaded"),K=class extends Nt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[na]=new me(5),this[ra]=this.constructor.name,this[ta]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ra]&&Object.setPrototypeOf(this,this[ta])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[oa]||(e[oa]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var t,n,i;if(((n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&n!==void 0&&n)&&this[ia].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,n,i,a,c,d;let s=m=>m!=null&&m.trim().length>0,f=e.filter(s).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(d=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...g,...y).filter(s).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};na=ia;fr([L()],K.prototype,"exportpartsPrefix",void 0);fr([Xr([])],K.prototype,"exportpartsPrefixes",void 0);fr([L()],K.prototype,"customStylesheet",void 0);fr([X()],K.prototype,"useAdoptedStyleSheets",void 0);var aa=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a};function ca(o){class e extends o{constructor(){super(...arguments),this.size=vt.medium,this.family=xt.neutral}getDesignSystemBaseClasses(){return{[eo(this.family)]:!0,[to(this.size)]:!0}}}return aa([L()],e.prototype,"size",void 0),aa([L()],e.prototype,"family",void 0),e}var Oo=class extends ca(K){};var sa={};var Eo={};P(Eo,{highlightHtml:()=>Ms,highlightHtmlColorCssVariable:()=>la,highlightHtmlStyles:()=>Ls});var Te=class o{constructor(e,t=!0,n=[],i=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=i}static matches(e,t){let n=typeof t=="string"?[t]:t,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(c=>i.call(e,c)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=t.filter(a=>a.contains(n)).length>0;t.indexOf(n)===-1&&!i&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&t(i)}isIframeBlank(e){let t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let i=!1,a=null,c=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",c),a=setTimeout(c,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||t()})},i=>{i||t()})}forEachIframe(e,t,n,i=()=>{}){let a=e.querySelectorAll("iframe"),c=a.length,d=0;a=Array.prototype.slice.call(a);let s=()=>{--c<=0&&i(d)};c||s(),a.forEach(f=>{o.matches(f,this.exclude)?s():this.onIframeReady(f,h=>{t(f)&&(d++,n(h)),s()},s)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(t!==null){let c=t.compareDocumentPosition(n),d=Node.DOCUMENT_POSITION_FOLLOWING;if(c&d)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,i){let a=!1,c=!1;return i.forEach((d,s)=>{d.val===n&&(a=s,c=d.handled)}),this.compareNodeIframe(e,t,n)?(a===!1&&!c?i.push({val:n,handled:!0}):a!==!1&&!c&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,c=>{this.createInstanceOnIframe(c).forEachNode(t,n,i)})})}iterateThroughNodes(e,t,n,i,a){let c=this.createIterator(t,e,i),d=[],s=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(c),f);for(;p();)this.iframes&&this.forEachIframe(t,m=>this.checkIframeFilter(f,h,m,d),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>s.push(g),i)}),s.push(f);s.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(d,e,n,i),a()}forEachNode(e,t,n,i=()=>{}){let a=this.getContexts(),c=a.length;c||i(),a.forEach(d=>{let s=()=>{this.iterateThroughNodes(e,d,t,n,()=>{--c<=0&&i()})};this.iframes?this.waitForIframes(d,s):s()})}};var At=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new Te(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let c=t[a],d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);d!==""&&s!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(d)}|${this.escapeStr(s)})`,`gm${n}`),i+`(${this.processSynomyms(d)}|${this.processSynomyms(s)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(c=>{if(c.indexOf(a)!==-1){if(i.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${t}`),`[${c}]`),i.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,c="";switch(a.forEach(d=>{c+=`|${this.escapeStr(d)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(t)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&t.indexOf(i)===-1&&t.push(i)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,i)=>i.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:c,valid:d}=this.callNoMatchOnInvalidRanges(i,n);d&&(i.start=a,i.length=c-a,t.push(i),n=c)}),t}callNoMatchOnInvalidRanges(e,t){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-t>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,t,n){let i,a=!0,c=n.length,d=t-c,s=parseInt(e.start,10)-d;return s=s>c?c:s,i=s+parseInt(e.length,10),i>c&&(i=c,this.log(`End range automatically set to the max value of ${c}`)),s<0||i-s<0||s>c||i>c?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(s,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:i,valid:a}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:t.length,end:(t+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return Te.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(t),c=a.splitText(n-t),d=document.createElement(i);return d.setAttribute("data-markjs","true"),this.opt.className&&d.setAttribute("class",this.opt.className),d.textContent=a.textContent,a.parentNode.replaceChild(d,a),c}wrapRangeInMappedTextNode(e,t,n,i,a){e.nodes.every((c,d)=>{let s=e.nodes[d+1];if(typeof s>"u"||s.start>t){if(!i(c.node))return!1;let f=t-c.start,h=(n>c.end?c.end:n)-c.start,p=e.value.substr(0,c.start),m=e.value.substr(h+c.start);if(c.node=this.wrapRangeInTextNode(c.node,f,h),e.value=p+m,e.nodes.forEach((g,y)=>{y>=d&&(e.nodes[y].start>0&&y!==d&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(c.node.previousSibling,c.start),n>c.end)t=c.end;else return!1}return!0})}wrapMatches(e,t,n,i,a){let c=t===0?0:t+1;this.getTextNodes(d=>{d.nodes.forEach(s=>{s=s.node;let f;for(;(f=e.exec(s.textContent))!==null&&f[c]!=="";){if(!n(f[c],s))continue;let h=f.index;if(c!==0)for(let p=1;p<c;p++)h+=f[p].length;s=this.wrapRangeInTextNode(s,h,h+f[c].length),i(s.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,n,i,a){let c=t===0?0:t+1;this.getTextNodes(d=>{let s;for(;(s=e.exec(d.value))!==null&&s[c]!=="";){let f=s.index;if(c!==0)for(let p=1;p<c;p++)f+=s[p].length;let h=f+s[c].length;this.wrapRangeInMappedTextNode(d,f,h,p=>n(s[c],p),(p,m)=>{e.lastIndex=m,i(p)})}a()})}wrapRangeFromIndex(e,t,n,i){this.getTextNodes(a=>{let c=a.value.length;e.forEach((d,s)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(d,c,a.value);p&&this.wrapRangeInMappedTextNode(a,f,h,m=>t(m,d,a.value.substring(f,h),s),m=>{n(m,d)})}),i()})}unwrapMatches(e){let t=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(c,d)=>this.opt.filter(d,c,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,i="wrapMatches",{keywords:a,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),d=this.opt.caseSensitive?"":"i",s=f=>{let h=new RegExp(this.createRegExp(f),`gm${d}`),p=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,p),m=>{p++,n++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),a[c-1]===f?this.opt.done(n):s(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),c===0?this.opt.done(n):s(a[0])}markRanges(e,t){this.opt=t;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,c,d,s)=>this.opt.filter(a,c,d,s),(a,c)=>{n++,this.opt.each(a,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Te.matches(n,t),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Co(o){let e=new At(o);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}var ks=Co,la=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ls=T`
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Cn=/'/g,En=/"/g,Pn=/^(?:script|style|textarea|title)$/i,In=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),Hl=In(1),jl=In(2),H=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),Nn=new WeakMap,Ne=Ae.createTreeWalker(Ae,129);function _n(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Sn!==void 0?Sn.createHTML(e):e}var $n=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",c=nt;for(let s=0;s<t;s++){let d=o[s],f,h,p=-1,m=0;for(;m<d.length&&(c.lastIndex=m,h=c.exec(d),h!==null);)m=c.lastIndex,c===nt?h[1]==="!--"?c=On:h[1]!==void 0?c=wn:h[2]!==void 0?(Pn.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ee):h[3]!==void 0&&(c=Ee):c===Ee?h[0]===">"?(c=i??nt,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ee:h[3]==='"'?En:Cn):c===En||c===Cn?c=Ee:c===On||c===wn?c=nt:(c=Ee,i=void 0);let g=c===Ee&&o[s+1].startsWith("/>")?" ":"";a+=c===nt?d+nc:p>=0?(n.push(f),d.slice(0,p)+Er+d.slice(p)+re+g):d+re+(p===-2?s:g)}return[_n(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},at=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,c=0,s=e.length-1,d=this.parts,[f,h]=$n(e,t);if(this.el=o.createElement(f,n),Ne.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Ne.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Er)){let m=h[c++],g=i.getAttribute(p).split(re),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Bt:y[1]==="?"?zt:y[1]==="@"?Ht:Pe}),i.removeAttribute(p)}else p.startsWith(re)&&(d.push({type:6,index:a}),i.removeAttribute(p));if(Pn.test(i.tagName)){let p=i.textContent.split(re),m=p.length-1;if(m>0){i.textContent=Ft?Ft.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],Ut()),Ne.nextNode(),d.push({type:2,index:++a});i.append(p[m],Ut())}}}else if(i.nodeType===8)if(i.data===Nr)d.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(re,p+1))!==-1;)d.push({type:7,index:a}),p+=re.length-1}a++}}static createElement(e,t){let n=Ae.createElement("template");return n.innerHTML=e,n}};function Re(o,e,t=o,n){if(e===H)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=it(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=Re(o,i._$AS(o,e.values),i,n)),e}var Dt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Ae).importNode(t,!0);Ne.currentNode=i;let a=Ne.nextNode(),c=0,s=0,d=n[0];for(;d!==void 0;){if(c===d.index){let f;d.type===2?f=new ct(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new jt(a,this,e)),this._$AV.push(f),d=n[++s]}c!==d?.index&&(a=Ne.nextNode(),c++)}return Ne.currentNode=Ae,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},ct=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Re(this,e,t),it(e)?e===k||e==null||e===""?(this._$AH!==k&&this._$AR(),this._$AH=k):e!==this._$AH&&e!==H&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Rn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==k&&it(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ae.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=at.createElement(_n(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Dt(i,this),c=a.u(this.options);a.p(t),this.$(c),this._$AH=a}}_$AC(e){let t=Nn.get(e.strings);return t===void 0&&Nn.set(e.strings,t=new at(e)),t}T(e){An(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(Ut()),this.k(Ut()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=k}_$AI(e,t=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=Re(this,e,t,0),c=!it(e)||e!==this._$AH&&e!==H,c&&(this._$AH=e);else{let s=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Re(this,s[n+d],t,d),f===H&&(f=this._$AH[d]),c||=!it(f)||f!==this._$AH[d],f===k?e=k:e!==k&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}c&&!i&&this.O(e)}O(e){e===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bt=class extends Pe{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===k?void 0:e}},zt=class extends Pe{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==k)}},Ht=class extends Pe{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Re(this,e,t,0)??k)===H)return;let n=this._$AH,i=e===k&&n!==k||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==k&&(n===k||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},jt=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Re(this,e)}},kn={j:Er,P:re,A:Nr,C:1,M:$n,L:Dt,R:Rn,V:Re,D:ct,I:Pe,H:zt,N:Ht,U:Bt,B:jt},ic=Cr.litHtmlPolyfillSupport;ic?.(at,ct),(Cr.litHtmlVersions??=[]).push("3.1.0");var Kt=globalThis,st=Kt.ShadowRoot&&(Kt.ShadyCSS===void 0||Kt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ar=Symbol(),Ln=new WeakMap,ze=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Ar)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(st&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=Ln.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ln.set(t,e))}return e}toString(){return this.cssText}},lt=o=>new ze(typeof o=="string"?o:o+"",void 0,Ar),T=(o,...e)=>{let t=o.length===1?o[0]:e.reduce((n,i,a)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new ze(t,o,Ar)},Vt=(o,e)=>{if(st)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=Kt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},dt=st?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return lt(t)})(o):o;var{is:ac,defineProperty:cc,getOwnPropertyDescriptor:sc,getOwnPropertyNames:lc,getOwnPropertySymbols:dc,getPrototypeOf:fc}=Object,Gt=globalThis,Mn=Gt.trustedTypes,uc=Mn?Mn.emptyScript:"",pc=Gt.reactiveElementPolyfillSupport,ft=(o,e)=>o,Zt={toAttribute(o,e){switch(e){case Boolean:o=o?uc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Rr=(o,e)=>!ac(o,e),Wn={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:Rr};Symbol.metadata??=Symbol("metadata"),Gt.litPropertyMetadata??=new WeakMap;var J=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Wn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&cc(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=sc(this.prototype,e)??{get(){return this[t]},set(c){this[t]=c}};return{get(){return i?.call(this)},set(c){let s=i?.call(this);a.call(this,c),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Wn}static _$Ei(){if(this.hasOwnProperty(ft("elementProperties")))return;let e=fc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ft("properties"))){let t=this.properties,n=[...lc(t),...dc(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(dt(i))}else e!==void 0&&t.push(dt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Vt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Zt).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Zt;this._$Em=i,this[i]=c.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Rr)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};J.elementStyles=[],J.shadowRootOptions={mode:"open"},J[ft("elementProperties")]=new Map,J[ft("finalized")]=new Map,pc?.({ReactiveElement:J}),(Gt.reactiveElementVersions??=[]).push("2.0.2");var Ir=globalThis,qt=Ir.trustedTypes,Tn=qt?qt.createPolicy("lit-html",{createHTML:o=>o}):void 0,_r="$lit$",oe=`lit$${(Math.random()+"").slice(9)}$`,$r="?"+oe,hc=`<${$r}>`,$e=document,pt=()=>$e.createComment(""),ht=o=>o===null||typeof o!="object"&&typeof o!="function",Hn=Array.isArray,jn=o=>Hn(o)||typeof o?.[Symbol.iterator]=="function",Pr=`[
4
+ \f\r]`,ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Fn=/-->/g,Un=/>/g,Ie=RegExp(`>|${Pr}(?:([^\\s"'>=/]+)(${Pr}*=${Pr}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Dn=/'/g,Bn=/"/g,Kn=/^(?:script|style|textarea|title)$/i,Vn=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),kr=Vn(1),mc=Vn(2),fe=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),zn=new WeakMap,_e=$e.createTreeWalker($e,129);function Zn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Tn!==void 0?Tn.createHTML(e):e}var Gn=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",c=ut;for(let s=0;s<t;s++){let d=o[s],f,h,p=-1,m=0;for(;m<d.length&&(c.lastIndex=m,h=c.exec(d),h!==null);)m=c.lastIndex,c===ut?h[1]==="!--"?c=Fn:h[1]!==void 0?c=Un:h[2]!==void 0?(Kn.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ie):h[3]!==void 0&&(c=Ie):c===Ie?h[0]===">"?(c=i??ut,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ie:h[3]==='"'?Bn:Dn):c===Bn||c===Dn?c=Ie:c===Fn||c===Un?c=ut:(c=Ie,i=void 0);let g=c===Ie&&o[s+1].startsWith("/>")?" ":"";a+=c===ut?d+hc:p>=0?(n.push(f),d.slice(0,p)+_r+d.slice(p)+oe+g):d+oe+(p===-2?s:g)}return[Zn(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},mt=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,c=0,s=e.length-1,d=this.parts,[f,h]=Gn(e,t);if(this.el=o.createElement(f,n),_e.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=_e.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(_r)){let m=h[c++],g=i.getAttribute(p).split(oe),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Jt:y[1]==="?"?Xt:y[1]==="@"?Qt:Le}),i.removeAttribute(p)}else p.startsWith(oe)&&(d.push({type:6,index:a}),i.removeAttribute(p));if(Kn.test(i.tagName)){let p=i.textContent.split(oe),m=p.length-1;if(m>0){i.textContent=qt?qt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],pt()),_e.nextNode(),d.push({type:2,index:++a});i.append(p[m],pt())}}}else if(i.nodeType===8)if(i.data===$r)d.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(oe,p+1))!==-1;)d.push({type:7,index:a}),p+=oe.length-1}a++}}static createElement(e,t){let n=$e.createElement("template");return n.innerHTML=e,n}};function ke(o,e,t=o,n){if(e===fe)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=ht(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=ke(o,i._$AS(o,e.values),i,n)),e}var Yt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??$e).importNode(t,!0);_e.currentNode=i;let a=_e.nextNode(),c=0,s=0,d=n[0];for(;d!==void 0;){if(c===d.index){let f;d.type===2?f=new He(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new er(a,this,e)),this._$AV.push(f),d=n[++s]}c!==d?.index&&(a=_e.nextNode(),c++)}return _e.currentNode=$e,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},He=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=ke(this,e,t),ht(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==fe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):jn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==W&&ht(this._$AH)?this._$AA.nextSibling.data=e:this.$($e.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=mt.createElement(Zn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Yt(i,this),c=a.u(this.options);a.p(t),this.$(c),this._$AH=a}}_$AC(e){let t=zn.get(e.strings);return t===void 0&&zn.set(e.strings,t=new mt(e)),t}T(e){Hn(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(pt()),this.k(pt()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,t=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=ke(this,e,t,0),c=!ht(e)||e!==this._$AH&&e!==fe,c&&(this._$AH=e);else{let s=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=ke(this,s[n+d],t,d),f===fe&&(f=this._$AH[d]),c||=!ht(f)||f!==this._$AH[d],f===W?e=W:e!==W&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}c&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Jt=class extends Le{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},Xt=class extends Le{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},Qt=class extends Le{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=ke(this,e,t,0)??W)===fe)return;let n=this._$AH,i=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==W&&(n===W||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},er=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ke(this,e)}},gc={j:_r,P:oe,A:$r,C:1,M:Gn,L:Yt,R:jn,V:ke,D:He,I:Le,H:Xt,N:Qt,U:Jt,B:er},yc=Ir.litHtmlPolyfillSupport;yc?.(mt,He),(Ir.litHtmlVersions??=[]).push("3.1.0");var Lr=(o,e,t)=>{let n=t?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=t?.renderBefore??null;n._$litPart$=i=new He(e.insertBefore(pt(),a),a,void 0,t??{})}return i._$AI(o),i};var ne=class extends J{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Lr(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return fe}};ne._$litElement$=!0,ne.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ne});var bc=globalThis.litElementPolyfillSupport;bc?.({LitElement:ne});var xc={_$AK:(o,e,t)=>{o._$AK(e,t)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var rd=!1;var Wr={};P(Wr,{customElement:()=>vc,eventOptions:()=>Oc,property:()=>L,query:()=>tr,queryAll:()=>Cc,queryAssignedElements:()=>Nc,queryAssignedNodes:()=>Ac,queryAsync:()=>Ec,standardProperty:()=>qn,state:()=>X});var vc=o=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var Sc={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Tt},qn=(o=Sc,e,t)=>{let{kind:n,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(t.name,o),n==="accessor"){let{name:c}=t;return{set(s){let d=e.get.call(this);e.set.call(this,s),this.requestUpdate(c,d,o)},init(s){return s!==void 0&&this.C(c,void 0,o),s}}}if(n==="setter"){let{name:c}=t;return function(s){let d=this[c];e.call(this,s),this.requestUpdate(c,d,o)}}throw Error("Unsupported decorator location: "+n)};function L(o){return(e,t)=>typeof t=="object"?qn(o,e,t):((n,i,a)=>{let c=i.hasOwnProperty(a);return i.constructor.createProperty(a,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(i,a):void 0})(o,e,t)}function X(o){return L({...o,state:!0,attribute:!1})}function Oc(o){return(e,t)=>{let n=typeof e=="function"?e:e[t];Object.assign(n,o)}}var G=(o,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,t),t);function tr(o,e){return(t,n,i)=>{let a=c=>c.renderRoot?.querySelector(o)??null;if(e){let{get:c,set:s}=typeof n=="object"?t:i??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return G(t,n,{get(){let d=c.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&s.call(this,d)),d}})}return G(t,n,{get(){return a(this)}})}}var wc;function Cc(o){return(e,t)=>G(e,t,{get(){return(this.renderRoot??(wc??=document.createDocumentFragment())).querySelectorAll(o)}})}function Ec(o){return(e,t)=>G(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function Nc(o){return(e,t)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return G(e,t,{get(){let c=this.renderRoot?.querySelector(a),s=c?.assignedElements(o)??[];return i===void 0?s:s.filter(d=>d.matches(i))}})}}function Ac(o){return(e,t)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return G(e,t,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var Tr={};P(Tr,{repeat:()=>Ic});var ue={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},pe=o=>(...e)=>({_$litDirective$:o,values:e}),Q=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:Rc}=kn;var Yn=()=>document.createComment(""),je=(o,e,t)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(t===void 0){let a=n.insertBefore(Yn(),i),c=n.insertBefore(Yn(),i);t=new Rc(a,c,o,o.options)}else{let a=t._$AB.nextSibling,c=t._$AM,s=c!==o;if(s){let d;t._$AQ?.(o),t._$AM=o,t._$AP!==void 0&&(d=o._$AU)!==c._$AU&&t._$AP(d)}if(a!==i||s){let d=t._$AA;for(;d!==a;){let f=d.nextSibling;n.insertBefore(d,i),d=f}}}return t},he=(o,e,t=o)=>(o._$AI(e,t),o),Pc={},Jn=(o,e=Pc)=>o._$AH=e,Xn=o=>o._$AH,rr=o=>{o._$AP?.(!1,!0);let e=o._$AA,t=o._$AB.nextSibling;for(;e!==t;){let n=e.nextSibling;e.remove(),e=n}};var Qn=(o,e,t)=>{let n=new Map;for(let i=e;i<=t;i++)n.set(o[i],i);return n},Ic=pe(class extends Q{constructor(o){if(super(o),o.type!==ue.CHILD)throw Error("repeat() can only be used in text expressions")}ht(o,e,t){let n;t===void 0?t=e:e!==void 0&&(n=e);let i=[],a=[],c=0;for(let s of o)i[c]=n?n(s,c):c,a[c]=t(s,c),c++;return{values:a,keys:i}}render(o,e,t){return this.ht(o,e,t).values}update(o,[e,t,n]){let i=Xn(o),{values:a,keys:c}=this.ht(e,t,n);if(!Array.isArray(i))return this.dt=c,a;let s=this.dt??=[],d=[],f,h,p=0,m=i.length-1,g=0,y=a.length-1;for(;p<=m&&g<=y;)if(i[p]===null)p++;else if(i[m]===null)m--;else if(s[p]===c[g])d[g]=he(i[p],a[g]),p++,g++;else if(s[m]===c[y])d[y]=he(i[m],a[y]),m--,y--;else if(s[p]===c[y])d[y]=he(i[p],a[y]),je(o,d[y+1],i[p]),p++,y--;else if(s[m]===c[g])d[g]=he(i[m],a[g]),je(o,i[p],i[m]),m--,g++;else if(f===void 0&&(f=Qn(c,g,y),h=Qn(s,p,m)),f.has(s[p]))if(f.has(s[m])){let v=h.get(c[g]),O=v!==void 0?i[v]:null;if(O===null){let w=je(o,i[p]);he(w,a[g]),d[g]=w}else d[g]=he(O,a[g]),je(o,i[p],O),i[v]=null;g++}else rr(i[m]),m--;else rr(i[p]),p++;for(;g<=y;){let v=je(o,d[y+1]);he(v,a[g]),d[g++]=v}for(;p<=m;){let v=i[p++];v!==null&&rr(v)}return this.dt=c,Jn(o,d),H}});var Ur={};P(Ur,{classMap:()=>Fr});var Fr=pe(class extends Q{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(e=>o[e]).join(" ")+" "}update(o,[e]){if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.st=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let t=o.element.classList;for(let n of this.it)n in e||(t.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(t.add(n),this.it.add(n)):(t.remove(n),this.it.delete(n)))}return H}});var Dr={};P(Dr,{styleMap:()=>$c});var ei="important",_c=" !"+ei,$c=pe(class extends Q{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="style"||o.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(o){return Object.keys(o).reduce((e,t)=>{let n=o[t];return n==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:t}=o.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?t.removeProperty(n):t[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(_c);n.includes("-")||a?t.setProperty(n,a?i.slice(0,-11):i,a?ei:""):t[n]=i}}return H}});var Br={};P(Br,{UnsafeHTMLDirective:()=>Ke,unsafeHTML:()=>kc});var Ke=class extends Q{constructor(e){if(super(e),this.et=k,e.type!==ue.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===k||e==null)return this.vt=void 0,this.et=e;if(e===H)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Ke.directiveName="unsafeHTML",Ke.resultType=1;var kc=pe(Ke);var Kr={};P(Kr,{CacheRegistry:()=>jr});var Hr={};P(Hr,{CancelablePromise:()=>Ve,CanceledPromiseError:()=>gt,cancelable:()=>zr});var gt=class extends Error{constructor(e,t,n){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=n}},Ve=class extends Promise{constructor(e){super((t,n)=>e(i=>{this.isCanceled?n(new gt("Promise has been canceled",i)):t(i)},i=>{this.isCanceled?n(new gt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},zr=o=>new Ve((e,t)=>o.then(e).catch(t));var jr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Ve&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,n){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let i=zr(t());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Zr={};P(Zr,{ClusteringHelper:()=>Vr});var Vr=class o{constructor(e,t,n,i){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,t){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return t==null?o.flattenMetadata(a):o.flattenMetadata(a.find(c=>c.key===t))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>o.flattenMetadata(n)).filter(n=>n!=null);let t=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!t))if(t){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,t,n="No value"){var i,a;let c=o.extractResultMetadata(this.selectedResult,e),s=(i=c?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>o.extractResultMetadata(f,e)).map(f=>f??{key:e,label:s,value:void 0,displayValue:n}).filter(f=>f.value!=c?.value).filter((f,h,p)=>p.findIndex(m=>m.value===f.value)===h).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,h)=>this.compareMetadata(f.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,n,i){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(n),c=a?.sortRule||"NONE",s=a?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let d=e.localeCompare(t,i,{numeric:!0});return s?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let n=this.allResults.filter(d=>{var f;return((f=o.extractResultMetadata(d,e))===null||f===void 0?void 0:f.value)==t}),a=[...o.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],c,s=-1;for(let d of n){let f=this.countMatchingMetadata(d,a);if(f>s&&(s=f,c=d,f===a.length))break}return c}countMatchingMetadata(e,t){return o.extractResultMetadata(e).filter(n=>t.some(i=>i.key===n.key&&i.value===n.value)).length}};var Gr={};P(Gr,{Debouncer:()=>me});var me=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,n)=>{this.resolvePromise=t,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(s){i(s);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Qr={};P(Qr,{customElement:()=>Jr,isNumber:()=>ii,jsonProperty:()=>Xr,optionalNumberProperty:()=>Uc});var Yr={};P(Yr,{dateReviver:()=>Mc,deepEqual:()=>yt,delay:()=>ti,eventPathContainsMatchingElement:()=>Tc,flatDeep:()=>oi,hasChanged:()=>bt,last:()=>Fc,minmax:()=>qr,parseDate:()=>ni,waitFor:()=>ri,waitUntil:()=>Lc});var ti=o=>new Promise(e=>setTimeout(e,o));async function Lc(o,e=10,t=2e4){await ri(async()=>await o()||void 0,e,t)}async function ri(o,e=10,t=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!t||a-i<t);)await ti(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function oi(o,e){return o.flatMap(t=>[t,...oi(e(t),e)])}function Mc(...o){return function(e,t){return o.includes(e)?ni(t):t}}function ni(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,n,i)=>t+n+":"+i),new Date(o)}function Wc(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var t,n,i;if(Array.isArray(o)){if(t=o.length,t!=e.length)return!1;for(n=t;n--!==0;)if(!yt(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!yt(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),t=i.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=t;n--!==0;){var a=i[n];if(!yt(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function yt(o,e){try{return Wc(o,e)}catch{return!1}}function bt(o,e){return!yt(o,e)}function Tc(o,e,t=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===t)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function qr(o,e,t){return Math.min(Math.max(o,e),t)}function Fc(o){return o[o.length-1]}var Jr=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function Xr(o,e){let t=()=>JSON.parse(JSON.stringify(o));return L({type:Object,converter:{fromAttribute:n=>{if(n==null)return t();try{return JSON.parse(n)}catch{return t()}},toAttribute:n=>JSON.stringify(n)},hasChanged:bt,...e??{}})}function Uc(o){return L({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ii(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function ii(o){return!isNaN(parseFloat(o))}var oo={};P(oo,{designSystemVariables:()=>ae});var ro={};P(ro,{DesignSystemFamily:()=>xt,DesignSystemSize:()=>vt,FtCssVariableFactory:()=>r,badge:()=>Vc,banner:()=>Kc,breadcrumb:()=>Zc,button:()=>zc,chart:()=>as,checkbox:()=>ss,chip:()=>Hc,collapsible:()=>ns,comboboxMultiSelect:()=>rs,comboboxSingleSelect:()=>ts,drawer:()=>Yc,floatingMenu:()=>es,foundation:()=>l,link:()=>jc,modal:()=>qc,notice:()=>cs,notification:()=>fs,pageHeader:()=>Gc,popover:()=>os,radio:()=>ds,resolveFamilyClass:()=>eo,resolveSizeClass:()=>to,semantic:()=>u,setVariable:()=>or,switch_:()=>is,tabs:()=>Jc,textArea:()=>Qc,textInput:()=>Xc,toggle:()=>ls,tooltip:()=>us,typographies:()=>Dc,typographyBody1Medium:()=>fi,typographyBody1Regular:()=>di,typographyBody1Semibold:()=>ui,typographyBody2Medium:()=>hi,typographyBody2MediumUnderline:()=>mi,typographyBody2Regular:()=>pi,typographyBody2Semibold:()=>gi,typographyCaption1Bold:()=>Ei,typographyCaption1Medium:()=>wi,typographyCaption1Semibold:()=>Ci,typographyCaption2Bold:()=>Ri,typographyCaption2Medium:()=>Ni,typographyCaption2Semibold:()=>Ai,typographyCaption3Bold:()=>_i,typographyCaption3Medium:()=>Pi,typographyCaption3Semibold:()=>Ii,typographyDisplay:()=>ai,typographyLabel1Bold:()=>xi,typographyLabel1Medium:()=>yi,typographyLabel1Semibold:()=>bi,typographyLabel2Bold:()=>Oi,typographyLabel2Medium:()=>vi,typographyLabel2Semibold:()=>Si,typographyTitle1:()=>ci,typographyTitle2:()=>si,typographyTitle3:()=>li,typographyVariants:()=>Bc});var ie=o=>typeof o=="string"?lt(o):o,r=class{static create(e,t,n,i){let a=s=>ie(s??i),c=T`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=t,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>T`var(${ie(e)}, ${a(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,t,n,i){let a=s=>n.get(s??i),c=T`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=t,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>T`var(${ie(e)}, ${a(s)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,t){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ie(a??e.lastResortDefaultValue()),i=T`var(${ie(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=t,i.defaultCssValue=n,i.get=a=>T`var(${ie(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function or(o,e){return ie(`${o.name}: ${e}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},ai={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},si={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},pi={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},hi={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},mi={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},gi={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},yi={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},vi={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ii={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Dc={display:ai,"title-1":ci,"title-2":si,"title-3":li,"body-1-regular":di,"body-1-medium":fi,"body-1-semibold":ui,"body-2-regular":pi,"body-2-medium":hi,"body-2-medium-underline":mi,"body-2-semibold":gi,"label-1-medium":yi,"label-1-semibold":bi,"label-1-bold":xi,"label-2-medium":vi,"label-2-semibold":Si,"label-2-bold":Oi,"caption-1-medium":wi,"caption-1-semibold":Ci,"caption-1-bold":Ei,"caption-2-medium":Ni,"caption-2-semibold":Ai,"caption-2-bold":Ri,"caption-3-medium":Pi,"caption-3-semibold":Ii,"caption-3-bold":_i},Bc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var zc={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Hc={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var jc={focusOpacity:r.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",u.contentInfoPrimary)};var Kc={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Vc={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Zc={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Gc={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var qc={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Yc={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Jc={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Xc={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Qc={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var es={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var ts={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var rs={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var os={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02)};var ns={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var is={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var as={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var cs={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var ss={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var ls={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var ds={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var fs={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var us={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var xt;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(xt||(xt={}));var vt;(function(o){o.large="large",o.medium="medium",o.small="small"})(vt||(vt={}));function eo(o){return`ftds--family-${o}`}function to(o){return`ftds--size-${o}`}var ae={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var co={};P(co,{FtNotificationEvent:()=>no,PostResizeEvent:()=>ao,PreResizeEvent:()=>io});var no=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},io=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ao=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var xo={};P(xo,{computeOffsetPosition:()=>_s});var ki=["top","right","bottom","left"],$i=["start","end"],lo=ki.reduce((o,e)=>o.concat(e,e+"-"+$i[0],e+"-"+$i[1]),[]),St=Math.min,ge=Math.max,Ot=Math.round;var ce=o=>({x:o,y:o}),ps={left:"right",right:"left",bottom:"top",top:"bottom"},hs={start:"end",end:"start"};function fo(o,e,t){return ge(o,St(e,t))}function nr(o,e){return typeof o=="function"?o(e):o}function Ze(o){return o.split("-")[0]}function ye(o){return o.split("-")[1]}function uo(o){return o==="x"?"y":"x"}function po(o){return o==="y"?"height":"width"}function ir(o){return["top","bottom"].includes(Ze(o))?"y":"x"}function ho(o){return uo(ir(o))}function Li(o,e,t){t===void 0&&(t=!1);let n=ye(o),i=ho(o),a=po(i),c=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=so(c)),[c,so(c)]}function Mi(o){return o.replace(/start|end/g,e=>hs[e])}function so(o){return o.replace(/left|right|bottom|top/g,e=>ps[e])}function ms(o){return{top:0,right:0,bottom:0,left:0,...o}}function Wi(o){return typeof o!="number"?ms(o):{top:o,right:o,bottom:o,left:o}}function Me(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Ti(o,e,t){let{reference:n,floating:i}=o,a=ir(e),c=ho(e),s=po(c),d=Ze(e),f=a==="y",h=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,m=n[s]/2-i[s]/2,g;switch(d){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-i.width,y:p};break;default:g={x:n.x,y:n.y}}switch(ye(e)){case"start":g[c]-=m*(t&&f?-1:1);break;case"end":g[c]+=m*(t&&f?-1:1);break}return g}var Fi=async(o,e,t)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=t,s=a.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:p}=Ti(f,n,d),m=n,g={},y=0;for(let v=0;v<s.length;v++){let{name:O,fn:w}=s[v],{x:C,y:b,data:x,reset:S}=await w({x:h,y:p,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:c,elements:{reference:o,floating:e}});if(h=C??h,p=b??p,g={...g,[O]:{...g[O],...x}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await c.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:p}=Ti(f,m,d)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:i,middlewareData:g}};async function mo(o,e){var t;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:s,strategy:d}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=nr(e,o),y=Wi(g),O=s[m?p==="floating"?"reference":"floating":p],w=Me(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(O)))==null||t?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:f,rootBoundary:h,strategy:d})),C=p==="floating"?{...c.floating,x:n,y:i}:c.reference,b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),x=await(a.isElement==null?void 0:a.isElement(b))?await(a.getScale==null?void 0:a.getScale(b))||{x:1,y:1}:{x:1,y:1},S=Me(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:b,strategy:d}):C);return{top:(w.top-S.top+y.top)/x.y,bottom:(S.bottom-w.bottom+y.bottom)/x.y,left:(w.left-S.left+y.left)/x.x,right:(S.right-w.right+y.right)/x.x}}function gs(o,e,t){return(o?[...t.filter(i=>ye(i)===o),...t.filter(i=>ye(i)!==o)]:t.filter(i=>Ze(i)===i)).filter(i=>o?ye(i)===o||(e?Mi(i)!==i:!1):!0)}var go=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var t,n,i;let{rects:a,middlewareData:c,placement:s,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=lo,autoAlignment:g=!0,...y}=nr(o,e),v=p!==void 0||m===lo?gs(p||null,g,m):m,O=await mo(e,y),w=((t=c.autoPlacement)==null?void 0:t.index)||0,C=v[w];if(C==null)return{};let b=Li(C,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(s!==C)return{reset:{placement:v[0]}};let x=[O[Ze(C)],O[b[0]],O[b[1]]],S=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:x}],N=v[w+1];if(N)return{data:{index:w+1,overflows:S},reset:{placement:N}};let I=S.map(E=>{let A=ye(E.placement);return[E.placement,A&&h?E.overflows.slice(0,2).reduce((R,F)=>R+F,0):E.overflows[0],E.overflows]}).sort((E,A)=>E[1]-A[1]),_=((i=I.filter(E=>E[2].slice(0,ye(E[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||I[0][0];return _!==s?{data:{index:w+1,overflows:S},reset:{placement:_}}:{}}}};var yo=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...d}=nr(o,e),f={x:t,y:n},h=await mo(e,d),p=ir(Ze(i)),m=uo(p),g=f[m],y=f[p];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],b=g-h[w];g=fo(C,g,b)}if(c){let O=p==="y"?"top":"left",w=p==="y"?"bottom":"right",C=y+h[O],b=y-h[w];y=fo(C,y,b)}let v=s.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-t,y:v.y-n}}}}};function se(o){return Di(o)?(o.nodeName||"").toLowerCase():"#document"}function B(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function le(o){var e;return(e=(Di(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Di(o){return o instanceof Node||o instanceof B(o).Node}function ee(o){return o instanceof Element||o instanceof B(o).Element}function q(o){return o instanceof HTMLElement||o instanceof B(o).HTMLElement}function Ui(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof B(o).ShadowRoot}function Ge(o){let{overflow:e,overflowX:t,overflowY:n,display:i}=j(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function Bi(o){return["table","td","th"].includes(se(o))}function cr(o){let e=sr(),t=j(o);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function zi(o){let e=We(o);for(;q(e)&&!wt(e);){if(cr(e))return e;e=We(e)}return null}function sr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wt(o){return["html","body","#document"].includes(se(o))}function j(o){return B(o).getComputedStyle(o)}function Ct(o){return ee(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function We(o){if(se(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Ui(o)&&o.host||le(o);return Ui(e)?e.host:e}function Hi(o){let e=We(o);return wt(e)?o.ownerDocument?o.ownerDocument.body:o.body:q(e)&&Ge(e)?e:Hi(e)}function ar(o,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=Hi(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),c=B(i);return a?e.concat(c,c.visualViewport||[],Ge(i)?i:[],c.frameElement&&t?ar(c.frameElement):[]):e.concat(i,ar(i,[],t))}function Vi(o){let e=j(o),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=q(o),a=i?o.offsetWidth:t,c=i?o.offsetHeight:n,s=Ot(t)!==a||Ot(n)!==c;return s&&(t=a,n=c),{width:t,height:n,$:s}}function Zi(o){return ee(o)?o:o.contextElement}function qe(o){let e=Zi(o);if(!q(e))return ce(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:a}=Vi(e),c=(a?Ot(t.width):t.width)/n,s=(a?Ot(t.height):t.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var ys=ce(0);function Gi(o){let e=B(o);return!sr()||!e.visualViewport?ys:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function bs(o,e,t){return e===void 0&&(e=!1),!t||e&&t!==B(o)?!1:e}function Et(o,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=o.getBoundingClientRect(),a=Zi(o),c=ce(1);e&&(n?ee(n)&&(c=qe(n)):c=qe(o));let s=bs(a,t,n)?Gi(a):ce(0),d=(i.left+s.x)/c.x,f=(i.top+s.y)/c.y,h=i.width/c.x,p=i.height/c.y;if(a){let m=B(a),g=n&&ee(n)?B(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=qe(y),O=y.getBoundingClientRect(),w=j(y),C=O.left+(y.clientLeft+parseFloat(w.paddingLeft))*v.x,b=O.top+(y.clientTop+parseFloat(w.paddingTop))*v.y;d*=v.x,f*=v.y,h*=v.x,p*=v.y,d+=C,f+=b,y=B(y).frameElement}}return Me({width:h,height:p,x:d,y:f})}function xs(o){let{rect:e,offsetParent:t,strategy:n}=o,i=q(t),a=le(t);if(t===a)return e;let c={scrollLeft:0,scrollTop:0},s=ce(1),d=ce(0);if((i||!i&&n!=="fixed")&&((se(t)!=="body"||Ge(a))&&(c=Ct(t)),q(t))){let f=Et(t);s=qe(t),d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-c.scrollLeft*s.x+d.x,y:e.y*s.y-c.scrollTop*s.y+d.y}}function vs(o){return Array.from(o.getClientRects())}function qi(o){return Et(le(o)).left+Ct(o).scrollLeft}function Ss(o){let e=le(o),t=Ct(o),n=o.ownerDocument.body,i=ge(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ge(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-t.scrollLeft+qi(o),s=-t.scrollTop;return j(n).direction==="rtl"&&(c+=ge(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:s}}function Os(o,e){let t=B(o),n=le(o),i=t.visualViewport,a=n.clientWidth,c=n.clientHeight,s=0,d=0;if(i){a=i.width,c=i.height;let f=sr();(!f||f&&e==="fixed")&&(s=i.offsetLeft,d=i.offsetTop)}return{width:a,height:c,x:s,y:d}}function ws(o,e){let t=Et(o,!0,e==="fixed"),n=t.top+o.clientTop,i=t.left+o.clientLeft,a=q(o)?qe(o):ce(1),c=o.clientWidth*a.x,s=o.clientHeight*a.y,d=i*a.x,f=n*a.y;return{width:c,height:s,x:d,y:f}}function ji(o,e,t){let n;if(e==="viewport")n=Os(o,t);else if(e==="document")n=Ss(le(o));else if(ee(e))n=ws(e,t);else{let i=Gi(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Me(n)}function Yi(o,e){let t=We(o);return t===e||!ee(t)||wt(t)?!1:j(t).position==="fixed"||Yi(t,e)}function Cs(o,e){let t=e.get(o);if(t)return t;let n=ar(o,[],!1).filter(s=>ee(s)&&se(s)!=="body"),i=null,a=j(o).position==="fixed",c=a?We(o):o;for(;ee(c)&&!wt(c);){let s=j(c),d=cr(c);!d&&s.position==="fixed"&&(i=null),(a?!d&&!i:!d&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ge(c)&&!d&&Yi(o,c))?n=n.filter(h=>h!==c):i=s,c=We(c)}return e.set(o,n),n}function Es(o){let{element:e,boundary:t,rootBoundary:n,strategy:i}=o,c=[...t==="clippingAncestors"?Cs(e,this._c):[].concat(t),n],s=c[0],d=c.reduce((f,h)=>{let p=ji(e,h,i);return f.top=ge(p.top,f.top),f.right=St(p.right,f.right),f.bottom=St(p.bottom,f.bottom),f.left=ge(p.left,f.left),f},ji(e,s,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Ns(o){return Vi(o)}function As(o,e,t){let n=q(e),i=le(e),a=t==="fixed",c=Et(o,!0,a,e),s={scrollLeft:0,scrollTop:0},d=ce(0);if(n||!n&&!a)if((se(e)!=="body"||Ge(i))&&(s=Ct(e)),n){let f=Et(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else i&&(d.x=qi(i));return{x:c.left+s.scrollLeft-d.x,y:c.top+s.scrollTop-d.y,width:c.width,height:c.height}}function Ki(o,e){return!q(o)||j(o).position==="fixed"?null:e?e(o):o.offsetParent}function Ji(o,e){let t=B(o);if(!q(o))return t;let n=Ki(o,e);for(;n&&Bi(n)&&j(n).position==="static";)n=Ki(n,e);return n&&(se(n)==="html"||se(n)==="body"&&j(n).position==="static"&&!cr(n))?t:n||zi(o)||t}var Rs=async function(o){let{reference:e,floating:t,strategy:n}=o,i=this.getOffsetParent||Ji,a=this.getDimensions;return{reference:As(e,await i(t),n),floating:{x:0,y:0,...await a(t)}}};function Ps(o){return j(o).direction==="rtl"}var lr={convertOffsetParentRelativeRectToViewportRelativeRect:xs,getDocumentElement:le,getClippingRect:Es,getOffsetParent:Ji,getElementRects:Rs,getClientRects:vs,getDimensions:Ns,getScale:qe,isElement:ee,isRTL:Ps};var Xi=(o,e,t)=>{let n=new Map,i={platform:lr,...t},a={...i.platform,_c:n};return Fi(o,e,{...i,platform:a})};function Qi(o){return Is(o)}function bo(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Is(o){for(let e=o;e;e=bo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=bo(o);e;e=bo(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function _s(o,e,t){return Xi(o,e,{platform:{...lr,getOffsetParent:n=>lr.getOffsetParent(n,Qi)},middleware:[yo({crossAxis:!0}),go({allowedPlacements:[t]})]})}var wo={};P(wo,{FtdsBase:()=>Oo,toFtdsBase:()=>ca});var So={};P(So,{FtLitElement:()=>K});var vo={};P(vo,{ScopedRegistryLitElement:()=>Nt});var dr=window,$s=dr.ShadowRoot&&(dr.ShadyCSS===void 0||dr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lh=Symbol();var ea=(o,e)=>{$s?o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let n=document.createElement("style"),i=dr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)})};var Nt=class extends ne{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let t={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(t);return ea(n,e.elementStyles),n}};var fr=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var s=o.length-1;s>=0;s--)(c=o[s])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},na,ta=Symbol("constructorPrototype"),ra=Symbol("constructorName"),ia=Symbol("exportpartsDebouncer"),oa=Symbol("dynamicDependenciesLoaded"),K=class extends Nt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[na]=new me(5),this[ra]=this.constructor.name,this[ta]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ra]&&Object.setPrototypeOf(this,this[ta])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[oa]||(e[oa]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var t,n,i;if(((n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&n!==void 0&&n)&&this[ia].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,n,i,a,c,s;let d=m=>m!=null&&m.trim().length>0,f=e.filter(d).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(s=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(v=>v.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...g,...y).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};na=ia;fr([L()],K.prototype,"exportpartsPrefix",void 0);fr([Xr([])],K.prototype,"exportpartsPrefixes",void 0);fr([L()],K.prototype,"customStylesheet",void 0);fr([X()],K.prototype,"useAdoptedStyleSheets",void 0);var aa=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var s=o.length-1;s>=0;s--)(c=o[s])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a};function ca(o){class e extends o{constructor(){super(...arguments),this.size=vt.medium,this.family=xt.neutral}getDesignSystemBaseClasses(){return{[eo(this.family)]:!0,[to(this.size)]:!0}}}return aa([L()],e.prototype,"size",void 0),aa([L()],e.prototype,"family",void 0),e}var Oo=class extends ca(K){};var sa={};var Eo={};P(Eo,{highlightHtml:()=>Ms,highlightHtmlColorCssVariable:()=>la,highlightHtmlStyles:()=>Ls});var Te=class o{constructor(e,t=!0,n=[],i=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=i}static matches(e,t){let n=typeof t=="string"?[t]:t,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(c=>i.call(e,c)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=t.filter(a=>a.contains(n)).length>0;t.indexOf(n)===-1&&!i&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&t(i)}isIframeBlank(e){let t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let i=!1,a=null,c=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",c),a=setTimeout(c,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||t()})},i=>{i||t()})}forEachIframe(e,t,n,i=()=>{}){let a=e.querySelectorAll("iframe"),c=a.length,s=0;a=Array.prototype.slice.call(a);let d=()=>{--c<=0&&i(s)};c||d(),a.forEach(f=>{o.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{t(f)&&(s++,n(h)),d()},d)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(t!==null){let c=t.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_FOLLOWING;if(c&s)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,i){let a=!1,c=!1;return i.forEach((s,d)=>{s.val===n&&(a=d,c=s.handled)}),this.compareNodeIframe(e,t,n)?(a===!1&&!c?i.push({val:n,handled:!0}):a!==!1&&!c&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,c=>{this.createInstanceOnIframe(c).forEachNode(t,n,i)})})}iterateThroughNodes(e,t,n,i,a){let c=this.createIterator(t,e,i),s=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(c),f);for(;p();)this.iframes&&this.forEachIframe(t,m=>this.checkIframeFilter(f,h,m,s),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>d.push(g),i)}),d.push(f);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(s,e,n,i),a()}forEachNode(e,t,n,i=()=>{}){let a=this.getContexts(),c=a.length;c||i(),a.forEach(s=>{let d=()=>{this.iterateThroughNodes(e,s,t,n,()=>{--c<=0&&i()})};this.iframes?this.waitForIframes(s,d):d()})}};var At=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new Te(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let c=t[a],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);s!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(s)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(c=>{if(c.indexOf(a)!==-1){if(i.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${t}`),`[${c}]`),i.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,c="";switch(a.forEach(s=>{c+=`|${this.escapeStr(s)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(t)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&t.indexOf(i)===-1&&t.push(i)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,i)=>i.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:c,valid:s}=this.callNoMatchOnInvalidRanges(i,n);s&&(i.start=a,i.length=c-a,t.push(i),n=c)}),t}callNoMatchOnInvalidRanges(e,t){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-t>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,t,n){let i,a=!0,c=n.length,s=t-c,d=parseInt(e.start,10)-s;return d=d>c?c:d,i=d+parseInt(e.length,10),i>c&&(i=c,this.log(`End range automatically set to the max value of ${c}`)),d<0||i-d<0||d>c||i>c?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:t.length,end:(t+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return Te.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(t),c=a.splitText(n-t),s=document.createElement(i);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=a.textContent,a.parentNode.replaceChild(s,a),c}wrapRangeInMappedTextNode(e,t,n,i,a){e.nodes.every((c,s)=>{let d=e.nodes[s+1];if(typeof d>"u"||d.start>t){if(!i(c.node))return!1;let f=t-c.start,h=(n>c.end?c.end:n)-c.start,p=e.value.substr(0,c.start),m=e.value.substr(h+c.start);if(c.node=this.wrapRangeInTextNode(c.node,f,h),e.value=p+m,e.nodes.forEach((g,y)=>{y>=s&&(e.nodes[y].start>0&&y!==s&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(c.node.previousSibling,c.start),n>c.end)t=c.end;else return!1}return!0})}wrapMatches(e,t,n,i,a){let c=t===0?0:t+1;this.getTextNodes(s=>{s.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[c]!=="";){if(!n(f[c],d))continue;let h=f.index;if(c!==0)for(let p=1;p<c;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[c].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,n,i,a){let c=t===0?0:t+1;this.getTextNodes(s=>{let d;for(;(d=e.exec(s.value))!==null&&d[c]!=="";){let f=d.index;if(c!==0)for(let p=1;p<c;p++)f+=d[p].length;let h=f+d[c].length;this.wrapRangeInMappedTextNode(s,f,h,p=>n(d[c],p),(p,m)=>{e.lastIndex=m,i(p)})}a()})}wrapRangeFromIndex(e,t,n,i){this.getTextNodes(a=>{let c=a.value.length;e.forEach((s,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(s,c,a.value);p&&this.wrapRangeInMappedTextNode(a,f,h,m=>t(m,s,a.value.substring(f,h),d),m=>{n(m,s)})}),i()})}unwrapMatches(e){let t=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(c,s)=>this.opt.filter(s,c,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,i="wrapMatches",{keywords:a,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${s}`),p=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,p),m=>{p++,n++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),a[c-1]===f?this.opt.done(n):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),c===0?this.opt.done(n):d(a[0])}markRanges(e,t){this.opt=t;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,c,s,d)=>this.opt.filter(a,c,s,d),(a,c)=>{n++,this.opt.each(a,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Te.matches(n,t),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Co(o){let e=new At(o);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}var ks=Co,la=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ls=T`
7
7
  .highlight-html-match {
8
8
  background: ${la};
9
9
  }
10
- `;function Ms(o,e,t){var n,i;let a=o.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let c=new ks(o);if(c.unmark(),e&&e.trim()){let d={className:(n=t?.className)!==null&&n!==void 0?n:"highlight-html-match"};t?.attributes!=null&&(d.each=f=>{for(let h in t.attributes)f.setAttribute(h,t.attributes[h])}),c.mark(e.replace(/"[^"]+"/g,""),{...d,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(f=>c.mark(f.replace(/"/g,""),{...d,separateWordSearch:!1}))}}o.setAttribute("data-highlight-html-query",e??"")}var No={};P(No,{noTextInputDefaultClearButton:()=>Fs,noTextSelect:()=>Ws,safariEllipsisFix:()=>Us,wordWrap:()=>Ts});var Ws=T`
10
+ `;function Ms(o,e,t){var n,i;let a=o.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let c=new ks(o);if(c.unmark(),e&&e.trim()){let s={className:(n=t?.className)!==null&&n!==void 0?n:"highlight-html-match"};t?.attributes!=null&&(s.each=f=>{for(let h in t.attributes)f.setAttribute(h,t.attributes[h])}),c.mark(e.replace(/"[^"]+"/g,""),{...s,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(f=>c.mark(f.replace(/"/g,""),{...s,separateWordSearch:!1}))}}o.setAttribute("data-highlight-html-query",e??"")}var No={};P(No,{noTextInputDefaultClearButton:()=>Us,noTextSelect:()=>Ws,safariEllipsisFix:()=>Fs,wordWrap:()=>Ts});var Ws=T`
11
11
  .ft-no-text-select {
12
12
  -webkit-touch-callout: none;
13
13
  -webkit-user-select: none;
@@ -28,7 +28,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,Us=T`
31
+ `,Fs=T`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,14 +39,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `,Fs=T`
42
+ `,Us=T`
43
43
  input::-webkit-search-cancel-button,
44
44
  input::-webkit-search-decoration,
45
45
  input::-webkit-search-results-button,
46
46
  input::-webkit-search-results-decoration {
47
47
  display: none;
48
48
  }
49
- `;var da={};var Ro={};P(Ro,{ParametrizedLabelResolver:()=>Ao});var Ao=class o{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var n,i;e=this.resolvePluralKey(e,t);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return o.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,c)=>o.formatValue(n,c))),e}resolvePluralKey(e,t){for(let n of t)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,t){return e instanceof Date?o.formatDate(e,t):e??""}static formatDate(e,t){let n=i=>t?.includes("date")?e.toLocaleDateString(i):t?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var tn={};P(tn,{FtCommandQueue:()=>Rt,FtLitElementRedux:()=>Ye,FtReduxStore:()=>en,clearAllStores:()=>El,isFtReduxStore:()=>Ue,redux:()=>Bs,reduxEventListener:()=>zs,reduxReactive:()=>Ds});var Ds=()=>(o,e)=>{var t;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(t=n.reduxReactiveProperties)===null||t===void 0||t.add(e)},Bs=o=>{let e=o??{};return(t,n)=>{var i;let a={hasChanged:bt,attribute:!1,...e};L(a)(t,n);let c=t.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:d=>d[n],store:e.store})}},zs=o=>(e,t)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(t,o)};var Rt=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(n=>n.type===e);return t&&(this.queue=this.queue.filter(n=>n!==t)),t}};function Ue(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var fa,ua,pa,ur=Symbol("internalReduxEventsUnsubscribers"),be=Symbol("internalStoresUnsubscribers"),Fe=Symbol("internalStores"),Ye=class extends K{constructor(){super(...arguments),this[fa]=new Map,this[ua]=new Map,this[pa]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Fe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Fe].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Fe].get(e)}addStore(e,t){var n;t=(n=t??(Ue(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(t),this.setupStore(t,e)}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[Fe].delete(t)}setupStore(e,t){this[Fe].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Fe].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let n=this.constructor.getPropertyOptions(t);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:t)){let i=this.getStore(e.store);i&&(e.store?this[be].has(e.store):this[be].size>0)&&(this[t]=e.selector(i.getState(),this))}})}subscribeToStore(e,t){var n;this[be].set(e,t.subscribe(()=>this.updateFromStores())),Ue(t)&&t.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||t.name===i.store)){let c=d=>this[a](d);t.eventBus.addEventListener(i.eventName,c),this[ur].push(()=>t.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[be].forEach((e,t)=>this.unsubscribeFromStore(t)),this[ur].forEach(e=>e()),this[ur]=[]}unsubscribeFromStore(e){this[be].has(e)&&this[be].get(e)(),this[be].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};fa=be,ua=Fe,pa=ur;Ye.reduxProperties=new Map;Ye.reduxReactiveProperties=new Set;Ye.reduxEventListeners=new Map;function V(o){for(var e=arguments.length,t=Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(t.length?" "+t.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function de(o){return!!o&&!!o[$]}function Y(o){var e;return!!o&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ys}(o)||Array.isArray(o)||!!o[va]||!!(!((e=o.constructor)===null||e===void 0)&&e[va])||To(o)||Uo(o))}function De(o,e,t){t===void 0&&(t=!1),Qe(o)===0?(t?Object.keys:Xe)(o).forEach(function(n){t&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function Qe(o){var e=o[$];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:To(o)?2:Uo(o)?3:0}function Je(o,e){return Qe(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Hs(o,e){return Qe(o)===2?o.get(e):o[e]}function Sa(o,e,t){var n=Qe(o);n===2?o.set(e,t):n===3?o.add(t):o[e]=t}function Oa(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function To(o){return Gs&&o instanceof Map}function Uo(o){return qs&&o instanceof Set}function xe(o){return o.o||o.t}function Fo(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Ea(o);delete e[$];for(var t=Xe(e),n=0;n<t.length;n++){var i=t[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function Do(o,e){return e===void 0&&(e=!1),Bo(o)||de(o)||!Y(o)||(Qe(o)>1&&(o.set=o.add=o.clear=o.delete=js),Object.freeze(o),e&&De(o,function(t,n){return Do(n,!0)},!0)),o}function js(){V(2)}function Bo(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function te(o){var e=Wo[o];return e||V(18,o),e}function Ks(o,e){Wo[o]||(Wo[o]=e)}function ko(){return It}function Po(o,e){e&&(te("Patches"),o.u=[],o.s=[],o.v=e)}function pr(o){Lo(o),o.p.forEach(Zs),o.p=null}function Lo(o){o===It&&(It=o.l)}function ha(o){return It={p:[],l:It,h:o,m:!0,_:0}}function Zs(o){var e=o[$];e.i===0||e.i===1?e.j():e.g=!0}function Io(o,e){e._=e.p.length;var t=e.p[0],n=o!==void 0&&o!==t;return e.h.O||te("ES5").S(e,o,n),n?(t[$].P&&(pr(e),V(4)),Y(o)&&(o=hr(e,o),e.l||mr(e,o)),e.u&&te("Patches").M(t[$].t,o,e.u,e.s)):o=hr(e,t,[]),pr(e),e.u&&e.v(e.u,e.s),o!==Ca?o:void 0}function hr(o,e,t){if(Bo(e))return e;var n=e[$];if(!n)return De(e,function(d,s){return ma(o,n,e,d,s,t)},!0),e;if(n.A!==o)return e;if(!n.P)return mr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Fo(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),De(a,function(d,s){return ma(o,n,i,d,s,t,c)}),mr(o,i,!1),t&&o.u&&te("Patches").N(n,t,o.u,o.s)}return n.o}function ma(o,e,t,n,i,a,c){if(de(i)){var d=hr(o,i,a&&e&&e.i!==3&&!Je(e.R,n)?a.concat(n):void 0);if(Sa(t,n,d),!de(d))return;o.m=!1}else c&&t.add(i);if(Y(i)&&!Bo(i)){if(!o.h.D&&o._<1)return;hr(o,i),e&&e.A.l||mr(o,i)}}function mr(o,e,t){t===void 0&&(t=!1),!o.l&&o.h.D&&o.m&&Do(e,t)}function _o(o,e){var t=o[$];return(t?xe(t):o)[e]}function ga(o,e){if(e in o)for(var t=Object.getPrototypeOf(o);t;){var n=Object.getOwnPropertyDescriptor(t,e);if(n)return n;t=Object.getPrototypeOf(t)}}function ve(o){o.P||(o.P=!0,o.l&&ve(o.l))}function $o(o){o.o||(o.o=Fo(o.t))}function Mo(o,e,t){var n=To(e)?te("MapSet").F(e,t):Uo(e)?te("MapSet").T(e,t):o.O?function(i,a){var c=Array.isArray(i),d={i:c?1:0,A:a?a.A:ko(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},s=d,f=_t;c&&(s=[d],f=Pt);var h=Proxy.revocable(s,f),p=h.revoke,m=h.proxy;return d.k=m,d.j=p,m}(e,t):te("ES5").J(e,t);return(t?t.A:ko()).p.push(n),n}function Vs(o){return de(o)||V(22,o),function e(t){if(!Y(t))return t;var n,i=t[$],a=Qe(t);if(i){if(!i.P&&(i.i<4||!te("ES5").K(i)))return i.t;i.I=!0,n=ya(t,a),i.I=!1}else n=ya(t,a);return De(n,function(c,d){i&&Hs(i.t,c)===d||Sa(n,c,e(d))}),a===3?new Set(n):n}(o)}function ya(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return Fo(o)}function wa(){function o(c,d){var s=a[c];return s?s.enumerable=d:a[c]=s={configurable:!0,enumerable:d,get:function(){var f=this[$];return _t.get(f,c)},set:function(f){var h=this[$];_t.set(h,c,f)}},s}function e(c){for(var d=c.length-1;d>=0;d--){var s=c[d][$];if(!s.P)switch(s.i){case 5:n(s)&&ve(s);break;case 4:t(s)&&ve(s)}}}function t(c){for(var d=c.t,s=c.k,f=Xe(s),h=f.length-1;h>=0;h--){var p=f[h];if(p!==$){var m=d[p];if(m===void 0&&!Je(d,p))return!0;var g=s[p],y=g&&g[$];if(y?y.t!==m:!Oa(g,m))return!0}}var v=!!d[$];return f.length!==Xe(d).length+(v?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var s=Object.getOwnPropertyDescriptor(d,d.length-1);if(s&&!s.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function i(c){c.g&&V(3,JSON.stringify(xe(c)))}var a={};Ks("ES5",{J:function(c,d){var s=Array.isArray(c),f=function(p,m){if(p){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var v=Ea(m);delete v[$];for(var O=Xe(v),w=0;w<O.length;w++){var C=O[w];v[C]=o(C,p||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(s,c),h={i:s?5:4,A:d?d.A:ko(),P:!1,I:!1,R:{},l:d,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,$,{value:h,writable:!0}),f},S:function(c,d,s){s?de(d)&&d[$].A===c&&e(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var p=h[$];if(p){var m=p.t,g=p.k,y=p.R,v=p.i;if(v===4)De(g,function(b){b!==$&&(m[b]!==void 0||Je(m,b)?y[b]||f(g[b]):(y[b]=!0,ve(p)))}),De(m,function(b){g[b]!==void 0||Je(g,b)||(y[b]=!1,ve(p))});else if(v===5){if(n(p)&&(ve(p),y.length=!0),g.length<m.length)for(var O=g.length;O<m.length;O++)y[O]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var C=Math.min(g.length,m.length),x=0;x<C;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&f(g[x])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?t(c):n(c)}})}var ba,It,zo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Gs=typeof Map<"u",qs=typeof Set<"u",xa=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ca=zo?Symbol.for("immer-nothing"):((ba={})["immer-nothing"]=!0,ba),va=zo?Symbol.for("immer-draftable"):"__$immer_draftable",$=zo?Symbol.for("immer-state"):"__$immer_state";var Ys=""+Object.prototype.constructor,Xe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Ea=Object.getOwnPropertyDescriptors||function(o){var e={};return Xe(o).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(o,t)}),e},Wo={},_t={get:function(o,e){if(e===$)return o;var t=xe(o);if(!Je(t,e))return function(i,a,c){var d,s=ga(a,c);return s?"value"in s?s.value:(d=s.get)===null||d===void 0?void 0:d.call(i.k):void 0}(o,t,e);var n=t[e];return o.I||!Y(n)?n:n===_o(o.t,e)?($o(o),o.o[e]=Mo(o.A.h,n,o)):n},has:function(o,e){return e in xe(o)},ownKeys:function(o){return Reflect.ownKeys(xe(o))},set:function(o,e,t){var n=ga(xe(o),e);if(n?.set)return n.set.call(o.k,t),!0;if(!o.P){var i=_o(xe(o),e),a=i?.[$];if(a&&a.t===t)return o.o[e]=t,o.R[e]=!1,!0;if(Oa(t,i)&&(t!==void 0||Je(o.t,e)))return!0;$o(o),ve(o)}return o.o[e]===t&&(t!==void 0||e in o.o)||Number.isNaN(t)&&Number.isNaN(o.o[e])||(o.o[e]=t,o.R[e]=!0),!0},deleteProperty:function(o,e){return _o(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,$o(o),ve(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var t=xe(o),n=Reflect.getOwnPropertyDescriptor(t,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:t[e]}},defineProperty:function(){V(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){V(12)}},Pt={};De(_t,function(o,e){Pt[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Pt.deleteProperty=function(o,e){return Pt.set.call(this,o,e,void 0)},Pt.set=function(o,e,t){return _t.set.call(this,o[0],e,t,o[0])};var Js=function(){function o(t){var n=this;this.O=xa,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var d=a;a=i;var s=n;return function(v){var O=this;v===void 0&&(v=d);for(var w=arguments.length,C=Array(w>1?w-1:0),x=1;x<w;x++)C[x-1]=arguments[x];return s.produce(v,function(b){var S;return(S=a).call.apply(S,[O,b].concat(C))})}}var f;if(typeof a!="function"&&V(6),c!==void 0&&typeof c!="function"&&V(7),Y(i)){var h=ha(n),p=Mo(n,i,void 0),m=!0;try{f=a(p),m=!1}finally{m?pr(h):Lo(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Po(h,c),Io(v,h)},function(v){throw pr(h),v}):(Po(h,c),Io(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Ca&&(f=void 0),n.D&&Do(f,!0),c){var g=[],y=[];te("Patches").M(i,f,g,y),c(g,y)}return f}V(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(p))})};var c,d,s=n.produce(i,a,function(f,h){c=f,d=h});return typeof Promise<"u"&&s instanceof Promise?s.then(function(f){return[f,c,d]}):[s,c,d]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=o.prototype;return e.createDraft=function(t){Y(t)||V(8),de(t)&&(t=Vs(t));var n=ha(this),i=Mo(this,t,void 0);return i[$].C=!0,Lo(n),i},e.finishDraft=function(t,n){var i=t&&t[$],a=i.A;return Po(a,n),Io(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!xa&&V(20),this.O=t},e.applyPatches=function(t,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}i>-1&&(n=n.slice(i+1));var c=te("Patches").$;return de(t)?c(t,n):this.produce(t,function(d){return c(d,n)})},o}(),Z=new Js,Xs=Z.produce,Th=Z.produceWithPatches.bind(Z),Uh=Z.setAutoFreeze.bind(Z),Fh=Z.setUseProxies.bind(Z),Dh=Z.applyPatches.bind(Z),Bh=Z.createDraft.bind(Z),zh=Z.finishDraft.bind(Z),gr=Xs;function Se(o){"@babel/helpers - typeof";return Se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Se(o)}function Ho(o,e){if(Se(o)!=="object"||o===null)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e||"default");if(Se(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function jo(o){var e=Ho(o,"string");return Se(e)==="symbol"?e:String(e)}function Ko(o,e,t){return e=jo(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function Na(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),t.push.apply(t,n)}return t}function yr(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Na(Object(t),!0).forEach(function(n){Ko(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Na(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function F(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Aa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Zo=function(){return Math.random().toString(36).substring(7).split("").join(".")},br={INIT:"@@redux/INIT"+Zo(),REPLACE:"@@redux/REPLACE"+Zo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Zo()}};function Qs(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function Vo(o,e,t){var n;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(F(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(F(1));return t(Vo)(o,e)}if(typeof o!="function")throw new Error(F(2));var i=o,a=e,c=[],d=c,s=!1;function f(){d===c&&(d=c.slice())}function h(){if(s)throw new Error(F(3));return a}function p(v){if(typeof v!="function")throw new Error(F(4));if(s)throw new Error(F(5));var O=!0;return f(),d.push(v),function(){if(O){if(s)throw new Error(F(6));O=!1,f();var C=d.indexOf(v);d.splice(C,1),c=null}}}function m(v){if(!Qs(v))throw new Error(F(7));if(typeof v.type>"u")throw new Error(F(8));if(s)throw new Error(F(9));try{s=!0,a=i(a,v)}finally{s=!1}for(var O=c=d,w=0;w<O.length;w++){var C=O[w];C()}return v}function g(v){if(typeof v!="function")throw new Error(F(10));i=v,m({type:br.REPLACE})}function y(){var v,O=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(F(11));function x(){C.next&&C.next(h())}x();var b=O(x);return{unsubscribe:b}}},v[Aa]=function(){return this},v}return m({type:br.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[Aa]=y,n}function el(o){Object.keys(o).forEach(function(e){var t=o[e],n=t(void 0,{type:br.INIT});if(typeof n>"u")throw new Error(F(12));if(typeof t(void 0,{type:br.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(F(13))})}function Ra(o){for(var e=Object.keys(o),t={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(t[i]=o[i])}var a=Object.keys(t),c,d;try{el(t)}catch(s){d=s}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var p;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],O=t[v],w=f[v],C=O(w,h);if(typeof C>"u"){var x=h&&h.type;throw new Error(F(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function et(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Pa(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(F(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},d=e.map(function(s){return s(c)});return a=et.apply(void 0,d)(i.dispatch),yr(yr({},i),{},{dispatch:a})}}}function Ia(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(d){return typeof d=="function"?d(i,a,o):c(d)}}};return e}var _a=Ia();_a.withExtraArgument=Ia;var Go=_a;var Wa=function(){var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},o(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),tl=function(o,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(f){return function(h){return s([f,h])}}function s(f){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,i=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(o,t)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},tt=function(o,e){for(var t=0,n=e.length,i=o.length;t<n;t++,i++)o[i]=e[t];return o},rl=Object.defineProperty,ol=Object.defineProperties,nl=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,al=Object.prototype.propertyIsEnumerable,ka=function(o,e,t){return e in o?rl(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t},Oe=function(o,e){for(var t in e||(e={}))il.call(e,t)&&ka(o,t,e[t]);if($a)for(var n=0,i=$a(e);n<i.length;n++){var t=i[n];al.call(e,t)&&ka(o,t,e[t])}return o},qo=function(o,e){return ol(o,nl(e))},cl=function(o,e,t){return new Promise(function(n,i){var a=function(s){try{d(t.next(s))}catch(f){i(f)}},c=function(s){try{d(t.throw(s))}catch(f){i(f)}},d=function(s){return s.done?n(s.value):Promise.resolve(s.value).then(a,c)};d((t=t.apply(o,e)).next())})};var sl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?et:et.apply(null,arguments)},am=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function ll(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var dl=function(o){Wa(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,tt([void 0],t[0].concat(this)))):new(e.bind.apply(e,tt([void 0],t.concat(this))))},e}(Array),fl=function(o){Wa(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,tt([void 0],t[0].concat(this)))):new(e.bind.apply(e,tt([void 0],t.concat(this))))},e}(Array);function Xo(o){return Y(o)?gr(o,function(){}):o}function ul(o){return typeof o=="boolean"}function pl(){return function(e){return hl(e)}}function hl(o){o===void 0&&(o={});var e=o.thunk,t=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,c=a===void 0?!0:a,d=new dl;if(t&&(ul(t)?d.push(Go):d.push(Go.withExtraArgument(t.extraArgument))),0){if(i)var s;if(c)var f}return d}var Yo=!0;function Ta(o){var e=pl(),t=o||{},n=t.reducer,i=n===void 0?void 0:n,a=t.middleware,c=a===void 0?e():a,d=t.devTools,s=d===void 0?!0:d,f=t.preloadedState,h=f===void 0?void 0:f,p=t.enhancers,m=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(ll(i))g=Ra(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=c;if(typeof y=="function"&&(y=y(e),!Yo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Yo&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Pa.apply(void 0,y),O=et;s&&(O=sl(Oe({trace:!Yo},typeof s=="object"&&s)));var w=new fl(v),C=w;Array.isArray(m)?C=tt([v],m):typeof m=="function"&&(C=m(w));var x=O.apply(void 0,C);return Vo(g,h,x)}function we(o,e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Oe(Oe({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return t.toString=function(){return""+o},t.type=o,t.match=function(n){return n.type===o},t}function Ua(o){var e={},t=[],n,i={addCase:function(a,c){var d=typeof a=="string"?a:a.type;if(d in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[d]=c,i},addMatcher:function(a,c){return t.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,t,n]}function ml(o){return typeof o=="function"}function gl(o,e,t,n){t===void 0&&(t=[]);var i=typeof e=="function"?Ua(e):[e,t,n],a=i[0],c=i[1],d=i[2],s;if(ml(o))s=function(){return Xo(o())};else{var f=Xo(o);s=function(){return f}}function h(p,m){p===void 0&&(p=s());var g=tt([a[m.type]],c.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[d]),g.reduce(function(y,v){if(v)if(de(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(Y(y))return gr(y,function(C){return v(C,m)});var w=v(y,m);if(w===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return y},p)}return h.getInitialState=s,h}function yl(o,e){return o+"/"+e}function Fa(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof o.initialState=="function"?o.initialState:Xo(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},c={},d={};i.forEach(function(h){var p=n[h],m=yl(e,h),g,y;"reducer"in p?(g=p.reducer,y=p.prepare):g=p,a[h]=g,c[m]=g,d[h]=y?we(m,y):we(m)});function s(){var h=typeof o.extraReducers=="function"?Ua(o.extraReducers):[o.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],y=g===void 0?[]:g,v=h[2],O=v===void 0?void 0:v,w=Oe(Oe({},m),c);return gl(t,function(C){for(var x in w)C.addCase(x,w[x]);for(var b=0,S=y;b<S.length;b++){var N=S[b];C.addMatcher(N.matcher,N.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,p){return f||(f=s()),f(h,p)},actions:d,caseReducers:a,getInitialState:function(){return f||(f=s()),f.getInitialState()}}}var bl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",xl=function(o){o===void 0&&(o=21);for(var e="",t=o;t--;)e+=bl[Math.random()*64|0];return e},vl=["name","message","stack","code"],Jo=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),La=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),Sl=function(o){if(typeof o=="object"&&o!==null){for(var e={},t=0,n=vl;t<n.length;t++){var i=n[t];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},dm=function(){function o(e,t,n){var i=we(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:qo(Oe({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),a=we(e+"/pending",function(h,p,m){return{payload:void 0,meta:qo(Oe({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),c=we(e+"/rejected",function(h,p,m,g,y){return{payload:g,error:(n&&n.serializeError||Sl)(h||"Rejected"),meta:qo(Oe({},y||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,s=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,m,g){var y=n?.idGenerator?n.idGenerator(h):xl(),v=new s,O,w=!1;function C(b){O=b,v.abort()}var x=function(){return cl(this,null,function(){var b,S,N,I,D,_,E;return tl(this,function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),I=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),wl(I)?[4,I]:[3,2];case 1:I=A.sent(),A.label=2;case 2:if(I===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,D=new Promise(function(R,U){return v.signal.addEventListener("abort",function(){return U({name:"AbortError",message:O||"Aborted"})})}),p(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([D,Promise.resolve(t(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(R,U){return new Jo(R,U)},fulfillWithValue:function(R,U){return new La(R,U)}})).then(function(R){if(R instanceof Jo)throw R;return R instanceof La?i(R.payload,y,h,R.meta):i(R,y,h)})])];case 3:return N=A.sent(),[3,5];case 4:return _=A.sent(),N=_ instanceof Jo?c(null,y,h,_.payload,_.meta):c(_,y,h),[3,5];case 5:return E=n&&!n.dispatchConditionRejection&&c.match(N)&&N.meta.condition,E||p(N),[2,N]}})})}();return Object.assign(x,{abort:C,requestId:y,arg:h,unwrap:function(){return x.then(Ol)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function Ol(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function wl(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Da="listener",Ba="completed",za="cancelled",fm="task-"+za,um="task-"+Ba,pm=Da+"-"+za,hm=Da+"-"+Ba;var Qo="listenerMiddleware";var mm=we(Qo+"/add"),gm=we(Qo+"/removeAll"),ym=we(Qo+"/remove");var Ma,bm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Ma||(Ma=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},Cl=function(o){return function(e){setTimeout(e,o)}},xm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cl(10);wa();window.ftReduxStores||(window.ftReduxStores={});var en=class o{static get(e){var t;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Ue(a))return a;if(i==null)return;let c=Fa({...i,reducers:(t=i.reducers)!==null&&t!==void 0?t:{}}),d=Ta({reducer:(s,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...s,...f.overwrites}:c.reducer(s,f)});return window.ftReduxStores[i.name]=new o(c,d)}constructor(e,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Rt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let c=i,d=n[c];return d?(...s)=>{let f=d(...s);return this.reduxStore.dispatch(f),f}:s=>{this.setState({[c]:s})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function El(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Ue(e)&&e.clear()}var nn={};P(nn,{scrollHelper:()=>Nl});var rn,xr=new Map,on=class{lock(e,t){if(t){let n=xr.get(t);if(n==null||n===e)return xr.set(t,e),t}}release(e,t){t&&xr.get(t)===e&&xr.delete(t)}findFirstScrollableParent(e){let t,n=i=>{var a;i.stopPropagation();let c,d;for(let s of i.composedPath()){let f=s,h=this.elementCanScroll(f);if(h&&f.clientHeight&&f.clientHeight<f.scrollHeight){c=f;break}else h&&d==null&&(d=f)}t=(a=c??d)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),t}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){let n=0;for(;t&&t.offsetParent!==e.offsetParent;)n+=t.offsetTop,t=t.offsetParent;return n+t.offsetTop-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,c=i,d=qr(0,(c-n.scrollTop)/(c-a),1),s=this.computeTopOffsetRatio(t?.position,d)*(a-c)+c;n.scrollTo({behavior:t?.behavior,top:s})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(rn=window.FluidTopicsScrollHelper)!==null&&rn!==void 0?rn:new on;var Nl=window.FluidTopicsScrollHelper;var an={};P(an,{shadowQuerySelector:()=>Al,shadowQuerySelectorAll:()=>Rl});function Al(o,e,...t){var n;let i=o.querySelector(e);for(let a of t)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Rl(o,e,...t){let n=[...o.querySelectorAll(e)];for(let i of t)n=n.flatMap(a=>{var c,d;return[...(d=(c=a.shadowRoot)===null||c===void 0?void 0:c.querySelectorAll(i))!==null&&d!==void 0?d:[]]});return n}var cn={};P(cn,{serializeRequest:()=>Il});function Pl(o){return`"${o}"`}function Il(o,e){var t,n,i,a;let c=new URLSearchParams({"content-lang":(t=e.contentLocale)!==null&&t!==void 0?t:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&c.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&c.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&c.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let s=e.periodFilter.period,f=s?`_${s.from}_${s.to}`:"";c.append("period",e.periodFilter.periodType.toLowerCase()+f)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&c.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let s=e.filters.map(f=>{let h=f.values.map(p=>p.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(p=>encodeURIComponent(Pl(p))).join("_");return`${f.key}~${h}`}).join("*");c.append("filters",s)}return new URL(`${o.replace(/\/+$/,"")}/search?${c.toString()}`).href}var sn={};P(sn,{toFtFormComponent:()=>_l});var vr=Symbol("elementInternals");function _l(o,e){class t extends o{static get formAssociated(){return!0}get form(){return this[vr].form}constructor(...i){super(i),this[vr]=this.attachInternals(),this[vr].role=e}setFormValue(i){this[vr].setFormValue(i)}}return t}var dn={};P(dn,{DateFormatter:()=>ln});var ln=class{static format(e,t,n,i){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(n,i)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}};var fn,un,pn,hn,$l=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((pn=(un=(fn=window.safari)===null||fn===void 0?void 0:fn.pushNotification)===null||un===void 0?void 0:un.toString())!==null&&pn!==void 0?pn:"")==="[object SafariRemoteNotification]",kl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(hn=window.ftGlobals)!==null&&hn!==void 0?hn:{lit:Mr,litDecorators:Wr,litRepeat:Tr,litClassMap:Fr,litStyleMap:Dr,litUnsafeHTML:Br,wcUtils:{...Kr,...Hr,...Vr,...dn,...Gr,...Qr,...oo,...co,...xo,...ro,...wo,...So,...sa,...Yr,...Eo,...No,...da,...Ro,...tn,...vo,...nn,...an,...cn,...sn,isSafari:$l,isTouchScreen:kl,setVariable:or}};var Ha=r.extend("--ft-ripple-color","",ae.colorContent),Be={color:Ha,backgroundColor:r.extend("--ft-ripple-background-color","",Ha),opacityContentOnSurfacePressed:r.external(ae.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(ae.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(ae.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(ae.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},ja=r.extend("--ft-ripple-color","",ae.colorPrimary),Ka={color:ja,backgroundColor:r.extend("--ft-ripple-background-color","",ja)},Za=r.extend("--ft-ripple-color","",ae.colorSecondary),Va={color:Za,backgroundColor:r.extend("--ft-ripple-background-color","",Za)},Ga=T`
49
+ `;var da={};var Ro={};P(Ro,{ParametrizedLabelResolver:()=>Ao});var Ao=class o{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var n,i;e=this.resolvePluralKey(e,t);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return o.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,c)=>o.formatValue(n,c))),e}resolvePluralKey(e,t){for(let n of t)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,t){return e instanceof Date?o.formatDate(e,t):e??""}static formatDate(e,t){let n=i=>t?.includes("date")?e.toLocaleDateString(i):t?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var tn={};P(tn,{FtCommandQueue:()=>Rt,FtLitElementRedux:()=>Ye,FtReduxStore:()=>en,clearAllStores:()=>El,isFtReduxStore:()=>Fe,redux:()=>Bs,reduxEventListener:()=>zs,reduxReactive:()=>Ds});var Ds=()=>(o,e)=>{var t;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(t=n.reduxReactiveProperties)===null||t===void 0||t.add(e)},Bs=o=>{let e=o??{};return(t,n)=>{var i;let a={hasChanged:bt,attribute:!1,...e};L(a)(t,n);let c=t.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:s=>s[n],store:e.store})}},zs=o=>(e,t)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(t,o)};var Rt=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(n=>n.type===e);return t&&(this.queue=this.queue.filter(n=>n!==t)),t}};function Fe(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var fa,ua,pa,ur=Symbol("internalReduxEventsUnsubscribers"),be=Symbol("internalStoresUnsubscribers"),Ue=Symbol("internalStores"),Ye=class extends K{constructor(){super(...arguments),this[fa]=new Map,this[ua]=new Map,this[pa]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Ue].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ue].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ue].get(e)}addStore(e,t){var n;t=(n=t??(Fe(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(t),this.setupStore(t,e)}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[Ue].delete(t)}setupStore(e,t){this[Ue].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ue].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let n=this.constructor.getPropertyOptions(t);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:t)){let i=this.getStore(e.store);i&&(e.store?this[be].has(e.store):this[be].size>0)&&(this[t]=e.selector(i.getState(),this))}})}subscribeToStore(e,t){var n;this[be].set(e,t.subscribe(()=>this.updateFromStores())),Fe(t)&&t.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||t.name===i.store)){let c=s=>this[a](s);t.eventBus.addEventListener(i.eventName,c),this[ur].push(()=>t.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[be].forEach((e,t)=>this.unsubscribeFromStore(t)),this[ur].forEach(e=>e()),this[ur]=[]}unsubscribeFromStore(e){this[be].has(e)&&this[be].get(e)(),this[be].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};fa=be,ua=Ue,pa=ur;Ye.reduxProperties=new Map;Ye.reduxReactiveProperties=new Set;Ye.reduxEventListeners=new Map;function Z(o){for(var e=arguments.length,t=Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(t.length?" "+t.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function de(o){return!!o&&!!o[$]}function Y(o){var e;return!!o&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ys}(o)||Array.isArray(o)||!!o[va]||!!(!((e=o.constructor)===null||e===void 0)&&e[va])||To(o)||Fo(o))}function De(o,e,t){t===void 0&&(t=!1),Qe(o)===0?(t?Object.keys:Xe)(o).forEach(function(n){t&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function Qe(o){var e=o[$];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:To(o)?2:Fo(o)?3:0}function Je(o,e){return Qe(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Hs(o,e){return Qe(o)===2?o.get(e):o[e]}function Sa(o,e,t){var n=Qe(o);n===2?o.set(e,t):n===3?o.add(t):o[e]=t}function Oa(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function To(o){return Gs&&o instanceof Map}function Fo(o){return qs&&o instanceof Set}function xe(o){return o.o||o.t}function Uo(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Ea(o);delete e[$];for(var t=Xe(e),n=0;n<t.length;n++){var i=t[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function Do(o,e){return e===void 0&&(e=!1),Bo(o)||de(o)||!Y(o)||(Qe(o)>1&&(o.set=o.add=o.clear=o.delete=js),Object.freeze(o),e&&De(o,function(t,n){return Do(n,!0)},!0)),o}function js(){Z(2)}function Bo(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function te(o){var e=Wo[o];return e||Z(18,o),e}function Ks(o,e){Wo[o]||(Wo[o]=e)}function ko(){return It}function Po(o,e){e&&(te("Patches"),o.u=[],o.s=[],o.v=e)}function pr(o){Lo(o),o.p.forEach(Vs),o.p=null}function Lo(o){o===It&&(It=o.l)}function ha(o){return It={p:[],l:It,h:o,m:!0,_:0}}function Vs(o){var e=o[$];e.i===0||e.i===1?e.j():e.g=!0}function Io(o,e){e._=e.p.length;var t=e.p[0],n=o!==void 0&&o!==t;return e.h.O||te("ES5").S(e,o,n),n?(t[$].P&&(pr(e),Z(4)),Y(o)&&(o=hr(e,o),e.l||mr(e,o)),e.u&&te("Patches").M(t[$].t,o,e.u,e.s)):o=hr(e,t,[]),pr(e),e.u&&e.v(e.u,e.s),o!==Ca?o:void 0}function hr(o,e,t){if(Bo(e))return e;var n=e[$];if(!n)return De(e,function(s,d){return ma(o,n,e,s,d,t)},!0),e;if(n.A!==o)return e;if(!n.P)return mr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Uo(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),De(a,function(s,d){return ma(o,n,i,s,d,t,c)}),mr(o,i,!1),t&&o.u&&te("Patches").N(n,t,o.u,o.s)}return n.o}function ma(o,e,t,n,i,a,c){if(de(i)){var s=hr(o,i,a&&e&&e.i!==3&&!Je(e.R,n)?a.concat(n):void 0);if(Sa(t,n,s),!de(s))return;o.m=!1}else c&&t.add(i);if(Y(i)&&!Bo(i)){if(!o.h.D&&o._<1)return;hr(o,i),e&&e.A.l||mr(o,i)}}function mr(o,e,t){t===void 0&&(t=!1),!o.l&&o.h.D&&o.m&&Do(e,t)}function _o(o,e){var t=o[$];return(t?xe(t):o)[e]}function ga(o,e){if(e in o)for(var t=Object.getPrototypeOf(o);t;){var n=Object.getOwnPropertyDescriptor(t,e);if(n)return n;t=Object.getPrototypeOf(t)}}function ve(o){o.P||(o.P=!0,o.l&&ve(o.l))}function $o(o){o.o||(o.o=Uo(o.t))}function Mo(o,e,t){var n=To(e)?te("MapSet").F(e,t):Fo(e)?te("MapSet").T(e,t):o.O?function(i,a){var c=Array.isArray(i),s={i:c?1:0,A:a?a.A:ko(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=s,f=_t;c&&(d=[s],f=Pt);var h=Proxy.revocable(d,f),p=h.revoke,m=h.proxy;return s.k=m,s.j=p,m}(e,t):te("ES5").J(e,t);return(t?t.A:ko()).p.push(n),n}function Zs(o){return de(o)||Z(22,o),function e(t){if(!Y(t))return t;var n,i=t[$],a=Qe(t);if(i){if(!i.P&&(i.i<4||!te("ES5").K(i)))return i.t;i.I=!0,n=ya(t,a),i.I=!1}else n=ya(t,a);return De(n,function(c,s){i&&Hs(i.t,c)===s||Sa(n,c,e(s))}),a===3?new Set(n):n}(o)}function ya(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return Uo(o)}function wa(){function o(c,s){var d=a[c];return d?d.enumerable=s:a[c]=d={configurable:!0,enumerable:s,get:function(){var f=this[$];return _t.get(f,c)},set:function(f){var h=this[$];_t.set(h,c,f)}},d}function e(c){for(var s=c.length-1;s>=0;s--){var d=c[s][$];if(!d.P)switch(d.i){case 5:n(d)&&ve(d);break;case 4:t(d)&&ve(d)}}}function t(c){for(var s=c.t,d=c.k,f=Xe(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==$){var m=s[p];if(m===void 0&&!Je(s,p))return!0;var g=d[p],y=g&&g[$];if(y?y.t!==m:!Oa(g,m))return!0}}var v=!!s[$];return f.length!==Xe(s).length+(v?0:1)}function n(c){var s=c.k;if(s.length!==c.t.length)return!0;var d=Object.getOwnPropertyDescriptor(s,s.length-1);if(d&&!d.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function i(c){c.g&&Z(3,JSON.stringify(xe(c)))}var a={};Ks("ES5",{J:function(c,s){var d=Array.isArray(c),f=function(p,m){if(p){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var v=Ea(m);delete v[$];for(var O=Xe(v),w=0;w<O.length;w++){var C=O[w];v[C]=o(C,p||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(d,c),h={i:d?5:4,A:s?s.A:ko(),P:!1,I:!1,R:{},l:s,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,$,{value:h,writable:!0}),f},S:function(c,s,d){d?de(s)&&s[$].A===c&&e(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var p=h[$];if(p){var m=p.t,g=p.k,y=p.R,v=p.i;if(v===4)De(g,function(x){x!==$&&(m[x]!==void 0||Je(m,x)?y[x]||f(g[x]):(y[x]=!0,ve(p)))}),De(m,function(x){g[x]!==void 0||Je(g,x)||(y[x]=!1,ve(p))});else if(v===5){if(n(p)&&(ve(p),y.length=!0),g.length<m.length)for(var O=g.length;O<m.length;O++)y[O]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var C=Math.min(g.length,m.length),b=0;b<C;b++)g.hasOwnProperty(b)||(y[b]=!0),y[b]===void 0&&f(g[b])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?t(c):n(c)}})}var ba,It,zo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Gs=typeof Map<"u",qs=typeof Set<"u",xa=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ca=zo?Symbol.for("immer-nothing"):((ba={})["immer-nothing"]=!0,ba),va=zo?Symbol.for("immer-draftable"):"__$immer_draftable",$=zo?Symbol.for("immer-state"):"__$immer_state";var Ys=""+Object.prototype.constructor,Xe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Ea=Object.getOwnPropertyDescriptors||function(o){var e={};return Xe(o).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(o,t)}),e},Wo={},_t={get:function(o,e){if(e===$)return o;var t=xe(o);if(!Je(t,e))return function(i,a,c){var s,d=ga(a,c);return d?"value"in d?d.value:(s=d.get)===null||s===void 0?void 0:s.call(i.k):void 0}(o,t,e);var n=t[e];return o.I||!Y(n)?n:n===_o(o.t,e)?($o(o),o.o[e]=Mo(o.A.h,n,o)):n},has:function(o,e){return e in xe(o)},ownKeys:function(o){return Reflect.ownKeys(xe(o))},set:function(o,e,t){var n=ga(xe(o),e);if(n?.set)return n.set.call(o.k,t),!0;if(!o.P){var i=_o(xe(o),e),a=i?.[$];if(a&&a.t===t)return o.o[e]=t,o.R[e]=!1,!0;if(Oa(t,i)&&(t!==void 0||Je(o.t,e)))return!0;$o(o),ve(o)}return o.o[e]===t&&(t!==void 0||e in o.o)||Number.isNaN(t)&&Number.isNaN(o.o[e])||(o.o[e]=t,o.R[e]=!0),!0},deleteProperty:function(o,e){return _o(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,$o(o),ve(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var t=xe(o),n=Reflect.getOwnPropertyDescriptor(t,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:t[e]}},defineProperty:function(){Z(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){Z(12)}},Pt={};De(_t,function(o,e){Pt[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Pt.deleteProperty=function(o,e){return Pt.set.call(this,o,e,void 0)},Pt.set=function(o,e,t){return _t.set.call(this,o[0],e,t,o[0])};var Js=function(){function o(t){var n=this;this.O=xa,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var d=n;return function(v){var O=this;v===void 0&&(v=s);for(var w=arguments.length,C=Array(w>1?w-1:0),b=1;b<w;b++)C[b-1]=arguments[b];return d.produce(v,function(x){var S;return(S=a).call.apply(S,[O,x].concat(C))})}}var f;if(typeof a!="function"&&Z(6),c!==void 0&&typeof c!="function"&&Z(7),Y(i)){var h=ha(n),p=Mo(n,i,void 0),m=!0;try{f=a(p),m=!1}finally{m?pr(h):Lo(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Po(h,c),Io(v,h)},function(v){throw pr(h),v}):(Po(h,c),Io(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Ca&&(f=void 0),n.D&&Do(f,!0),c){var g=[],y=[];te("Patches").M(i,f,g,y),c(g,y)}return f}Z(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(p))})};var c,s,d=n.produce(i,a,function(f,h){c=f,s=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,c,s]}):[d,c,s]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=o.prototype;return e.createDraft=function(t){Y(t)||Z(8),de(t)&&(t=Zs(t));var n=ha(this),i=Mo(this,t,void 0);return i[$].C=!0,Lo(n),i},e.finishDraft=function(t,n){var i=t&&t[$],a=i.A;return Po(a,n),Io(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!xa&&Z(20),this.O=t},e.applyPatches=function(t,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}i>-1&&(n=n.slice(i+1));var c=te("Patches").$;return de(t)?c(t,n):this.produce(t,function(s){return c(s,n)})},o}(),V=new Js,Xs=V.produce,Th=V.produceWithPatches.bind(V),Fh=V.setAutoFreeze.bind(V),Uh=V.setUseProxies.bind(V),Dh=V.applyPatches.bind(V),Bh=V.createDraft.bind(V),zh=V.finishDraft.bind(V),gr=Xs;function Se(o){"@babel/helpers - typeof";return Se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Se(o)}function Ho(o,e){if(Se(o)!=="object"||o===null)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e||"default");if(Se(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function jo(o){var e=Ho(o,"string");return Se(e)==="symbol"?e:String(e)}function Ko(o,e,t){return e=jo(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function Na(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),t.push.apply(t,n)}return t}function yr(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Na(Object(t),!0).forEach(function(n){Ko(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Na(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function U(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Aa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Vo=function(){return Math.random().toString(36).substring(7).split("").join(".")},br={INIT:"@@redux/INIT"+Vo(),REPLACE:"@@redux/REPLACE"+Vo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Vo()}};function Qs(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function Zo(o,e,t){var n;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(U(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(U(1));return t(Zo)(o,e)}if(typeof o!="function")throw new Error(U(2));var i=o,a=e,c=[],s=c,d=!1;function f(){s===c&&(s=c.slice())}function h(){if(d)throw new Error(U(3));return a}function p(v){if(typeof v!="function")throw new Error(U(4));if(d)throw new Error(U(5));var O=!0;return f(),s.push(v),function(){if(O){if(d)throw new Error(U(6));O=!1,f();var C=s.indexOf(v);s.splice(C,1),c=null}}}function m(v){if(!Qs(v))throw new Error(U(7));if(typeof v.type>"u")throw new Error(U(8));if(d)throw new Error(U(9));try{d=!0,a=i(a,v)}finally{d=!1}for(var O=c=s,w=0;w<O.length;w++){var C=O[w];C()}return v}function g(v){if(typeof v!="function")throw new Error(U(10));i=v,m({type:br.REPLACE})}function y(){var v,O=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(U(11));function b(){C.next&&C.next(h())}b();var x=O(b);return{unsubscribe:x}}},v[Aa]=function(){return this},v}return m({type:br.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[Aa]=y,n}function el(o){Object.keys(o).forEach(function(e){var t=o[e],n=t(void 0,{type:br.INIT});if(typeof n>"u")throw new Error(U(12));if(typeof t(void 0,{type:br.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(U(13))})}function Ra(o){for(var e=Object.keys(o),t={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(t[i]=o[i])}var a=Object.keys(t),c,s;try{el(t)}catch(d){s=d}return function(f,h){if(f===void 0&&(f={}),s)throw s;if(0)var p;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],O=t[v],w=f[v],C=O(w,h);if(typeof C>"u"){var b=h&&h.type;throw new Error(U(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function et(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Pa(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(U(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(d){return d(c)});return a=et.apply(void 0,s)(i.dispatch),yr(yr({},i),{},{dispatch:a})}}}function Ia(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(s){return typeof s=="function"?s(i,a,o):c(s)}}};return e}var _a=Ia();_a.withExtraArgument=Ia;var Go=_a;var Wa=function(){var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},o(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),tl=function(o,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(f){return function(h){return d([f,h])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,i=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(o,t)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},tt=function(o,e){for(var t=0,n=e.length,i=o.length;t<n;t++,i++)o[i]=e[t];return o},rl=Object.defineProperty,ol=Object.defineProperties,nl=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,al=Object.prototype.propertyIsEnumerable,ka=function(o,e,t){return e in o?rl(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t},Oe=function(o,e){for(var t in e||(e={}))il.call(e,t)&&ka(o,t,e[t]);if($a)for(var n=0,i=$a(e);n<i.length;n++){var t=i[n];al.call(e,t)&&ka(o,t,e[t])}return o},qo=function(o,e){return ol(o,nl(e))},cl=function(o,e,t){return new Promise(function(n,i){var a=function(d){try{s(t.next(d))}catch(f){i(f)}},c=function(d){try{s(t.throw(d))}catch(f){i(f)}},s=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,c)};s((t=t.apply(o,e)).next())})};var sl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?et:et.apply(null,arguments)},am=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function ll(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var dl=function(o){Wa(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,tt([void 0],t[0].concat(this)))):new(e.bind.apply(e,tt([void 0],t.concat(this))))},e}(Array),fl=function(o){Wa(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,tt([void 0],t[0].concat(this)))):new(e.bind.apply(e,tt([void 0],t.concat(this))))},e}(Array);function Xo(o){return Y(o)?gr(o,function(){}):o}function ul(o){return typeof o=="boolean"}function pl(){return function(e){return hl(e)}}function hl(o){o===void 0&&(o={});var e=o.thunk,t=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,c=a===void 0?!0:a,s=new dl;if(t&&(ul(t)?s.push(Go):s.push(Go.withExtraArgument(t.extraArgument))),0){if(i)var d;if(c)var f}return s}var Yo=!0;function Ta(o){var e=pl(),t=o||{},n=t.reducer,i=n===void 0?void 0:n,a=t.middleware,c=a===void 0?e():a,s=t.devTools,d=s===void 0?!0:s,f=t.preloadedState,h=f===void 0?void 0:f,p=t.enhancers,m=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(ll(i))g=Ra(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=c;if(typeof y=="function"&&(y=y(e),!Yo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Yo&&y.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Pa.apply(void 0,y),O=et;d&&(O=sl(Oe({trace:!Yo},typeof d=="object"&&d)));var w=new fl(v),C=w;Array.isArray(m)?C=tt([v],m):typeof m=="function"&&(C=m(w));var b=O.apply(void 0,C);return Zo(g,h,b)}function we(o,e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Oe(Oe({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return t.toString=function(){return""+o},t.type=o,t.match=function(n){return n.type===o},t}function Fa(o){var e={},t=[],n,i={addCase:function(a,c){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=c,i},addMatcher:function(a,c){return t.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,t,n]}function ml(o){return typeof o=="function"}function gl(o,e,t,n){t===void 0&&(t=[]);var i=typeof e=="function"?Fa(e):[e,t,n],a=i[0],c=i[1],s=i[2],d;if(ml(o))d=function(){return Xo(o())};else{var f=Xo(o);d=function(){return f}}function h(p,m){p===void 0&&(p=d());var g=tt([a[m.type]],c.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[s]),g.reduce(function(y,v){if(v)if(de(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(Y(y))return gr(y,function(C){return v(C,m)});var w=v(y,m);if(w===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return y},p)}return h.getInitialState=d,h}function yl(o,e){return o+"/"+e}function Ua(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof o.initialState=="function"?o.initialState:Xo(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},c={},s={};i.forEach(function(h){var p=n[h],m=yl(e,h),g,y;"reducer"in p?(g=p.reducer,y=p.prepare):g=p,a[h]=g,c[m]=g,s[h]=y?we(m,y):we(m)});function d(){var h=typeof o.extraReducers=="function"?Fa(o.extraReducers):[o.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],y=g===void 0?[]:g,v=h[2],O=v===void 0?void 0:v,w=Oe(Oe({},m),c);return gl(t,function(C){for(var b in w)C.addCase(b,w[b]);for(var x=0,S=y;x<S.length;x++){var N=S[x];C.addMatcher(N.matcher,N.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:s,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var bl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",xl=function(o){o===void 0&&(o=21);for(var e="",t=o;t--;)e+=bl[Math.random()*64|0];return e},vl=["name","message","stack","code"],Jo=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),La=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),Sl=function(o){if(typeof o=="object"&&o!==null){for(var e={},t=0,n=vl;t<n.length;t++){var i=n[t];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},dm=function(){function o(e,t,n){var i=we(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:qo(Oe({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),a=we(e+"/pending",function(h,p,m){return{payload:void 0,meta:qo(Oe({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),c=we(e+"/rejected",function(h,p,m,g,y){return{payload:g,error:(n&&n.serializeError||Sl)(h||"Rejected"),meta:qo(Oe({},y||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),s=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,m,g){var y=n?.idGenerator?n.idGenerator(h):xl(),v=new d,O,w=!1;function C(x){O=x,v.abort()}var b=function(){return cl(this,null,function(){var x,S,N,I,D,_,E;return tl(this,function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),I=(x=n?.condition)==null?void 0:x.call(n,h,{getState:m,extra:g}),wl(I)?[4,I]:[3,2];case 1:I=A.sent(),A.label=2;case 2:if(I===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,D=new Promise(function(R,F){return v.signal.addEventListener("abort",function(){return F({name:"AbortError",message:O||"Aborted"})})}),p(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([D,Promise.resolve(t(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(R,F){return new Jo(R,F)},fulfillWithValue:function(R,F){return new La(R,F)}})).then(function(R){if(R instanceof Jo)throw R;return R instanceof La?i(R.payload,y,h,R.meta):i(R,y,h)})])];case 3:return N=A.sent(),[3,5];case 4:return _=A.sent(),N=_ instanceof Jo?c(null,y,h,_.payload,_.meta):c(_,y,h),[3,5];case 5:return E=n&&!n.dispatchConditionRejection&&c.match(N)&&N.meta.condition,E||p(N),[2,N]}})})}();return Object.assign(b,{abort:C,requestId:y,arg:h,unwrap:function(){return b.then(Ol)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function Ol(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function wl(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Da="listener",Ba="completed",za="cancelled",fm="task-"+za,um="task-"+Ba,pm=Da+"-"+za,hm=Da+"-"+Ba;var Qo="listenerMiddleware";var mm=we(Qo+"/add"),gm=we(Qo+"/removeAll"),ym=we(Qo+"/remove");var Ma,bm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Ma||(Ma=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},Cl=function(o){return function(e){setTimeout(e,o)}},xm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cl(10);wa();window.ftReduxStores||(window.ftReduxStores={});var en=class o{static get(e){var t;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Fe(a))return a;if(i==null)return;let c=Ua({...i,reducers:(t=i.reducers)!==null&&t!==void 0?t:{}}),s=Ta({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:c.reducer(d,f)});return window.ftReduxStores[i.name]=new o(c,s)}constructor(e,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Rt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let c=i,s=n[c];return s?(...d)=>{let f=s(...d);return this.reduxStore.dispatch(f),f}:d=>{this.setState({[c]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function El(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Fe(e)&&e.clear()}var nn={};P(nn,{scrollHelper:()=>Nl});var rn,xr=new Map,on=class{lock(e,t){if(t){let n=xr.get(t);if(n==null||n===e)return xr.set(t,e),t}}release(e,t){t&&xr.get(t)===e&&xr.delete(t)}findFirstScrollableParent(e){let t,n=i=>{var a;i.stopPropagation();let c,s;for(let d of i.composedPath()){let f=d,h=this.elementCanScroll(f);if(h&&f.clientHeight&&f.clientHeight<f.scrollHeight){c=f;break}else h&&s==null&&(s=f)}t=(a=c??s)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),t}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){let n=0;for(;t&&t.offsetParent!==e.offsetParent;)n+=t.offsetTop,t=t.offsetParent;return n+t.offsetTop-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,c=i,s=qr(0,(c-n.scrollTop)/(c-a),1),d=this.computeTopOffsetRatio(t?.position,s)*(a-c)+c;n.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(rn=window.FluidTopicsScrollHelper)!==null&&rn!==void 0?rn:new on;var Nl=window.FluidTopicsScrollHelper;var an={};P(an,{shadowQuerySelector:()=>Al,shadowQuerySelectorAll:()=>Rl});function Al(o,e,...t){var n;let i=o.querySelector(e);for(let a of t)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Rl(o,e,...t){let n=[...o.querySelectorAll(e)];for(let i of t)n=n.flatMap(a=>{var c,s;return[...(s=(c=a.shadowRoot)===null||c===void 0?void 0:c.querySelectorAll(i))!==null&&s!==void 0?s:[]]});return n}var cn={};P(cn,{serializeRequest:()=>Il});function Pl(o){return`"${o}"`}function Il(o,e){var t,n,i,a,c,s,d,f,h;let p=new URLSearchParams({"content-lang":(t=e.contentLocale)!==null&&t!==void 0?t:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&p.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&p.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&p.append("virtual-field",e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&p.append("sort","last_update");let m=(c=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(O=>O.valueFilter))!==null&&c!==void 0?c:[];if(m.length>0){let O=m.map(w=>{var C,b;let x=((b=(C=w.valueFilter)===null||C===void 0?void 0:C.values)!==null&&b!==void 0?b:[]).map(S=>S.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(S=>encodeURIComponent(Pl(S))).join("_");return`${w.key}~${x}`}).join("*");p.append("value-filters",O)}let g=(d=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(O=>O.dateFilter))!==null&&d!==void 0?d:[];if(g.length>0){let O=g.map(w=>{var C;return`${w.key}~${(C=w.dateFilter)===null||C===void 0?void 0:C.type.toLowerCase()}`}).join("*");p.append("date-filters",O)}let y=(h=(f=e.metadataFilters)===null||f===void 0?void 0:f.filter(O=>O.rangeFilter))!==null&&h!==void 0?h:[];if(y.length>0){let O=y.map(w=>{var C,b;return`${w.key}~${(C=w.rangeFilter)===null||C===void 0?void 0:C.from}_${(b=w.rangeFilter)===null||b===void 0?void 0:b.to}`}).join("*");p.append("range-filters",O)}return new URL(`${o.replace(/\/+$/,"")}/search?${p.toString()}`).href}var sn={};P(sn,{toFtFormComponent:()=>_l});var vr=Symbol("elementInternals");function _l(o,e){class t extends o{static get formAssociated(){return!0}get form(){return this[vr].form}constructor(...i){super(i),this[vr]=this.attachInternals(),this[vr].role=e}setFormValue(i){this[vr].setFormValue(i)}}return t}var dn={};P(dn,{DateFormatter:()=>ln});var ln=class{static format(e,t,n,i){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(n,i)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}};var fn,un,pn,hn,$l=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((pn=(un=(fn=window.safari)===null||fn===void 0?void 0:fn.pushNotification)===null||un===void 0?void 0:un.toString())!==null&&pn!==void 0?pn:"")==="[object SafariRemoteNotification]",kl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(hn=window.ftGlobals)!==null&&hn!==void 0?hn:{lit:Mr,litDecorators:Wr,litRepeat:Tr,litClassMap:Ur,litStyleMap:Dr,litUnsafeHTML:Br,wcUtils:{...Kr,...Hr,...Zr,...dn,...Gr,...Qr,...oo,...co,...xo,...ro,...wo,...So,...sa,...Yr,...Eo,...No,...da,...Ro,...tn,...vo,...nn,...an,...cn,...sn,isSafari:$l,isTouchScreen:kl,setVariable:or}};var Ha=r.extend("--ft-ripple-color","",ae.colorContent),Be={color:Ha,backgroundColor:r.extend("--ft-ripple-background-color","",Ha),opacityContentOnSurfacePressed:r.external(ae.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(ae.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(ae.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(ae.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},ja=r.extend("--ft-ripple-color","",ae.colorPrimary),Ka={color:ja,backgroundColor:r.extend("--ft-ripple-background-color","",ja)},Va=r.extend("--ft-ripple-color","",ae.colorSecondary),Za={color:Va,backgroundColor:r.extend("--ft-ripple-background-color","",Va)},Ga=T`
50
50
  :host {
51
51
  display: contents;
52
52
  }
@@ -101,11 +101,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
101
101
  }
102
102
 
103
103
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
104
- background-color: ${Va.backgroundColor};
104
+ background-color: ${Za.backgroundColor};
105
105
  }
106
106
 
107
107
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
108
- background-color: ${Va.color};
108
+ background-color: ${Za.color};
109
109
  }
110
110
 
111
111
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
@@ -158,18 +158,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
158
158
  opacity: ${Be.opacityContentOnSurfacePressed};
159
159
  transform: translate(-50%, -50%) scale(1);
160
160
  }
161
- `;var z=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},M=class extends K{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new me(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new me(10),this.moveRipple=e=>{var t,n;let{x:i,y:a}=this.getCoordinates(e),c=(n=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(a!=null?a-c.y:c.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return kr`
161
+ `;var z=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var s=o.length-1;s>=0;s--)(c=o[s])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},M=class extends K{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new me(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new me(10),this.moveRipple=e=>{var t,n;let{x:i,y:a}=this.getCoordinates(e),c=(n=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(a!=null?a-c.y:c.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return kr`
162
162
  <style>
163
163
  .ft-ripple .ft-ripple--effect {
164
164
  left: ${this.originX}px;
165
165
  top: ${this.originY}px;
166
166
  }
167
167
  </style>
168
- <div class="${Ur(e)}">
168
+ <div class="${Fr(e)}">
169
169
  <div class="ft-ripple--background"></div>
170
170
  <div class="ft-ripple--effect"></div>
171
171
  </div>
172
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var t,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,t;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((t=this.target)!==null&&t!==void 0?t:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let t=(...d)=>s=>{d.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(s)},n=t("mouseup","contextmenu"),i=t("touchend","touchcancel"),a=d=>{["Enter"," "].includes(d.key)&&t("keyup")(d)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",i,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",a,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",i,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",a,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let t=e,n=e,i,a;return t.x!=null?{x:i,y:a}=t:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};M.elementDefinitions={};M.styles=Ga;z([L({type:Boolean})],M.prototype,"primary",void 0);z([L({type:Boolean})],M.prototype,"secondary",void 0);z([L({type:Boolean})],M.prototype,"unbounded",void 0);z([L({type:Boolean})],M.prototype,"activated",void 0);z([L({type:Boolean})],M.prototype,"selected",void 0);z([L({type:Boolean})],M.prototype,"disabled",void 0);z([X()],M.prototype,"hovered",void 0);z([X()],M.prototype,"focused",void 0);z([X()],M.prototype,"pressed",void 0);z([X()],M.prototype,"rippling",void 0);z([X()],M.prototype,"originX",void 0);z([X()],M.prototype,"originY",void 0);z([tr(".ft-ripple")],M.prototype,"ripple",void 0);z([tr(".ft-ripple--effect")],M.prototype,"rippleEffect",void 0);Jr("ft-ripple")(M);})();
172
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var t,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,t;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((t=this.target)!==null&&t!==void 0?t:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let t=(...s)=>d=>{s.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},n=t("mouseup","contextmenu"),i=t("touchend","touchcancel"),a=s=>{["Enter"," "].includes(s.key)&&t("keyup")(s)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",i,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",a,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",i,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",a,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let t=e,n=e,i,a;return t.x!=null?{x:i,y:a}=t:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};M.elementDefinitions={};M.styles=Ga;z([L({type:Boolean})],M.prototype,"primary",void 0);z([L({type:Boolean})],M.prototype,"secondary",void 0);z([L({type:Boolean})],M.prototype,"unbounded",void 0);z([L({type:Boolean})],M.prototype,"activated",void 0);z([L({type:Boolean})],M.prototype,"selected",void 0);z([L({type:Boolean})],M.prototype,"disabled",void 0);z([X()],M.prototype,"hovered",void 0);z([X()],M.prototype,"focused",void 0);z([X()],M.prototype,"pressed",void 0);z([X()],M.prototype,"rippling",void 0);z([X()],M.prototype,"originX",void 0);z([X()],M.prototype,"originY",void 0);z([tr(".ft-ripple")],M.prototype,"ripple",void 0);z([tr(".ft-ripple--effect")],M.prototype,"rippleEffect",void 0);Jr("ft-ripple")(M);})();
173
173
  /*! Bundled license information:
174
174
 
175
175
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: