@fluid-topics/ft-ripple 1.1.94 → 1.1.95

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 Ha=Object.defineProperty;var _=(o,e)=>{for(var r in e)Ha(o,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,r=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 P={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,P),this._definitionsByClass.set(b,P);let F=r.call(n,x);F||(F=p(x),e.call(n,x,F)),this===window.customElements&&(c.set(b,P),P.standInClass=F);let I=this._awaitingUpgrade.get(x);if(I){this._awaitingUpgrade.delete(x);for(let A of I)a.delete(A),y(A,P,!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 l;window.HTMLElement=function(){let b=l;if(b)return l=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,P=N._getDefinition(x);return P?y(S,P):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(I,E){let A=I.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 P=x.prototype.removeAttribute;P&&(x.prototype.removeAttribute=function(I){let E=I.toLowerCase();if(b.has(E)){let A=this.getAttribute(E);P.call(this,E),S.call(this,E,A,null)}else P.call(this,E)});let F=x.prototype.toggleAttribute;F&&(x.prototype.toggleAttribute=function(I,E){let A=I.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);F.call(this,A,E);let T=this.getAttribute(A);S.call(this,A,R,T)}else F.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),l=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 P=N.apply(S||this,arguments);return P!==void 0&&d.set(P,this),O.pop(),P}};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(...I){let E=b.call(this,...I);return x.set(E,this),E},S.forEach(I=>{let E=window.ElementInternals.prototype,A=E[I];E[I]=function(...R){let T=x.get(this);if(i.get(T).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 P{constructor(E){let A=new Map;E.forEach((R,T)=>{let vr=R.getAttribute("name"),sn=A.get(vr)||[];this[+T]=R,sn.push(R),A.set(vr,sn)}),this.length=E.length,A.forEach((R,T)=>{R&&(R.length===1?this[T]=R[0]:this[T]=new N(R))})}namedItem(E){return this[E]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let I=F.get.call(this,[]),E=[];for(let A of I){let R=i.get(A);(!R||R.formAssociated===!0)&&E.push(A)}return new P(E)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var Lr={};_(Lr,{CSSResult:()=>ze,LitElement:()=>ne,ReactiveElement:()=>J,_$LE:()=>pc,_$LH:()=>dc,adoptStyles:()=>Zt,css:()=>U,defaultConverter:()=>Vt,getCompatibleStyle:()=>dt,html:()=>$r,isServer:()=>Vl,noChange:()=>fe,notEqual:()=>Ar,nothing:()=>W,render:()=>kr,supportsAdoptingStyleSheets:()=>st,svg:()=>lc,unsafeCSS:()=>lt});var $t=globalThis,Lt=$t.ShadowRoot&&($t.ShadyCSS===void 0||$t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dn=Symbol(),ln=new WeakMap,kt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==dn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Lt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=ln.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ln.set(r,e))}return e}toString(){return this.cssText}},fn=o=>new kt(typeof o=="string"?o:o+"",void 0,dn);var Sr=(o,e)=>{if(Lt)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=$t.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},Mt=Lt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return fn(r)})(o):o;var{is:ja,defineProperty:Ka,getOwnPropertyDescriptor:Za,getOwnPropertyNames:Va,getOwnPropertySymbols:Ga,getPrototypeOf:qa}=Object,Wt=globalThis,un=Wt.trustedTypes,Ya=un?un.emptyScript:"",Ja=Wt.reactiveElementPolyfillSupport,rt=(o,e)=>o,ot={toAttribute(o,e){switch(e){case Boolean:o=o?Ya:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let r=o;switch(e){case Boolean:r=o!==null;break;case Number:r=o===null?null:Number(o);break;case Object:case Array:try{r=JSON.parse(o)}catch{r=null}}return r}},Ut=(o,e)=>!ja(o,e),pn={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Ut};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,r=pn){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Ka(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Za(this.prototype,e)??{get(){return this[r]},set(c){this[r]=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)??pn}static _$Ei(){if(this.hasOwnProperty(rt("elementProperties")))return;let e=qa(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 r=this.properties,n=[...Va(r),...Ga(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Mt(i))}else e!==void 0&&r.push(Mt(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 Sr(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,r,n){this._$AK(e,n)}_$EO(e,r){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(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){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(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Ut)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ce.elementStyles=[],Ce.shadowRootOptions={mode:"open"},Ce[rt("elementProperties")]=new Map,Ce[rt("finalized")]=new Map,Ja?.({ReactiveElement:Ce}),(Wt.reactiveElementVersions??=[]).push("2.0.2");var wr=globalThis,Tt=wr.trustedTypes,hn=Tt?Tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Cr="$lit$",re=`lit$${(Math.random()+"").slice(9)}$`,Er="?"+re,Xa=`<${Er}>`,Ae=document,Dt=()=>Ae.createComment(""),it=o=>o===null||typeof o!="object"&&typeof o!="function",vn=Array.isArray,Sn=o=>vn(o)||typeof o?.[Symbol.iterator]=="function",Or=`[
1
+ "use strict";(()=>{var Ha=Object.defineProperty;var _=(o,e)=>{for(var r in e)Ha(o,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,r=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 P={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,P),this._definitionsByClass.set(b,P);let F=r.call(n,x);F||(F=p(x),e.call(n,x,F)),this===window.customElements&&(c.set(b,P),P.standInClass=F);let I=this._awaitingUpgrade.get(x);if(I){this._awaitingUpgrade.delete(x);for(let A of I)a.delete(A),y(A,P,!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 l;window.HTMLElement=function(){let b=l;if(b)return l=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,P=N._getDefinition(x);return P?y(S,P):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(I,E){let A=I.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 P=x.prototype.removeAttribute;P&&(x.prototype.removeAttribute=function(I){let E=I.toLowerCase();if(b.has(E)){let A=this.getAttribute(E);P.call(this,E),S.call(this,E,A,null)}else P.call(this,E)});let F=x.prototype.toggleAttribute;F&&(x.prototype.toggleAttribute=function(I,E){let A=I.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);F.call(this,A,E);let T=this.getAttribute(A);S.call(this,A,R,T)}else F.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),l=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 P=N.apply(S||this,arguments);return P!==void 0&&d.set(P,this),O.pop(),P}};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(...I){let E=b.call(this,...I);return x.set(E,this),E},S.forEach(I=>{let E=window.ElementInternals.prototype,A=E[I];E[I]=function(...R){let T=x.get(this);if(i.get(T).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 P{constructor(E){let A=new Map;E.forEach((R,T)=>{let vr=R.getAttribute("name"),sn=A.get(vr)||[];this[+T]=R,sn.push(R),A.set(vr,sn)}),this.length=E.length,A.forEach((R,T)=>{R&&(R.length===1?this[T]=R[0]:this[T]=new N(R))})}namedItem(E){return this[E]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let I=F.get.call(this,[]),E=[];for(let A of I){let R=i.get(A);(!R||R.formAssociated===!0)&&E.push(A)}return new P(E)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var Lr={};_(Lr,{CSSResult:()=>ze,LitElement:()=>ne,ReactiveElement:()=>J,_$LE:()=>pc,_$LH:()=>dc,adoptStyles:()=>Zt,css:()=>U,defaultConverter:()=>Vt,getCompatibleStyle:()=>dt,html:()=>$r,isServer:()=>Gl,noChange:()=>fe,notEqual:()=>Ar,nothing:()=>W,render:()=>kr,supportsAdoptingStyleSheets:()=>st,svg:()=>lc,unsafeCSS:()=>lt});var $t=globalThis,Lt=$t.ShadowRoot&&($t.ShadyCSS===void 0||$t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dn=Symbol(),ln=new WeakMap,kt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==dn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Lt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=ln.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ln.set(r,e))}return e}toString(){return this.cssText}},fn=o=>new kt(typeof o=="string"?o:o+"",void 0,dn);var Sr=(o,e)=>{if(Lt)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=$t.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},Mt=Lt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return fn(r)})(o):o;var{is:ja,defineProperty:Ka,getOwnPropertyDescriptor:Za,getOwnPropertyNames:Va,getOwnPropertySymbols:Ga,getPrototypeOf:qa}=Object,Wt=globalThis,un=Wt.trustedTypes,Ya=un?un.emptyScript:"",Ja=Wt.reactiveElementPolyfillSupport,rt=(o,e)=>o,ot={toAttribute(o,e){switch(e){case Boolean:o=o?Ya:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let r=o;switch(e){case Boolean:r=o!==null;break;case Number:r=o===null?null:Number(o);break;case Object:case Array:try{r=JSON.parse(o)}catch{r=null}}return r}},Ut=(o,e)=>!ja(o,e),pn={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Ut};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,r=pn){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Ka(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Za(this.prototype,e)??{get(){return this[r]},set(c){this[r]=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)??pn}static _$Ei(){if(this.hasOwnProperty(rt("elementProperties")))return;let e=qa(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 r=this.properties,n=[...Va(r),...Ga(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Mt(i))}else e!==void 0&&r.push(Mt(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 Sr(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,r,n){this._$AK(e,n)}_$EO(e,r){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(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){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(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Ut)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ce.elementStyles=[],Ce.shadowRootOptions={mode:"open"},Ce[rt("elementProperties")]=new Map,Ce[rt("finalized")]=new Map,Ja?.({ReactiveElement:Ce}),(Wt.reactiveElementVersions??=[]).push("2.0.2");var wr=globalThis,Tt=wr.trustedTypes,hn=Tt?Tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Cr="$lit$",re=`lit$${(Math.random()+"").slice(9)}$`,Er="?"+re,Xa=`<${Er}>`,Ae=document,Dt=()=>Ae.createComment(""),it=o=>o===null||typeof o!="object"&&typeof o!="function",vn=Array.isArray,Sn=o=>vn(o)||typeof o?.[Symbol.iterator]=="function",Or=`[
2
2
  \f\r]`,nt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,mn=/-->/g,gn=/>/g,Ee=RegExp(`>|${Or}(?:([^\\s"'>=/]+)(${Or}*=${Or}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),yn=/'/g,bn=/"/g,On=/^(?:script|style|textarea|title)$/i,wn=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),Ll=wn(1),Ml=wn(2),H=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),xn=new WeakMap,Ne=Ae.createTreeWalker(Ae,129);function Cn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return hn!==void 0?hn.createHTML(e):e}var En=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",c=nt;for(let d=0;d<r;d++){let l=o[d],f,h,p=-1,m=0;for(;m<l.length&&(c.lastIndex=m,h=c.exec(l),h!==null);)m=c.lastIndex,c===nt?h[1]==="!--"?c=mn:h[1]!==void 0?c=gn:h[2]!==void 0?(On.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]==='"'?bn:yn):c===bn||c===yn?c=Ee:c===mn||c===gn?c=nt:(c=Ee,i=void 0);let g=c===Ee&&o[d+1].startsWith("/>")?" ":"";a+=c===nt?l+Xa:p>=0?(n.push(f),l.slice(0,p)+Cr+l.slice(p)+re+g):l+re+(p===-2?d:g)}return[Cn(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},at=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,d=e.length-1,l=this.parts,[f,h]=En(e,r);if(this.el=o.createElement(f,n),Ne.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Ne.nextNode())!==null&&l.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Cr)){let m=h[c++],g=i.getAttribute(p).split(re),y=/([.?@])?(.*)/.exec(m);l.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)&&(l.push({type:6,index:a}),i.removeAttribute(p));if(On.test(i.tagName)){let p=i.textContent.split(re),m=p.length-1;if(m>0){i.textContent=Tt?Tt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],Dt()),Ne.nextNode(),l.push({type:2,index:++a});i.append(p[m],Dt())}}}else if(i.nodeType===8)if(i.data===Er)l.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(re,p+1))!==-1;)l.push({type:7,index:a}),p+=re.length-1}a++}}static createElement(e,r){let n=Ae.createElement("template");return n.innerHTML=e,n}};function Re(o,e,r=o,n){if(e===H)return e;let i=n!==void 0?r._$Co?.[n]:r._$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,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Re(o,i._$AS(o,e.values),i,n)),e}var Ft=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Ae).importNode(r,!0);Ne.currentNode=i;let a=Ne.nextNode(),c=0,d=0,l=n[0];for(;l!==void 0;){if(c===l.index){let f;l.type===2?f=new ct(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new jt(a,this,e)),this._$AV.push(f),l=n[++d]}c!==l?.index&&(a=Ne.nextNode(),c++)}return Ne.currentNode=Ae,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},ct=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Re(this,e,r),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):Sn(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:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=at.createElement(Cn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Ft(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=xn.get(e.strings);return r===void 0&&xn.set(e.strings,r=new at(e)),r}T(e){vn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new o(this.k(Dt()),this.k(Dt()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);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,r,n,i,a){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=r,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,r=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=Re(this,e,r,0),c=!it(e)||e!==this._$AH&&e!==H,c&&(this._$AH=e);else{let d=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=Re(this,d[n+l],r,l),f===H&&(f=this._$AH[l]),c||=!it(f)||f!==this._$AH[l],f===k?e=k:e!==k&&(e+=(f??"")+a[l+1]),this._$AH[l]=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,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Re(this,e,r,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,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Re(this,e)}},Nn={j:Cr,P:re,A:Er,C:1,M:En,L:Ft,R:Sn,V:Re,D:ct,I:Pe,H:zt,N:Ht,U:Bt,B:jt},Qa=wr.litHtmlPolyfillSupport;Qa?.(at,ct),(wr.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,Nr=Symbol(),An=new WeakMap,ze=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Nr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(st&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=An.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&An.set(r,e))}return e}toString(){return this.cssText}},lt=o=>new ze(typeof o=="string"?o:o+"",void 0,Nr),U=(o,...e)=>{let r=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(r,o,Nr)},Zt=(o,e)=>{if(st)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Kt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},dt=st?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return lt(r)})(o):o;var{is:ec,defineProperty:tc,getOwnPropertyDescriptor:rc,getOwnPropertyNames:oc,getOwnPropertySymbols:nc,getPrototypeOf:ic}=Object,Gt=globalThis,Rn=Gt.trustedTypes,ac=Rn?Rn.emptyScript:"",cc=Gt.reactiveElementPolyfillSupport,ft=(o,e)=>o,Vt={toAttribute(o,e){switch(e){case Boolean:o=o?ac:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let r=o;switch(e){case Boolean:r=o!==null;break;case Number:r=o===null?null:Number(o);break;case Object:case Array:try{r=JSON.parse(o)}catch{r=null}}return r}},Ar=(o,e)=>!ec(o,e),Pn={attribute:!0,type:String,converter:Vt,reflect:!1,hasChanged:Ar};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,r=Pn){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&tc(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=rc(this.prototype,e)??{get(){return this[r]},set(c){this[r]=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)??Pn}static _$Ei(){if(this.hasOwnProperty(ft("elementProperties")))return;let e=ic(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 r=this.properties,n=[...oc(r),...nc(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(dt(i))}else e!==void 0&&r.push(dt(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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,r,n){this._$AK(e,n)}_$EO(e,r){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(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){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(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Ar)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};J.elementStyles=[],J.shadowRootOptions={mode:"open"},J[ft("elementProperties")]=new Map,J[ft("finalized")]=new Map,cc?.({ReactiveElement:J}),(Gt.reactiveElementVersions??=[]).push("2.0.2");var Pr=globalThis,qt=Pr.trustedTypes,In=qt?qt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Ir="$lit$",oe=`lit$${(Math.random()+"").slice(9)}$`,_r="?"+oe,sc=`<${_r}>`,$e=document,pt=()=>$e.createComment(""),ht=o=>o===null||typeof o!="object"&&typeof o!="function",Wn=Array.isArray,Un=o=>Wn(o)||typeof o?.[Symbol.iterator]=="function",Rr=`[
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),yn=/'/g,bn=/"/g,On=/^(?:script|style|textarea|title)$/i,wn=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),Ml=wn(1),Wl=wn(2),H=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),xn=new WeakMap,Ne=Ae.createTreeWalker(Ae,129);function Cn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return hn!==void 0?hn.createHTML(e):e}var En=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",c=nt;for(let d=0;d<r;d++){let l=o[d],f,h,p=-1,m=0;for(;m<l.length&&(c.lastIndex=m,h=c.exec(l),h!==null);)m=c.lastIndex,c===nt?h[1]==="!--"?c=mn:h[1]!==void 0?c=gn:h[2]!==void 0?(On.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]==='"'?bn:yn):c===bn||c===yn?c=Ee:c===mn||c===gn?c=nt:(c=Ee,i=void 0);let g=c===Ee&&o[d+1].startsWith("/>")?" ":"";a+=c===nt?l+Xa:p>=0?(n.push(f),l.slice(0,p)+Cr+l.slice(p)+re+g):l+re+(p===-2?d:g)}return[Cn(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},at=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,d=e.length-1,l=this.parts,[f,h]=En(e,r);if(this.el=o.createElement(f,n),Ne.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Ne.nextNode())!==null&&l.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Cr)){let m=h[c++],g=i.getAttribute(p).split(re),y=/([.?@])?(.*)/.exec(m);l.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)&&(l.push({type:6,index:a}),i.removeAttribute(p));if(On.test(i.tagName)){let p=i.textContent.split(re),m=p.length-1;if(m>0){i.textContent=Tt?Tt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],Dt()),Ne.nextNode(),l.push({type:2,index:++a});i.append(p[m],Dt())}}}else if(i.nodeType===8)if(i.data===Er)l.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(re,p+1))!==-1;)l.push({type:7,index:a}),p+=re.length-1}a++}}static createElement(e,r){let n=Ae.createElement("template");return n.innerHTML=e,n}};function Re(o,e,r=o,n){if(e===H)return e;let i=n!==void 0?r._$Co?.[n]:r._$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,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Re(o,i._$AS(o,e.values),i,n)),e}var Ft=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Ae).importNode(r,!0);Ne.currentNode=i;let a=Ne.nextNode(),c=0,d=0,l=n[0];for(;l!==void 0;){if(c===l.index){let f;l.type===2?f=new ct(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new jt(a,this,e)),this._$AV.push(f),l=n[++d]}c!==l?.index&&(a=Ne.nextNode(),c++)}return Ne.currentNode=Ae,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},ct=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Re(this,e,r),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):Sn(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:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=at.createElement(Cn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Ft(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=xn.get(e.strings);return r===void 0&&xn.set(e.strings,r=new at(e)),r}T(e){vn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new o(this.k(Dt()),this.k(Dt()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);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,r,n,i,a){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=r,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,r=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=Re(this,e,r,0),c=!it(e)||e!==this._$AH&&e!==H,c&&(this._$AH=e);else{let d=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=Re(this,d[n+l],r,l),f===H&&(f=this._$AH[l]),c||=!it(f)||f!==this._$AH[l],f===k?e=k:e!==k&&(e+=(f??"")+a[l+1]),this._$AH[l]=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,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Re(this,e,r,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,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Re(this,e)}},Nn={j:Cr,P:re,A:Er,C:1,M:En,L:Ft,R:Sn,V:Re,D:ct,I:Pe,H:zt,N:Ht,U:Bt,B:jt},Qa=wr.litHtmlPolyfillSupport;Qa?.(at,ct),(wr.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,Nr=Symbol(),An=new WeakMap,ze=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Nr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(st&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=An.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&An.set(r,e))}return e}toString(){return this.cssText}},lt=o=>new ze(typeof o=="string"?o:o+"",void 0,Nr),U=(o,...e)=>{let r=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(r,o,Nr)},Zt=(o,e)=>{if(st)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Kt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},dt=st?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return lt(r)})(o):o;var{is:ec,defineProperty:tc,getOwnPropertyDescriptor:rc,getOwnPropertyNames:oc,getOwnPropertySymbols:nc,getPrototypeOf:ic}=Object,Gt=globalThis,Rn=Gt.trustedTypes,ac=Rn?Rn.emptyScript:"",cc=Gt.reactiveElementPolyfillSupport,ft=(o,e)=>o,Vt={toAttribute(o,e){switch(e){case Boolean:o=o?ac:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let r=o;switch(e){case Boolean:r=o!==null;break;case Number:r=o===null?null:Number(o);break;case Object:case Array:try{r=JSON.parse(o)}catch{r=null}}return r}},Ar=(o,e)=>!ec(o,e),Pn={attribute:!0,type:String,converter:Vt,reflect:!1,hasChanged:Ar};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,r=Pn){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&tc(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=rc(this.prototype,e)??{get(){return this[r]},set(c){this[r]=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)??Pn}static _$Ei(){if(this.hasOwnProperty(ft("elementProperties")))return;let e=ic(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 r=this.properties,n=[...oc(r),...nc(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(dt(i))}else e!==void 0&&r.push(dt(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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,r,n){this._$AK(e,n)}_$EO(e,r){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(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){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(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Ar)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};J.elementStyles=[],J.shadowRootOptions={mode:"open"},J[ft("elementProperties")]=new Map,J[ft("finalized")]=new Map,cc?.({ReactiveElement:J}),(Gt.reactiveElementVersions??=[]).push("2.0.2");var Pr=globalThis,qt=Pr.trustedTypes,In=qt?qt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Ir="$lit$",oe=`lit$${(Math.random()+"").slice(9)}$`,_r="?"+oe,sc=`<${_r}>`,$e=document,pt=()=>$e.createComment(""),ht=o=>o===null||typeof o!="object"&&typeof o!="function",Wn=Array.isArray,Un=o=>Wn(o)||typeof o?.[Symbol.iterator]=="function",Rr=`[
4
4
  \f\r]`,ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_n=/-->/g,$n=/>/g,Ie=RegExp(`>|${Rr}(?:([^\\s"'>=/]+)(${Rr}*=${Rr}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),kn=/'/g,Ln=/"/g,Tn=/^(?:script|style|textarea|title)$/i,Dn=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),$r=Dn(1),lc=Dn(2),fe=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Mn=new WeakMap,_e=$e.createTreeWalker($e,129);function Fn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return In!==void 0?In.createHTML(e):e}var Bn=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",c=ut;for(let d=0;d<r;d++){let l=o[d],f,h,p=-1,m=0;for(;m<l.length&&(c.lastIndex=m,h=c.exec(l),h!==null);)m=c.lastIndex,c===ut?h[1]==="!--"?c=_n:h[1]!==void 0?c=$n:h[2]!==void 0?(Tn.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]==='"'?Ln:kn):c===Ln||c===kn?c=Ie:c===_n||c===$n?c=ut:(c=Ie,i=void 0);let g=c===Ie&&o[d+1].startsWith("/>")?" ":"";a+=c===ut?l+sc:p>=0?(n.push(f),l.slice(0,p)+Ir+l.slice(p)+oe+g):l+oe+(p===-2?d:g)}return[Fn(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},mt=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,d=e.length-1,l=this.parts,[f,h]=Bn(e,r);if(this.el=o.createElement(f,n),_e.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=_e.nextNode())!==null&&l.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Ir)){let m=h[c++],g=i.getAttribute(p).split(oe),y=/([.?@])?(.*)/.exec(m);l.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)&&(l.push({type:6,index:a}),i.removeAttribute(p));if(Tn.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(),l.push({type:2,index:++a});i.append(p[m],pt())}}}else if(i.nodeType===8)if(i.data===_r)l.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(oe,p+1))!==-1;)l.push({type:7,index:a}),p+=oe.length-1}a++}}static createElement(e,r){let n=$e.createElement("template");return n.innerHTML=e,n}};function ke(o,e,r=o,n){if(e===fe)return e;let i=n!==void 0?r._$Co?.[n]:r._$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,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=ke(o,i._$AS(o,e.values),i,n)),e}var Yt=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??$e).importNode(r,!0);_e.currentNode=i;let a=_e.nextNode(),c=0,d=0,l=n[0];for(;l!==void 0;){if(c===l.index){let f;l.type===2?f=new He(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new er(a,this,e)),this._$AV.push(f),l=n[++d]}c!==l?.index&&(a=_e.nextNode(),c++)}return _e.currentNode=$e,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},He=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ke(this,e,r),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):Un(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:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=mt.createElement(Fn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Yt(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=Mn.get(e.strings);return r===void 0&&Mn.set(e.strings,r=new mt(e)),r}T(e){Wn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new o(this.k(pt()),this.k(pt()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);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,r,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=r,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,r=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=ke(this,e,r,0),c=!ht(e)||e!==this._$AH&&e!==fe,c&&(this._$AH=e);else{let d=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=ke(this,d[n+l],r,l),f===fe&&(f=this._$AH[l]),c||=!ht(f)||f!==this._$AH[l],f===W?e=W:e!==W&&(e+=(f??"")+a[l+1]),this._$AH[l]=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,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ke(this,e,r,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,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ke(this,e)}},dc={j:Ir,P:oe,A:_r,C:1,M:Bn,L:Yt,R:Un,V:ke,D:He,I:Le,H:Xt,N:Qt,U:Jt,B:er},fc=Pr.litHtmlPolyfillSupport;fc?.(mt,He),(Pr.litHtmlVersions??=[]).push("3.1.0");var kr=(o,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new He(e.insertBefore(pt(),a),a,void 0,r??{})}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 r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=kr(r,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 uc=globalThis.litElementPolyfillSupport;uc?.({LitElement:ne});var pc={_$AK:(o,e,r)=>{o._$AK(e,r)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Vl=!1;var Mr={};_(Mr,{customElement:()=>hc,eventOptions:()=>gc,property:()=>L,query:()=>tr,queryAll:()=>bc,queryAssignedElements:()=>vc,queryAssignedNodes:()=>Sc,queryAsync:()=>xc,standardProperty:()=>zn,state:()=>X});var hc=o=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var mc={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Ut},zn=(o=mc,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,o),n==="accessor"){let{name:c}=r;return{set(d){let l=e.get.call(this);e.set.call(this,d),this.requestUpdate(c,l,o)},init(d){return d!==void 0&&this.C(c,void 0,o),d}}}if(n==="setter"){let{name:c}=r;return function(d){let l=this[c];e.call(this,d),this.requestUpdate(c,l,o)}}throw Error("Unsupported decorator location: "+n)};function L(o){return(e,r)=>typeof r=="object"?zn(o,e,r):((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,r)}function X(o){return L({...o,state:!0,attribute:!1})}function gc(o){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,o)}}var G=(o,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,r),r);function tr(o,e){return(r,n,i)=>{let a=c=>c.renderRoot?.querySelector(o)??null;if(e){let{get:c,set:d}=typeof n=="object"?r:i??(()=>{let l=Symbol();return{get(){return this[l]},set(f){this[l]=f}}})();return G(r,n,{get(){let l=c.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&d.call(this,l)),l}})}return G(r,n,{get(){return a(this)}})}}var yc;function bc(o){return(e,r)=>G(e,r,{get(){return(this.renderRoot??(yc??=document.createDocumentFragment())).querySelectorAll(o)}})}function xc(o){return(e,r)=>G(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function vc(o){return(e,r)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return G(e,r,{get(){let c=this.renderRoot?.querySelector(a),d=c?.assignedElements(o)??[];return i===void 0?d:d.filter(l=>l.matches(i))}})}}function Sc(o){return(e,r)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return G(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var Wr={};_(Wr,{repeat:()=>Cc});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,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Oc}=Nn;var Hn=()=>document.createComment(""),je=(o,e,r)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Hn(),i),c=n.insertBefore(Hn(),i);r=new Oc(a,c,o,o.options)}else{let a=r._$AB.nextSibling,c=r._$AM,d=c!==o;if(d){let l;r._$AQ?.(o),r._$AM=o,r._$AP!==void 0&&(l=o._$AU)!==c._$AU&&r._$AP(l)}if(a!==i||d){let l=r._$AA;for(;l!==a;){let f=l.nextSibling;n.insertBefore(l,i),l=f}}}return r},he=(o,e,r=o)=>(o._$AI(e,r),o),wc={},jn=(o,e=wc)=>o._$AH=e,Kn=o=>o._$AH,rr=o=>{o._$AP?.(!1,!0);let e=o._$AA,r=o._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Zn=(o,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(o[i],i);return n},Cc=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,r){let n;r===void 0?r=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]=r(d,c),c++;return{values:a,keys:i}}render(o,e,r){return this.ht(o,e,r).values}update(o,[e,r,n]){let i=Kn(o),{values:a,keys:c}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=c,a;let d=this.dt??=[],l=[],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])l[g]=he(i[p],a[g]),p++,g++;else if(d[m]===c[y])l[y]=he(i[m],a[y]),m--,y--;else if(d[p]===c[y])l[y]=he(i[p],a[y]),je(o,l[y+1],i[p]),p++,y--;else if(d[m]===c[g])l[g]=he(i[m],a[g]),je(o,i[p],i[m]),m--,g++;else if(f===void 0&&(f=Zn(c,g,y),h=Zn(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]),l[g]=w}else l[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,l[y+1]);he(v,a[g]),l[g++]=v}for(;p<=m;){let v=i[p++];v!==null&&rr(v)}return this.dt=c,jn(o,l),H}});var Tr={};_(Tr,{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 r=o.element.classList;for(let n of this.it)n in e||(r.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?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return H}});var Dr={};_(Dr,{styleMap:()=>Nc});var Vn="important",Ec=" !"+Vn,Nc=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,r)=>{let n=o[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:r}=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("-")?r.removeProperty(n):r[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(Ec);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Vn:""):r[n]=i}}return H}});var Fr={};_(Fr,{UnsafeHTMLDirective:()=>Ke,unsafeHTML:()=>Ac});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 r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ke.directiveName="unsafeHTML",Ke.resultType=1;var Ac=pe(Ke);var jr={};_(jr,{CacheRegistry:()=>Hr});var zr={};_(zr,{CancelablePromise:()=>Ze,CanceledPromiseError:()=>gt,cancelable:()=>Br});var gt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Ze=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new gt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new gt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Br=o=>new Ze((e,r)=>o.then(e).catch(r));var Hr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,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,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Br(r());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={};_(Zr,{ClusteringHelper:()=>Kr});var Kr=class o{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){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 r==null?o.flattenMetadata(a):o.flattenMetadata(a.find(c=>c.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>o.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){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,r,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,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),c=a?.sortRule||"NONE",d=a?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let l=e.localeCompare(r,i,{numeric:!0});return d?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(l=>{var f;return((f=o.extractResultMetadata(l,e))===null||f===void 0?void 0:f.value)==r}),a=[...o.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],c,d=-1;for(let l of n){let f=this.countMatchingMetadata(l,a);if(f>d&&(d=f,c=l,f===a.length))break}return c}countMatchingMetadata(e,r){return o.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Vr={};_(Vr,{Debouncer:()=>me});var me=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>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 Jr={};_(Jr,{customElement:()=>qr,isNumber:()=>Xn,jsonProperty:()=>Yr,optionalNumberProperty:()=>Lc});var Gr={};_(Gr,{dateReviver:()=>Pc,deepEqual:()=>yt,delay:()=>Gn,eventPathContainsMatchingElement:()=>_c,flatDeep:()=>Yn,hasChanged:()=>bt,last:()=>kc,minmax:()=>$c,parseDate:()=>Jn,waitFor:()=>qn,waitUntil:()=>Rc});var Gn=o=>new Promise(e=>setTimeout(e,o));async function Rc(o,e=10,r=2e4){await qn(async()=>await o()||void 0,e,r)}async function qn(o,e=10,r=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Gn(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Yn(o,e){return o.flatMap(r=>[r,...Yn(e(r),e)])}function Pc(...o){return function(e,r){return o.includes(e)?Jn(r):r}}function Jn(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(o)}function Ic(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(o)){if(r=o.length,r!=e.length)return!1;for(n=r;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),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;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 Ic(o,e)}catch{return!1}}function bt(o,e){return!yt(o,e)}function _c(o,e,r=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function $c(o,e,r){return Math.min(Math.max(o,e),r)}function kc(o){return o[o.length-1]}var qr=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function Yr(o,e){let r=()=>JSON.parse(JSON.stringify(o));return L({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:bt,...e??{}})}function Lc(o){return L({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Xn(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function Xn(o){return!isNaN(parseFloat(o))}var to={};_(to,{designSystemVariables:()=>ae});var eo={};_(eo,{DesignSystemFamily:()=>xt,DesignSystemSize:()=>vt,FtCssVariableFactory:()=>t,badge:()=>Bc,banner:()=>Fc,breadcrumb:()=>zc,button:()=>Uc,chart:()=>ts,checkbox:()=>os,chip:()=>Tc,collapsible:()=>Qc,comboboxMultiSelect:()=>Jc,comboboxSingleSelect:()=>Yc,drawer:()=>Kc,floatingMenu:()=>qc,foundation:()=>s,link:()=>Dc,modal:()=>jc,notice:()=>rs,notification:()=>as,pageHeader:()=>Hc,popover:()=>Xc,radio:()=>is,resolveFamilyClass:()=>Xr,resolveSizeClass:()=>Qr,semantic:()=>u,setVariable:()=>Qn,switch_:()=>es,tabs:()=>Zc,textArea:()=>Gc,textInput:()=>Vc,toggle:()=>ns,tooltip:()=>cs,typographies:()=>Mc,typographyBody1Medium:()=>ii,typographyBody1Regular:()=>ni,typographyBody1Semibold:()=>ai,typographyBody2Medium:()=>si,typographyBody2MediumUnderline:()=>li,typographyBody2Regular:()=>ci,typographyBody2Semibold:()=>di,typographyCaption1Bold:()=>xi,typographyCaption1Medium:()=>yi,typographyCaption1Semibold:()=>bi,typographyCaption2Bold:()=>Oi,typographyCaption2Medium:()=>vi,typographyCaption2Semibold:()=>Si,typographyCaption3Bold:()=>Ei,typographyCaption3Medium:()=>wi,typographyCaption3Semibold:()=>Ci,typographyDisplay:()=>ei,typographyLabel1Bold:()=>pi,typographyLabel1Medium:()=>fi,typographyLabel1Semibold:()=>ui,typographyLabel2Bold:()=>gi,typographyLabel2Medium:()=>hi,typographyLabel2Semibold:()=>mi,typographyTitle1:()=>ti,typographyTitle2:()=>ri,typographyTitle3:()=>oi,typographyVariants:()=>Wc});var ie=o=>typeof o=="string"?lt(o):o,t=class{static create(e,r,n,i){let a=d=>ie(d??i),c=U`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=d=>U`var(${ie(e)}, ${a(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,r,n,i){let a=d=>n.get(d??i),c=U`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=d=>U`var(${ie(e)}, ${a(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ie(a??e.lastResortDefaultValue()),i=U`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=r,i.defaultCssValue=n,i.get=a=>U`var(${ie(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Qn(o,e){return ie(`${o.name}: ${e}`)}var s={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},ei={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},ti={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ri={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},oi={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ni={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ii={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ai={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ci={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},si={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},li={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},di={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},fi={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ui={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},pi={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},hi={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},mi={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},gi={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},yi={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},vi={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},wi={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ci={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ei={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Mc={display:ei,"title-1":ti,"title-2":ri,"title-3":oi,"body-1-regular":ni,"body-1-medium":ii,"body-1-semibold":ai,"body-2-regular":ci,"body-2-medium":si,"body-2-medium-underline":li,"body-2-semibold":di,"label-1-medium":fi,"label-1-semibold":ui,"label-1-bold":pi,"label-2-medium":hi,"label-2-semibold":mi,"label-2-bold":gi,"caption-1-medium":yi,"caption-1-semibold":bi,"caption-1-bold":xi,"caption-2-medium":vi,"caption-2-semibold":Si,"caption-2-bold":Oi,"caption-3-medium":wi,"caption-3-semibold":Ci,"caption-3-bold":Ei},Wc=["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:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var Uc={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:t.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:t.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var Tc={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:t.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:t.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Dc={focusOpacity:t.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:t.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:t.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:t.extend("--ft-link-info-color","",u.contentInfoPrimary)};var Fc={iconSize:t.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Bc={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:t.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",u.contentActionPrimary)};var zc={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Hc={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",s.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var jc={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:t.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Kc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Zc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:t.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Vc={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var Gc={backgroundColor:t.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var qc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Yc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Jc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Xc={backgroundColor:t.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:t.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:t.extend("--ft-popover-gap","",s.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",s.shadowElevation02)};var Qc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:t.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",s.iconSize3)};var es={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:t.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var ts={color1Light:t.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",s.colorRed40),color5Base:t.extend("--ft-chart-5-base","",s.colorRed60),color6Light:t.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",s.colorGray50),color10Base:t.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var rs={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:t.extend("--ft-notice-gap","",s.spacing2),iconSize:t.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var os={color:t.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",s.spacing3)};var ns={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:t.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",s.spacing3)};var is={color:t.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",s.spacing3)};var as={iconSize:t.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",s.spacing8)};var cs={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:t.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:t.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",s.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 Xr(o){return`ftds--family-${o}`}function Qr(o){return`ftds--size-${o}`}var ae={colorPrimary:t.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:t.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:t.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:t.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:t.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:t.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:t.create("--ft-color-error","","COLOR","#B00020"),colorOutline:t.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:t.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:t.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:t.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:t.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:t.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:t.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:t.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:t.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:t.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:t.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:t.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:t.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:t.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:t.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:t.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:t.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:t.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:t.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:t.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:t.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:t.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:t.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:t.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:t.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:t.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:t.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:t.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:t.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:t.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:t.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:t.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:t.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:t.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:t.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:t.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:t.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:t.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:t.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:t.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:t.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:t.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var io={};_(io,{FtNotificationEvent:()=>ro,PostResizeEvent:()=>no,PreResizeEvent:()=>oo});var ro=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},oo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},no=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var yo={};_(yo,{computeOffsetPosition:()=>Ns});var Ai=["top","right","bottom","left"],Ni=["start","end"],co=Ai.reduce((o,e)=>o.concat(e,e+"-"+Ni[0],e+"-"+Ni[1]),[]),St=Math.min,ge=Math.max,Ot=Math.round;var ce=o=>({x:o,y:o}),ss={left:"right",right:"left",bottom:"top",top:"bottom"},ls={start:"end",end:"start"};function so(o,e,r){return ge(o,St(e,r))}function or(o,e){return typeof o=="function"?o(e):o}function Ve(o){return o.split("-")[0]}function ye(o){return o.split("-")[1]}function lo(o){return o==="x"?"y":"x"}function fo(o){return o==="y"?"height":"width"}function nr(o){return["top","bottom"].includes(Ve(o))?"y":"x"}function uo(o){return lo(nr(o))}function Ri(o,e,r){r===void 0&&(r=!1);let n=ye(o),i=uo(o),a=fo(i),c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=ao(c)),[c,ao(c)]}function Pi(o){return o.replace(/start|end/g,e=>ls[e])}function ao(o){return o.replace(/left|right|bottom|top/g,e=>ss[e])}function ds(o){return{top:0,right:0,bottom:0,left:0,...o}}function Ii(o){return typeof o!="number"?ds(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 _i(o,e,r){let{reference:n,floating:i}=o,a=nr(e),c=uo(e),d=fo(c),l=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(l){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*(r&&f?-1:1);break;case"end":g[c]+=m*(r&&f?-1:1);break}return g}var $i=async(o,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=r,d=a.filter(Boolean),l=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:p}=_i(f,n,l),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}=_i(f,m,l)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:i,middlewareData:g}};async function po(o,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:d,strategy:l}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=or(e,o),y=Ii(g),O=d[m?p==="floating"?"reference":"floating":p],w=Me(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(O)))==null||r?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(d.floating)),boundary:f,rootBoundary:h,strategy:l})),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:l}):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 fs(o,e,r){return(o?[...r.filter(i=>ye(i)===o),...r.filter(i=>ye(i)!==o)]:r.filter(i=>Ve(i)===i)).filter(i=>o?ye(i)===o||(e?Pi(i)!==i:!1):!0)}var ho=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,n,i;let{rects:a,middlewareData:c,placement:d,platform:l,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=co,autoAlignment:g=!0,...y}=or(o,e),v=p!==void 0||m===co?fs(p||null,g,m):m,O=await po(e,y),w=((r=c.autoPlacement)==null?void 0:r.index)||0,C=v[w];if(C==null)return{};let x=Ri(C,a,await(l.isRTL==null?void 0:l.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 P=S.map(E=>{let A=ye(E.placement);return[E.placement,A&&h?E.overflows.slice(0,2).reduce((R,T)=>R+T,0):E.overflows[0],E.overflows]}).sort((E,A)=>E[1]-A[1]),I=((i=P.filter(E=>E[2].slice(0,ye(E[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||P[0][0];return I!==d?{data:{index:w+1,overflows:S},reset:{placement:I}}:{}}}};var mo=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:r,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}}},...l}=or(o,e),f={x:r,y:n},h=await po(e,l),p=nr(Ve(i)),m=lo(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=so(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=so(C,y,x)}let v=d.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function se(o){return Li(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=(Li(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Li(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 ki(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof B(o).ShadowRoot}function Ge(o){let{overflow:e,overflowX:r,overflowY:n,display:i}=j(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Mi(o){return["table","td","th"].includes(se(o))}function ar(o){let e=cr(),r=j(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Wi(o){let e=We(o);for(;q(e)&&!wt(e);){if(ar(e))return e;e=We(e)}return null}function cr(){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||ki(o)&&o.host||le(o);return ki(e)?e.host:e}function Ui(o){let e=We(o);return wt(e)?o.ownerDocument?o.ownerDocument.body:o.body:q(e)&&Ge(e)?e:Ui(e)}function ir(o,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Ui(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&&r?ir(c.frameElement):[]):e.concat(i,ir(i,[],r))}function Fi(o){let e=j(o),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=q(o),a=i?o.offsetWidth:r,c=i?o.offsetHeight:n,d=Ot(r)!==a||Ot(n)!==c;return d&&(r=a,n=c),{width:r,height:n,$:d}}function Bi(o){return ee(o)?o:o.contextElement}function qe(o){let e=Bi(o);if(!q(e))return ce(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Fi(e),c=(a?Ot(r.width):r.width)/n,d=(a?Ot(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var us=ce(0);function zi(o){let e=B(o);return!cr()||!e.visualViewport?us:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ps(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==B(o)?!1:e}function Et(o,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=o.getBoundingClientRect(),a=Bi(o),c=ce(1);e&&(n?ee(n)&&(c=qe(n)):c=qe(o));let d=ps(a,r,n)?zi(a):ce(0),l=(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;l*=v.x,f*=v.y,h*=v.x,p*=v.y,l+=C,f+=x,y=B(y).frameElement}}return Me({width:h,height:p,x:l,y:f})}function hs(o){let{rect:e,offsetParent:r,strategy:n}=o,i=q(r),a=le(r);if(r===a)return e;let c={scrollLeft:0,scrollTop:0},d=ce(1),l=ce(0);if((i||!i&&n!=="fixed")&&((se(r)!=="body"||Ge(a))&&(c=Ct(r)),q(r))){let f=Et(r);d=qe(r),l.x=f.x+r.clientLeft,l.y=f.y+r.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-c.scrollLeft*d.x+l.x,y:e.y*d.y-c.scrollTop*d.y+l.y}}function ms(o){return Array.from(o.getClientRects())}function Hi(o){return Et(le(o)).left+Ct(o).scrollLeft}function gs(o){let e=le(o),r=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=-r.scrollLeft+Hi(o),d=-r.scrollTop;return j(n).direction==="rtl"&&(c+=ge(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:d}}function ys(o,e){let r=B(o),n=le(o),i=r.visualViewport,a=n.clientWidth,c=n.clientHeight,d=0,l=0;if(i){a=i.width,c=i.height;let f=cr();(!f||f&&e==="fixed")&&(d=i.offsetLeft,l=i.offsetTop)}return{width:a,height:c,x:d,y:l}}function bs(o,e){let r=Et(o,!0,e==="fixed"),n=r.top+o.clientTop,i=r.left+o.clientLeft,a=q(o)?qe(o):ce(1),c=o.clientWidth*a.x,d=o.clientHeight*a.y,l=i*a.x,f=n*a.y;return{width:c,height:d,x:l,y:f}}function Ti(o,e,r){let n;if(e==="viewport")n=ys(o,r);else if(e==="document")n=gs(le(o));else if(ee(e))n=bs(e,r);else{let i=zi(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Me(n)}function ji(o,e){let r=We(o);return r===e||!ee(r)||wt(r)?!1:j(r).position==="fixed"||ji(r,e)}function xs(o,e){let r=e.get(o);if(r)return r;let n=ir(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),l=ar(c);!l&&d.position==="fixed"&&(i=null),(a?!l&&!i:!l&&d.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ge(c)&&!l&&ji(o,c))?n=n.filter(h=>h!==c):i=d,c=We(c)}return e.set(o,n),n}function vs(o){let{element:e,boundary:r,rootBoundary:n,strategy:i}=o,c=[...r==="clippingAncestors"?xs(e,this._c):[].concat(r),n],d=c[0],l=c.reduce((f,h)=>{let p=Ti(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},Ti(e,d,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ss(o){return Fi(o)}function Os(o,e,r){let n=q(e),i=le(e),a=r==="fixed",c=Et(o,!0,a,e),d={scrollLeft:0,scrollTop:0},l=ce(0);if(n||!n&&!a)if((se(e)!=="body"||Ge(i))&&(d=Ct(e)),n){let f=Et(e,!0,a,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&(l.x=Hi(i));return{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function Di(o,e){return!q(o)||j(o).position==="fixed"?null:e?e(o):o.offsetParent}function Ki(o,e){let r=B(o);if(!q(o))return r;let n=Di(o,e);for(;n&&Mi(n)&&j(n).position==="static";)n=Di(n,e);return n&&(se(n)==="html"||se(n)==="body"&&j(n).position==="static"&&!ar(n))?r:n||Wi(o)||r}var ws=async function(o){let{reference:e,floating:r,strategy:n}=o,i=this.getOffsetParent||Ki,a=this.getDimensions;return{reference:Os(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Cs(o){return j(o).direction==="rtl"}var sr={convertOffsetParentRelativeRectToViewportRelativeRect:hs,getDocumentElement:le,getClippingRect:vs,getOffsetParent:Ki,getElementRects:ws,getClientRects:ms,getDimensions:Ss,getScale:qe,isElement:ee,isRTL:Cs};var Zi=(o,e,r)=>{let n=new Map,i={platform:sr,...r},a={...i.platform,_c:n};return $i(o,e,{...i,platform:a})};function Vi(o){return Es(o)}function go(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Es(o){for(let e=o;e;e=go(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=go(o);e;e=go(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Ns(o,e,r){return Zi(o,e,{platform:{...sr,getOffsetParent:n=>sr.getOffsetParent(n,Vi)},middleware:[mo({crossAxis:!0}),ho({allowedPlacements:[r]})]})}var So={};_(So,{FtdsBase:()=>vo,toFtdsBase:()=>ta});var xo={};_(xo,{FtLitElement:()=>K});var bo={};_(bo,{ScopedRegistryLitElement:()=>Nt});var lr=window,As=lr.ShadowRoot&&(lr.ShadyCSS===void 0||lr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,eh=Symbol();var Gi=(o,e)=>{As?o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.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 r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Gi(n,e.elementStyles),n}};var dr=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Xi,qi=Symbol("constructorPrototype"),Yi=Symbol("constructorName"),Qi=Symbol("exportpartsDebouncer"),Ji=Symbol("dynamicDependenciesLoaded"),K=class extends Nt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Xi]=new me(5),this[Yi]=this.constructor.name,this[qi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Yi]&&Object.setPrototypeOf(this,this[qi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Ji]||(e[Ji]=!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 r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.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,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Qi].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 r,n,i,a,c,d;let l=m=>m!=null&&m.trim().length>0,f=e.filter(l).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.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(l).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(", "))}};Xi=Qi;dr([L()],K.prototype,"exportpartsPrefix",void 0);dr([Yr([])],K.prototype,"exportpartsPrefixes",void 0);dr([L()],K.prototype,"customStylesheet",void 0);dr([X()],K.prototype,"useAdoptedStyleSheets",void 0);var ea=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function ta(o){class e extends o{constructor(){super(...arguments),this.size=vt.medium,this.family=xt.neutral}getDesignSystemBaseClasses(){return{[Xr(this.family)]:!0,[Qr(this.size)]:!0}}}return ea([L()],e.prototype,"size",void 0),ea([L()],e.prototype,"family",void 0),e}var vo=class extends ta(K){};var ra={};var Co={};_(Co,{highlightHtml:()=>Is,highlightHtmlColorCssVariable:()=>oa,highlightHtmlStyles:()=>Ps});var Ue=class o{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,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,r=[];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=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,c=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",c),a=setTimeout(c,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),c=a.length,d=0;a=Array.prototype.slice.call(a);let l=()=>{--c<=0&&i(d)};c||l(),a.forEach(f=>{o.matches(f,this.exclude)?l():this.onIframeReady(f,h=>{r(f)&&(d++,n(h)),l()},l)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let c=r.compareDocumentPosition(n),d=Node.DOCUMENT_POSITION_FOLLOWING;if(c&d)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,c=!1;return i.forEach((d,l)=>{d.val===n&&(a=l,c=d.handled)}),this.compareNodeIframe(e,r,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,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,c=>{this.createInstanceOnIframe(c).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let c=this.createIterator(r,e,i),d=[],l=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(c),f);for(;p();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,d),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>l.push(g),i)}),l.push(f);l.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(d,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),c=a.length;c||i(),a.forEach(d=>{let l=()=>{this.iterateThroughNodes(e,d,r,n,()=>{--c<=0&&i()})};this.iframes?this.waitForIframes(d,l):l()})}};var At=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.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 Ue(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`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 r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let c=r[a],d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);d!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(d)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(d)}|${this.processSynomyms(l)})`+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,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=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${r}`),`[${c}]`),i.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\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(r)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.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 r=[],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,r.push(i),n=c)}),r}callNoMatchOnInvalidRanges(e,r){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-r>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,r,n){let i,a=!0,c=n.length,d=r-c,l=parseInt(e.start,10)-d;return l=l>c?c:l,i=l+parseInt(e.length,10),i>c&&(i=c,this.log(`End range automatically set to the max value of ${c}`)),l<0||i-l<0||l>c||i>c?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ue.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),c=a.splitText(n-r),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,r,n,i,a){e.nodes.every((c,d)=>{let l=e.nodes[d+1];if(typeof l>"u"||l.start>r){if(!i(c.node))return!1;let f=r-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)r=c.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let c=r===0?0:r+1;this.getTextNodes(d=>{d.nodes.forEach(l=>{l=l.node;let f;for(;(f=e.exec(l.textContent))!==null&&f[c]!=="";){if(!n(f[c],l))continue;let h=f.index;if(c!==0)for(let p=1;p<c;p++)h+=f[p].length;l=this.wrapRangeInTextNode(l,h,h+f[c].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let c=r===0?0:r+1;this.getTextNodes(d=>{let l;for(;(l=e.exec(d.value))!==null&&l[c]!=="";){let f=l.index;if(c!==0)for(let p=1;p<c;p++)f+=l[p].length;let h=f+l[c].length;this.wrapRangeInMappedTextNode(d,f,h,p=>n(l[c],p),(p,m)=>{e.lastIndex=m,i(p)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let c=a.value.length;e.forEach((d,l)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(d,c,a.value);p&&this.wrapRangeInMappedTextNode(a,f,h,m=>r(m,d,a.value.substring(f,h),l),m=>{n(m,d)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.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,r){this.opt=r,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,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),d=this.opt.caseSensitive?"":"i",l=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):l(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),c===0?this.opt.done(n):l(a[0])}markRanges(e,r){this.opt=r;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,l)=>this.opt.filter(a,c,d,l),(a,c)=>{n++,this.opt.each(a,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Ue.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Oo(o){let e=new At(o);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var Rs=Oo,oa=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ps=U`
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),kn=/'/g,Ln=/"/g,Tn=/^(?:script|style|textarea|title)$/i,Dn=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),$r=Dn(1),lc=Dn(2),fe=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Mn=new WeakMap,_e=$e.createTreeWalker($e,129);function Fn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return In!==void 0?In.createHTML(e):e}var Bn=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",c=ut;for(let d=0;d<r;d++){let l=o[d],f,h,p=-1,m=0;for(;m<l.length&&(c.lastIndex=m,h=c.exec(l),h!==null);)m=c.lastIndex,c===ut?h[1]==="!--"?c=_n:h[1]!==void 0?c=$n:h[2]!==void 0?(Tn.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]==='"'?Ln:kn):c===Ln||c===kn?c=Ie:c===_n||c===$n?c=ut:(c=Ie,i=void 0);let g=c===Ie&&o[d+1].startsWith("/>")?" ":"";a+=c===ut?l+sc:p>=0?(n.push(f),l.slice(0,p)+Ir+l.slice(p)+oe+g):l+oe+(p===-2?d:g)}return[Fn(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},mt=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,d=e.length-1,l=this.parts,[f,h]=Bn(e,r);if(this.el=o.createElement(f,n),_e.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=_e.nextNode())!==null&&l.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Ir)){let m=h[c++],g=i.getAttribute(p).split(oe),y=/([.?@])?(.*)/.exec(m);l.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)&&(l.push({type:6,index:a}),i.removeAttribute(p));if(Tn.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(),l.push({type:2,index:++a});i.append(p[m],pt())}}}else if(i.nodeType===8)if(i.data===_r)l.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(oe,p+1))!==-1;)l.push({type:7,index:a}),p+=oe.length-1}a++}}static createElement(e,r){let n=$e.createElement("template");return n.innerHTML=e,n}};function ke(o,e,r=o,n){if(e===fe)return e;let i=n!==void 0?r._$Co?.[n]:r._$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,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=ke(o,i._$AS(o,e.values),i,n)),e}var Yt=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??$e).importNode(r,!0);_e.currentNode=i;let a=_e.nextNode(),c=0,d=0,l=n[0];for(;l!==void 0;){if(c===l.index){let f;l.type===2?f=new He(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new er(a,this,e)),this._$AV.push(f),l=n[++d]}c!==l?.index&&(a=_e.nextNode(),c++)}return _e.currentNode=$e,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},He=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ke(this,e,r),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):Un(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:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=mt.createElement(Fn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Yt(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=Mn.get(e.strings);return r===void 0&&Mn.set(e.strings,r=new mt(e)),r}T(e){Wn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new o(this.k(pt()),this.k(pt()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);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,r,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=r,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,r=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=ke(this,e,r,0),c=!ht(e)||e!==this._$AH&&e!==fe,c&&(this._$AH=e);else{let d=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=ke(this,d[n+l],r,l),f===fe&&(f=this._$AH[l]),c||=!ht(f)||f!==this._$AH[l],f===W?e=W:e!==W&&(e+=(f??"")+a[l+1]),this._$AH[l]=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,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ke(this,e,r,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,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ke(this,e)}},dc={j:Ir,P:oe,A:_r,C:1,M:Bn,L:Yt,R:Un,V:ke,D:He,I:Le,H:Xt,N:Qt,U:Jt,B:er},fc=Pr.litHtmlPolyfillSupport;fc?.(mt,He),(Pr.litHtmlVersions??=[]).push("3.1.0");var kr=(o,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new He(e.insertBefore(pt(),a),a,void 0,r??{})}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 r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=kr(r,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 uc=globalThis.litElementPolyfillSupport;uc?.({LitElement:ne});var pc={_$AK:(o,e,r)=>{o._$AK(e,r)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Gl=!1;var Mr={};_(Mr,{customElement:()=>hc,eventOptions:()=>gc,property:()=>L,query:()=>tr,queryAll:()=>bc,queryAssignedElements:()=>vc,queryAssignedNodes:()=>Sc,queryAsync:()=>xc,standardProperty:()=>zn,state:()=>X});var hc=o=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var mc={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Ut},zn=(o=mc,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,o),n==="accessor"){let{name:c}=r;return{set(d){let l=e.get.call(this);e.set.call(this,d),this.requestUpdate(c,l,o)},init(d){return d!==void 0&&this.C(c,void 0,o),d}}}if(n==="setter"){let{name:c}=r;return function(d){let l=this[c];e.call(this,d),this.requestUpdate(c,l,o)}}throw Error("Unsupported decorator location: "+n)};function L(o){return(e,r)=>typeof r=="object"?zn(o,e,r):((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,r)}function X(o){return L({...o,state:!0,attribute:!1})}function gc(o){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,o)}}var G=(o,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,r),r);function tr(o,e){return(r,n,i)=>{let a=c=>c.renderRoot?.querySelector(o)??null;if(e){let{get:c,set:d}=typeof n=="object"?r:i??(()=>{let l=Symbol();return{get(){return this[l]},set(f){this[l]=f}}})();return G(r,n,{get(){let l=c.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&d.call(this,l)),l}})}return G(r,n,{get(){return a(this)}})}}var yc;function bc(o){return(e,r)=>G(e,r,{get(){return(this.renderRoot??(yc??=document.createDocumentFragment())).querySelectorAll(o)}})}function xc(o){return(e,r)=>G(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function vc(o){return(e,r)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return G(e,r,{get(){let c=this.renderRoot?.querySelector(a),d=c?.assignedElements(o)??[];return i===void 0?d:d.filter(l=>l.matches(i))}})}}function Sc(o){return(e,r)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return G(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var Wr={};_(Wr,{repeat:()=>Cc});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,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Oc}=Nn;var Hn=()=>document.createComment(""),je=(o,e,r)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Hn(),i),c=n.insertBefore(Hn(),i);r=new Oc(a,c,o,o.options)}else{let a=r._$AB.nextSibling,c=r._$AM,d=c!==o;if(d){let l;r._$AQ?.(o),r._$AM=o,r._$AP!==void 0&&(l=o._$AU)!==c._$AU&&r._$AP(l)}if(a!==i||d){let l=r._$AA;for(;l!==a;){let f=l.nextSibling;n.insertBefore(l,i),l=f}}}return r},he=(o,e,r=o)=>(o._$AI(e,r),o),wc={},jn=(o,e=wc)=>o._$AH=e,Kn=o=>o._$AH,rr=o=>{o._$AP?.(!1,!0);let e=o._$AA,r=o._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Zn=(o,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(o[i],i);return n},Cc=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,r){let n;r===void 0?r=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]=r(d,c),c++;return{values:a,keys:i}}render(o,e,r){return this.ht(o,e,r).values}update(o,[e,r,n]){let i=Kn(o),{values:a,keys:c}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=c,a;let d=this.dt??=[],l=[],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])l[g]=he(i[p],a[g]),p++,g++;else if(d[m]===c[y])l[y]=he(i[m],a[y]),m--,y--;else if(d[p]===c[y])l[y]=he(i[p],a[y]),je(o,l[y+1],i[p]),p++,y--;else if(d[m]===c[g])l[g]=he(i[m],a[g]),je(o,i[p],i[m]),m--,g++;else if(f===void 0&&(f=Zn(c,g,y),h=Zn(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]),l[g]=w}else l[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,l[y+1]);he(v,a[g]),l[g++]=v}for(;p<=m;){let v=i[p++];v!==null&&rr(v)}return this.dt=c,jn(o,l),H}});var Tr={};_(Tr,{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 r=o.element.classList;for(let n of this.it)n in e||(r.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?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return H}});var Dr={};_(Dr,{styleMap:()=>Nc});var Vn="important",Ec=" !"+Vn,Nc=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,r)=>{let n=o[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:r}=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("-")?r.removeProperty(n):r[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(Ec);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Vn:""):r[n]=i}}return H}});var Fr={};_(Fr,{UnsafeHTMLDirective:()=>Ke,unsafeHTML:()=>Ac});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 r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ke.directiveName="unsafeHTML",Ke.resultType=1;var Ac=pe(Ke);var jr={};_(jr,{CacheRegistry:()=>Hr});var zr={};_(zr,{CancelablePromise:()=>Ze,CanceledPromiseError:()=>gt,cancelable:()=>Br});var gt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Ze=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new gt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new gt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Br=o=>new Ze((e,r)=>o.then(e).catch(r));var Hr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,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,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Br(r());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={};_(Zr,{ClusteringHelper:()=>Kr});var Kr=class o{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){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 r==null?o.flattenMetadata(a):o.flattenMetadata(a.find(c=>c.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>o.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){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,r,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,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),c=a?.sortRule||"NONE",d=a?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let l=e.localeCompare(r,i,{numeric:!0});return d?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(l=>{var f;return((f=o.extractResultMetadata(l,e))===null||f===void 0?void 0:f.value)==r}),a=[...o.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],c,d=-1;for(let l of n){let f=this.countMatchingMetadata(l,a);if(f>d&&(d=f,c=l,f===a.length))break}return c}countMatchingMetadata(e,r){return o.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Vr={};_(Vr,{Debouncer:()=>me});var me=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>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 Jr={};_(Jr,{customElement:()=>qr,isNumber:()=>Xn,jsonProperty:()=>Yr,optionalNumberProperty:()=>Lc});var Gr={};_(Gr,{dateReviver:()=>Pc,deepEqual:()=>yt,delay:()=>Gn,eventPathContainsMatchingElement:()=>_c,flatDeep:()=>Yn,hasChanged:()=>bt,last:()=>kc,minmax:()=>$c,parseDate:()=>Jn,waitFor:()=>qn,waitUntil:()=>Rc});var Gn=o=>new Promise(e=>setTimeout(e,o));async function Rc(o,e=10,r=2e4){await qn(async()=>await o()||void 0,e,r)}async function qn(o,e=10,r=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Gn(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Yn(o,e){return o.flatMap(r=>[r,...Yn(e(r),e)])}function Pc(...o){return function(e,r){return o.includes(e)?Jn(r):r}}function Jn(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(o)}function Ic(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(o)){if(r=o.length,r!=e.length)return!1;for(n=r;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),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;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 Ic(o,e)}catch{return!1}}function bt(o,e){return!yt(o,e)}function _c(o,e,r=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function $c(o,e,r){return Math.min(Math.max(o,e),r)}function kc(o){return o[o.length-1]}var qr=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function Yr(o,e){let r=()=>JSON.parse(JSON.stringify(o));return L({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:bt,...e??{}})}function Lc(o){return L({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Xn(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function Xn(o){return!isNaN(parseFloat(o))}var to={};_(to,{designSystemVariables:()=>ae});var eo={};_(eo,{DesignSystemFamily:()=>xt,DesignSystemSize:()=>vt,FtCssVariableFactory:()=>t,badge:()=>Bc,banner:()=>Fc,breadcrumb:()=>zc,button:()=>Uc,chart:()=>ts,checkbox:()=>os,chip:()=>Tc,collapsible:()=>Qc,comboboxMultiSelect:()=>Jc,comboboxSingleSelect:()=>Yc,drawer:()=>Kc,floatingMenu:()=>qc,foundation:()=>s,link:()=>Dc,modal:()=>jc,notice:()=>rs,notification:()=>as,pageHeader:()=>Hc,popover:()=>Xc,radio:()=>is,resolveFamilyClass:()=>Xr,resolveSizeClass:()=>Qr,semantic:()=>u,setVariable:()=>Qn,switch_:()=>es,tabs:()=>Zc,textArea:()=>Gc,textInput:()=>Vc,toggle:()=>ns,tooltip:()=>cs,typographies:()=>Mc,typographyBody1Medium:()=>ii,typographyBody1Regular:()=>ni,typographyBody1Semibold:()=>ai,typographyBody2Medium:()=>si,typographyBody2MediumUnderline:()=>li,typographyBody2Regular:()=>ci,typographyBody2Semibold:()=>di,typographyCaption1Bold:()=>xi,typographyCaption1Medium:()=>yi,typographyCaption1Semibold:()=>bi,typographyCaption2Bold:()=>Oi,typographyCaption2Medium:()=>vi,typographyCaption2Semibold:()=>Si,typographyCaption3Bold:()=>Ei,typographyCaption3Medium:()=>wi,typographyCaption3Semibold:()=>Ci,typographyDisplay:()=>ei,typographyLabel1Bold:()=>pi,typographyLabel1Medium:()=>fi,typographyLabel1Semibold:()=>ui,typographyLabel2Bold:()=>gi,typographyLabel2Medium:()=>hi,typographyLabel2Semibold:()=>mi,typographyTitle1:()=>ti,typographyTitle2:()=>ri,typographyTitle3:()=>oi,typographyVariants:()=>Wc});var ie=o=>typeof o=="string"?lt(o):o,t=class{static create(e,r,n,i){let a=d=>ie(d??i),c=U`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=d=>U`var(${ie(e)}, ${a(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,r,n,i){let a=d=>n.get(d??i),c=U`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=d=>U`var(${ie(e)}, ${a(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ie(a??e.lastResortDefaultValue()),i=U`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=r,i.defaultCssValue=n,i.get=a=>U`var(${ie(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Qn(o,e){return ie(`${o.name}: ${e}`)}var s={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},ei={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},ti={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ri={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},oi={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ni={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ii={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ai={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ci={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},si={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},li={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},di={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},fi={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ui={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},pi={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},hi={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},mi={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},gi={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},yi={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},vi={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},wi={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ci={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ei={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Mc={display:ei,"title-1":ti,"title-2":ri,"title-3":oi,"body-1-regular":ni,"body-1-medium":ii,"body-1-semibold":ai,"body-2-regular":ci,"body-2-medium":si,"body-2-medium-underline":li,"body-2-semibold":di,"label-1-medium":fi,"label-1-semibold":ui,"label-1-bold":pi,"label-2-medium":hi,"label-2-semibold":mi,"label-2-bold":gi,"caption-1-medium":yi,"caption-1-semibold":bi,"caption-1-bold":xi,"caption-2-medium":vi,"caption-2-semibold":Si,"caption-2-bold":Oi,"caption-3-medium":wi,"caption-3-semibold":Ci,"caption-3-bold":Ei},Wc=["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:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var Uc={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:t.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:t.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var Tc={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:t.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:t.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Dc={focusOpacity:t.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:t.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:t.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:t.extend("--ft-link-info-color","",u.contentInfoPrimary)};var Fc={iconSize:t.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Bc={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:t.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",u.contentActionPrimary)};var zc={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Hc={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",s.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var jc={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:t.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Kc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Zc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:t.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Vc={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var Gc={backgroundColor:t.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var qc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Yc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Jc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Xc={backgroundColor:t.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:t.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:t.extend("--ft-popover-gap","",s.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",s.shadowElevation02)};var Qc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:t.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",s.iconSize3)};var es={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:t.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var ts={color1Light:t.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",s.colorRed40),color5Base:t.extend("--ft-chart-5-base","",s.colorRed60),color6Light:t.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",s.colorGray50),color10Base:t.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var rs={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:t.extend("--ft-notice-gap","",s.spacing2),iconSize:t.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var os={color:t.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",s.spacing3)};var ns={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:t.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",s.spacing3)};var is={color:t.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",s.spacing3)};var as={iconSize:t.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",s.spacing8)};var cs={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:t.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:t.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",s.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 Xr(o){return`ftds--family-${o}`}function Qr(o){return`ftds--size-${o}`}var ae={colorPrimary:t.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:t.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:t.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:t.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:t.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:t.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:t.create("--ft-color-error","","COLOR","#B00020"),colorOutline:t.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:t.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:t.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:t.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:t.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:t.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:t.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:t.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:t.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:t.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:t.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:t.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:t.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:t.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:t.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:t.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:t.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:t.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:t.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:t.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:t.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:t.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:t.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:t.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:t.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:t.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:t.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:t.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:t.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:t.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:t.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:t.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:t.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:t.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:t.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:t.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:t.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:t.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:t.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:t.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:t.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:t.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var io={};_(io,{FtNotificationEvent:()=>ro,PostResizeEvent:()=>no,PreResizeEvent:()=>oo});var ro=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},oo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},no=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var yo={};_(yo,{computeOffsetPosition:()=>Ns});var Ai=["top","right","bottom","left"],Ni=["start","end"],co=Ai.reduce((o,e)=>o.concat(e,e+"-"+Ni[0],e+"-"+Ni[1]),[]),St=Math.min,ge=Math.max,Ot=Math.round;var ce=o=>({x:o,y:o}),ss={left:"right",right:"left",bottom:"top",top:"bottom"},ls={start:"end",end:"start"};function so(o,e,r){return ge(o,St(e,r))}function or(o,e){return typeof o=="function"?o(e):o}function Ve(o){return o.split("-")[0]}function ye(o){return o.split("-")[1]}function lo(o){return o==="x"?"y":"x"}function fo(o){return o==="y"?"height":"width"}function nr(o){return["top","bottom"].includes(Ve(o))?"y":"x"}function uo(o){return lo(nr(o))}function Ri(o,e,r){r===void 0&&(r=!1);let n=ye(o),i=uo(o),a=fo(i),c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=ao(c)),[c,ao(c)]}function Pi(o){return o.replace(/start|end/g,e=>ls[e])}function ao(o){return o.replace(/left|right|bottom|top/g,e=>ss[e])}function ds(o){return{top:0,right:0,bottom:0,left:0,...o}}function Ii(o){return typeof o!="number"?ds(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 _i(o,e,r){let{reference:n,floating:i}=o,a=nr(e),c=uo(e),d=fo(c),l=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(l){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*(r&&f?-1:1);break;case"end":g[c]+=m*(r&&f?-1:1);break}return g}var $i=async(o,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=r,d=a.filter(Boolean),l=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:p}=_i(f,n,l),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}=_i(f,m,l)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:i,middlewareData:g}};async function po(o,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:d,strategy:l}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=or(e,o),y=Ii(g),O=d[m?p==="floating"?"reference":"floating":p],w=Me(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(O)))==null||r?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(d.floating)),boundary:f,rootBoundary:h,strategy:l})),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:l}):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 fs(o,e,r){return(o?[...r.filter(i=>ye(i)===o),...r.filter(i=>ye(i)!==o)]:r.filter(i=>Ve(i)===i)).filter(i=>o?ye(i)===o||(e?Pi(i)!==i:!1):!0)}var ho=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,n,i;let{rects:a,middlewareData:c,placement:d,platform:l,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=co,autoAlignment:g=!0,...y}=or(o,e),v=p!==void 0||m===co?fs(p||null,g,m):m,O=await po(e,y),w=((r=c.autoPlacement)==null?void 0:r.index)||0,C=v[w];if(C==null)return{};let x=Ri(C,a,await(l.isRTL==null?void 0:l.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 P=S.map(E=>{let A=ye(E.placement);return[E.placement,A&&h?E.overflows.slice(0,2).reduce((R,T)=>R+T,0):E.overflows[0],E.overflows]}).sort((E,A)=>E[1]-A[1]),I=((i=P.filter(E=>E[2].slice(0,ye(E[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||P[0][0];return I!==d?{data:{index:w+1,overflows:S},reset:{placement:I}}:{}}}};var mo=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:r,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}}},...l}=or(o,e),f={x:r,y:n},h=await po(e,l),p=nr(Ve(i)),m=lo(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=so(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=so(C,y,x)}let v=d.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function se(o){return Li(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=(Li(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Li(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 ki(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof B(o).ShadowRoot}function Ge(o){let{overflow:e,overflowX:r,overflowY:n,display:i}=j(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Mi(o){return["table","td","th"].includes(se(o))}function ar(o){let e=cr(),r=j(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Wi(o){let e=We(o);for(;q(e)&&!wt(e);){if(ar(e))return e;e=We(e)}return null}function cr(){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||ki(o)&&o.host||le(o);return ki(e)?e.host:e}function Ui(o){let e=We(o);return wt(e)?o.ownerDocument?o.ownerDocument.body:o.body:q(e)&&Ge(e)?e:Ui(e)}function ir(o,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Ui(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&&r?ir(c.frameElement):[]):e.concat(i,ir(i,[],r))}function Fi(o){let e=j(o),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=q(o),a=i?o.offsetWidth:r,c=i?o.offsetHeight:n,d=Ot(r)!==a||Ot(n)!==c;return d&&(r=a,n=c),{width:r,height:n,$:d}}function Bi(o){return ee(o)?o:o.contextElement}function qe(o){let e=Bi(o);if(!q(e))return ce(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Fi(e),c=(a?Ot(r.width):r.width)/n,d=(a?Ot(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var us=ce(0);function zi(o){let e=B(o);return!cr()||!e.visualViewport?us:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ps(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==B(o)?!1:e}function Et(o,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=o.getBoundingClientRect(),a=Bi(o),c=ce(1);e&&(n?ee(n)&&(c=qe(n)):c=qe(o));let d=ps(a,r,n)?zi(a):ce(0),l=(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;l*=v.x,f*=v.y,h*=v.x,p*=v.y,l+=C,f+=x,y=B(y).frameElement}}return Me({width:h,height:p,x:l,y:f})}function hs(o){let{rect:e,offsetParent:r,strategy:n}=o,i=q(r),a=le(r);if(r===a)return e;let c={scrollLeft:0,scrollTop:0},d=ce(1),l=ce(0);if((i||!i&&n!=="fixed")&&((se(r)!=="body"||Ge(a))&&(c=Ct(r)),q(r))){let f=Et(r);d=qe(r),l.x=f.x+r.clientLeft,l.y=f.y+r.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-c.scrollLeft*d.x+l.x,y:e.y*d.y-c.scrollTop*d.y+l.y}}function ms(o){return Array.from(o.getClientRects())}function Hi(o){return Et(le(o)).left+Ct(o).scrollLeft}function gs(o){let e=le(o),r=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=-r.scrollLeft+Hi(o),d=-r.scrollTop;return j(n).direction==="rtl"&&(c+=ge(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:d}}function ys(o,e){let r=B(o),n=le(o),i=r.visualViewport,a=n.clientWidth,c=n.clientHeight,d=0,l=0;if(i){a=i.width,c=i.height;let f=cr();(!f||f&&e==="fixed")&&(d=i.offsetLeft,l=i.offsetTop)}return{width:a,height:c,x:d,y:l}}function bs(o,e){let r=Et(o,!0,e==="fixed"),n=r.top+o.clientTop,i=r.left+o.clientLeft,a=q(o)?qe(o):ce(1),c=o.clientWidth*a.x,d=o.clientHeight*a.y,l=i*a.x,f=n*a.y;return{width:c,height:d,x:l,y:f}}function Ti(o,e,r){let n;if(e==="viewport")n=ys(o,r);else if(e==="document")n=gs(le(o));else if(ee(e))n=bs(e,r);else{let i=zi(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Me(n)}function ji(o,e){let r=We(o);return r===e||!ee(r)||wt(r)?!1:j(r).position==="fixed"||ji(r,e)}function xs(o,e){let r=e.get(o);if(r)return r;let n=ir(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),l=ar(c);!l&&d.position==="fixed"&&(i=null),(a?!l&&!i:!l&&d.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ge(c)&&!l&&ji(o,c))?n=n.filter(h=>h!==c):i=d,c=We(c)}return e.set(o,n),n}function vs(o){let{element:e,boundary:r,rootBoundary:n,strategy:i}=o,c=[...r==="clippingAncestors"?xs(e,this._c):[].concat(r),n],d=c[0],l=c.reduce((f,h)=>{let p=Ti(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},Ti(e,d,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ss(o){return Fi(o)}function Os(o,e,r){let n=q(e),i=le(e),a=r==="fixed",c=Et(o,!0,a,e),d={scrollLeft:0,scrollTop:0},l=ce(0);if(n||!n&&!a)if((se(e)!=="body"||Ge(i))&&(d=Ct(e)),n){let f=Et(e,!0,a,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&(l.x=Hi(i));return{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function Di(o,e){return!q(o)||j(o).position==="fixed"?null:e?e(o):o.offsetParent}function Ki(o,e){let r=B(o);if(!q(o))return r;let n=Di(o,e);for(;n&&Mi(n)&&j(n).position==="static";)n=Di(n,e);return n&&(se(n)==="html"||se(n)==="body"&&j(n).position==="static"&&!ar(n))?r:n||Wi(o)||r}var ws=async function(o){let{reference:e,floating:r,strategy:n}=o,i=this.getOffsetParent||Ki,a=this.getDimensions;return{reference:Os(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Cs(o){return j(o).direction==="rtl"}var sr={convertOffsetParentRelativeRectToViewportRelativeRect:hs,getDocumentElement:le,getClippingRect:vs,getOffsetParent:Ki,getElementRects:ws,getClientRects:ms,getDimensions:Ss,getScale:qe,isElement:ee,isRTL:Cs};var Zi=(o,e,r)=>{let n=new Map,i={platform:sr,...r},a={...i.platform,_c:n};return $i(o,e,{...i,platform:a})};function Vi(o){return Es(o)}function go(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Es(o){for(let e=o;e;e=go(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=go(o);e;e=go(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Ns(o,e,r){return Zi(o,e,{platform:{...sr,getOffsetParent:n=>sr.getOffsetParent(n,Vi)},middleware:[mo({crossAxis:!0}),ho({allowedPlacements:[r]})]})}var So={};_(So,{FtdsBase:()=>vo,toFtdsBase:()=>ta});var xo={};_(xo,{FtLitElement:()=>K});var bo={};_(bo,{ScopedRegistryLitElement:()=>Nt});var lr=window,As=lr.ShadowRoot&&(lr.ShadyCSS===void 0||lr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,th=Symbol();var Gi=(o,e)=>{As?o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.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 r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Gi(n,e.elementStyles),n}};var dr=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Xi,qi=Symbol("constructorPrototype"),Yi=Symbol("constructorName"),Qi=Symbol("exportpartsDebouncer"),Ji=Symbol("dynamicDependenciesLoaded"),K=class extends Nt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Xi]=new me(5),this[Yi]=this.constructor.name,this[qi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Yi]&&Object.setPrototypeOf(this,this[qi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Ji]||(e[Ji]=!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 r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.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,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Qi].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 r,n,i,a,c,d;let l=m=>m!=null&&m.trim().length>0,f=e.filter(l).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.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(l).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(", "))}};Xi=Qi;dr([L()],K.prototype,"exportpartsPrefix",void 0);dr([Yr([])],K.prototype,"exportpartsPrefixes",void 0);dr([L()],K.prototype,"customStylesheet",void 0);dr([X()],K.prototype,"useAdoptedStyleSheets",void 0);var ea=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function ta(o){class e extends o{constructor(){super(...arguments),this.size=vt.medium,this.family=xt.neutral}getDesignSystemBaseClasses(){return{[Xr(this.family)]:!0,[Qr(this.size)]:!0}}}return ea([L()],e.prototype,"size",void 0),ea([L()],e.prototype,"family",void 0),e}var vo=class extends ta(K){};var ra={};var Co={};_(Co,{highlightHtml:()=>Is,highlightHtmlColorCssVariable:()=>oa,highlightHtmlStyles:()=>Ps});var Ue=class o{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,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,r=[];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=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,c=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",c),a=setTimeout(c,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),c=a.length,d=0;a=Array.prototype.slice.call(a);let l=()=>{--c<=0&&i(d)};c||l(),a.forEach(f=>{o.matches(f,this.exclude)?l():this.onIframeReady(f,h=>{r(f)&&(d++,n(h)),l()},l)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let c=r.compareDocumentPosition(n),d=Node.DOCUMENT_POSITION_FOLLOWING;if(c&d)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,c=!1;return i.forEach((d,l)=>{d.val===n&&(a=l,c=d.handled)}),this.compareNodeIframe(e,r,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,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,c=>{this.createInstanceOnIframe(c).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let c=this.createIterator(r,e,i),d=[],l=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(c),f);for(;p();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,d),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>l.push(g),i)}),l.push(f);l.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(d,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),c=a.length;c||i(),a.forEach(d=>{let l=()=>{this.iterateThroughNodes(e,d,r,n,()=>{--c<=0&&i()})};this.iframes?this.waitForIframes(d,l):l()})}};var At=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.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 Ue(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`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 r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let c=r[a],d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);d!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(d)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(d)}|${this.processSynomyms(l)})`+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,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=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${r}`),`[${c}]`),i.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\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(r)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.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 r=[],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,r.push(i),n=c)}),r}callNoMatchOnInvalidRanges(e,r){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-r>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,r,n){let i,a=!0,c=n.length,d=r-c,l=parseInt(e.start,10)-d;return l=l>c?c:l,i=l+parseInt(e.length,10),i>c&&(i=c,this.log(`End range automatically set to the max value of ${c}`)),l<0||i-l<0||l>c||i>c?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ue.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),c=a.splitText(n-r),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,r,n,i,a){e.nodes.every((c,d)=>{let l=e.nodes[d+1];if(typeof l>"u"||l.start>r){if(!i(c.node))return!1;let f=r-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)r=c.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let c=r===0?0:r+1;this.getTextNodes(d=>{d.nodes.forEach(l=>{l=l.node;let f;for(;(f=e.exec(l.textContent))!==null&&f[c]!=="";){if(!n(f[c],l))continue;let h=f.index;if(c!==0)for(let p=1;p<c;p++)h+=f[p].length;l=this.wrapRangeInTextNode(l,h,h+f[c].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let c=r===0?0:r+1;this.getTextNodes(d=>{let l;for(;(l=e.exec(d.value))!==null&&l[c]!=="";){let f=l.index;if(c!==0)for(let p=1;p<c;p++)f+=l[p].length;let h=f+l[c].length;this.wrapRangeInMappedTextNode(d,f,h,p=>n(l[c],p),(p,m)=>{e.lastIndex=m,i(p)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let c=a.value.length;e.forEach((d,l)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(d,c,a.value);p&&this.wrapRangeInMappedTextNode(a,f,h,m=>r(m,d,a.value.substring(f,h),l),m=>{n(m,d)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.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,r){this.opt=r,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,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),d=this.opt.caseSensitive?"":"i",l=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):l(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),c===0?this.opt.done(n):l(a[0])}markRanges(e,r){this.opt=r;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,l)=>this.opt.filter(a,c,d,l),(a,c)=>{n++,this.opt.each(a,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Ue.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Oo(o){let e=new At(o);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var Rs=Oo,oa=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ps=U`
7
7
  .highlight-html-match {
8
8
  background: ${oa};
9
9
  }
10
- `,wo={className:"highlight-html-match"};function Is(o,e){var r;let n=o.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new Rs(o);i.unmark(wo),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...wo,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(c=>i.mark(c.replace(/"/g,""),{...wo,separateWordSearch:!1})))}o.setAttribute("data-highlight-html-query",e??"")}var Eo={};_(Eo,{noTextSelect:()=>_s,safariEllipsisFix:()=>ks,wordWrap:()=>$s});var _s=U`
10
+ `,wo={className:"highlight-html-match"};function Is(o,e){var r;let n=o.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new Rs(o);i.unmark(wo),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...wo,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(c=>i.mark(c.replace(/"/g,""),{...wo,separateWordSearch:!1})))}o.setAttribute("data-highlight-html-query",e??"")}var Eo={};_(Eo,{noTextInputDefaultClearButton:()=>Ls,noTextSelect:()=>_s,safariEllipsisFix:()=>ks,wordWrap:()=>$s});var _s=U`
11
11
  .ft-no-text-select {
12
12
  -webkit-touch-callout: none;
13
13
  -webkit-user-select: none;
@@ -39,7 +39,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `;var na={};var Ao={};_(Ao,{ParametrizedLabelResolver:()=>No});var No=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((c,d)=>a=a.replace(new RegExp(`\\{${d}([^}]*)\\}`,"g"),(l,f)=>this.formatValue(c,f))),a}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var en={};_(en,{FtCommandQueue:()=>Rt,FtLitElementRedux:()=>Ye,FtReduxStore:()=>Qo,clearAllStores:()=>xl,isFtReduxStore:()=>Te,redux:()=>Ms,reduxEventListener:()=>Ws,reduxReactive:()=>Ls});var Ls=()=>(o,e)=>{var r;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Ms=o=>{let e=o??{};return(r,n)=>{var i;let a={hasChanged:bt,attribute:!1,...e};L(a)(r,n);let c=r.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})}},Ws=o=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,o)};var Rt=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Te(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ia,aa,ca,fr=Symbol("internalReduxEventsUnsubscribers"),be=Symbol("internalStoresUnsubscribers"),De=Symbol("internalStores"),Ye=class extends K{constructor(){super(...arguments),this[ia]=new Map,this[aa]=new Map,this[ca]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[De].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[De].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[De].get(e)}addStore(e,r){var n;r=(n=r??(Te(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[De].delete(r)}setupStore(e,r){this[De].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[De].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[be].has(e.store):this[be].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[be].set(e,r.subscribe(()=>this.updateFromStores())),Te(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let c=d=>this[a](d);r.eventBus.addEventListener(i.eventName,c),this[fr].push(()=>r.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[be].forEach((e,r)=>this.unsubscribeFromStore(r)),this[fr].forEach(e=>e()),this[fr]=[]}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()}};ia=be,aa=De,ca=fr;Ye.reduxProperties=new Map;Ye.reduxReactiveProperties=new Set;Ye.reduxEventListeners=new Map;function V(o){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.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(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===js}(o)||Array.isArray(o)||!!o[ha]||!!(!((e=o.constructor)===null||e===void 0)&&e[ha])||Wo(o)||Uo(o))}function Fe(o,e,r){r===void 0&&(r=!1),Qe(o)===0?(r?Object.keys:Xe)(o).forEach(function(n){r&&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:Wo(o)?2:Uo(o)?3:0}function Je(o,e){return Qe(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Us(o,e){return Qe(o)===2?o.get(e):o[e]}function ma(o,e,r){var n=Qe(o);n===2?o.set(e,r):n===3?o.add(r):o[e]=r}function ga(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function Wo(o){return zs&&o instanceof Map}function Uo(o){return Hs&&o instanceof Set}function xe(o){return o.o||o.t}function To(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=xa(o);delete e[$];for(var r=Xe(e),n=0;n<r.length;n++){var i=r[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),Fo(o)||de(o)||!Y(o)||(Qe(o)>1&&(o.set=o.add=o.clear=o.delete=Ts),Object.freeze(o),e&&Fe(o,function(r,n){return Do(n,!0)},!0)),o}function Ts(){V(2)}function Fo(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function te(o){var e=Mo[o];return e||V(18,o),e}function Ds(o,e){Mo[o]||(Mo[o]=e)}function $o(){return It}function Ro(o,e){e&&(te("Patches"),o.u=[],o.s=[],o.v=e)}function ur(o){ko(o),o.p.forEach(Fs),o.p=null}function ko(o){o===It&&(It=o.l)}function sa(o){return It={p:[],l:It,h:o,m:!0,_:0}}function Fs(o){var e=o[$];e.i===0||e.i===1?e.j():e.g=!0}function Po(o,e){e._=e.p.length;var r=e.p[0],n=o!==void 0&&o!==r;return e.h.O||te("ES5").S(e,o,n),n?(r[$].P&&(ur(e),V(4)),Y(o)&&(o=pr(e,o),e.l||hr(e,o)),e.u&&te("Patches").M(r[$].t,o,e.u,e.s)):o=pr(e,r,[]),ur(e),e.u&&e.v(e.u,e.s),o!==ba?o:void 0}function pr(o,e,r){if(Fo(e))return e;var n=e[$];if(!n)return Fe(e,function(d,l){return la(o,n,e,d,l,r)},!0),e;if(n.A!==o)return e;if(!n.P)return hr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=To(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),Fe(a,function(d,l){return la(o,n,i,d,l,r,c)}),hr(o,i,!1),r&&o.u&&te("Patches").N(n,r,o.u,o.s)}return n.o}function la(o,e,r,n,i,a,c){if(de(i)){var d=pr(o,i,a&&e&&e.i!==3&&!Je(e.R,n)?a.concat(n):void 0);if(ma(r,n,d),!de(d))return;o.m=!1}else c&&r.add(i);if(Y(i)&&!Fo(i)){if(!o.h.D&&o._<1)return;pr(o,i),e&&e.A.l||hr(o,i)}}function hr(o,e,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&Do(e,r)}function Io(o,e){var r=o[$];return(r?xe(r):o)[e]}function da(o,e){if(e in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function ve(o){o.P||(o.P=!0,o.l&&ve(o.l))}function _o(o){o.o||(o.o=To(o.t))}function Lo(o,e,r){var n=Wo(e)?te("MapSet").F(e,r):Uo(e)?te("MapSet").T(e,r):o.O?function(i,a){var c=Array.isArray(i),d={i:c?1:0,A:a?a.A:$o(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=d,f=_t;c&&(l=[d],f=Pt);var h=Proxy.revocable(l,f),p=h.revoke,m=h.proxy;return d.k=m,d.j=p,m}(e,r):te("ES5").J(e,r);return(r?r.A:$o()).p.push(n),n}function Bs(o){return de(o)||V(22,o),function e(r){if(!Y(r))return r;var n,i=r[$],a=Qe(r);if(i){if(!i.P&&(i.i<4||!te("ES5").K(i)))return i.t;i.I=!0,n=fa(r,a),i.I=!1}else n=fa(r,a);return Fe(n,function(c,d){i&&Us(i.t,c)===d||ma(n,c,e(d))}),a===3?new Set(n):n}(o)}function fa(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return To(o)}function ya(){function o(c,d){var l=a[c];return l?l.enumerable=d:a[c]=l={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)}},l}function e(c){for(var d=c.length-1;d>=0;d--){var l=c[d][$];if(!l.P)switch(l.i){case 5:n(l)&&ve(l);break;case 4:r(l)&&ve(l)}}}function r(c){for(var d=c.t,l=c.k,f=Xe(l),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=l[p],y=g&&g[$];if(y?y.t!==m:!ga(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 l=Object.getOwnPropertyDescriptor(d,d.length-1);if(l&&!l.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={};Ds("ES5",{J:function(c,d){var l=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=xa(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)}(l,c),h={i:l?5:4,A:d?d.A:$o(),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,l){l?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)Fe(g,function(b){b!==$&&(m[b]!==void 0||Je(m,b)?y[b]||f(g[b]):(y[b]=!0,ve(p)))}),Fe(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?r(c):n(c)}})}var ua,It,Bo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",zs=typeof Map<"u",Hs=typeof Set<"u",pa=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ba=Bo?Symbol.for("immer-nothing"):((ua={})["immer-nothing"]=!0,ua),ha=Bo?Symbol.for("immer-draftable"):"__$immer_draftable",$=Bo?Symbol.for("immer-state"):"__$immer_state";var js=""+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,xa=Object.getOwnPropertyDescriptors||function(o){var e={};return Xe(o).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(o,r)}),e},Mo={},_t={get:function(o,e){if(e===$)return o;var r=xe(o);if(!Je(r,e))return function(i,a,c){var d,l=da(a,c);return l?"value"in l?l.value:(d=l.get)===null||d===void 0?void 0:d.call(i.k):void 0}(o,r,e);var n=r[e];return o.I||!Y(n)?n:n===Io(o.t,e)?(_o(o),o.o[e]=Lo(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,r){var n=da(xe(o),e);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var i=Io(xe(o),e),a=i?.[$];if(a&&a.t===r)return o.o[e]=r,o.R[e]=!1,!0;if(ga(r,i)&&(r!==void 0||Je(o.t,e)))return!0;_o(o),ve(o)}return o.o[e]===r&&(r!==void 0||e in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[e])||(o.o[e]=r,o.R[e]=!0),!0},deleteProperty:function(o,e){return Io(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 r=xe(o),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){V(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){V(12)}},Pt={};Fe(_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,r){return _t.set.call(this,o[0],e,r,o[0])};var Ks=function(){function o(r){var n=this;this.O=pa,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var d=a;a=i;var l=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 l.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=sa(n),p=Lo(n,i,void 0),m=!0;try{f=a(p),m=!1}finally{m?ur(h):ko(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Ro(h,c),Po(v,h)},function(v){throw ur(h),v}):(Ro(h,c),Po(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===ba&&(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,l=n.produce(i,a,function(f,h){c=f,d=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(f){return[f,c,d]}):[l,c,d]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=o.prototype;return e.createDraft=function(r){Y(r)||V(8),de(r)&&(r=Bs(r));var n=sa(this),i=Lo(this,r,void 0);return i[$].C=!0,ko(n),i},e.finishDraft=function(r,n){var i=r&&r[$],a=i.A;return Ro(a,n),Po(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!pa&&V(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var c=te("Patches").$;return de(r)?c(r,n):this.produce(r,function(d){return c(d,n)})},o}(),Z=new Ks,Zs=Z.produce,Rh=Z.produceWithPatches.bind(Z),Ph=Z.setAutoFreeze.bind(Z),Ih=Z.setUseProxies.bind(Z),_h=Z.applyPatches.bind(Z),$h=Z.createDraft.bind(Z),kh=Z.finishDraft.bind(Z),mr=Zs;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 zo(o,e){if(Se(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.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 Ho(o){var e=zo(o,"string");return Se(e)==="symbol"?e:String(e)}function jo(o,e,r){return e=Ho(e),e in o?Object.defineProperty(o,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[e]=r,o}function va(o,e){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),r.push.apply(r,n)}return r}function gr(o){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?va(Object(r),!0).forEach(function(n){jo(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):va(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function D(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 Sa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ko=function(){return Math.random().toString(36).substring(7).split("").join(".")},yr={INIT:"@@redux/INIT"+Ko(),REPLACE:"@@redux/REPLACE"+Ko(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ko()}};function Vs(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,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(D(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(D(1));return r(Zo)(o,e)}if(typeof o!="function")throw new Error(D(2));var i=o,a=e,c=[],d=c,l=!1;function f(){d===c&&(d=c.slice())}function h(){if(l)throw new Error(D(3));return a}function p(v){if(typeof v!="function")throw new Error(D(4));if(l)throw new Error(D(5));var O=!0;return f(),d.push(v),function(){if(O){if(l)throw new Error(D(6));O=!1,f();var C=d.indexOf(v);d.splice(C,1),c=null}}}function m(v){if(!Vs(v))throw new Error(D(7));if(typeof v.type>"u")throw new Error(D(8));if(l)throw new Error(D(9));try{l=!0,a=i(a,v)}finally{l=!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(D(10));i=v,m({type:yr.REPLACE})}function y(){var v,O=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(D(11));function x(){C.next&&C.next(h())}x();var b=O(x);return{unsubscribe:b}}},v[Sa]=function(){return this},v}return m({type:yr.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[Sa]=y,n}function Gs(o){Object.keys(o).forEach(function(e){var r=o[e],n=r(void 0,{type:yr.INIT});if(typeof n>"u")throw new Error(D(12));if(typeof r(void 0,{type:yr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(D(13))})}function Oa(o){for(var e=Object.keys(o),r={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(r[i]=o[i])}var a=Object.keys(r),c,d;try{Gs(r)}catch(l){d=l}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=r[v],w=f[v],C=O(w,h);if(typeof C>"u"){var x=h&&h.type;throw new Error(D(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),r=0;r<o;r++)e[r]=arguments[r];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 wa(){for(var o=arguments.length,e=new Array(o),r=0;r<o;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(D(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},d=e.map(function(l){return l(c)});return a=et.apply(void 0,d)(i.dispatch),gr(gr({},i),{},{dispatch:a})}}}function Ca(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 Ea=Ca();Ea.withExtraArgument=Ca;var Vo=Ea;var Ia=function(){var o=function(e,r){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,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),qs=function(o,e){var r={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 l([f,h])}}function l(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(o,r)}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 r=0,n=e.length,i=o.length;r<n;r++,i++)o[i]=e[r];return o},Ys=Object.defineProperty,Js=Object.defineProperties,Xs=Object.getOwnPropertyDescriptors,Na=Object.getOwnPropertySymbols,Qs=Object.prototype.hasOwnProperty,el=Object.prototype.propertyIsEnumerable,Aa=function(o,e,r){return e in o?Ys(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r},Oe=function(o,e){for(var r in e||(e={}))Qs.call(e,r)&&Aa(o,r,e[r]);if(Na)for(var n=0,i=Na(e);n<i.length;n++){var r=i[n];el.call(e,r)&&Aa(o,r,e[r])}return o},Go=function(o,e){return Js(o,Xs(e))},tl=function(o,e,r){return new Promise(function(n,i){var a=function(l){try{d(r.next(l))}catch(f){i(f)}},c=function(l){try{d(r.throw(l))}catch(f){i(f)}},d=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,c)};d((r=r.apply(o,e)).next())})};var rl=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)},Jh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function ol(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var nl=function(o){Ia(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,tt([void 0],r[0].concat(this)))):new(e.bind.apply(e,tt([void 0],r.concat(this))))},e}(Array),il=function(o){Ia(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,tt([void 0],r[0].concat(this)))):new(e.bind.apply(e,tt([void 0],r.concat(this))))},e}(Array);function Jo(o){return Y(o)?mr(o,function(){}):o}function al(o){return typeof o=="boolean"}function cl(){return function(e){return sl(e)}}function sl(o){o===void 0&&(o={});var e=o.thunk,r=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 nl;if(r&&(al(r)?d.push(Vo):d.push(Vo.withExtraArgument(r.extraArgument))),0){if(i)var l;if(c)var f}return d}var qo=!0;function _a(o){var e=cl(),r=o||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,c=a===void 0?e():a,d=r.devTools,l=d===void 0?!0:d,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,m=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(ol(i))g=Oa(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),!qo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qo&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=wa.apply(void 0,y),O=et;l&&(O=rl(Oe({trace:!qo},typeof l=="object"&&l)));var w=new il(v),C=w;Array.isArray(m)?C=tt([v],m):typeof m=="function"&&(C=m(w));var x=O.apply(void 0,C);return Zo(g,h,x)}function we(o,e){function r(){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 r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function $a(o){var e={},r=[],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 r.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,r,n]}function ll(o){return typeof o=="function"}function dl(o,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?$a(e):[e,r,n],a=i[0],c=i[1],d=i[2],l;if(ll(o))l=function(){return Jo(o())};else{var f=Jo(o);l=function(){return f}}function h(p,m){p===void 0&&(p=l());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 mr(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=l,h}function fl(o,e){return o+"/"+e}function ka(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:Jo(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},c={},d={};i.forEach(function(h){var p=n[h],m=fl(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 l(){var h=typeof o.extraReducers=="function"?$a(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 dl(r,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=l()),f(h,p)},actions:d,caseReducers:a,getInitialState:function(){return f||(f=l()),f.getInitialState()}}}var ul="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",pl=function(o){o===void 0&&(o=21);for(var e="",r=o;r--;)e+=ul[Math.random()*64|0];return e},hl=["name","message","stack","code"],Yo=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),Ra=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),ml=function(o){if(typeof o=="object"&&o!==null){for(var e={},r=0,n=hl;r<n.length;r++){var i=n[r];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},tm=function(){function o(e,r,n){var i=we(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:Go(Oe({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),a=we(e+"/pending",function(h,p,m){return{payload:void 0,meta:Go(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||ml)(h||"Rejected"),meta:Go(Oe({},y||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,l=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):pl(),v=new l,O,w=!1;function C(b){O=b,v.abort()}var x=function(){return tl(this,null,function(){var b,S,N,P,F,I,E;return qs(this,function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),P=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),yl(P)?[4,P]:[3,2];case 1:P=A.sent(),A.label=2;case 2:if(P===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,F=new Promise(function(R,T){return v.signal.addEventListener("abort",function(){return T({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([F,Promise.resolve(r(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(R,T){return new Yo(R,T)},fulfillWithValue:function(R,T){return new Ra(R,T)}})).then(function(R){if(R instanceof Yo)throw R;return R instanceof Ra?i(R.payload,y,h,R.meta):i(R,y,h)})])];case 3:return N=A.sent(),[3,5];case 4:return I=A.sent(),N=I instanceof Yo?c(null,y,h,I.payload,I.meta):c(I,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(gl)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function gl(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function yl(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var La="listener",Ma="completed",Wa="cancelled",rm="task-"+Wa,om="task-"+Ma,nm=La+"-"+Wa,im=La+"-"+Ma;var Xo="listenerMiddleware";var am=we(Xo+"/add"),cm=we(Xo+"/removeAll"),sm=we(Xo+"/remove");var Pa,lm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Pa||(Pa=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},bl=function(o){return function(e){setTimeout(e,o)}},dm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:bl(10);ya();window.ftReduxStores||(window.ftReduxStores={});var Qo=class o{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Te(a))return a;if(i==null)return;let c=ka({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),d=_a({reducer:(l,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...f.overwrites}:c.reducer(l,f)});return window.ftReduxStores[i.name]=new o(c,d)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,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?(...l)=>{let f=d(...l);return this.reduxStore.dispatch(f),f}:l=>{this.setState({[c]:l})}}})}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 xl(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Te(e)&&e.clear()}var tn={};_(tn,{serializeRequest:()=>Sl});function vl(o){return`"${o}"`}function Sl(o,e){var r,n,i,a;let c=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"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 l=e.periodFilter.period,f=l?`_${l.from}_${l.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 l=e.filters.map(f=>{let h=f.values.map(p=>p.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(p=>encodeURIComponent(vl(p))).join("_");return`${f.key}~${h}`}).join("*");c.append("filters",l)}return new URL(`${o.replace(/\/+$/,"")}/search?${c.toString()}`).href}var rn={};_(rn,{toFtFormComponent:()=>Ol});var br=Symbol("elementInternals");function Ol(o,e){class r extends o{static get formAssociated(){return!0}get form(){return this[br].form}constructor(...i){super(i),this[br]=this.attachInternals(),this[br].role=e}setFormValue(i){this[br].setFormValue(i)}}return r}var xr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var on,nn,an,cn,wl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((an=(nn=(on=window.safari)===null||on===void 0?void 0:on.pushNotification)===null||nn===void 0?void 0:nn.toString())!==null&&an!==void 0?an:"")==="[object SafariRemoteNotification]",Cl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(cn=window.ftGlobals)!==null&&cn!==void 0?cn:{lit:Lr,litDecorators:Mr,litRepeat:Wr,litClassMap:Tr,litStyleMap:Dr,litUnsafeHTML:Fr,wcUtils:{...jr,...zr,...Zr,...xr,...Vr,...Jr,...to,...io,...yo,...eo,...So,...xo,...ra,...Gr,...Co,...Eo,...na,...Ao,...en,...bo,...tn,...rn,isSafari:wl,isTouchScreen:Cl}};var Ua=t.extend("--ft-ripple-color","",ae.colorContent),Be={color:Ua,backgroundColor:t.extend("--ft-ripple-background-color","",Ua),opacityContentOnSurfacePressed:t.external(ae.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(ae.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(ae.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(ae.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},Ta=t.extend("--ft-ripple-color","",ae.colorPrimary),Da={color:Ta,backgroundColor:t.extend("--ft-ripple-background-color","",Ta)},Fa=t.extend("--ft-ripple-color","",ae.colorSecondary),Ba={color:Fa,backgroundColor:t.extend("--ft-ripple-background-color","",Fa)},za=U`
42
+ `,Ls=U`
43
+ input::-webkit-search-cancel-button,
44
+ input::-webkit-search-decoration,
45
+ input::-webkit-search-results-button,
46
+ input::-webkit-search-results-decoration {
47
+ display: none;
48
+ }
49
+ `;var na={};var Ao={};_(Ao,{ParametrizedLabelResolver:()=>No});var No=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((c,d)=>a=a.replace(new RegExp(`\\{${d}([^}]*)\\}`,"g"),(l,f)=>this.formatValue(c,f))),a}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var en={};_(en,{FtCommandQueue:()=>Rt,FtLitElementRedux:()=>Ye,FtReduxStore:()=>Qo,clearAllStores:()=>vl,isFtReduxStore:()=>Te,redux:()=>Ws,reduxEventListener:()=>Us,reduxReactive:()=>Ms});var Ms=()=>(o,e)=>{var r;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Ws=o=>{let e=o??{};return(r,n)=>{var i;let a={hasChanged:bt,attribute:!1,...e};L(a)(r,n);let c=r.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})}},Us=o=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,o)};var Rt=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Te(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ia,aa,ca,fr=Symbol("internalReduxEventsUnsubscribers"),be=Symbol("internalStoresUnsubscribers"),De=Symbol("internalStores"),Ye=class extends K{constructor(){super(...arguments),this[ia]=new Map,this[aa]=new Map,this[ca]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[De].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[De].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[De].get(e)}addStore(e,r){var n;r=(n=r??(Te(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[De].delete(r)}setupStore(e,r){this[De].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[De].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[be].has(e.store):this[be].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[be].set(e,r.subscribe(()=>this.updateFromStores())),Te(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let c=d=>this[a](d);r.eventBus.addEventListener(i.eventName,c),this[fr].push(()=>r.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[be].forEach((e,r)=>this.unsubscribeFromStore(r)),this[fr].forEach(e=>e()),this[fr]=[]}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()}};ia=be,aa=De,ca=fr;Ye.reduxProperties=new Map;Ye.reduxReactiveProperties=new Set;Ye.reduxEventListeners=new Map;function V(o){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.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(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ks}(o)||Array.isArray(o)||!!o[ha]||!!(!((e=o.constructor)===null||e===void 0)&&e[ha])||Wo(o)||Uo(o))}function Fe(o,e,r){r===void 0&&(r=!1),Qe(o)===0?(r?Object.keys:Xe)(o).forEach(function(n){r&&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:Wo(o)?2:Uo(o)?3:0}function Je(o,e){return Qe(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Ts(o,e){return Qe(o)===2?o.get(e):o[e]}function ma(o,e,r){var n=Qe(o);n===2?o.set(e,r):n===3?o.add(r):o[e]=r}function ga(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function Wo(o){return Hs&&o instanceof Map}function Uo(o){return js&&o instanceof Set}function xe(o){return o.o||o.t}function To(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=xa(o);delete e[$];for(var r=Xe(e),n=0;n<r.length;n++){var i=r[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),Fo(o)||de(o)||!Y(o)||(Qe(o)>1&&(o.set=o.add=o.clear=o.delete=Ds),Object.freeze(o),e&&Fe(o,function(r,n){return Do(n,!0)},!0)),o}function Ds(){V(2)}function Fo(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function te(o){var e=Mo[o];return e||V(18,o),e}function Fs(o,e){Mo[o]||(Mo[o]=e)}function $o(){return It}function Ro(o,e){e&&(te("Patches"),o.u=[],o.s=[],o.v=e)}function ur(o){ko(o),o.p.forEach(Bs),o.p=null}function ko(o){o===It&&(It=o.l)}function sa(o){return It={p:[],l:It,h:o,m:!0,_:0}}function Bs(o){var e=o[$];e.i===0||e.i===1?e.j():e.g=!0}function Po(o,e){e._=e.p.length;var r=e.p[0],n=o!==void 0&&o!==r;return e.h.O||te("ES5").S(e,o,n),n?(r[$].P&&(ur(e),V(4)),Y(o)&&(o=pr(e,o),e.l||hr(e,o)),e.u&&te("Patches").M(r[$].t,o,e.u,e.s)):o=pr(e,r,[]),ur(e),e.u&&e.v(e.u,e.s),o!==ba?o:void 0}function pr(o,e,r){if(Fo(e))return e;var n=e[$];if(!n)return Fe(e,function(d,l){return la(o,n,e,d,l,r)},!0),e;if(n.A!==o)return e;if(!n.P)return hr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=To(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),Fe(a,function(d,l){return la(o,n,i,d,l,r,c)}),hr(o,i,!1),r&&o.u&&te("Patches").N(n,r,o.u,o.s)}return n.o}function la(o,e,r,n,i,a,c){if(de(i)){var d=pr(o,i,a&&e&&e.i!==3&&!Je(e.R,n)?a.concat(n):void 0);if(ma(r,n,d),!de(d))return;o.m=!1}else c&&r.add(i);if(Y(i)&&!Fo(i)){if(!o.h.D&&o._<1)return;pr(o,i),e&&e.A.l||hr(o,i)}}function hr(o,e,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&Do(e,r)}function Io(o,e){var r=o[$];return(r?xe(r):o)[e]}function da(o,e){if(e in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function ve(o){o.P||(o.P=!0,o.l&&ve(o.l))}function _o(o){o.o||(o.o=To(o.t))}function Lo(o,e,r){var n=Wo(e)?te("MapSet").F(e,r):Uo(e)?te("MapSet").T(e,r):o.O?function(i,a){var c=Array.isArray(i),d={i:c?1:0,A:a?a.A:$o(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=d,f=_t;c&&(l=[d],f=Pt);var h=Proxy.revocable(l,f),p=h.revoke,m=h.proxy;return d.k=m,d.j=p,m}(e,r):te("ES5").J(e,r);return(r?r.A:$o()).p.push(n),n}function zs(o){return de(o)||V(22,o),function e(r){if(!Y(r))return r;var n,i=r[$],a=Qe(r);if(i){if(!i.P&&(i.i<4||!te("ES5").K(i)))return i.t;i.I=!0,n=fa(r,a),i.I=!1}else n=fa(r,a);return Fe(n,function(c,d){i&&Ts(i.t,c)===d||ma(n,c,e(d))}),a===3?new Set(n):n}(o)}function fa(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return To(o)}function ya(){function o(c,d){var l=a[c];return l?l.enumerable=d:a[c]=l={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)}},l}function e(c){for(var d=c.length-1;d>=0;d--){var l=c[d][$];if(!l.P)switch(l.i){case 5:n(l)&&ve(l);break;case 4:r(l)&&ve(l)}}}function r(c){for(var d=c.t,l=c.k,f=Xe(l),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=l[p],y=g&&g[$];if(y?y.t!==m:!ga(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 l=Object.getOwnPropertyDescriptor(d,d.length-1);if(l&&!l.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={};Fs("ES5",{J:function(c,d){var l=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=xa(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)}(l,c),h={i:l?5:4,A:d?d.A:$o(),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,l){l?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)Fe(g,function(b){b!==$&&(m[b]!==void 0||Je(m,b)?y[b]||f(g[b]):(y[b]=!0,ve(p)))}),Fe(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?r(c):n(c)}})}var ua,It,Bo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Hs=typeof Map<"u",js=typeof Set<"u",pa=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ba=Bo?Symbol.for("immer-nothing"):((ua={})["immer-nothing"]=!0,ua),ha=Bo?Symbol.for("immer-draftable"):"__$immer_draftable",$=Bo?Symbol.for("immer-state"):"__$immer_state";var Ks=""+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,xa=Object.getOwnPropertyDescriptors||function(o){var e={};return Xe(o).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(o,r)}),e},Mo={},_t={get:function(o,e){if(e===$)return o;var r=xe(o);if(!Je(r,e))return function(i,a,c){var d,l=da(a,c);return l?"value"in l?l.value:(d=l.get)===null||d===void 0?void 0:d.call(i.k):void 0}(o,r,e);var n=r[e];return o.I||!Y(n)?n:n===Io(o.t,e)?(_o(o),o.o[e]=Lo(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,r){var n=da(xe(o),e);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var i=Io(xe(o),e),a=i?.[$];if(a&&a.t===r)return o.o[e]=r,o.R[e]=!1,!0;if(ga(r,i)&&(r!==void 0||Je(o.t,e)))return!0;_o(o),ve(o)}return o.o[e]===r&&(r!==void 0||e in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[e])||(o.o[e]=r,o.R[e]=!0),!0},deleteProperty:function(o,e){return Io(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 r=xe(o),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){V(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){V(12)}},Pt={};Fe(_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,r){return _t.set.call(this,o[0],e,r,o[0])};var Zs=function(){function o(r){var n=this;this.O=pa,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var d=a;a=i;var l=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 l.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=sa(n),p=Lo(n,i,void 0),m=!0;try{f=a(p),m=!1}finally{m?ur(h):ko(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Ro(h,c),Po(v,h)},function(v){throw ur(h),v}):(Ro(h,c),Po(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===ba&&(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,l=n.produce(i,a,function(f,h){c=f,d=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(f){return[f,c,d]}):[l,c,d]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=o.prototype;return e.createDraft=function(r){Y(r)||V(8),de(r)&&(r=zs(r));var n=sa(this),i=Lo(this,r,void 0);return i[$].C=!0,ko(n),i},e.finishDraft=function(r,n){var i=r&&r[$],a=i.A;return Ro(a,n),Po(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!pa&&V(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var c=te("Patches").$;return de(r)?c(r,n):this.produce(r,function(d){return c(d,n)})},o}(),Z=new Zs,Vs=Z.produce,Ph=Z.produceWithPatches.bind(Z),Ih=Z.setAutoFreeze.bind(Z),_h=Z.setUseProxies.bind(Z),$h=Z.applyPatches.bind(Z),kh=Z.createDraft.bind(Z),Lh=Z.finishDraft.bind(Z),mr=Vs;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 zo(o,e){if(Se(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.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 Ho(o){var e=zo(o,"string");return Se(e)==="symbol"?e:String(e)}function jo(o,e,r){return e=Ho(e),e in o?Object.defineProperty(o,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[e]=r,o}function va(o,e){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),r.push.apply(r,n)}return r}function gr(o){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?va(Object(r),!0).forEach(function(n){jo(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):va(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function D(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 Sa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ko=function(){return Math.random().toString(36).substring(7).split("").join(".")},yr={INIT:"@@redux/INIT"+Ko(),REPLACE:"@@redux/REPLACE"+Ko(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ko()}};function Gs(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,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(D(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(D(1));return r(Zo)(o,e)}if(typeof o!="function")throw new Error(D(2));var i=o,a=e,c=[],d=c,l=!1;function f(){d===c&&(d=c.slice())}function h(){if(l)throw new Error(D(3));return a}function p(v){if(typeof v!="function")throw new Error(D(4));if(l)throw new Error(D(5));var O=!0;return f(),d.push(v),function(){if(O){if(l)throw new Error(D(6));O=!1,f();var C=d.indexOf(v);d.splice(C,1),c=null}}}function m(v){if(!Gs(v))throw new Error(D(7));if(typeof v.type>"u")throw new Error(D(8));if(l)throw new Error(D(9));try{l=!0,a=i(a,v)}finally{l=!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(D(10));i=v,m({type:yr.REPLACE})}function y(){var v,O=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(D(11));function x(){C.next&&C.next(h())}x();var b=O(x);return{unsubscribe:b}}},v[Sa]=function(){return this},v}return m({type:yr.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[Sa]=y,n}function qs(o){Object.keys(o).forEach(function(e){var r=o[e],n=r(void 0,{type:yr.INIT});if(typeof n>"u")throw new Error(D(12));if(typeof r(void 0,{type:yr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(D(13))})}function Oa(o){for(var e=Object.keys(o),r={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(r[i]=o[i])}var a=Object.keys(r),c,d;try{qs(r)}catch(l){d=l}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=r[v],w=f[v],C=O(w,h);if(typeof C>"u"){var x=h&&h.type;throw new Error(D(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),r=0;r<o;r++)e[r]=arguments[r];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 wa(){for(var o=arguments.length,e=new Array(o),r=0;r<o;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(D(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},d=e.map(function(l){return l(c)});return a=et.apply(void 0,d)(i.dispatch),gr(gr({},i),{},{dispatch:a})}}}function Ca(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 Ea=Ca();Ea.withExtraArgument=Ca;var Vo=Ea;var Ia=function(){var o=function(e,r){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,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ys=function(o,e){var r={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 l([f,h])}}function l(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(o,r)}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 r=0,n=e.length,i=o.length;r<n;r++,i++)o[i]=e[r];return o},Js=Object.defineProperty,Xs=Object.defineProperties,Qs=Object.getOwnPropertyDescriptors,Na=Object.getOwnPropertySymbols,el=Object.prototype.hasOwnProperty,tl=Object.prototype.propertyIsEnumerable,Aa=function(o,e,r){return e in o?Js(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r},Oe=function(o,e){for(var r in e||(e={}))el.call(e,r)&&Aa(o,r,e[r]);if(Na)for(var n=0,i=Na(e);n<i.length;n++){var r=i[n];tl.call(e,r)&&Aa(o,r,e[r])}return o},Go=function(o,e){return Xs(o,Qs(e))},rl=function(o,e,r){return new Promise(function(n,i){var a=function(l){try{d(r.next(l))}catch(f){i(f)}},c=function(l){try{d(r.throw(l))}catch(f){i(f)}},d=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,c)};d((r=r.apply(o,e)).next())})};var ol=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)},Xh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function nl(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var il=function(o){Ia(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,tt([void 0],r[0].concat(this)))):new(e.bind.apply(e,tt([void 0],r.concat(this))))},e}(Array),al=function(o){Ia(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,tt([void 0],r[0].concat(this)))):new(e.bind.apply(e,tt([void 0],r.concat(this))))},e}(Array);function Jo(o){return Y(o)?mr(o,function(){}):o}function cl(o){return typeof o=="boolean"}function sl(){return function(e){return ll(e)}}function ll(o){o===void 0&&(o={});var e=o.thunk,r=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 il;if(r&&(cl(r)?d.push(Vo):d.push(Vo.withExtraArgument(r.extraArgument))),0){if(i)var l;if(c)var f}return d}var qo=!0;function _a(o){var e=sl(),r=o||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,c=a===void 0?e():a,d=r.devTools,l=d===void 0?!0:d,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,m=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(nl(i))g=Oa(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),!qo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qo&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=wa.apply(void 0,y),O=et;l&&(O=ol(Oe({trace:!qo},typeof l=="object"&&l)));var w=new al(v),C=w;Array.isArray(m)?C=tt([v],m):typeof m=="function"&&(C=m(w));var x=O.apply(void 0,C);return Zo(g,h,x)}function we(o,e){function r(){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 r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function $a(o){var e={},r=[],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 r.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,r,n]}function dl(o){return typeof o=="function"}function fl(o,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?$a(e):[e,r,n],a=i[0],c=i[1],d=i[2],l;if(dl(o))l=function(){return Jo(o())};else{var f=Jo(o);l=function(){return f}}function h(p,m){p===void 0&&(p=l());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 mr(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=l,h}function ul(o,e){return o+"/"+e}function ka(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:Jo(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},c={},d={};i.forEach(function(h){var p=n[h],m=ul(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 l(){var h=typeof o.extraReducers=="function"?$a(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 fl(r,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=l()),f(h,p)},actions:d,caseReducers:a,getInitialState:function(){return f||(f=l()),f.getInitialState()}}}var pl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",hl=function(o){o===void 0&&(o=21);for(var e="",r=o;r--;)e+=pl[Math.random()*64|0];return e},ml=["name","message","stack","code"],Yo=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),Ra=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),gl=function(o){if(typeof o=="object"&&o!==null){for(var e={},r=0,n=ml;r<n.length;r++){var i=n[r];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},rm=function(){function o(e,r,n){var i=we(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:Go(Oe({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),a=we(e+"/pending",function(h,p,m){return{payload:void 0,meta:Go(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||gl)(h||"Rejected"),meta:Go(Oe({},y||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,l=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):hl(),v=new l,O,w=!1;function C(b){O=b,v.abort()}var x=function(){return rl(this,null,function(){var b,S,N,P,F,I,E;return Ys(this,function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),P=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),bl(P)?[4,P]:[3,2];case 1:P=A.sent(),A.label=2;case 2:if(P===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,F=new Promise(function(R,T){return v.signal.addEventListener("abort",function(){return T({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([F,Promise.resolve(r(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(R,T){return new Yo(R,T)},fulfillWithValue:function(R,T){return new Ra(R,T)}})).then(function(R){if(R instanceof Yo)throw R;return R instanceof Ra?i(R.payload,y,h,R.meta):i(R,y,h)})])];case 3:return N=A.sent(),[3,5];case 4:return I=A.sent(),N=I instanceof Yo?c(null,y,h,I.payload,I.meta):c(I,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(yl)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function yl(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function bl(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var La="listener",Ma="completed",Wa="cancelled",om="task-"+Wa,nm="task-"+Ma,im=La+"-"+Wa,am=La+"-"+Ma;var Xo="listenerMiddleware";var cm=we(Xo+"/add"),sm=we(Xo+"/removeAll"),lm=we(Xo+"/remove");var Pa,dm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Pa||(Pa=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},xl=function(o){return function(e){setTimeout(e,o)}},fm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:xl(10);ya();window.ftReduxStores||(window.ftReduxStores={});var Qo=class o{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Te(a))return a;if(i==null)return;let c=ka({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),d=_a({reducer:(l,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...f.overwrites}:c.reducer(l,f)});return window.ftReduxStores[i.name]=new o(c,d)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,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?(...l)=>{let f=d(...l);return this.reduxStore.dispatch(f),f}:l=>{this.setState({[c]:l})}}})}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 vl(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Te(e)&&e.clear()}var tn={};_(tn,{serializeRequest:()=>Ol});function Sl(o){return`"${o}"`}function Ol(o,e){var r,n,i,a;let c=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"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 l=e.periodFilter.period,f=l?`_${l.from}_${l.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 l=e.filters.map(f=>{let h=f.values.map(p=>p.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(p=>encodeURIComponent(Sl(p))).join("_");return`${f.key}~${h}`}).join("*");c.append("filters",l)}return new URL(`${o.replace(/\/+$/,"")}/search?${c.toString()}`).href}var rn={};_(rn,{toFtFormComponent:()=>wl});var br=Symbol("elementInternals");function wl(o,e){class r extends o{static get formAssociated(){return!0}get form(){return this[br].form}constructor(...i){super(i),this[br]=this.attachInternals(),this[br].role=e}setFormValue(i){this[br].setFormValue(i)}}return r}var xr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var on,nn,an,cn,Cl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((an=(nn=(on=window.safari)===null||on===void 0?void 0:on.pushNotification)===null||nn===void 0?void 0:nn.toString())!==null&&an!==void 0?an:"")==="[object SafariRemoteNotification]",El="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(cn=window.ftGlobals)!==null&&cn!==void 0?cn:{lit:Lr,litDecorators:Mr,litRepeat:Wr,litClassMap:Tr,litStyleMap:Dr,litUnsafeHTML:Fr,wcUtils:{...jr,...zr,...Zr,...xr,...Vr,...Jr,...to,...io,...yo,...eo,...So,...xo,...ra,...Gr,...Co,...Eo,...na,...Ao,...en,...bo,...tn,...rn,isSafari:Cl,isTouchScreen:El}};var Ua=t.extend("--ft-ripple-color","",ae.colorContent),Be={color:Ua,backgroundColor:t.extend("--ft-ripple-background-color","",Ua),opacityContentOnSurfacePressed:t.external(ae.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(ae.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(ae.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(ae.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},Ta=t.extend("--ft-ripple-color","",ae.colorPrimary),Da={color:Ta,backgroundColor:t.extend("--ft-ripple-background-color","",Ta)},Fa=t.extend("--ft-ripple-color","",ae.colorSecondary),Ba={color:Fa,backgroundColor:t.extend("--ft-ripple-background-color","",Fa)},za=U`
43
50
  :host {
44
51
  display: contents;
45
52
  }