@fluid-topics/ft-radio 1.1.90 → 1.1.91

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 Ls=Object.defineProperty;var L=(o,e)=>{for(var r in e)Ls(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,s=new WeakMap,c=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,A=new Set(b.observedAttributes||[]);m(b,A,S);let _={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:A};this._definitionsByTag.set(x,_),this._definitionsByClass.set(b,_);let j=r.call(n,x);j||(j=u(x),e.call(n,x,j)),this===window.customElements&&(s.set(b,_),_.standInClass=j);let k=this._awaitingUpgrade.get(x);if(k){this._awaitingUpgrade.delete(x);for(let R of k)a.delete(R),y(R,_,!0)}let N=this._whenDefinedPromises.get(x);return N!==void 0&&(N.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(A=>S.resolve=A),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let A=this._awaitingUpgrade.get(b);A||this._awaitingUpgrade.set(b,A=new Set),S?A.add(x):A.delete(x)}};let l;window.HTMLElement=function(){let b=l;if(b)return l=void 0,b;let S=s.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=c.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let A=h(S)||window.customElements,_=A._getDefinition(x);return _?y(S,_):a.set(S,A),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 A=x.prototype.setAttribute;A&&(x.prototype.setAttribute=function(k,N){let R=k.toLowerCase();if(b.has(R)){let $=this.getAttribute(R);A.call(this,R,N),S.call(this,R,$,N)}else A.call(this,R,N)});let _=x.prototype.removeAttribute;_&&(x.prototype.removeAttribute=function(k){let N=k.toLowerCase();if(b.has(N)){let R=this.getAttribute(N);_.call(this,N),S.call(this,N,R,null)}else _.call(this,N)});let j=x.prototype.toggleAttribute;j&&(x.prototype.toggleAttribute=function(k,N){let R=k.toLowerCase();if(b.has(R)){let $=this.getAttribute(R);j.call(this,R,N);let B=this.getAttribute(R);S.call(this,R,$,B)}else j.call(this,R,N)})},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(A=>{x.hasAttribute(A)&&b.attributeChangedCallback.call(x,A,null,x.getAttribute(A))}),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 A=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){O.push(this);let _=A.apply(S||this,arguments);return _!==void 0&&c.set(_,this),O.pop(),_}};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(A){O.push(this),S.set.call(this,A),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(...k){let N=b.call(this,...k);return x.set(N,this),N},S.forEach(k=>{let N=window.ElementInternals.prototype,R=N[k];N[k]=function(...$){let B=x.get(this);if(i.get(B).formAssociated===!0)return R?.call(this,...$);throw new DOMException(`Failed to execute ${R} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class A extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class _{constructor(N){let R=new Map;N.forEach(($,B)=>{let jr=$.getAttribute("name"),oi=R.get(jr)||[];this[+B]=$,oi.push($),R.set(jr,oi)}),this.length=N.length,R.forEach(($,B)=>{$&&($.length===1?this[B]=$[0]:this[B]=new A($))})}namedItem(N){return this[N]}}let j=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let k=j.get.call(this,[]),N=[];for(let R of k){let $=i.get(R);(!$||$.formAssociated===!0)&&N.push(R)}return new _(N)}})}}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 oo={};L(oo,{CSSResult:()=>Qe,LitElement:()=>ce,ReactiveElement:()=>re,_$LE:()=>nc,_$LH:()=>tc,adoptStyles:()=>mr,css:()=>I,defaultConverter:()=>gr,getCompatibleStyle:()=>$t,html:()=>je,isServer:()=>Td,noChange:()=>ye,notEqual:()=>Jr,nothing:()=>M,render:()=>ro,supportsAdoptingStyleSheets:()=>It,svg:()=>ec,unsafeCSS:()=>Me});var tr=globalThis,or=tr.ShadowRoot&&(tr.ShadyCSS===void 0||tr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ii=Symbol(),ni=new WeakMap,rr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ii)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(or&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=ni.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ni.set(r,e))}return e}toString(){return this.cssText}},ai=o=>new rr(typeof o=="string"?o:o+"",void 0,ii);var Kr=(o,e)=>{if(or)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=tr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},nr=or?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return ai(r)})(o):o;var{is:Ts,defineProperty:Fs,getOwnPropertyDescriptor:Ws,getOwnPropertyNames:Ms,getOwnPropertySymbols:Ds,getPrototypeOf:Us}=Object,ir=globalThis,si=ir.trustedTypes,Bs=si?si.emptyScript:"",zs=ir.reactiveElementPolyfillSupport,Ct=(o,e)=>o,Et={toAttribute(o,e){switch(e){case Boolean:o=o?Bs: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)=>!Ts(o,e),ci={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:ar};Symbol.metadata??=Symbol("metadata"),ir.litPropertyMetadata??=new WeakMap;var _e=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=ci){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&&Fs(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Ws(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ci}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;let e=Us(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){let r=this.properties,n=[...Ms(r),...Ds(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(nr(i))}else e!==void 0&&r.push(nr(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 Kr(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:Et).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),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Et;this._$Em=i,this[i]=s.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){}};_e.elementStyles=[],_e.shadowRootOptions={mode:"open"},_e[Ct("elementProperties")]=new Map,_e[Ct("finalized")]=new Map,zs?.({ReactiveElement:_e}),(ir.reactiveElementVersions??=[]).push("2.0.2");var Zr=globalThis,sr=Zr.trustedTypes,li=sr?sr.createPolicy("lit-html",{createHTML:o=>o}):void 0,Gr="$lit$",ae=`lit$${(Math.random()+"").slice(9)}$`,qr="?"+ae,Hs=`<${qr}>`,Te=document,cr=()=>Te.createComment(""),At=o=>o===null||typeof o!="object"&&typeof o!="function",mi=Array.isArray,gi=o=>mi(o)||typeof o?.[Symbol.iterator]=="function",Vr=`[
1
+ "use strict";(()=>{var Ts=Object.defineProperty;var L=(o,e)=>{for(var r in e)Ts(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,s=new WeakMap,c=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,A=new Set(b.observedAttributes||[]);m(b,A,S);let _={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:A};this._definitionsByTag.set(x,_),this._definitionsByClass.set(b,_);let j=r.call(n,x);j||(j=u(x),e.call(n,x,j)),this===window.customElements&&(s.set(b,_),_.standInClass=j);let k=this._awaitingUpgrade.get(x);if(k){this._awaitingUpgrade.delete(x);for(let R of k)a.delete(R),y(R,_,!0)}let N=this._whenDefinedPromises.get(x);return N!==void 0&&(N.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(A=>S.resolve=A),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let A=this._awaitingUpgrade.get(b);A||this._awaitingUpgrade.set(b,A=new Set),S?A.add(x):A.delete(x)}};let l;window.HTMLElement=function(){let b=l;if(b)return l=void 0,b;let S=s.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=c.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let A=h(S)||window.customElements,_=A._getDefinition(x);return _?y(S,_):a.set(S,A),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 A=x.prototype.setAttribute;A&&(x.prototype.setAttribute=function(k,N){let R=k.toLowerCase();if(b.has(R)){let $=this.getAttribute(R);A.call(this,R,N),S.call(this,R,$,N)}else A.call(this,R,N)});let _=x.prototype.removeAttribute;_&&(x.prototype.removeAttribute=function(k){let N=k.toLowerCase();if(b.has(N)){let R=this.getAttribute(N);_.call(this,N),S.call(this,N,R,null)}else _.call(this,N)});let j=x.prototype.toggleAttribute;j&&(x.prototype.toggleAttribute=function(k,N){let R=k.toLowerCase();if(b.has(R)){let $=this.getAttribute(R);j.call(this,R,N);let B=this.getAttribute(R);S.call(this,R,$,B)}else j.call(this,R,N)})},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(A=>{x.hasAttribute(A)&&b.attributeChangedCallback.call(x,A,null,x.getAttribute(A))}),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 A=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){O.push(this);let _=A.apply(S||this,arguments);return _!==void 0&&c.set(_,this),O.pop(),_}};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(A){O.push(this),S.set.call(this,A),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(...k){let N=b.call(this,...k);return x.set(N,this),N},S.forEach(k=>{let N=window.ElementInternals.prototype,R=N[k];N[k]=function(...$){let B=x.get(this);if(i.get(B).formAssociated===!0)return R?.call(this,...$);throw new DOMException(`Failed to execute ${R} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class A extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class _{constructor(N){let R=new Map;N.forEach(($,B)=>{let jr=$.getAttribute("name"),oi=R.get(jr)||[];this[+B]=$,oi.push($),R.set(jr,oi)}),this.length=N.length,R.forEach(($,B)=>{$&&($.length===1?this[B]=$[0]:this[B]=new A($))})}namedItem(N){return this[N]}}let j=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let k=j.get.call(this,[]),N=[];for(let R of k){let $=i.get(R);(!$||$.formAssociated===!0)&&N.push(R)}return new _(N)}})}}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 oo={};L(oo,{CSSResult:()=>Qe,LitElement:()=>ce,ReactiveElement:()=>re,_$LE:()=>ic,_$LH:()=>rc,adoptStyles:()=>mr,css:()=>I,defaultConverter:()=>gr,getCompatibleStyle:()=>$t,html:()=>je,isServer:()=>Fd,noChange:()=>ye,notEqual:()=>Jr,nothing:()=>M,render:()=>ro,supportsAdoptingStyleSheets:()=>It,svg:()=>tc,unsafeCSS:()=>Me});var tr=globalThis,or=tr.ShadowRoot&&(tr.ShadyCSS===void 0||tr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ii=Symbol(),ni=new WeakMap,rr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ii)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(or&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=ni.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ni.set(r,e))}return e}toString(){return this.cssText}},ai=o=>new rr(typeof o=="string"?o:o+"",void 0,ii);var Kr=(o,e)=>{if(or)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=tr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},nr=or?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return ai(r)})(o):o;var{is:Fs,defineProperty:Ws,getOwnPropertyDescriptor:Ms,getOwnPropertyNames:Ds,getOwnPropertySymbols:Us,getPrototypeOf:Bs}=Object,ir=globalThis,si=ir.trustedTypes,zs=si?si.emptyScript:"",Hs=ir.reactiveElementPolyfillSupport,Ct=(o,e)=>o,Et={toAttribute(o,e){switch(e){case Boolean:o=o?zs: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)=>!Fs(o,e),ci={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:ar};Symbol.metadata??=Symbol("metadata"),ir.litPropertyMetadata??=new WeakMap;var _e=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=ci){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&&Ws(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Ms(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ci}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;let e=Bs(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){let r=this.properties,n=[...Ds(r),...Us(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(nr(i))}else e!==void 0&&r.push(nr(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 Kr(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:Et).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),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Et;this._$Em=i,this[i]=s.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){}};_e.elementStyles=[],_e.shadowRootOptions={mode:"open"},_e[Ct("elementProperties")]=new Map,_e[Ct("finalized")]=new Map,Hs?.({ReactiveElement:_e}),(ir.reactiveElementVersions??=[]).push("2.0.2");var Zr=globalThis,sr=Zr.trustedTypes,li=sr?sr.createPolicy("lit-html",{createHTML:o=>o}):void 0,Gr="$lit$",ae=`lit$${(Math.random()+"").slice(9)}$`,qr="?"+ae,js=`<${qr}>`,Te=document,cr=()=>Te.createComment(""),At=o=>o===null||typeof o!="object"&&typeof o!="function",mi=Array.isArray,gi=o=>mi(o)||typeof o?.[Symbol.iterator]=="function",Vr=`[
2
2
  \f\r]`,Nt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,di=/-->/g,fi=/>/g,ke=RegExp(`>|${Vr}(?:([^\\s"'>=/]+)(${Vr}*=${Vr}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),pi=/'/g,ui=/"/g,yi=/^(?:script|style|textarea|title)$/i,bi=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),xi=bi(1),vi=bi(2),Z=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),hi=new WeakMap,Le=Te.createTreeWalker(Te,129);function Si(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return li!==void 0?li.createHTML(e):e}var Oi=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",s=Nt;for(let c=0;c<r;c++){let l=o[c],f,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===Nt?h[1]==="!--"?s=di:h[1]!==void 0?s=fi:h[2]!==void 0?(yi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ke):h[3]!==void 0&&(s=ke):s===ke?h[0]===">"?(s=i??Nt,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?ke:h[3]==='"'?ui:pi):s===ui||s===pi?s=ke:s===di||s===fi?s=Nt:(s=ke,i=void 0);let g=s===ke&&o[c+1].startsWith("/>")?" ":"";a+=s===Nt?l+Hs:u>=0?(n.push(f),l.slice(0,u)+Gr+l.slice(u)+ae+g):l+ae+(u===-2?c:g)}return[Si(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},Rt=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[f,h]=Oi(e,r);if(this.el=o.createElement(f,n),Le.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=Le.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Gr)){let m=h[s++],g=i.getAttribute(u).split(ae),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?dr:y[1]==="?"?fr:y[1]==="@"?pr:We}),i.removeAttribute(u)}else u.startsWith(ae)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(yi.test(i.tagName)){let u=i.textContent.split(ae),m=u.length-1;if(m>0){i.textContent=sr?sr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],cr()),Le.nextNode(),l.push({type:2,index:++a});i.append(u[m],cr())}}}else if(i.nodeType===8)if(i.data===qr)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(ae,u+1))!==-1;)l.push({type:7,index:a}),u+=ae.length-1}a++}}static createElement(e,r){let n=Te.createElement("template");return n.innerHTML=e,n}};function Fe(o,e,r=o,n){if(e===Z)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=At(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=Fe(o,i._$AS(o,e.values),i,n)),e}var lr=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??Te).importNode(r,!0);Le.currentNode=i;let a=Le.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new Pt(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new ur(a,this,e)),this._$AV.push(f),l=n[++c]}s!==l?.index&&(a=Le.nextNode(),s++)}return Le.currentNode=Te,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++}},Pt=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=Fe(this,e,r),At(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==Z&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):gi(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&&At(this._$AH)?this._$AA.nextSibling.data=e:this.$(Te.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=Rt.createElement(Si(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new lr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=hi.get(e.strings);return r===void 0&&hi.set(e.strings,r=new Rt(e)),r}T(e){mi(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(cr()),this.k(cr()),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))}},We=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,s=!1;if(a===void 0)e=Fe(this,e,r,0),s=!At(e)||e!==this._$AH&&e!==Z,s&&(this._$AH=e);else{let c=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=Fe(this,c[n+l],r,l),f===Z&&(f=this._$AH[l]),s||=!At(f)||f!==this._$AH[l],f===W?e=W:e!==W&&(e+=(f??"")+a[l+1]),this._$AH[l]=f}s&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},dr=class extends We{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},fr=class extends We{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},pr=class extends We{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Fe(this,e,r,0)??W)===Z)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)}},ur=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){Fe(this,e)}},wi={j:Gr,P:ae,A:qr,C:1,M:Oi,L:lr,R:gi,V:Fe,D:Pt,I:We,H:fr,N:pr,U:dr,B:ur},js=Zr.litHtmlPolyfillSupport;js?.(Rt,Pt),(Zr.litHtmlVersions??=[]).push("3.1.0");var hr=globalThis,It=hr.ShadowRoot&&(hr.ShadyCSS===void 0||hr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Yr=Symbol(),Ci=new WeakMap,Qe=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Yr)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(It&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ci.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ci.set(r,e))}return e}toString(){return this.cssText}},Me=o=>new Qe(typeof o=="string"?o:o+"",void 0,Yr),I=(o,...e)=>{let r=o.length===1?o[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new Qe(r,o,Yr)},mr=(o,e)=>{if(It)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=hr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},$t=It?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Me(r)})(o):o;var{is:Ks,defineProperty:Vs,getOwnPropertyDescriptor:Zs,getOwnPropertyNames:Gs,getOwnPropertySymbols:qs,getPrototypeOf:Ys}=Object,yr=globalThis,Ei=yr.trustedTypes,Js=Ei?Ei.emptyScript:"",Xs=yr.reactiveElementPolyfillSupport,_t=(o,e)=>o,gr={toAttribute(o,e){switch(e){case Boolean:o=o?Js: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}},Jr=(o,e)=>!Ks(o,e),Ni={attribute:!0,type:String,converter:gr,reflect:!1,hasChanged:Jr};Symbol.metadata??=Symbol("metadata"),yr.litPropertyMetadata??=new WeakMap;var re=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=Ni){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&&Vs(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Zs(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ni}static _$Ei(){if(this.hasOwnProperty(_t("elementProperties")))return;let e=Ys(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(_t("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(_t("properties"))){let r=this.properties,n=[...Gs(r),...qs(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($t(i))}else e!==void 0&&r.push($t(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 mr(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:gr).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),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:gr;this._$Em=i,this[i]=s.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??Jr)(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){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[_t("elementProperties")]=new Map,re[_t("finalized")]=new Map,Xs?.({ReactiveElement:re}),(yr.reactiveElementVersions??=[]).push("2.0.2");var Qr=globalThis,br=Qr.trustedTypes,Ai=br?br.createPolicy("lit-html",{createHTML:o=>o}):void 0,eo="$lit$",se=`lit$${(Math.random()+"").slice(9)}$`,to="?"+se,Qs=`<${to}>`,Be=document,Lt=()=>Be.createComment(""),Tt=o=>o===null||typeof o!="object"&&typeof o!="function",ki=Array.isArray,Li=o=>ki(o)||typeof o?.[Symbol.iterator]=="function",Xr=`[
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),pi=/'/g,ui=/"/g,yi=/^(?:script|style|textarea|title)$/i,bi=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),xi=bi(1),vi=bi(2),Z=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),hi=new WeakMap,Le=Te.createTreeWalker(Te,129);function Si(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return li!==void 0?li.createHTML(e):e}var Oi=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",s=Nt;for(let c=0;c<r;c++){let l=o[c],f,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===Nt?h[1]==="!--"?s=di:h[1]!==void 0?s=fi:h[2]!==void 0?(yi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ke):h[3]!==void 0&&(s=ke):s===ke?h[0]===">"?(s=i??Nt,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?ke:h[3]==='"'?ui:pi):s===ui||s===pi?s=ke:s===di||s===fi?s=Nt:(s=ke,i=void 0);let g=s===ke&&o[c+1].startsWith("/>")?" ":"";a+=s===Nt?l+js:u>=0?(n.push(f),l.slice(0,u)+Gr+l.slice(u)+ae+g):l+ae+(u===-2?c:g)}return[Si(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},Rt=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[f,h]=Oi(e,r);if(this.el=o.createElement(f,n),Le.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=Le.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Gr)){let m=h[s++],g=i.getAttribute(u).split(ae),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?dr:y[1]==="?"?fr:y[1]==="@"?pr:We}),i.removeAttribute(u)}else u.startsWith(ae)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(yi.test(i.tagName)){let u=i.textContent.split(ae),m=u.length-1;if(m>0){i.textContent=sr?sr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],cr()),Le.nextNode(),l.push({type:2,index:++a});i.append(u[m],cr())}}}else if(i.nodeType===8)if(i.data===qr)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(ae,u+1))!==-1;)l.push({type:7,index:a}),u+=ae.length-1}a++}}static createElement(e,r){let n=Te.createElement("template");return n.innerHTML=e,n}};function Fe(o,e,r=o,n){if(e===Z)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=At(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=Fe(o,i._$AS(o,e.values),i,n)),e}var lr=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??Te).importNode(r,!0);Le.currentNode=i;let a=Le.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new Pt(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new ur(a,this,e)),this._$AV.push(f),l=n[++c]}s!==l?.index&&(a=Le.nextNode(),s++)}return Le.currentNode=Te,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++}},Pt=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=Fe(this,e,r),At(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==Z&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):gi(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&&At(this._$AH)?this._$AA.nextSibling.data=e:this.$(Te.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=Rt.createElement(Si(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new lr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=hi.get(e.strings);return r===void 0&&hi.set(e.strings,r=new Rt(e)),r}T(e){mi(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(cr()),this.k(cr()),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))}},We=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,s=!1;if(a===void 0)e=Fe(this,e,r,0),s=!At(e)||e!==this._$AH&&e!==Z,s&&(this._$AH=e);else{let c=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=Fe(this,c[n+l],r,l),f===Z&&(f=this._$AH[l]),s||=!At(f)||f!==this._$AH[l],f===W?e=W:e!==W&&(e+=(f??"")+a[l+1]),this._$AH[l]=f}s&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},dr=class extends We{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},fr=class extends We{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},pr=class extends We{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Fe(this,e,r,0)??W)===Z)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)}},ur=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){Fe(this,e)}},wi={j:Gr,P:ae,A:qr,C:1,M:Oi,L:lr,R:gi,V:Fe,D:Pt,I:We,H:fr,N:pr,U:dr,B:ur},Ks=Zr.litHtmlPolyfillSupport;Ks?.(Rt,Pt),(Zr.litHtmlVersions??=[]).push("3.1.0");var hr=globalThis,It=hr.ShadowRoot&&(hr.ShadyCSS===void 0||hr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Yr=Symbol(),Ci=new WeakMap,Qe=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Yr)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(It&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ci.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ci.set(r,e))}return e}toString(){return this.cssText}},Me=o=>new Qe(typeof o=="string"?o:o+"",void 0,Yr),I=(o,...e)=>{let r=o.length===1?o[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new Qe(r,o,Yr)},mr=(o,e)=>{if(It)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=hr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},$t=It?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Me(r)})(o):o;var{is:Vs,defineProperty:Zs,getOwnPropertyDescriptor:Gs,getOwnPropertyNames:qs,getOwnPropertySymbols:Ys,getPrototypeOf:Js}=Object,yr=globalThis,Ei=yr.trustedTypes,Xs=Ei?Ei.emptyScript:"",Qs=yr.reactiveElementPolyfillSupport,_t=(o,e)=>o,gr={toAttribute(o,e){switch(e){case Boolean:o=o?Xs: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}},Jr=(o,e)=>!Vs(o,e),Ni={attribute:!0,type:String,converter:gr,reflect:!1,hasChanged:Jr};Symbol.metadata??=Symbol("metadata"),yr.litPropertyMetadata??=new WeakMap;var re=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=Ni){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&&Zs(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Gs(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ni}static _$Ei(){if(this.hasOwnProperty(_t("elementProperties")))return;let e=Js(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(_t("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(_t("properties"))){let r=this.properties,n=[...qs(r),...Ys(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($t(i))}else e!==void 0&&r.push($t(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 mr(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:gr).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),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:gr;this._$Em=i,this[i]=s.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??Jr)(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){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[_t("elementProperties")]=new Map,re[_t("finalized")]=new Map,Qs?.({ReactiveElement:re}),(yr.reactiveElementVersions??=[]).push("2.0.2");var Qr=globalThis,br=Qr.trustedTypes,Ai=br?br.createPolicy("lit-html",{createHTML:o=>o}):void 0,eo="$lit$",se=`lit$${(Math.random()+"").slice(9)}$`,to="?"+se,ec=`<${to}>`,Be=document,Lt=()=>Be.createComment(""),Tt=o=>o===null||typeof o!="object"&&typeof o!="function",ki=Array.isArray,Li=o=>ki(o)||typeof o?.[Symbol.iterator]=="function",Xr=`[
4
4
  \f\r]`,kt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ri=/-->/g,Pi=/>/g,De=RegExp(`>|${Xr}(?:([^\\s"'>=/]+)(${Xr}*=${Xr}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ii=/'/g,$i=/"/g,Ti=/^(?:script|style|textarea|title)$/i,Fi=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),je=Fi(1),ec=Fi(2),ye=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),_i=new WeakMap,Ue=Be.createTreeWalker(Be,129);function Wi(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ai!==void 0?Ai.createHTML(e):e}var Mi=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",s=kt;for(let c=0;c<r;c++){let l=o[c],f,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===kt?h[1]==="!--"?s=Ri:h[1]!==void 0?s=Pi:h[2]!==void 0?(Ti.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=De):h[3]!==void 0&&(s=De):s===De?h[0]===">"?(s=i??kt,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?De:h[3]==='"'?$i:Ii):s===$i||s===Ii?s=De:s===Ri||s===Pi?s=kt:(s=De,i=void 0);let g=s===De&&o[c+1].startsWith("/>")?" ":"";a+=s===kt?l+Qs:u>=0?(n.push(f),l.slice(0,u)+eo+l.slice(u)+se+g):l+se+(u===-2?c:g)}return[Wi(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},Ft=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[f,h]=Mi(e,r);if(this.el=o.createElement(f,n),Ue.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=Ue.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(eo)){let m=h[s++],g=i.getAttribute(u).split(se),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?vr:y[1]==="?"?Sr:y[1]==="@"?Or:He}),i.removeAttribute(u)}else u.startsWith(se)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(Ti.test(i.tagName)){let u=i.textContent.split(se),m=u.length-1;if(m>0){i.textContent=br?br.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],Lt()),Ue.nextNode(),l.push({type:2,index:++a});i.append(u[m],Lt())}}}else if(i.nodeType===8)if(i.data===to)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(se,u+1))!==-1;)l.push({type:7,index:a}),u+=se.length-1}a++}}static createElement(e,r){let n=Be.createElement("template");return n.innerHTML=e,n}};function ze(o,e,r=o,n){if(e===ye)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Tt(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=ze(o,i._$AS(o,e.values),i,n)),e}var xr=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??Be).importNode(r,!0);Ue.currentNode=i;let a=Ue.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new et(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new wr(a,this,e)),this._$AV.push(f),l=n[++c]}s!==l?.index&&(a=Ue.nextNode(),s++)}return Ue.currentNode=Be,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++}},et=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=M,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=ze(this,e,r),Tt(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==ye&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Li(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!==M&&Tt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Be.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=Ft.createElement(Wi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new xr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=_i.get(e.strings);return r===void 0&&_i.set(e.strings,r=new Ft(e)),r}T(e){ki(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(Lt()),this.k(Lt()),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))}},He=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=M,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=M}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ze(this,e,r,0),s=!Tt(e)||e!==this._$AH&&e!==ye,s&&(this._$AH=e);else{let c=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=ze(this,c[n+l],r,l),f===ye&&(f=this._$AH[l]),s||=!Tt(f)||f!==this._$AH[l],f===M?e=M:e!==M&&(e+=(f??"")+a[l+1]),this._$AH[l]=f}s&&!i&&this.O(e)}O(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},vr=class extends He{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===M?void 0:e}},Sr=class extends He{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Or=class extends He{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ze(this,e,r,0)??M)===ye)return;let n=this._$AH,i=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==M&&(n===M||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)}},wr=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){ze(this,e)}},tc={j:eo,P:se,A:to,C:1,M:Mi,L:xr,R:Li,V:ze,D:et,I:He,H:Sr,N:Or,U:vr,B:wr},rc=Qr.litHtmlPolyfillSupport;rc?.(Ft,et),(Qr.litHtmlVersions??=[]).push("3.1.0");var ro=(o,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new et(e.insertBefore(Lt(),a),a,void 0,r??{})}return i._$AI(o),i};var ce=class extends re{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=ro(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ye}};ce._$litElement$=!0,ce.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ce});var oc=globalThis.litElementPolyfillSupport;oc?.({LitElement:ce});var nc={_$AK:(o,e,r)=>{o._$AK(e,r)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Td=!1;var io={};L(io,{customElement:()=>ic,eventOptions:()=>sc,property:()=>P,query:()=>be,queryAll:()=>lc,queryAssignedElements:()=>no,queryAssignedNodes:()=>fc,queryAsync:()=>dc,standardProperty:()=>Di,state:()=>Y});var ic=o=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var ac={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:ar},Di=(o=ac,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:s}=r;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,o)},init(c){return c!==void 0&&this.C(s,void 0,o),c}}}if(n==="setter"){let{name:s}=r;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,o)}}throw Error("Unsupported decorator location: "+n)};function P(o){return(e,r)=>typeof r=="object"?Di(o,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(o,e,r)}function Y(o){return P({...o,state:!0,attribute:!1})}function sc(o){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,o)}}var Q=(o,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,r),r);function be(o,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(o)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let l=Symbol();return{get(){return this[l]},set(f){this[l]=f}}})();return Q(r,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return Q(r,n,{get(){return a(this)}})}}var cc;function lc(o){return(e,r)=>Q(e,r,{get(){return(this.renderRoot??(cc??=document.createDocumentFragment())).querySelectorAll(o)}})}function dc(o){return(e,r)=>Q(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function no(o){return(e,r)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(o)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function fc(o){return(e,r)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var ao={};L(ao,{repeat:()=>hc});var xe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ve=o=>(...e)=>({_$litDirective$:o,values:e}),oe=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:pc}=wi;var Ui=()=>document.createComment(""),tt=(o,e,r)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Ui(),i),s=n.insertBefore(Ui(),i);r=new pc(a,s,o,o.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==o;if(c){let l;r._$AQ?.(o),r._$AM=o,r._$AP!==void 0&&(l=o._$AU)!==s._$AU&&r._$AP(l)}if(a!==i||c){let l=r._$AA;for(;l!==a;){let f=l.nextSibling;n.insertBefore(l,i),l=f}}}return r},Se=(o,e,r=o)=>(o._$AI(e,r),o),uc={},Bi=(o,e=uc)=>o._$AH=e,zi=o=>o._$AH,Cr=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 Hi=(o,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(o[i],i);return n},hc=ve(class extends oe{constructor(o){if(super(o),o.type!==xe.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=[],s=0;for(let c of o)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(o,e,r){return this.ht(o,e,r).values}update(o,[e,r,n]){let i=zi(o),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],f,h,u=0,m=i.length-1,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[g])l[g]=Se(i[u],a[g]),u++,g++;else if(c[m]===s[y])l[y]=Se(i[m],a[y]),m--,y--;else if(c[u]===s[y])l[y]=Se(i[u],a[y]),tt(o,l[y+1],i[u]),u++,y--;else if(c[m]===s[g])l[g]=Se(i[m],a[g]),tt(o,i[u],i[m]),m--,g++;else if(f===void 0&&(f=Hi(s,g,y),h=Hi(c,u,m)),f.has(c[u]))if(f.has(c[m])){let v=h.get(s[g]),O=v!==void 0?i[v]:null;if(O===null){let w=tt(o,i[u]);Se(w,a[g]),l[g]=w}else l[g]=Se(O,a[g]),tt(o,i[u],O),i[v]=null;g++}else Cr(i[m]),m--;else Cr(i[u]),u++;for(;g<=y;){let v=tt(o,l[y+1]);Se(v,a[g]),l[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&Cr(v)}return this.dt=s,Bi(o,l),Z}});var so={};L(so,{classMap:()=>Wt});var Wt=ve(class extends oe{constructor(o){if(super(o),o.type!==xe.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 Z}});var co={};L(co,{styleMap:()=>gc});var ji="important",mc=" !"+ji,gc=ve(class extends oe{constructor(o){if(super(o),o.type!==xe.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(mc);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ji:""):r[n]=i}}return Z}});var lo={};L(lo,{UnsafeHTMLDirective:()=>rt,unsafeHTML:()=>yc});var rt=class extends oe{constructor(e){if(super(e),this.et=W,e.type!==xe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===W||e==null)return this.vt=void 0,this.et=e;if(e===Z)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:[]}}};rt.directiveName="unsafeHTML",rt.resultType=1;var yc=ve(rt);var ho={};L(ho,{CacheRegistry:()=>uo});var po={};L(po,{CancelablePromise:()=>ot,CanceledPromiseError:()=>Mt,cancelable:()=>fo});var Mt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},ot=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Mt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Mt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},fo=o=>new ot((e,r)=>o.then(e).catch(r));var uo=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 ot&&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=fo(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 go={};L(go,{ClusteringHelper:()=>mo});var mo=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(s=>s.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 s=o.extractResultMetadata(this.selectedResult,e),c=(i=s?.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:c,value:void 0,displayValue:n}).filter(f=>f.value!=s?.value).filter((f,h,u)=>u.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),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(r,i,{numeric:!0});return c?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)],s,c=-1;for(let l of n){let f=this.countMatchingMetadata(l,a);if(f>c&&(c=f,s=l,f===a.length))break}return s}countMatchingMetadata(e,r){return o.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var yo={};L(yo,{Debouncer:()=>Oe});var Oe=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 s of n)try{await s()}catch(c){i(c);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 vo={};L(vo,{customElement:()=>we,isNumber:()=>qi,jsonProperty:()=>xo,optionalNumberProperty:()=>Cc});var bo={};L(bo,{dateReviver:()=>xc,deepEqual:()=>Dt,delay:()=>Ki,eventPathContainsMatchingElement:()=>Sc,flatDeep:()=>Zi,hasChanged:()=>Ut,last:()=>wc,minmax:()=>Oc,parseDate:()=>Gi,waitFor:()=>Vi,waitUntil:()=>bc});var Ki=o=>new Promise(e=>setTimeout(e,o));async function bc(o,e=10,r=2e4){await Vi(async()=>await o()||void 0,e,r)}async function Vi(o,e=10,r=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Ki(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Zi(o,e){return o.flatMap(r=>[r,...Zi(e(r),e)])}function xc(...o){return function(e,r){return o.includes(e)?Gi(r):r}}function Gi(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 vc(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(!Dt(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(!Dt(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(!Dt(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function Dt(o,e){try{return vc(o,e)}catch{return!1}}function Ut(o,e){return!Dt(o,e)}function Sc(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 Oc(o,e,r){return Math.min(Math.max(o,e),r)}function wc(o){return o[o.length-1]}var we=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function xo(o,e){let r=()=>JSON.parse(JSON.stringify(o));return P({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ut,...e??{}})}function Cc(o){return P({type:Object,converter:{fromAttribute:e=>{if(e!=null)return qi(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function qi(o){return!isNaN(parseFloat(o))}var qo={};L(qo,{designSystemVariables:()=>D});var Go={};L(Go,{DesignSystemFamily:()=>zt,DesignSystemSize:()=>Ht,FtCssVariableFactory:()=>t,badge:()=>Ic,banner:()=>Pc,breadcrumb:()=>$c,button:()=>Nc,chart:()=>jc,checkbox:()=>Vc,chip:()=>Ac,collapsible:()=>zc,comboboxMultiSelect:()=>Uc,comboboxSingleSelect:()=>Dc,drawer:()=>Lc,floatingMenu:()=>Mc,foundation:()=>d,link:()=>Rc,modal:()=>kc,notice:()=>Kc,notification:()=>qc,pageHeader:()=>_c,popover:()=>Bc,radio:()=>Gc,resolveFamilyClass:()=>Vo,resolveSizeClass:()=>Zo,semantic:()=>p,setVariable:()=>Yi,switch_:()=>Hc,tabs:()=>Tc,textArea:()=>Wc,textInput:()=>Fc,toggle:()=>Zc,tooltip:()=>Yc,typographies:()=>Bt,typographyBody1Medium:()=>No,typographyBody1Regular:()=>Eo,typographyBody1Semibold:()=>Ao,typographyBody2Medium:()=>Po,typographyBody2MediumUnderline:()=>Ji,typographyBody2Regular:()=>Ro,typographyBody2Semibold:()=>Io,typographyCaption1Bold:()=>Do,typographyCaption1Medium:()=>Wo,typographyCaption1Semibold:()=>Mo,typographyCaption2Bold:()=>zo,typographyCaption2Medium:()=>Uo,typographyCaption2Semibold:()=>Bo,typographyCaption3Bold:()=>Ko,typographyCaption3Medium:()=>Ho,typographyCaption3Semibold:()=>jo,typographyDisplay:()=>So,typographyLabel1Bold:()=>ko,typographyLabel1Medium:()=>$o,typographyLabel1Semibold:()=>_o,typographyLabel2Bold:()=>Fo,typographyLabel2Medium:()=>Lo,typographyLabel2Semibold:()=>To,typographyTitle1:()=>Oo,typographyTitle2:()=>wo,typographyTitle3:()=>Co,typographyVariants:()=>Ec});var le=o=>typeof o=="string"?Me(o):o,t=class{static create(e,r,n,i){let a=c=>le(c??i),s=I`var(${le(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${le(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=I`var(${le(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${le(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):le(a??e.lastResortDefaultValue()),i=I`var(${le(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=>I`var(${le(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Yi(o,e){return le(`${o.name}: ${e}`)}var d={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)")},So={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")},Oo={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")},wo={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")},Co={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")},Eo={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")},No={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")},Ao={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")},Ro={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")},Po={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")},Ji={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")},Io={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")},$o={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")},_o={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")},ko={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")},Lo={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")},To={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")},Fo={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")},Wo={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")},Mo={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")},Do={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")},Uo={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")},Bo={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")},zo={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")},Ho={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")},jo={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")},Ko={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")},Bt={display:So,"title-1":Oo,"title-2":wo,"title-3":Co,"body-1-regular":Eo,"body-1-medium":No,"body-1-semibold":Ao,"body-2-regular":Ro,"body-2-medium":Po,"body-2-medium-underline":Ji,"body-2-semibold":Io,"label-1-medium":$o,"label-1-semibold":_o,"label-1-bold":ko,"label-2-medium":Lo,"label-2-semibold":To,"label-2-bold":Fo,"caption-1-medium":Wo,"caption-1-semibold":Mo,"caption-1-bold":Do,"caption-2-medium":Uo,"caption-2-semibold":Bo,"caption-2-bold":zo,"caption-3-medium":Ho,"caption-3-semibold":jo,"caption-3-bold":Ko},Ec=["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 p={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var Nc={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:t.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",d.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","",d.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",d.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","",d.spacing2),smallGap:t.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",d.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","",d.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","",d.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var Ac={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:t.extend("--ft-chip-large-gap","",d.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","",d.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",d.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","",d.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:t.extend("--ft-chip-small-gap","",d.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","",d.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Rc={focusOpacity:t.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:t.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:t.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:t.extend("--ft-link-info-color","",p.contentInfoPrimary)};var Pc={iconSize:t.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Ic={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:t.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",p.contentActionPrimary)};var $c={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var _c={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var kc={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","",d.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:t.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:t.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",d.borderRadiusM)};var Lc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:t.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)};var Tc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:t.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:t.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Fc={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",p.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","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Wc={backgroundColor:t.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",p.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","",d.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var Mc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var Dc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var Uc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.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","",d.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var Bc={backgroundColor:t.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:t.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:t.extend("--ft-popover-gap","",d.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",d.shadowElevation02)};var zc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:t.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Hc={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:t.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:t.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:t.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var jc={color1Light:t.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",d.colorRed40),color5Base:t.extend("--ft-chart-5-base","",d.colorRed60),color6Light:t.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",d.colorGray50),color10Base:t.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Kc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:t.extend("--ft-notice-gap","",d.spacing2),iconSize:t.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var Vc={color:t.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",p.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","",d.spacing3)};var Zc={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:t.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",d.spacing3)};var Gc={color:t.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",p.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","",d.spacing3)};var qc={iconSize:t.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",d.spacing8)};var Yc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:t.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:t.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",d.spacing05)};var zt;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(zt||(zt={}));var Ht;(function(o){o.large="large",o.medium="medium",o.small="small"})(Ht||(Ht={}));function Vo(o){return`ftds--family-${o}`}function Zo(o){return`ftds--size-${o}`}var D={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 Qo={};L(Qo,{FtNotificationEvent:()=>Yo,PostResizeEvent:()=>Xo,PreResizeEvent:()=>Jo});var Yo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Jo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Xo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var fn={};L(fn,{computeOffsetPosition:()=>ml});var Qi=["top","right","bottom","left"],Xi=["start","end"],tn=Qi.reduce((o,e)=>o.concat(e,e+"-"+Xi[0],e+"-"+Xi[1]),[]),jt=Math.min,Ce=Math.max,Kt=Math.round;var de=o=>({x:o,y:o}),Jc={left:"right",right:"left",bottom:"top",top:"bottom"},Xc={start:"end",end:"start"};function rn(o,e,r){return Ce(o,jt(e,r))}function Er(o,e){return typeof o=="function"?o(e):o}function nt(o){return o.split("-")[0]}function Ee(o){return o.split("-")[1]}function on(o){return o==="x"?"y":"x"}function nn(o){return o==="y"?"height":"width"}function Nr(o){return["top","bottom"].includes(nt(o))?"y":"x"}function an(o){return on(Nr(o))}function ea(o,e,r){r===void 0&&(r=!1);let n=Ee(o),i=an(o),a=nn(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=en(s)),[s,en(s)]}function ta(o){return o.replace(/start|end/g,e=>Xc[e])}function en(o){return o.replace(/left|right|bottom|top/g,e=>Jc[e])}function Qc(o){return{top:0,right:0,bottom:0,left:0,...o}}function ra(o){return typeof o!="number"?Qc(o):{top:o,right:o,bottom:o,left:o}}function Ke(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function oa(o,e,r){let{reference:n,floating:i}=o,a=Nr(e),s=an(e),c=nn(s),l=nt(e),f=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/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:u};break;case"left":g={x:n.x-i.width,y:u};break;default:g={x:n.x,y:n.y}}switch(Ee(e)){case"start":g[s]-=m*(r&&f?-1:1);break;case"end":g[s]+=m*(r&&f?-1:1);break}return g}var na=async(o,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:u}=oa(f,n,l),m=n,g={},y=0;for(let v=0;v<c.length;v++){let{name:O,fn:w}=c[v],{x:C,y:x,data:b,reset:S}=await w({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:s,elements:{reference:o,floating:e}});if(h=C??h,u=x??u,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 s.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:u}=oa(f,m,l)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function sn(o,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=Er(e,o),y=ra(g),O=c[m?u==="floating"?"reference":"floating":u],w=Ke(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(c.floating)),boundary:f,rootBoundary:h,strategy:l})),C=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.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=Ke(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 el(o,e,r){return(o?[...r.filter(i=>Ee(i)===o),...r.filter(i=>Ee(i)!==o)]:r.filter(i=>nt(i)===i)).filter(i=>o?Ee(i)===o||(e?ta(i)!==i:!1):!0)}var cn=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:f}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:m=tn,autoAlignment:g=!0,...y}=Er(o,e),v=u!==void 0||m===tn?el(u||null,g,m):m,O=await sn(e,y),w=((r=s.autoPlacement)==null?void 0:r.index)||0,C=v[w];if(C==null)return{};let x=ea(C,a,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(c!==C)return{reset:{placement:v[0]}};let b=[O[nt(C)],O[x[0]],O[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],A=v[w+1];if(A)return{data:{index:w+1,overflows:S},reset:{placement:A}};let _=S.map(N=>{let R=Ee(N.placement);return[N.placement,R&&h?N.overflows.slice(0,2).reduce(($,B)=>$+B,0):N.overflows[0],N.overflows]}).sort((N,R)=>N[1]-R[1]),k=((i=_.filter(N=>N[2].slice(0,Ee(N[0])?2:3).every(R=>R<=0))[0])==null?void 0:i[0])||_[0][0];return k!==c?{data:{index:w+1,overflows:S},reset:{placement:k}}:{}}}};var ln=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:s=!1,limiter:c={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...l}=Er(o,e),f={x:r,y:n},h=await sn(e,l),u=Nr(nt(i)),m=on(u),g=f[m],y=f[u];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],x=g-h[w];g=rn(C,g,x)}if(s){let O=u==="y"?"top":"left",w=u==="y"?"bottom":"right",C=y+h[O],x=y-h[w];y=rn(C,y,x)}let v=c.fn({...e,[m]:g,[u]:y});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function fe(o){return aa(o)?(o.nodeName||"").toLowerCase():"#document"}function K(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function pe(o){var e;return(e=(aa(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function aa(o){return o instanceof Node||o instanceof K(o).Node}function ne(o){return o instanceof Element||o instanceof K(o).Element}function ee(o){return o instanceof HTMLElement||o instanceof K(o).HTMLElement}function ia(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof K(o).ShadowRoot}function it(o){let{overflow:e,overflowX:r,overflowY:n,display:i}=G(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function sa(o){return["table","td","th"].includes(fe(o))}function Rr(o){let e=Pr(),r=G(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 ca(o){let e=Ve(o);for(;ee(e)&&!Vt(e);){if(Rr(e))return e;e=Ve(e)}return null}function Pr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Vt(o){return["html","body","#document"].includes(fe(o))}function G(o){return K(o).getComputedStyle(o)}function Zt(o){return ne(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Ve(o){if(fe(o)==="html")return o;let e=o.assignedSlot||o.parentNode||ia(o)&&o.host||pe(o);return ia(e)?e.host:e}function la(o){let e=Ve(o);return Vt(e)?o.ownerDocument?o.ownerDocument.body:o.body:ee(e)&&it(e)?e:la(e)}function Ar(o,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=la(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),s=K(i);return a?e.concat(s,s.visualViewport||[],it(i)?i:[],s.frameElement&&r?Ar(s.frameElement):[]):e.concat(i,Ar(i,[],r))}function pa(o){let e=G(o),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ee(o),a=i?o.offsetWidth:r,s=i?o.offsetHeight:n,c=Kt(r)!==a||Kt(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function ua(o){return ne(o)?o:o.contextElement}function at(o){let e=ua(o);if(!ee(e))return de(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=pa(e),s=(a?Kt(r.width):r.width)/n,c=(a?Kt(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var tl=de(0);function ha(o){let e=K(o);return!Pr()||!e.visualViewport?tl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function rl(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==K(o)?!1:e}function Gt(o,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=o.getBoundingClientRect(),a=ua(o),s=de(1);e&&(n?ne(n)&&(s=at(n)):s=at(o));let c=rl(a,r,n)?ha(a):de(0),l=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=K(a),g=n&&ne(n)?K(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=at(y),O=y.getBoundingClientRect(),w=G(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,u*=v.y,l+=C,f+=x,y=K(y).frameElement}}return Ke({width:h,height:u,x:l,y:f})}function ol(o){let{rect:e,offsetParent:r,strategy:n}=o,i=ee(r),a=pe(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=de(1),l=de(0);if((i||!i&&n!=="fixed")&&((fe(r)!=="body"||it(a))&&(s=Zt(r)),ee(r))){let f=Gt(r);c=at(r),l.x=f.x+r.clientLeft,l.y=f.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function nl(o){return Array.from(o.getClientRects())}function ma(o){return Gt(pe(o)).left+Zt(o).scrollLeft}function il(o){let e=pe(o),r=Zt(o),n=o.ownerDocument.body,i=Ce(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ce(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+ma(o),c=-r.scrollTop;return G(n).direction==="rtl"&&(s+=Ce(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function al(o,e){let r=K(o),n=pe(o),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let f=Pr();(!f||f&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function sl(o,e){let r=Gt(o,!0,e==="fixed"),n=r.top+o.clientTop,i=r.left+o.clientLeft,a=ee(o)?at(o):de(1),s=o.clientWidth*a.x,c=o.clientHeight*a.y,l=i*a.x,f=n*a.y;return{width:s,height:c,x:l,y:f}}function da(o,e,r){let n;if(e==="viewport")n=al(o,r);else if(e==="document")n=il(pe(o));else if(ne(e))n=sl(e,r);else{let i=ha(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Ke(n)}function ga(o,e){let r=Ve(o);return r===e||!ne(r)||Vt(r)?!1:G(r).position==="fixed"||ga(r,e)}function cl(o,e){let r=e.get(o);if(r)return r;let n=Ar(o,[],!1).filter(c=>ne(c)&&fe(c)!=="body"),i=null,a=G(o).position==="fixed",s=a?Ve(o):o;for(;ne(s)&&!Vt(s);){let c=G(s),l=Rr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||it(s)&&!l&&ga(o,s))?n=n.filter(h=>h!==s):i=c,s=Ve(s)}return e.set(o,n),n}function ll(o){let{element:e,boundary:r,rootBoundary:n,strategy:i}=o,s=[...r==="clippingAncestors"?cl(e,this._c):[].concat(r),n],c=s[0],l=s.reduce((f,h)=>{let u=da(e,h,i);return f.top=Ce(u.top,f.top),f.right=jt(u.right,f.right),f.bottom=jt(u.bottom,f.bottom),f.left=Ce(u.left,f.left),f},da(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function dl(o){return pa(o)}function fl(o,e,r){let n=ee(e),i=pe(e),a=r==="fixed",s=Gt(o,!0,a,e),c={scrollLeft:0,scrollTop:0},l=de(0);if(n||!n&&!a)if((fe(e)!=="body"||it(i))&&(c=Zt(e)),n){let f=Gt(e,!0,a,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&(l.x=ma(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function fa(o,e){return!ee(o)||G(o).position==="fixed"?null:e?e(o):o.offsetParent}function ya(o,e){let r=K(o);if(!ee(o))return r;let n=fa(o,e);for(;n&&sa(n)&&G(n).position==="static";)n=fa(n,e);return n&&(fe(n)==="html"||fe(n)==="body"&&G(n).position==="static"&&!Rr(n))?r:n||ca(o)||r}var pl=async function(o){let{reference:e,floating:r,strategy:n}=o,i=this.getOffsetParent||ya,a=this.getDimensions;return{reference:fl(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function ul(o){return G(o).direction==="rtl"}var Ir={convertOffsetParentRelativeRectToViewportRelativeRect:ol,getDocumentElement:pe,getClippingRect:ll,getOffsetParent:ya,getElementRects:pl,getClientRects:nl,getDimensions:dl,getScale:at,isElement:ne,isRTL:ul};var ba=(o,e,r)=>{let n=new Map,i={platform:Ir,...r},a={...i.platform,_c:n};return na(o,e,{...i,platform:a})};function xa(o){return hl(o)}function dn(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function hl(o){for(let e=o;e;e=dn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=dn(o);e;e=dn(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 ml(o,e,r){return ba(o,e,{platform:{...Ir,getOffsetParent:n=>Ir.getOffsetParent(n,xa)},middleware:[ln({crossAxis:!0}),cn({allowedPlacements:[r]})]})}var mn={};L(mn,{FtdsBase:()=>hn,toFtdsBase:()=>Na});var un={};L(un,{FtLitElement:()=>U});var pn={};L(pn,{ScopedRegistryLitElement:()=>qt});var $r=window,gl=$r.ShadowRoot&&($r.ShadyCSS===void 0||$r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,zh=Symbol();var va=(o,e)=>{gl?o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=$r.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)})};var qt=class extends ce{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 va(n,e.elementStyles),n}};var _r=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},wa,Sa=Symbol("constructorPrototype"),Oa=Symbol("constructorName"),Ca=Symbol("exportpartsDebouncer"),U=class extends qt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[wa]=new Oe(5),this[Oa]=this.constructor.name,this[Sa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Oa]&&Object.setPrototypeOf(this,this[Sa])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}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[Ca].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,s,c;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=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...y).filter(l).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};wa=Ca;_r([P()],U.prototype,"exportpartsPrefix",void 0);_r([xo([])],U.prototype,"exportpartsPrefixes",void 0);_r([P()],U.prototype,"customStylesheet",void 0);_r([Y()],U.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,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function Na(o){class e extends o{constructor(){super(...arguments),this.size=Ht.medium,this.family=zt.neutral}getDesignSystemBaseClasses(){return{[Vo(this.family)]:!0,[Zo(this.size)]:!0}}}return Ea([P()],e.prototype,"size",void 0),Ea([P()],e.prototype,"family",void 0),e}var hn=class extends Na(U){};var Aa={};var bn={};L(bn,{highlightHtml:()=>xl,highlightHtmlColorCssVariable:()=>Ra,highlightHtmlStyles:()=>bl});var Ze=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(s=>i.call(e,s)?(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,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,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"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(f=>{o.matches(f,this.exclude)?l():this.onIframeReady(f,h=>{r(f)&&(c++,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 s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)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,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(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,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),c=[],l=[],f,h,u=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;u();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>l.push(g),i)}),l.push(f);l.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var Yt=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 Ze(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 s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${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(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}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,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}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:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),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,s=n.length,c=r-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,i=l+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(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 Ze.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),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>r){if(!i(s.node))return!1;let f=r-s.start,h=(n>s.end?s.end:n)-s.start,u=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=u+m,e.nodes.forEach((g,y)=>{y>=c&&(e.nodes[y].start>0&&y!==c&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let f;for(;(f=e.exec(l.textContent))!==null&&f[s]!=="";){if(!n(f[s],l))continue;let h=f.index;if(s!==0)for(let u=1;u<s;u++)h+=f[u].length;l=this.wrapRangeInTextNode(l,h,h+f[s].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let f=l.index;if(s!==0)for(let u=1;u<s;u++)f+=l[u].length;let h=f+l[s].length;this.wrapRangeInMappedTextNode(c,f,h,u=>n(l[s],u),(u,m)=>{e.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:f,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,f,h,m=>r(m,c,a.value.substring(f,h),l),m=>{n(m,c)})}),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=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,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:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=f=>{let h=new RegExp(this.createRegExp(f),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(n):l(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===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,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{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=Ze.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function gn(o){let e=new Yt(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 yl=gn,Ra=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),bl=I`
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ii=/'/g,$i=/"/g,Ti=/^(?:script|style|textarea|title)$/i,Fi=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),je=Fi(1),tc=Fi(2),ye=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),_i=new WeakMap,Ue=Be.createTreeWalker(Be,129);function Wi(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ai!==void 0?Ai.createHTML(e):e}var Mi=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",s=kt;for(let c=0;c<r;c++){let l=o[c],f,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===kt?h[1]==="!--"?s=Ri:h[1]!==void 0?s=Pi:h[2]!==void 0?(Ti.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=De):h[3]!==void 0&&(s=De):s===De?h[0]===">"?(s=i??kt,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?De:h[3]==='"'?$i:Ii):s===$i||s===Ii?s=De:s===Ri||s===Pi?s=kt:(s=De,i=void 0);let g=s===De&&o[c+1].startsWith("/>")?" ":"";a+=s===kt?l+ec:u>=0?(n.push(f),l.slice(0,u)+eo+l.slice(u)+se+g):l+se+(u===-2?c:g)}return[Wi(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},Ft=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[f,h]=Mi(e,r);if(this.el=o.createElement(f,n),Ue.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=Ue.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(eo)){let m=h[s++],g=i.getAttribute(u).split(se),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?vr:y[1]==="?"?Sr:y[1]==="@"?Or:He}),i.removeAttribute(u)}else u.startsWith(se)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(Ti.test(i.tagName)){let u=i.textContent.split(se),m=u.length-1;if(m>0){i.textContent=br?br.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],Lt()),Ue.nextNode(),l.push({type:2,index:++a});i.append(u[m],Lt())}}}else if(i.nodeType===8)if(i.data===to)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(se,u+1))!==-1;)l.push({type:7,index:a}),u+=se.length-1}a++}}static createElement(e,r){let n=Be.createElement("template");return n.innerHTML=e,n}};function ze(o,e,r=o,n){if(e===ye)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Tt(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=ze(o,i._$AS(o,e.values),i,n)),e}var xr=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??Be).importNode(r,!0);Ue.currentNode=i;let a=Ue.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new et(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new wr(a,this,e)),this._$AV.push(f),l=n[++c]}s!==l?.index&&(a=Ue.nextNode(),s++)}return Ue.currentNode=Be,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++}},et=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=M,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=ze(this,e,r),Tt(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==ye&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Li(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!==M&&Tt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Be.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=Ft.createElement(Wi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new xr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=_i.get(e.strings);return r===void 0&&_i.set(e.strings,r=new Ft(e)),r}T(e){ki(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(Lt()),this.k(Lt()),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))}},He=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=M,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=M}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ze(this,e,r,0),s=!Tt(e)||e!==this._$AH&&e!==ye,s&&(this._$AH=e);else{let c=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=ze(this,c[n+l],r,l),f===ye&&(f=this._$AH[l]),s||=!Tt(f)||f!==this._$AH[l],f===M?e=M:e!==M&&(e+=(f??"")+a[l+1]),this._$AH[l]=f}s&&!i&&this.O(e)}O(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},vr=class extends He{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===M?void 0:e}},Sr=class extends He{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Or=class extends He{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ze(this,e,r,0)??M)===ye)return;let n=this._$AH,i=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==M&&(n===M||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)}},wr=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){ze(this,e)}},rc={j:eo,P:se,A:to,C:1,M:Mi,L:xr,R:Li,V:ze,D:et,I:He,H:Sr,N:Or,U:vr,B:wr},oc=Qr.litHtmlPolyfillSupport;oc?.(Ft,et),(Qr.litHtmlVersions??=[]).push("3.1.0");var ro=(o,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new et(e.insertBefore(Lt(),a),a,void 0,r??{})}return i._$AI(o),i};var ce=class extends re{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=ro(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ye}};ce._$litElement$=!0,ce.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ce});var nc=globalThis.litElementPolyfillSupport;nc?.({LitElement:ce});var ic={_$AK:(o,e,r)=>{o._$AK(e,r)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Fd=!1;var io={};L(io,{customElement:()=>ac,eventOptions:()=>cc,property:()=>P,query:()=>be,queryAll:()=>dc,queryAssignedElements:()=>no,queryAssignedNodes:()=>pc,queryAsync:()=>fc,standardProperty:()=>Di,state:()=>Y});var ac=o=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var sc={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:ar},Di=(o=sc,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:s}=r;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,o)},init(c){return c!==void 0&&this.C(s,void 0,o),c}}}if(n==="setter"){let{name:s}=r;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,o)}}throw Error("Unsupported decorator location: "+n)};function P(o){return(e,r)=>typeof r=="object"?Di(o,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(o,e,r)}function Y(o){return P({...o,state:!0,attribute:!1})}function cc(o){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,o)}}var Q=(o,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,r),r);function be(o,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(o)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let l=Symbol();return{get(){return this[l]},set(f){this[l]=f}}})();return Q(r,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return Q(r,n,{get(){return a(this)}})}}var lc;function dc(o){return(e,r)=>Q(e,r,{get(){return(this.renderRoot??(lc??=document.createDocumentFragment())).querySelectorAll(o)}})}function fc(o){return(e,r)=>Q(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function no(o){return(e,r)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(o)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function pc(o){return(e,r)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var ao={};L(ao,{repeat:()=>mc});var xe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ve=o=>(...e)=>({_$litDirective$:o,values:e}),oe=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:uc}=wi;var Ui=()=>document.createComment(""),tt=(o,e,r)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Ui(),i),s=n.insertBefore(Ui(),i);r=new uc(a,s,o,o.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==o;if(c){let l;r._$AQ?.(o),r._$AM=o,r._$AP!==void 0&&(l=o._$AU)!==s._$AU&&r._$AP(l)}if(a!==i||c){let l=r._$AA;for(;l!==a;){let f=l.nextSibling;n.insertBefore(l,i),l=f}}}return r},Se=(o,e,r=o)=>(o._$AI(e,r),o),hc={},Bi=(o,e=hc)=>o._$AH=e,zi=o=>o._$AH,Cr=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 Hi=(o,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(o[i],i);return n},mc=ve(class extends oe{constructor(o){if(super(o),o.type!==xe.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=[],s=0;for(let c of o)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(o,e,r){return this.ht(o,e,r).values}update(o,[e,r,n]){let i=zi(o),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],f,h,u=0,m=i.length-1,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[g])l[g]=Se(i[u],a[g]),u++,g++;else if(c[m]===s[y])l[y]=Se(i[m],a[y]),m--,y--;else if(c[u]===s[y])l[y]=Se(i[u],a[y]),tt(o,l[y+1],i[u]),u++,y--;else if(c[m]===s[g])l[g]=Se(i[m],a[g]),tt(o,i[u],i[m]),m--,g++;else if(f===void 0&&(f=Hi(s,g,y),h=Hi(c,u,m)),f.has(c[u]))if(f.has(c[m])){let v=h.get(s[g]),O=v!==void 0?i[v]:null;if(O===null){let w=tt(o,i[u]);Se(w,a[g]),l[g]=w}else l[g]=Se(O,a[g]),tt(o,i[u],O),i[v]=null;g++}else Cr(i[m]),m--;else Cr(i[u]),u++;for(;g<=y;){let v=tt(o,l[y+1]);Se(v,a[g]),l[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&Cr(v)}return this.dt=s,Bi(o,l),Z}});var so={};L(so,{classMap:()=>Wt});var Wt=ve(class extends oe{constructor(o){if(super(o),o.type!==xe.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 Z}});var co={};L(co,{styleMap:()=>yc});var ji="important",gc=" !"+ji,yc=ve(class extends oe{constructor(o){if(super(o),o.type!==xe.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(gc);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ji:""):r[n]=i}}return Z}});var lo={};L(lo,{UnsafeHTMLDirective:()=>rt,unsafeHTML:()=>bc});var rt=class extends oe{constructor(e){if(super(e),this.et=W,e.type!==xe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===W||e==null)return this.vt=void 0,this.et=e;if(e===Z)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:[]}}};rt.directiveName="unsafeHTML",rt.resultType=1;var bc=ve(rt);var ho={};L(ho,{CacheRegistry:()=>uo});var po={};L(po,{CancelablePromise:()=>ot,CanceledPromiseError:()=>Mt,cancelable:()=>fo});var Mt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},ot=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Mt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Mt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},fo=o=>new ot((e,r)=>o.then(e).catch(r));var uo=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 ot&&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=fo(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 go={};L(go,{ClusteringHelper:()=>mo});var mo=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(s=>s.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 s=o.extractResultMetadata(this.selectedResult,e),c=(i=s?.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:c,value:void 0,displayValue:n}).filter(f=>f.value!=s?.value).filter((f,h,u)=>u.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),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(r,i,{numeric:!0});return c?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)],s,c=-1;for(let l of n){let f=this.countMatchingMetadata(l,a);if(f>c&&(c=f,s=l,f===a.length))break}return s}countMatchingMetadata(e,r){return o.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var yo={};L(yo,{Debouncer:()=>Oe});var Oe=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 s of n)try{await s()}catch(c){i(c);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 vo={};L(vo,{customElement:()=>we,isNumber:()=>qi,jsonProperty:()=>xo,optionalNumberProperty:()=>Ec});var bo={};L(bo,{dateReviver:()=>vc,deepEqual:()=>Dt,delay:()=>Ki,eventPathContainsMatchingElement:()=>Oc,flatDeep:()=>Zi,hasChanged:()=>Ut,last:()=>Cc,minmax:()=>wc,parseDate:()=>Gi,waitFor:()=>Vi,waitUntil:()=>xc});var Ki=o=>new Promise(e=>setTimeout(e,o));async function xc(o,e=10,r=2e4){await Vi(async()=>await o()||void 0,e,r)}async function Vi(o,e=10,r=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Ki(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Zi(o,e){return o.flatMap(r=>[r,...Zi(e(r),e)])}function vc(...o){return function(e,r){return o.includes(e)?Gi(r):r}}function Gi(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 Sc(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(!Dt(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(!Dt(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(!Dt(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function Dt(o,e){try{return Sc(o,e)}catch{return!1}}function Ut(o,e){return!Dt(o,e)}function Oc(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 wc(o,e,r){return Math.min(Math.max(o,e),r)}function Cc(o){return o[o.length-1]}var we=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function xo(o,e){let r=()=>JSON.parse(JSON.stringify(o));return P({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ut,...e??{}})}function Ec(o){return P({type:Object,converter:{fromAttribute:e=>{if(e!=null)return qi(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function qi(o){return!isNaN(parseFloat(o))}var qo={};L(qo,{designSystemVariables:()=>D});var Go={};L(Go,{DesignSystemFamily:()=>zt,DesignSystemSize:()=>Ht,FtCssVariableFactory:()=>t,badge:()=>$c,banner:()=>Ic,breadcrumb:()=>_c,button:()=>Ac,chart:()=>Kc,checkbox:()=>Zc,chip:()=>Rc,collapsible:()=>Hc,comboboxMultiSelect:()=>Bc,comboboxSingleSelect:()=>Uc,drawer:()=>Tc,floatingMenu:()=>Dc,foundation:()=>d,link:()=>Pc,modal:()=>Lc,notice:()=>Vc,notification:()=>Yc,pageHeader:()=>kc,popover:()=>zc,radio:()=>qc,resolveFamilyClass:()=>Vo,resolveSizeClass:()=>Zo,semantic:()=>p,setVariable:()=>Yi,switch_:()=>jc,tabs:()=>Fc,textArea:()=>Mc,textInput:()=>Wc,toggle:()=>Gc,tooltip:()=>Jc,typographies:()=>Bt,typographyBody1Medium:()=>No,typographyBody1Regular:()=>Eo,typographyBody1Semibold:()=>Ao,typographyBody2Medium:()=>Po,typographyBody2MediumUnderline:()=>Ji,typographyBody2Regular:()=>Ro,typographyBody2Semibold:()=>Io,typographyCaption1Bold:()=>Do,typographyCaption1Medium:()=>Wo,typographyCaption1Semibold:()=>Mo,typographyCaption2Bold:()=>zo,typographyCaption2Medium:()=>Uo,typographyCaption2Semibold:()=>Bo,typographyCaption3Bold:()=>Ko,typographyCaption3Medium:()=>Ho,typographyCaption3Semibold:()=>jo,typographyDisplay:()=>So,typographyLabel1Bold:()=>ko,typographyLabel1Medium:()=>$o,typographyLabel1Semibold:()=>_o,typographyLabel2Bold:()=>Fo,typographyLabel2Medium:()=>Lo,typographyLabel2Semibold:()=>To,typographyTitle1:()=>Oo,typographyTitle2:()=>wo,typographyTitle3:()=>Co,typographyVariants:()=>Nc});var le=o=>typeof o=="string"?Me(o):o,t=class{static create(e,r,n,i){let a=c=>le(c??i),s=I`var(${le(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${le(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=I`var(${le(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${le(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):le(a??e.lastResortDefaultValue()),i=I`var(${le(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=>I`var(${le(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Yi(o,e){return le(`${o.name}: ${e}`)}var d={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)")},So={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")},Oo={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")},wo={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")},Co={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")},Eo={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")},No={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")},Ao={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")},Ro={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")},Po={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")},Ji={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")},Io={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")},$o={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")},_o={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")},ko={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")},Lo={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")},To={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")},Fo={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")},Wo={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")},Mo={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")},Do={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")},Uo={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")},Bo={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")},zo={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")},Ho={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")},jo={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")},Ko={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")},Bt={display:So,"title-1":Oo,"title-2":wo,"title-3":Co,"body-1-regular":Eo,"body-1-medium":No,"body-1-semibold":Ao,"body-2-regular":Ro,"body-2-medium":Po,"body-2-medium-underline":Ji,"body-2-semibold":Io,"label-1-medium":$o,"label-1-semibold":_o,"label-1-bold":ko,"label-2-medium":Lo,"label-2-semibold":To,"label-2-bold":Fo,"caption-1-medium":Wo,"caption-1-semibold":Mo,"caption-1-bold":Do,"caption-2-medium":Uo,"caption-2-semibold":Bo,"caption-2-bold":zo,"caption-3-medium":Ho,"caption-3-semibold":jo,"caption-3-bold":Ko},Nc=["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 p={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var Ac={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:t.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",d.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","",d.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",d.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","",d.spacing2),smallGap:t.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",d.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","",d.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","",d.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var Rc={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:t.extend("--ft-chip-large-gap","",d.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","",d.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",d.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","",d.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:t.extend("--ft-chip-small-gap","",d.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","",d.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Pc={focusOpacity:t.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:t.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:t.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:t.extend("--ft-link-info-color","",p.contentInfoPrimary)};var Ic={iconSize:t.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var $c={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:t.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",p.contentActionPrimary)};var _c={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var kc={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Lc={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","",d.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:t.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:t.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",d.borderRadiusM)};var Tc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:t.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)};var Fc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:t.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:t.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Wc={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",p.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","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Mc={backgroundColor:t.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",p.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","",d.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var Dc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var Uc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var Bc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.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","",d.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var zc={backgroundColor:t.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:t.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:t.extend("--ft-popover-gap","",d.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",d.shadowElevation02)};var Hc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:t.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",d.iconSize3)};var jc={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:t.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:t.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:t.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var Kc={color1Light:t.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",d.colorRed40),color5Base:t.extend("--ft-chart-5-base","",d.colorRed60),color6Light:t.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",d.colorGray50),color10Base:t.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Vc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:t.extend("--ft-notice-gap","",d.spacing2),iconSize:t.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var Zc={color:t.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",p.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","",d.spacing3)};var Gc={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:t.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",d.spacing3)};var qc={color:t.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",p.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","",d.spacing3)};var Yc={iconSize:t.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",d.spacing8)};var Jc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:t.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:t.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",d.spacing05)};var zt;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(zt||(zt={}));var Ht;(function(o){o.large="large",o.medium="medium",o.small="small"})(Ht||(Ht={}));function Vo(o){return`ftds--family-${o}`}function Zo(o){return`ftds--size-${o}`}var D={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 Qo={};L(Qo,{FtNotificationEvent:()=>Yo,PostResizeEvent:()=>Xo,PreResizeEvent:()=>Jo});var Yo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Jo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Xo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var fn={};L(fn,{computeOffsetPosition:()=>gl});var Qi=["top","right","bottom","left"],Xi=["start","end"],tn=Qi.reduce((o,e)=>o.concat(e,e+"-"+Xi[0],e+"-"+Xi[1]),[]),jt=Math.min,Ce=Math.max,Kt=Math.round;var de=o=>({x:o,y:o}),Xc={left:"right",right:"left",bottom:"top",top:"bottom"},Qc={start:"end",end:"start"};function rn(o,e,r){return Ce(o,jt(e,r))}function Er(o,e){return typeof o=="function"?o(e):o}function nt(o){return o.split("-")[0]}function Ee(o){return o.split("-")[1]}function on(o){return o==="x"?"y":"x"}function nn(o){return o==="y"?"height":"width"}function Nr(o){return["top","bottom"].includes(nt(o))?"y":"x"}function an(o){return on(Nr(o))}function ea(o,e,r){r===void 0&&(r=!1);let n=Ee(o),i=an(o),a=nn(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=en(s)),[s,en(s)]}function ta(o){return o.replace(/start|end/g,e=>Qc[e])}function en(o){return o.replace(/left|right|bottom|top/g,e=>Xc[e])}function el(o){return{top:0,right:0,bottom:0,left:0,...o}}function ra(o){return typeof o!="number"?el(o):{top:o,right:o,bottom:o,left:o}}function Ke(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function oa(o,e,r){let{reference:n,floating:i}=o,a=Nr(e),s=an(e),c=nn(s),l=nt(e),f=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/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:u};break;case"left":g={x:n.x-i.width,y:u};break;default:g={x:n.x,y:n.y}}switch(Ee(e)){case"start":g[s]-=m*(r&&f?-1:1);break;case"end":g[s]+=m*(r&&f?-1:1);break}return g}var na=async(o,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:u}=oa(f,n,l),m=n,g={},y=0;for(let v=0;v<c.length;v++){let{name:O,fn:w}=c[v],{x:C,y:x,data:b,reset:S}=await w({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:s,elements:{reference:o,floating:e}});if(h=C??h,u=x??u,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 s.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:u}=oa(f,m,l)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function sn(o,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=Er(e,o),y=ra(g),O=c[m?u==="floating"?"reference":"floating":u],w=Ke(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(c.floating)),boundary:f,rootBoundary:h,strategy:l})),C=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.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=Ke(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 tl(o,e,r){return(o?[...r.filter(i=>Ee(i)===o),...r.filter(i=>Ee(i)!==o)]:r.filter(i=>nt(i)===i)).filter(i=>o?Ee(i)===o||(e?ta(i)!==i:!1):!0)}var cn=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:f}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:m=tn,autoAlignment:g=!0,...y}=Er(o,e),v=u!==void 0||m===tn?tl(u||null,g,m):m,O=await sn(e,y),w=((r=s.autoPlacement)==null?void 0:r.index)||0,C=v[w];if(C==null)return{};let x=ea(C,a,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(c!==C)return{reset:{placement:v[0]}};let b=[O[nt(C)],O[x[0]],O[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],A=v[w+1];if(A)return{data:{index:w+1,overflows:S},reset:{placement:A}};let _=S.map(N=>{let R=Ee(N.placement);return[N.placement,R&&h?N.overflows.slice(0,2).reduce(($,B)=>$+B,0):N.overflows[0],N.overflows]}).sort((N,R)=>N[1]-R[1]),k=((i=_.filter(N=>N[2].slice(0,Ee(N[0])?2:3).every(R=>R<=0))[0])==null?void 0:i[0])||_[0][0];return k!==c?{data:{index:w+1,overflows:S},reset:{placement:k}}:{}}}};var ln=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:s=!1,limiter:c={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...l}=Er(o,e),f={x:r,y:n},h=await sn(e,l),u=Nr(nt(i)),m=on(u),g=f[m],y=f[u];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],x=g-h[w];g=rn(C,g,x)}if(s){let O=u==="y"?"top":"left",w=u==="y"?"bottom":"right",C=y+h[O],x=y-h[w];y=rn(C,y,x)}let v=c.fn({...e,[m]:g,[u]:y});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function fe(o){return aa(o)?(o.nodeName||"").toLowerCase():"#document"}function K(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function pe(o){var e;return(e=(aa(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function aa(o){return o instanceof Node||o instanceof K(o).Node}function ne(o){return o instanceof Element||o instanceof K(o).Element}function ee(o){return o instanceof HTMLElement||o instanceof K(o).HTMLElement}function ia(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof K(o).ShadowRoot}function it(o){let{overflow:e,overflowX:r,overflowY:n,display:i}=G(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function sa(o){return["table","td","th"].includes(fe(o))}function Rr(o){let e=Pr(),r=G(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 ca(o){let e=Ve(o);for(;ee(e)&&!Vt(e);){if(Rr(e))return e;e=Ve(e)}return null}function Pr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Vt(o){return["html","body","#document"].includes(fe(o))}function G(o){return K(o).getComputedStyle(o)}function Zt(o){return ne(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Ve(o){if(fe(o)==="html")return o;let e=o.assignedSlot||o.parentNode||ia(o)&&o.host||pe(o);return ia(e)?e.host:e}function la(o){let e=Ve(o);return Vt(e)?o.ownerDocument?o.ownerDocument.body:o.body:ee(e)&&it(e)?e:la(e)}function Ar(o,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=la(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),s=K(i);return a?e.concat(s,s.visualViewport||[],it(i)?i:[],s.frameElement&&r?Ar(s.frameElement):[]):e.concat(i,Ar(i,[],r))}function pa(o){let e=G(o),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ee(o),a=i?o.offsetWidth:r,s=i?o.offsetHeight:n,c=Kt(r)!==a||Kt(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function ua(o){return ne(o)?o:o.contextElement}function at(o){let e=ua(o);if(!ee(e))return de(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=pa(e),s=(a?Kt(r.width):r.width)/n,c=(a?Kt(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var rl=de(0);function ha(o){let e=K(o);return!Pr()||!e.visualViewport?rl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ol(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==K(o)?!1:e}function Gt(o,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=o.getBoundingClientRect(),a=ua(o),s=de(1);e&&(n?ne(n)&&(s=at(n)):s=at(o));let c=ol(a,r,n)?ha(a):de(0),l=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=K(a),g=n&&ne(n)?K(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=at(y),O=y.getBoundingClientRect(),w=G(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,u*=v.y,l+=C,f+=x,y=K(y).frameElement}}return Ke({width:h,height:u,x:l,y:f})}function nl(o){let{rect:e,offsetParent:r,strategy:n}=o,i=ee(r),a=pe(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=de(1),l=de(0);if((i||!i&&n!=="fixed")&&((fe(r)!=="body"||it(a))&&(s=Zt(r)),ee(r))){let f=Gt(r);c=at(r),l.x=f.x+r.clientLeft,l.y=f.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function il(o){return Array.from(o.getClientRects())}function ma(o){return Gt(pe(o)).left+Zt(o).scrollLeft}function al(o){let e=pe(o),r=Zt(o),n=o.ownerDocument.body,i=Ce(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ce(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+ma(o),c=-r.scrollTop;return G(n).direction==="rtl"&&(s+=Ce(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function sl(o,e){let r=K(o),n=pe(o),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let f=Pr();(!f||f&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function cl(o,e){let r=Gt(o,!0,e==="fixed"),n=r.top+o.clientTop,i=r.left+o.clientLeft,a=ee(o)?at(o):de(1),s=o.clientWidth*a.x,c=o.clientHeight*a.y,l=i*a.x,f=n*a.y;return{width:s,height:c,x:l,y:f}}function da(o,e,r){let n;if(e==="viewport")n=sl(o,r);else if(e==="document")n=al(pe(o));else if(ne(e))n=cl(e,r);else{let i=ha(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Ke(n)}function ga(o,e){let r=Ve(o);return r===e||!ne(r)||Vt(r)?!1:G(r).position==="fixed"||ga(r,e)}function ll(o,e){let r=e.get(o);if(r)return r;let n=Ar(o,[],!1).filter(c=>ne(c)&&fe(c)!=="body"),i=null,a=G(o).position==="fixed",s=a?Ve(o):o;for(;ne(s)&&!Vt(s);){let c=G(s),l=Rr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||it(s)&&!l&&ga(o,s))?n=n.filter(h=>h!==s):i=c,s=Ve(s)}return e.set(o,n),n}function dl(o){let{element:e,boundary:r,rootBoundary:n,strategy:i}=o,s=[...r==="clippingAncestors"?ll(e,this._c):[].concat(r),n],c=s[0],l=s.reduce((f,h)=>{let u=da(e,h,i);return f.top=Ce(u.top,f.top),f.right=jt(u.right,f.right),f.bottom=jt(u.bottom,f.bottom),f.left=Ce(u.left,f.left),f},da(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function fl(o){return pa(o)}function pl(o,e,r){let n=ee(e),i=pe(e),a=r==="fixed",s=Gt(o,!0,a,e),c={scrollLeft:0,scrollTop:0},l=de(0);if(n||!n&&!a)if((fe(e)!=="body"||it(i))&&(c=Zt(e)),n){let f=Gt(e,!0,a,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&(l.x=ma(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function fa(o,e){return!ee(o)||G(o).position==="fixed"?null:e?e(o):o.offsetParent}function ya(o,e){let r=K(o);if(!ee(o))return r;let n=fa(o,e);for(;n&&sa(n)&&G(n).position==="static";)n=fa(n,e);return n&&(fe(n)==="html"||fe(n)==="body"&&G(n).position==="static"&&!Rr(n))?r:n||ca(o)||r}var ul=async function(o){let{reference:e,floating:r,strategy:n}=o,i=this.getOffsetParent||ya,a=this.getDimensions;return{reference:pl(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function hl(o){return G(o).direction==="rtl"}var Ir={convertOffsetParentRelativeRectToViewportRelativeRect:nl,getDocumentElement:pe,getClippingRect:dl,getOffsetParent:ya,getElementRects:ul,getClientRects:il,getDimensions:fl,getScale:at,isElement:ne,isRTL:hl};var ba=(o,e,r)=>{let n=new Map,i={platform:Ir,...r},a={...i.platform,_c:n};return na(o,e,{...i,platform:a})};function xa(o){return ml(o)}function dn(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function ml(o){for(let e=o;e;e=dn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=dn(o);e;e=dn(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 gl(o,e,r){return ba(o,e,{platform:{...Ir,getOffsetParent:n=>Ir.getOffsetParent(n,xa)},middleware:[ln({crossAxis:!0}),cn({allowedPlacements:[r]})]})}var mn={};L(mn,{FtdsBase:()=>hn,toFtdsBase:()=>Aa});var un={};L(un,{FtLitElement:()=>U});var pn={};L(pn,{ScopedRegistryLitElement:()=>qt});var $r=window,yl=$r.ShadowRoot&&($r.ShadyCSS===void 0||$r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hh=Symbol();var va=(o,e)=>{yl?o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=$r.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)})};var qt=class extends ce{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 va(n,e.elementStyles),n}};var _r=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ca,Sa=Symbol("constructorPrototype"),Oa=Symbol("constructorName"),Ea=Symbol("exportpartsDebouncer"),wa=Symbol("dynamicDependenciesLoaded"),U=class extends qt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ca]=new Oe(5),this[Oa]=this.constructor.name,this[Sa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Oa]&&Object.setPrototypeOf(this,this[Sa])}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[wa]||(e[wa]=!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[Ea].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,s,c;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=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...y).filter(l).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Ca=Ea;_r([P()],U.prototype,"exportpartsPrefix",void 0);_r([xo([])],U.prototype,"exportpartsPrefixes",void 0);_r([P()],U.prototype,"customStylesheet",void 0);_r([Y()],U.prototype,"useAdoptedStyleSheets",void 0);var Na=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function Aa(o){class e extends o{constructor(){super(...arguments),this.size=Ht.medium,this.family=zt.neutral}getDesignSystemBaseClasses(){return{[Vo(this.family)]:!0,[Zo(this.size)]:!0}}}return Na([P()],e.prototype,"size",void 0),Na([P()],e.prototype,"family",void 0),e}var hn=class extends Aa(U){};var Ra={};var bn={};L(bn,{highlightHtml:()=>vl,highlightHtmlColorCssVariable:()=>Pa,highlightHtmlStyles:()=>xl});var Ze=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(s=>i.call(e,s)?(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,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,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"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(f=>{o.matches(f,this.exclude)?l():this.onIframeReady(f,h=>{r(f)&&(c++,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 s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)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,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(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,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),c=[],l=[],f,h,u=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;u();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>l.push(g),i)}),l.push(f);l.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var Yt=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 Ze(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 s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${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(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}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,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}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:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),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,s=n.length,c=r-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,i=l+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(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 Ze.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),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>r){if(!i(s.node))return!1;let f=r-s.start,h=(n>s.end?s.end:n)-s.start,u=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=u+m,e.nodes.forEach((g,y)=>{y>=c&&(e.nodes[y].start>0&&y!==c&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let f;for(;(f=e.exec(l.textContent))!==null&&f[s]!=="";){if(!n(f[s],l))continue;let h=f.index;if(s!==0)for(let u=1;u<s;u++)h+=f[u].length;l=this.wrapRangeInTextNode(l,h,h+f[s].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let f=l.index;if(s!==0)for(let u=1;u<s;u++)f+=l[u].length;let h=f+l[s].length;this.wrapRangeInMappedTextNode(c,f,h,u=>n(l[s],u),(u,m)=>{e.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:f,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,f,h,m=>r(m,c,a.value.substring(f,h),l),m=>{n(m,c)})}),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=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,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:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=f=>{let h=new RegExp(this.createRegExp(f),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(n):l(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===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,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{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=Ze.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function gn(o){let e=new Yt(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 bl=gn,Pa=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),xl=I`
7
7
  .highlight-html-match {
8
- background: ${Ra};
8
+ background: ${Pa};
9
9
  }
10
- `,yn={className:"highlight-html-match"};function xl(o,e){var r;let n=o.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new yl(o);i.unmark(yn),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...yn,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...yn,separateWordSearch:!1})))}o.setAttribute("data-highlight-html-query",e??"")}var xn={};L(xn,{noTextSelect:()=>vl,safariEllipsisFix:()=>Ol,wordWrap:()=>Sl});var vl=I`
10
+ `,yn={className:"highlight-html-match"};function vl(o,e){var r;let n=o.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new bl(o);i.unmark(yn),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...yn,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...yn,separateWordSearch:!1})))}o.setAttribute("data-highlight-html-query",e??"")}var xn={};L(xn,{noTextSelect:()=>Sl,safariEllipsisFix:()=>wl,wordWrap:()=>Ol});var Sl=I`
11
11
  .ft-no-text-select {
12
12
  -webkit-touch-callout: none;
13
13
  -webkit-user-select: none;
@@ -16,7 +16,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
18
  }
19
- `,Sl=I`
19
+ `,Ol=I`
20
20
  .ft-word-wrap {
21
21
  white-space: normal;
22
22
  word-wrap: break-word;
@@ -28,7 +28,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,Ol=I`
31
+ `,wl=I`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,7 +39,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `;var Pa={};var Sn={};L(Sn,{ParametrizedLabelResolver:()=>vn});var vn=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((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,f)=>this.formatValue(s,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 Gn={};L(Gn,{FtCommandQueue:()=>Jt,FtLitElementRedux:()=>st,FtReduxStore:()=>Zn,clearAllStores:()=>cd,isFtReduxStore:()=>Ge,redux:()=>Cl,reduxEventListener:()=>El,reduxReactive:()=>wl});var wl=()=>(o,e)=>{var r;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Cl=o=>{let e=o??{};return(r,n)=>{var i;let a={hasChanged:Ut,attribute:!1,...e};P(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},El=o=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,o)};var Jt=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 Ge(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ia,$a,_a,kr=Symbol("internalReduxEventsUnsubscribers"),Ne=Symbol("internalStoresUnsubscribers"),qe=Symbol("internalStores"),st=class extends U{constructor(){super(...arguments),this[Ia]=new Map,this[$a]=new Map,this[_a]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[qe].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[qe].get(e)}addStore(e,r){var n;r=(n=r??(Ge(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[qe].delete(r)}setupStore(e,r){this[qe].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[qe].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[Ne].has(e.store):this[Ne].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Ne].set(e,r.subscribe(()=>this.updateFromStores())),Ge(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 s=c=>this[a](c);r.eventBus.addEventListener(i.eventName,s),this[kr].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ne].forEach((e,r)=>this.unsubscribeFromStore(r)),this[kr].forEach(e=>e()),this[kr]=[]}unsubscribeFromStore(e){this[Ne].has(e)&&this[Ne].get(e)(),this[Ne].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ia=Ne,$a=qe,_a=kr;st.reduxProperties=new Map;st.reduxReactiveProperties=new Set;st.reduxEventListeners=new Map;function J(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(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ue(o){return!!o&&!!o[T]}function te(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)===kl}(o)||Array.isArray(o)||!!o[Da]||!!(!((e=o.constructor)===null||e===void 0)&&e[Da])||In(o)||$n(o))}function Ye(o,e,r){r===void 0&&(r=!1),dt(o)===0?(r?Object.keys:lt)(o).forEach(function(n){r&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function dt(o){var e=o[T];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:In(o)?2:$n(o)?3:0}function ct(o,e){return dt(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Nl(o,e){return dt(o)===2?o.get(e):o[e]}function Ua(o,e,r){var n=dt(o);n===2?o.set(e,r):n===3?o.add(r):o[e]=r}function Ba(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function In(o){return $l&&o instanceof Map}function $n(o){return _l&&o instanceof Set}function Ae(o){return o.o||o.t}function _n(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=ja(o);delete e[T];for(var r=lt(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 kn(o,e){return e===void 0&&(e=!1),Ln(o)||ue(o)||!te(o)||(dt(o)>1&&(o.set=o.add=o.clear=o.delete=Al),Object.freeze(o),e&&Ye(o,function(r,n){return kn(n,!0)},!0)),o}function Al(){J(2)}function Ln(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function ie(o){var e=Pn[o];return e||J(18,o),e}function Rl(o,e){Pn[o]||(Pn[o]=e)}function Nn(){return Qt}function On(o,e){e&&(ie("Patches"),o.u=[],o.s=[],o.v=e)}function Lr(o){An(o),o.p.forEach(Pl),o.p=null}function An(o){o===Qt&&(Qt=o.l)}function ka(o){return Qt={p:[],l:Qt,h:o,m:!0,_:0}}function Pl(o){var e=o[T];e.i===0||e.i===1?e.j():e.g=!0}function wn(o,e){e._=e.p.length;var r=e.p[0],n=o!==void 0&&o!==r;return e.h.O||ie("ES5").S(e,o,n),n?(r[T].P&&(Lr(e),J(4)),te(o)&&(o=Tr(e,o),e.l||Fr(e,o)),e.u&&ie("Patches").M(r[T].t,o,e.u,e.s)):o=Tr(e,r,[]),Lr(e),e.u&&e.v(e.u,e.s),o!==Ha?o:void 0}function Tr(o,e,r){if(Ln(e))return e;var n=e[T];if(!n)return Ye(e,function(c,l){return La(o,n,e,c,l,r)},!0),e;if(n.A!==o)return e;if(!n.P)return Fr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=_n(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Ye(a,function(c,l){return La(o,n,i,c,l,r,s)}),Fr(o,i,!1),r&&o.u&&ie("Patches").N(n,r,o.u,o.s)}return n.o}function La(o,e,r,n,i,a,s){if(ue(i)){var c=Tr(o,i,a&&e&&e.i!==3&&!ct(e.R,n)?a.concat(n):void 0);if(Ua(r,n,c),!ue(c))return;o.m=!1}else s&&r.add(i);if(te(i)&&!Ln(i)){if(!o.h.D&&o._<1)return;Tr(o,i),e&&e.A.l||Fr(o,i)}}function Fr(o,e,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&kn(e,r)}function Cn(o,e){var r=o[T];return(r?Ae(r):o)[e]}function Ta(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 Re(o){o.P||(o.P=!0,o.l&&Re(o.l))}function En(o){o.o||(o.o=_n(o.t))}function Rn(o,e,r){var n=In(e)?ie("MapSet").F(e,r):$n(e)?ie("MapSet").T(e,r):o.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Nn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,f=er;s&&(l=[c],f=Xt);var h=Proxy.revocable(l,f),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(e,r):ie("ES5").J(e,r);return(r?r.A:Nn()).p.push(n),n}function Il(o){return ue(o)||J(22,o),function e(r){if(!te(r))return r;var n,i=r[T],a=dt(r);if(i){if(!i.P&&(i.i<4||!ie("ES5").K(i)))return i.t;i.I=!0,n=Fa(r,a),i.I=!1}else n=Fa(r,a);return Ye(n,function(s,c){i&&Nl(i.t,s)===c||Ua(n,s,e(c))}),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 _n(o)}function za(){function o(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var f=this[T];return er.get(f,s)},set:function(f){var h=this[T];er.set(h,s,f)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][T];if(!l.P)switch(l.i){case 5:n(l)&&Re(l);break;case 4:r(l)&&Re(l)}}}function r(s){for(var c=s.t,l=s.k,f=lt(l),h=f.length-1;h>=0;h--){var u=f[h];if(u!==T){var m=c[u];if(m===void 0&&!ct(c,u))return!0;var g=l[u],y=g&&g[T];if(y?y.t!==m:!Ba(g,m))return!0}}var v=!!c[T];return f.length!==lt(c).length+(v?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&J(3,JSON.stringify(Ae(s)))}var a={};Rl("ES5",{J:function(s,c){var l=Array.isArray(s),f=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var v=ja(m);delete v[T];for(var O=lt(v),w=0;w<O.length;w++){var C=O[w];v[C]=o(C,u||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(l,s),h={i:l?5:4,A:c?c.A:Nn(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,T,{value:h,writable:!0}),f},S:function(s,c,l){l?ue(c)&&c[T].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var u=h[T];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)Ye(g,function(b){b!==T&&(m[b]!==void 0||ct(m,b)?y[b]||f(g[b]):(y[b]=!0,Re(u)))}),Ye(m,function(b){g[b]!==void 0||ct(g,b)||(y[b]=!1,Re(u))});else if(v===5){if(n(u)&&(Re(u),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])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Wa,Qt,Tn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",$l=typeof Map<"u",_l=typeof Set<"u",Ma=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ha=Tn?Symbol.for("immer-nothing"):((Wa={})["immer-nothing"]=!0,Wa),Da=Tn?Symbol.for("immer-draftable"):"__$immer_draftable",T=Tn?Symbol.for("immer-state"):"__$immer_state";var kl=""+Object.prototype.constructor,lt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,ja=Object.getOwnPropertyDescriptors||function(o){var e={};return lt(o).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(o,r)}),e},Pn={},er={get:function(o,e){if(e===T)return o;var r=Ae(o);if(!ct(r,e))return function(i,a,s){var c,l=Ta(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(o,r,e);var n=r[e];return o.I||!te(n)?n:n===Cn(o.t,e)?(En(o),o.o[e]=Rn(o.A.h,n,o)):n},has:function(o,e){return e in Ae(o)},ownKeys:function(o){return Reflect.ownKeys(Ae(o))},set:function(o,e,r){var n=Ta(Ae(o),e);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var i=Cn(Ae(o),e),a=i?.[T];if(a&&a.t===r)return o.o[e]=r,o.R[e]=!1,!0;if(Ba(r,i)&&(r!==void 0||ct(o.t,e)))return!0;En(o),Re(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 Cn(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,En(o),Re(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var r=Ae(o),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){J(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){J(12)}},Xt={};Ye(er,function(o,e){Xt[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Xt.deleteProperty=function(o,e){return Xt.set.call(this,o,e,void 0)},Xt.set=function(o,e,r){return er.set.call(this,o[0],e,r,o[0])};var Ll=function(){function o(r){var n=this;this.O=Ma,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(v){var O=this;v===void 0&&(v=c);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"&&J(6),s!==void 0&&typeof s!="function"&&J(7),te(i)){var h=ka(n),u=Rn(n,i,void 0),m=!0;try{f=a(u),m=!1}finally{m?Lr(h):An(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return On(h,s),wn(v,h)},function(v){throw Lr(h),v}):(On(h,s),wn(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Ha&&(f=void 0),n.D&&kn(f,!0),s){var g=[],y=[];ie("Patches").M(i,f,g,y),s(g,y)}return f}J(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(u))})};var s,c,l=n.produce(i,a,function(f,h){s=f,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(f){return[f,s,c]}):[l,s,c]},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){te(r)||J(8),ue(r)&&(r=Il(r));var n=ka(this),i=Rn(this,r,void 0);return i[T].C=!0,An(n),i},e.finishDraft=function(r,n){var i=r&&r[T],a=i.A;return On(a,n),wn(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ma&&J(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 s=ie("Patches").$;return ue(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},o}(),q=new Ll,Tl=q.produce,gm=q.produceWithPatches.bind(q),ym=q.setAutoFreeze.bind(q),bm=q.setUseProxies.bind(q),xm=q.applyPatches.bind(q),vm=q.createDraft.bind(q),Sm=q.finishDraft.bind(q),Wr=Tl;function Pe(o){"@babel/helpers - typeof";return Pe=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},Pe(o)}function Fn(o,e){if(Pe(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,e||"default");if(Pe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function Wn(o){var e=Fn(o,"string");return Pe(e)==="symbol"?e:String(e)}function Mn(o,e,r){return e=Wn(e),e in o?Object.defineProperty(o,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[e]=r,o}function Ka(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 Mr(o){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ka(Object(r),!0).forEach(function(n){Mn(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Ka(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function z(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 Va=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Dn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Dr={INIT:"@@redux/INIT"+Dn(),REPLACE:"@@redux/REPLACE"+Dn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Dn()}};function Fl(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 Un(o,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(z(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(z(1));return r(Un)(o,e)}if(typeof o!="function")throw new Error(z(2));var i=o,a=e,s=[],c=s,l=!1;function f(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(z(3));return a}function u(v){if(typeof v!="function")throw new Error(z(4));if(l)throw new Error(z(5));var O=!0;return f(),c.push(v),function(){if(O){if(l)throw new Error(z(6));O=!1,f();var C=c.indexOf(v);c.splice(C,1),s=null}}}function m(v){if(!Fl(v))throw new Error(z(7));if(typeof v.type>"u")throw new Error(z(8));if(l)throw new Error(z(9));try{l=!0,a=i(a,v)}finally{l=!1}for(var O=s=c,w=0;w<O.length;w++){var C=O[w];C()}return v}function g(v){if(typeof v!="function")throw new Error(z(10));i=v,m({type:Dr.REPLACE})}function y(){var v,O=u;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(z(11));function x(){C.next&&C.next(h())}x();var b=O(x);return{unsubscribe:b}}},v[Va]=function(){return this},v}return m({type:Dr.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[Va]=y,n}function Wl(o){Object.keys(o).forEach(function(e){var r=o[e],n=r(void 0,{type:Dr.INIT});if(typeof n>"u")throw new Error(z(12));if(typeof r(void 0,{type:Dr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(z(13))})}function Za(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),s,c;try{Wl(r)}catch(l){c=l}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var u;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(z(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function ft(){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 Ga(){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(z(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=ft.apply(void 0,c)(i.dispatch),Mr(Mr({},i),{},{dispatch:a})}}}function qa(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,o):s(c)}}};return e}var Ya=qa();Ya.withExtraArgument=qa;var Bn=Ya;var ts=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)}}(),Ml=function(o,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(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}}},pt=function(o,e){for(var r=0,n=e.length,i=o.length;r<n;r++,i++)o[i]=e[r];return o},Dl=Object.defineProperty,Ul=Object.defineProperties,Bl=Object.getOwnPropertyDescriptors,Ja=Object.getOwnPropertySymbols,zl=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable,Xa=function(o,e,r){return e in o?Dl(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r},Ie=function(o,e){for(var r in e||(e={}))zl.call(e,r)&&Xa(o,r,e[r]);if(Ja)for(var n=0,i=Ja(e);n<i.length;n++){var r=i[n];Hl.call(e,r)&&Xa(o,r,e[r])}return o},zn=function(o,e){return Ul(o,Bl(e))},jl=function(o,e,r){return new Promise(function(n,i){var a=function(l){try{c(r.next(l))}catch(f){i(f)}},s=function(l){try{c(r.throw(l))}catch(f){i(f)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((r=r.apply(o,e)).next())})};var Kl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ft:ft.apply(null,arguments)},Dm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function Vl(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 Zl=function(o){ts(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,pt([void 0],r[0].concat(this)))):new(e.bind.apply(e,pt([void 0],r.concat(this))))},e}(Array),Gl=function(o){ts(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,pt([void 0],r[0].concat(this)))):new(e.bind.apply(e,pt([void 0],r.concat(this))))},e}(Array);function Kn(o){return te(o)?Wr(o,function(){}):o}function ql(o){return typeof o=="boolean"}function Yl(){return function(e){return Jl(e)}}function Jl(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,s=a===void 0?!0:a,c=new Zl;if(r&&(ql(r)?c.push(Bn):c.push(Bn.withExtraArgument(r.extraArgument))),0){if(i)var l;if(s)var f}return c}var Hn=!0;function rs(o){var e=Yl(),r=o||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,l=c===void 0?!0:c,f=r.preloadedState,h=f===void 0?void 0:f,u=r.enhancers,m=u===void 0?void 0:u,g;if(typeof i=="function")g=i;else if(Vl(i))g=Za(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=s;if(typeof y=="function"&&(y=y(e),!Hn&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Hn&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Ga.apply(void 0,y),O=ft;l&&(O=Kl(Ie({trace:!Hn},typeof l=="object"&&l)));var w=new Gl(v),C=w;Array.isArray(m)?C=pt([v],m):typeof m=="function"&&(C=m(w));var x=O.apply(void 0,C);return Un(g,h,x)}function $e(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 Ie(Ie({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 os(o){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,r,n]}function Xl(o){return typeof o=="function"}function Ql(o,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?os(e):[e,r,n],a=i[0],s=i[1],c=i[2],l;if(Xl(o))l=function(){return Kn(o())};else{var f=Kn(o);l=function(){return f}}function h(u,m){u===void 0&&(u=l());var g=pt([a[m.type]],s.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=[c]),g.reduce(function(y,v){if(v)if(ue(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(te(y))return Wr(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},u)}return h.getInitialState=l,h}function ed(o,e){return o+"/"+e}function ns(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:Kn(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=ed(e,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,c[h]=y?$e(m,y):$e(m)});function l(){var h=typeof o.extraReducers=="function"?os(o.extraReducers):[o.extraReducers],u=h[0],m=u===void 0?{}:u,g=h[1],y=g===void 0?[]:g,v=h[2],O=v===void 0?void 0:v,w=Ie(Ie({},m),s);return Ql(r,function(C){for(var x in w)C.addCase(x,w[x]);for(var b=0,S=y;b<S.length;b++){var A=S[b];C.addMatcher(A.matcher,A.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,u){return f||(f=l()),f(h,u)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=l()),f.getInitialState()}}}var td="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",rd=function(o){o===void 0&&(o=21);for(var e="",r=o;r--;)e+=td[Math.random()*64|0];return e},od=["name","message","stack","code"],jn=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),Qa=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),nd=function(o){if(typeof o=="object"&&o!==null){for(var e={},r=0,n=od;r<n.length;r++){var i=n[r];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},Hm=function(){function o(e,r,n){var i=$e(e+"/fulfilled",function(h,u,m,g){return{payload:h,meta:zn(Ie({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=$e(e+"/pending",function(h,u,m){return{payload:void 0,meta:zn(Ie({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=$e(e+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||nd)(h||"Rejected"),meta:zn(Ie({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!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(u,m,g){var y=n?.idGenerator?n.idGenerator(h):rd(),v=new l,O,w=!1;function C(b){O=b,v.abort()}var x=function(){return jl(this,null,function(){var b,S,A,_,j,k,N;return Ml(this,function(R){switch(R.label){case 0:return R.trys.push([0,4,,5]),_=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),ad(_)?[4,_]:[3,2];case 1:_=R.sent(),R.label=2;case 2:if(_===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,j=new Promise(function($,B){return v.signal.addEventListener("abort",function(){return B({name:"AbortError",message:O||"Aborted"})})}),u(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([j,Promise.resolve(r(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function($,B){return new jn($,B)},fulfillWithValue:function($,B){return new Qa($,B)}})).then(function($){if($ instanceof jn)throw $;return $ instanceof Qa?i($.payload,y,h,$.meta):i($,y,h)})])];case 3:return A=R.sent(),[3,5];case 4:return k=R.sent(),A=k instanceof jn?s(null,y,h,k.payload,k.meta):s(k,y,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(A)&&A.meta.condition,N||u(A),[2,A]}})})}();return Object.assign(x,{abort:C,requestId:y,arg:h,unwrap:function(){return x.then(id)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function id(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function ad(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var is="listener",as="completed",ss="cancelled",jm="task-"+ss,Km="task-"+as,Vm=is+"-"+ss,Zm=is+"-"+as;var Vn="listenerMiddleware";var Gm=$e(Vn+"/add"),qm=$e(Vn+"/removeAll"),Ym=$e(Vn+"/remove");var es,Jm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(es||(es=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},sd=function(o){return function(e){setTimeout(e,o)}},Xm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:sd(10);za();window.ftReduxStores||(window.ftReduxStores={});var Zn=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(Ge(a))return a;if(i==null)return;let s=ns({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=rs({reducer:(l,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...f.overwrites}:s.reducer(l,f)});return window.ftReduxStores[i.name]=new o(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Jt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let f=c(...l);return this.reduxStore.dispatch(f),f}:l=>{this.setState({[s]: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 cd(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Ge(e)&&e.clear()}var qn={};L(qn,{serializeRequest:()=>dd});function ld(o){return`"${o}"`}function dd(o,e){var r,n,i,a;let s=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&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let l=e.periodFilter.period,f=l?`_${l.from}_${l.to}`:"";s.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"&&s.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(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(ld(u))).join("_");return`${f.key}~${h}`}).join("*");s.append("filters",l)}return new URL(`${o.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Yn={};L(Yn,{toFtFormComponent:()=>fd});var Ur=Symbol("elementInternals");function fd(o,e){class r extends o{static get formAssociated(){return!0}get form(){return this[Ur].form}constructor(...i){super(i),this[Ur]=this.attachInternals(),this[Ur].role=e}setFormValue(i){this[Ur].setFormValue(i)}}return r}var Br=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 Jn,Xn,Qn,ei,pd=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Qn=(Xn=(Jn=window.safari)===null||Jn===void 0?void 0:Jn.pushNotification)===null||Xn===void 0?void 0:Xn.toString())!==null&&Qn!==void 0?Qn:"")==="[object SafariRemoteNotification]",ud="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ei=window.ftGlobals)!==null&&ei!==void 0?ei:{lit:oo,litDecorators:io,litRepeat:ao,litClassMap:so,litStyleMap:co,litUnsafeHTML:lo,wcUtils:{...ho,...po,...go,...Br,...yo,...vo,...qo,...Qo,...fn,...Go,...mn,...un,...Aa,...bo,...bn,...xn,...Pa,...Sn,...Gn,...pn,...qn,...Yn,isSafari:pd,isTouchScreen:ud}};var cs=t.extend("--ft-ripple-color","",D.colorContent),Je={color:cs,backgroundColor:t.extend("--ft-ripple-background-color","",cs),opacityContentOnSurfacePressed:t.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},ls=t.extend("--ft-ripple-color","",D.colorPrimary),ds={color:ls,backgroundColor:t.extend("--ft-ripple-background-color","",ls)},fs=t.extend("--ft-ripple-color","",D.colorSecondary),ps={color:fs,backgroundColor:t.extend("--ft-ripple-background-color","",fs)},us=I`
42
+ `;var Ia={};var Sn={};L(Sn,{ParametrizedLabelResolver:()=>vn});var vn=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((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,f)=>this.formatValue(s,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 Gn={};L(Gn,{FtCommandQueue:()=>Jt,FtLitElementRedux:()=>st,FtReduxStore:()=>Zn,clearAllStores:()=>ld,isFtReduxStore:()=>Ge,redux:()=>El,reduxEventListener:()=>Nl,reduxReactive:()=>Cl});var Cl=()=>(o,e)=>{var r;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},El=o=>{let e=o??{};return(r,n)=>{var i;let a={hasChanged:Ut,attribute:!1,...e};P(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},Nl=o=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,o)};var Jt=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 Ge(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var $a,_a,ka,kr=Symbol("internalReduxEventsUnsubscribers"),Ne=Symbol("internalStoresUnsubscribers"),qe=Symbol("internalStores"),st=class extends U{constructor(){super(...arguments),this[$a]=new Map,this[_a]=new Map,this[ka]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[qe].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[qe].get(e)}addStore(e,r){var n;r=(n=r??(Ge(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[qe].delete(r)}setupStore(e,r){this[qe].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[qe].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[Ne].has(e.store):this[Ne].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Ne].set(e,r.subscribe(()=>this.updateFromStores())),Ge(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 s=c=>this[a](c);r.eventBus.addEventListener(i.eventName,s),this[kr].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ne].forEach((e,r)=>this.unsubscribeFromStore(r)),this[kr].forEach(e=>e()),this[kr]=[]}unsubscribeFromStore(e){this[Ne].has(e)&&this[Ne].get(e)(),this[Ne].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};$a=Ne,_a=qe,ka=kr;st.reduxProperties=new Map;st.reduxReactiveProperties=new Set;st.reduxEventListeners=new Map;function J(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(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ue(o){return!!o&&!!o[T]}function te(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)===Ll}(o)||Array.isArray(o)||!!o[Ua]||!!(!((e=o.constructor)===null||e===void 0)&&e[Ua])||In(o)||$n(o))}function Ye(o,e,r){r===void 0&&(r=!1),dt(o)===0?(r?Object.keys:lt)(o).forEach(function(n){r&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function dt(o){var e=o[T];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:In(o)?2:$n(o)?3:0}function ct(o,e){return dt(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Al(o,e){return dt(o)===2?o.get(e):o[e]}function Ba(o,e,r){var n=dt(o);n===2?o.set(e,r):n===3?o.add(r):o[e]=r}function za(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function In(o){return _l&&o instanceof Map}function $n(o){return kl&&o instanceof Set}function Ae(o){return o.o||o.t}function _n(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Ka(o);delete e[T];for(var r=lt(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 kn(o,e){return e===void 0&&(e=!1),Ln(o)||ue(o)||!te(o)||(dt(o)>1&&(o.set=o.add=o.clear=o.delete=Rl),Object.freeze(o),e&&Ye(o,function(r,n){return kn(n,!0)},!0)),o}function Rl(){J(2)}function Ln(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function ie(o){var e=Pn[o];return e||J(18,o),e}function Pl(o,e){Pn[o]||(Pn[o]=e)}function Nn(){return Qt}function On(o,e){e&&(ie("Patches"),o.u=[],o.s=[],o.v=e)}function Lr(o){An(o),o.p.forEach(Il),o.p=null}function An(o){o===Qt&&(Qt=o.l)}function La(o){return Qt={p:[],l:Qt,h:o,m:!0,_:0}}function Il(o){var e=o[T];e.i===0||e.i===1?e.j():e.g=!0}function wn(o,e){e._=e.p.length;var r=e.p[0],n=o!==void 0&&o!==r;return e.h.O||ie("ES5").S(e,o,n),n?(r[T].P&&(Lr(e),J(4)),te(o)&&(o=Tr(e,o),e.l||Fr(e,o)),e.u&&ie("Patches").M(r[T].t,o,e.u,e.s)):o=Tr(e,r,[]),Lr(e),e.u&&e.v(e.u,e.s),o!==ja?o:void 0}function Tr(o,e,r){if(Ln(e))return e;var n=e[T];if(!n)return Ye(e,function(c,l){return Ta(o,n,e,c,l,r)},!0),e;if(n.A!==o)return e;if(!n.P)return Fr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=_n(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Ye(a,function(c,l){return Ta(o,n,i,c,l,r,s)}),Fr(o,i,!1),r&&o.u&&ie("Patches").N(n,r,o.u,o.s)}return n.o}function Ta(o,e,r,n,i,a,s){if(ue(i)){var c=Tr(o,i,a&&e&&e.i!==3&&!ct(e.R,n)?a.concat(n):void 0);if(Ba(r,n,c),!ue(c))return;o.m=!1}else s&&r.add(i);if(te(i)&&!Ln(i)){if(!o.h.D&&o._<1)return;Tr(o,i),e&&e.A.l||Fr(o,i)}}function Fr(o,e,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&kn(e,r)}function Cn(o,e){var r=o[T];return(r?Ae(r):o)[e]}function Fa(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 Re(o){o.P||(o.P=!0,o.l&&Re(o.l))}function En(o){o.o||(o.o=_n(o.t))}function Rn(o,e,r){var n=In(e)?ie("MapSet").F(e,r):$n(e)?ie("MapSet").T(e,r):o.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Nn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,f=er;s&&(l=[c],f=Xt);var h=Proxy.revocable(l,f),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(e,r):ie("ES5").J(e,r);return(r?r.A:Nn()).p.push(n),n}function $l(o){return ue(o)||J(22,o),function e(r){if(!te(r))return r;var n,i=r[T],a=dt(r);if(i){if(!i.P&&(i.i<4||!ie("ES5").K(i)))return i.t;i.I=!0,n=Wa(r,a),i.I=!1}else n=Wa(r,a);return Ye(n,function(s,c){i&&Al(i.t,s)===c||Ba(n,s,e(c))}),a===3?new Set(n):n}(o)}function Wa(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return _n(o)}function Ha(){function o(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var f=this[T];return er.get(f,s)},set:function(f){var h=this[T];er.set(h,s,f)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][T];if(!l.P)switch(l.i){case 5:n(l)&&Re(l);break;case 4:r(l)&&Re(l)}}}function r(s){for(var c=s.t,l=s.k,f=lt(l),h=f.length-1;h>=0;h--){var u=f[h];if(u!==T){var m=c[u];if(m===void 0&&!ct(c,u))return!0;var g=l[u],y=g&&g[T];if(y?y.t!==m:!za(g,m))return!0}}var v=!!c[T];return f.length!==lt(c).length+(v?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&J(3,JSON.stringify(Ae(s)))}var a={};Pl("ES5",{J:function(s,c){var l=Array.isArray(s),f=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var v=Ka(m);delete v[T];for(var O=lt(v),w=0;w<O.length;w++){var C=O[w];v[C]=o(C,u||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(l,s),h={i:l?5:4,A:c?c.A:Nn(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,T,{value:h,writable:!0}),f},S:function(s,c,l){l?ue(c)&&c[T].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var u=h[T];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)Ye(g,function(b){b!==T&&(m[b]!==void 0||ct(m,b)?y[b]||f(g[b]):(y[b]=!0,Re(u)))}),Ye(m,function(b){g[b]!==void 0||ct(g,b)||(y[b]=!1,Re(u))});else if(v===5){if(n(u)&&(Re(u),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])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Ma,Qt,Tn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",_l=typeof Map<"u",kl=typeof Set<"u",Da=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ja=Tn?Symbol.for("immer-nothing"):((Ma={})["immer-nothing"]=!0,Ma),Ua=Tn?Symbol.for("immer-draftable"):"__$immer_draftable",T=Tn?Symbol.for("immer-state"):"__$immer_state";var Ll=""+Object.prototype.constructor,lt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Ka=Object.getOwnPropertyDescriptors||function(o){var e={};return lt(o).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(o,r)}),e},Pn={},er={get:function(o,e){if(e===T)return o;var r=Ae(o);if(!ct(r,e))return function(i,a,s){var c,l=Fa(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(o,r,e);var n=r[e];return o.I||!te(n)?n:n===Cn(o.t,e)?(En(o),o.o[e]=Rn(o.A.h,n,o)):n},has:function(o,e){return e in Ae(o)},ownKeys:function(o){return Reflect.ownKeys(Ae(o))},set:function(o,e,r){var n=Fa(Ae(o),e);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var i=Cn(Ae(o),e),a=i?.[T];if(a&&a.t===r)return o.o[e]=r,o.R[e]=!1,!0;if(za(r,i)&&(r!==void 0||ct(o.t,e)))return!0;En(o),Re(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 Cn(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,En(o),Re(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var r=Ae(o),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){J(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){J(12)}},Xt={};Ye(er,function(o,e){Xt[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Xt.deleteProperty=function(o,e){return Xt.set.call(this,o,e,void 0)},Xt.set=function(o,e,r){return er.set.call(this,o[0],e,r,o[0])};var Tl=function(){function o(r){var n=this;this.O=Da,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(v){var O=this;v===void 0&&(v=c);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"&&J(6),s!==void 0&&typeof s!="function"&&J(7),te(i)){var h=La(n),u=Rn(n,i,void 0),m=!0;try{f=a(u),m=!1}finally{m?Lr(h):An(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return On(h,s),wn(v,h)},function(v){throw Lr(h),v}):(On(h,s),wn(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===ja&&(f=void 0),n.D&&kn(f,!0),s){var g=[],y=[];ie("Patches").M(i,f,g,y),s(g,y)}return f}J(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(u))})};var s,c,l=n.produce(i,a,function(f,h){s=f,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(f){return[f,s,c]}):[l,s,c]},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){te(r)||J(8),ue(r)&&(r=$l(r));var n=La(this),i=Rn(this,r,void 0);return i[T].C=!0,An(n),i},e.finishDraft=function(r,n){var i=r&&r[T],a=i.A;return On(a,n),wn(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Da&&J(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 s=ie("Patches").$;return ue(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},o}(),q=new Tl,Fl=q.produce,ym=q.produceWithPatches.bind(q),bm=q.setAutoFreeze.bind(q),xm=q.setUseProxies.bind(q),vm=q.applyPatches.bind(q),Sm=q.createDraft.bind(q),Om=q.finishDraft.bind(q),Wr=Fl;function Pe(o){"@babel/helpers - typeof";return Pe=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},Pe(o)}function Fn(o,e){if(Pe(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,e||"default");if(Pe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function Wn(o){var e=Fn(o,"string");return Pe(e)==="symbol"?e:String(e)}function Mn(o,e,r){return e=Wn(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 Mr(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){Mn(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 z(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 Za=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Dn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Dr={INIT:"@@redux/INIT"+Dn(),REPLACE:"@@redux/REPLACE"+Dn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Dn()}};function Wl(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 Un(o,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(z(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(z(1));return r(Un)(o,e)}if(typeof o!="function")throw new Error(z(2));var i=o,a=e,s=[],c=s,l=!1;function f(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(z(3));return a}function u(v){if(typeof v!="function")throw new Error(z(4));if(l)throw new Error(z(5));var O=!0;return f(),c.push(v),function(){if(O){if(l)throw new Error(z(6));O=!1,f();var C=c.indexOf(v);c.splice(C,1),s=null}}}function m(v){if(!Wl(v))throw new Error(z(7));if(typeof v.type>"u")throw new Error(z(8));if(l)throw new Error(z(9));try{l=!0,a=i(a,v)}finally{l=!1}for(var O=s=c,w=0;w<O.length;w++){var C=O[w];C()}return v}function g(v){if(typeof v!="function")throw new Error(z(10));i=v,m({type:Dr.REPLACE})}function y(){var v,O=u;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(z(11));function x(){C.next&&C.next(h())}x();var b=O(x);return{unsubscribe:b}}},v[Za]=function(){return this},v}return m({type:Dr.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[Za]=y,n}function Ml(o){Object.keys(o).forEach(function(e){var r=o[e],n=r(void 0,{type:Dr.INIT});if(typeof n>"u")throw new Error(z(12));if(typeof r(void 0,{type:Dr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(z(13))})}function Ga(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),s,c;try{Ml(r)}catch(l){c=l}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var u;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(z(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function ft(){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 qa(){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(z(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=ft.apply(void 0,c)(i.dispatch),Mr(Mr({},i),{},{dispatch:a})}}}function Ya(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,o):s(c)}}};return e}var Ja=Ya();Ja.withExtraArgument=Ya;var Bn=Ja;var rs=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)}}(),Dl=function(o,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(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}}},pt=function(o,e){for(var r=0,n=e.length,i=o.length;r<n;r++,i++)o[i]=e[r];return o},Ul=Object.defineProperty,Bl=Object.defineProperties,zl=Object.getOwnPropertyDescriptors,Xa=Object.getOwnPropertySymbols,Hl=Object.prototype.hasOwnProperty,jl=Object.prototype.propertyIsEnumerable,Qa=function(o,e,r){return e in o?Ul(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r},Ie=function(o,e){for(var r in e||(e={}))Hl.call(e,r)&&Qa(o,r,e[r]);if(Xa)for(var n=0,i=Xa(e);n<i.length;n++){var r=i[n];jl.call(e,r)&&Qa(o,r,e[r])}return o},zn=function(o,e){return Bl(o,zl(e))},Kl=function(o,e,r){return new Promise(function(n,i){var a=function(l){try{c(r.next(l))}catch(f){i(f)}},s=function(l){try{c(r.throw(l))}catch(f){i(f)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((r=r.apply(o,e)).next())})};var Vl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ft:ft.apply(null,arguments)},Um=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function Zl(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 Gl=function(o){rs(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,pt([void 0],r[0].concat(this)))):new(e.bind.apply(e,pt([void 0],r.concat(this))))},e}(Array),ql=function(o){rs(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,pt([void 0],r[0].concat(this)))):new(e.bind.apply(e,pt([void 0],r.concat(this))))},e}(Array);function Kn(o){return te(o)?Wr(o,function(){}):o}function Yl(o){return typeof o=="boolean"}function Jl(){return function(e){return Xl(e)}}function Xl(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,s=a===void 0?!0:a,c=new Gl;if(r&&(Yl(r)?c.push(Bn):c.push(Bn.withExtraArgument(r.extraArgument))),0){if(i)var l;if(s)var f}return c}var Hn=!0;function os(o){var e=Jl(),r=o||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,l=c===void 0?!0:c,f=r.preloadedState,h=f===void 0?void 0:f,u=r.enhancers,m=u===void 0?void 0:u,g;if(typeof i=="function")g=i;else if(Zl(i))g=Ga(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=s;if(typeof y=="function"&&(y=y(e),!Hn&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Hn&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=qa.apply(void 0,y),O=ft;l&&(O=Vl(Ie({trace:!Hn},typeof l=="object"&&l)));var w=new ql(v),C=w;Array.isArray(m)?C=pt([v],m):typeof m=="function"&&(C=m(w));var x=O.apply(void 0,C);return Un(g,h,x)}function $e(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 Ie(Ie({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 ns(o){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,r,n]}function Ql(o){return typeof o=="function"}function ed(o,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?ns(e):[e,r,n],a=i[0],s=i[1],c=i[2],l;if(Ql(o))l=function(){return Kn(o())};else{var f=Kn(o);l=function(){return f}}function h(u,m){u===void 0&&(u=l());var g=pt([a[m.type]],s.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=[c]),g.reduce(function(y,v){if(v)if(ue(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(te(y))return Wr(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},u)}return h.getInitialState=l,h}function td(o,e){return o+"/"+e}function is(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:Kn(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=td(e,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,c[h]=y?$e(m,y):$e(m)});function l(){var h=typeof o.extraReducers=="function"?ns(o.extraReducers):[o.extraReducers],u=h[0],m=u===void 0?{}:u,g=h[1],y=g===void 0?[]:g,v=h[2],O=v===void 0?void 0:v,w=Ie(Ie({},m),s);return ed(r,function(C){for(var x in w)C.addCase(x,w[x]);for(var b=0,S=y;b<S.length;b++){var A=S[b];C.addMatcher(A.matcher,A.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,u){return f||(f=l()),f(h,u)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=l()),f.getInitialState()}}}var rd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",od=function(o){o===void 0&&(o=21);for(var e="",r=o;r--;)e+=rd[Math.random()*64|0];return e},nd=["name","message","stack","code"],jn=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),es=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),id=function(o){if(typeof o=="object"&&o!==null){for(var e={},r=0,n=nd;r<n.length;r++){var i=n[r];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},jm=function(){function o(e,r,n){var i=$e(e+"/fulfilled",function(h,u,m,g){return{payload:h,meta:zn(Ie({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=$e(e+"/pending",function(h,u,m){return{payload:void 0,meta:zn(Ie({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=$e(e+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||id)(h||"Rejected"),meta:zn(Ie({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!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(u,m,g){var y=n?.idGenerator?n.idGenerator(h):od(),v=new l,O,w=!1;function C(b){O=b,v.abort()}var x=function(){return Kl(this,null,function(){var b,S,A,_,j,k,N;return Dl(this,function(R){switch(R.label){case 0:return R.trys.push([0,4,,5]),_=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),sd(_)?[4,_]:[3,2];case 1:_=R.sent(),R.label=2;case 2:if(_===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,j=new Promise(function($,B){return v.signal.addEventListener("abort",function(){return B({name:"AbortError",message:O||"Aborted"})})}),u(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([j,Promise.resolve(r(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function($,B){return new jn($,B)},fulfillWithValue:function($,B){return new es($,B)}})).then(function($){if($ instanceof jn)throw $;return $ instanceof es?i($.payload,y,h,$.meta):i($,y,h)})])];case 3:return A=R.sent(),[3,5];case 4:return k=R.sent(),A=k instanceof jn?s(null,y,h,k.payload,k.meta):s(k,y,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(A)&&A.meta.condition,N||u(A),[2,A]}})})}();return Object.assign(x,{abort:C,requestId:y,arg:h,unwrap:function(){return x.then(ad)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function ad(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function sd(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var as="listener",ss="completed",cs="cancelled",Km="task-"+cs,Vm="task-"+ss,Zm=as+"-"+cs,Gm=as+"-"+ss;var Vn="listenerMiddleware";var qm=$e(Vn+"/add"),Ym=$e(Vn+"/removeAll"),Jm=$e(Vn+"/remove");var ts,Xm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(ts||(ts=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},cd=function(o){return function(e){setTimeout(e,o)}},Qm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:cd(10);Ha();window.ftReduxStores||(window.ftReduxStores={});var Zn=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(Ge(a))return a;if(i==null)return;let s=is({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=os({reducer:(l,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...f.overwrites}:s.reducer(l,f)});return window.ftReduxStores[i.name]=new o(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Jt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let f=c(...l);return this.reduxStore.dispatch(f),f}:l=>{this.setState({[s]: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 ld(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Ge(e)&&e.clear()}var qn={};L(qn,{serializeRequest:()=>fd});function dd(o){return`"${o}"`}function fd(o,e){var r,n,i,a;let s=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&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let l=e.periodFilter.period,f=l?`_${l.from}_${l.to}`:"";s.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"&&s.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(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(dd(u))).join("_");return`${f.key}~${h}`}).join("*");s.append("filters",l)}return new URL(`${o.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Yn={};L(Yn,{toFtFormComponent:()=>pd});var Ur=Symbol("elementInternals");function pd(o,e){class r extends o{static get formAssociated(){return!0}get form(){return this[Ur].form}constructor(...i){super(i),this[Ur]=this.attachInternals(),this[Ur].role=e}setFormValue(i){this[Ur].setFormValue(i)}}return r}var Br=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 Jn,Xn,Qn,ei,ud=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Qn=(Xn=(Jn=window.safari)===null||Jn===void 0?void 0:Jn.pushNotification)===null||Xn===void 0?void 0:Xn.toString())!==null&&Qn!==void 0?Qn:"")==="[object SafariRemoteNotification]",hd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ei=window.ftGlobals)!==null&&ei!==void 0?ei:{lit:oo,litDecorators:io,litRepeat:ao,litClassMap:so,litStyleMap:co,litUnsafeHTML:lo,wcUtils:{...ho,...po,...go,...Br,...yo,...vo,...qo,...Qo,...fn,...Go,...mn,...un,...Ra,...bo,...bn,...xn,...Ia,...Sn,...Gn,...pn,...qn,...Yn,isSafari:ud,isTouchScreen:hd}};var ls=t.extend("--ft-ripple-color","",D.colorContent),Je={color:ls,backgroundColor:t.extend("--ft-ripple-background-color","",ls),opacityContentOnSurfacePressed:t.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},ds=t.extend("--ft-ripple-color","",D.colorPrimary),fs={color:ds,backgroundColor:t.extend("--ft-ripple-background-color","",ds)},ps=t.extend("--ft-ripple-color","",D.colorSecondary),us={color:ps,backgroundColor:t.extend("--ft-ripple-background-color","",ps)},hs=I`
43
43
  :host {
44
44
  display: contents;
45
45
  }
@@ -94,19 +94,19 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
94
94
  }
95
95
 
96
96
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
97
- background-color: ${ps.backgroundColor};
97
+ background-color: ${us.backgroundColor};
98
98
  }
99
99
 
100
100
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
101
- background-color: ${ps.color};
101
+ background-color: ${us.color};
102
102
  }
103
103
 
104
104
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
105
- background-color: ${ds.backgroundColor};
105
+ background-color: ${fs.backgroundColor};
106
106
  }
107
107
 
108
108
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
109
- background-color: ${ds.color};
109
+ background-color: ${fs.color};
110
110
  }
111
111
 
112
112
  .ft-ripple .ft-ripple--background {
@@ -162,7 +162,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
162
162
  <div class="ft-ripple--background"></div>
163
163
  <div class="ft-ripple--effect"></div>
164
164
  </div>
165
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>l=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(l)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};F.elementDefinitions={};F.styles=us;V([P({type:Boolean})],F.prototype,"primary",void 0);V([P({type:Boolean})],F.prototype,"secondary",void 0);V([P({type:Boolean})],F.prototype,"unbounded",void 0);V([P({type:Boolean})],F.prototype,"activated",void 0);V([P({type:Boolean})],F.prototype,"selected",void 0);V([P({type:Boolean})],F.prototype,"disabled",void 0);V([Y()],F.prototype,"hovered",void 0);V([Y()],F.prototype,"focused",void 0);V([Y()],F.prototype,"pressed",void 0);V([Y()],F.prototype,"rippling",void 0);V([Y()],F.prototype,"originX",void 0);V([Y()],F.prototype,"originY",void 0);V([be(".ft-ripple")],F.prototype,"ripple",void 0);V([be(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0);we("ft-ripple")(F);var ms=Symbol.for(""),hd=o=>{if(o?.r===ms)return o?._$litStatic$},ti=o=>({_$litStatic$:o,r:ms});var hs=new Map,gs=o=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],l,f=0,h=!1;for(;f<n;){for(l=e[f];f<n&&(a=r[f],(i=hd(a))!==void 0);)l+=i+e[++f],h=!0;f!==n&&c.push(a),s.push(l),f++}if(f===n&&s.push(e[n]),h){let u=s.join("$$lit$$");(e=hs.get(u))===void 0&&(s.raw=s,hs.set(u,e=s)),r=c}return o(e,...r)},ri=gs(xi),ty=gs(vi);var zr;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(zr||(zr={}));function ys(o){let e=Bt[o];return I`
165
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>l=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(l)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};F.elementDefinitions={};F.styles=hs;V([P({type:Boolean})],F.prototype,"primary",void 0);V([P({type:Boolean})],F.prototype,"secondary",void 0);V([P({type:Boolean})],F.prototype,"unbounded",void 0);V([P({type:Boolean})],F.prototype,"activated",void 0);V([P({type:Boolean})],F.prototype,"selected",void 0);V([P({type:Boolean})],F.prototype,"disabled",void 0);V([Y()],F.prototype,"hovered",void 0);V([Y()],F.prototype,"focused",void 0);V([Y()],F.prototype,"pressed",void 0);V([Y()],F.prototype,"rippling",void 0);V([Y()],F.prototype,"originX",void 0);V([Y()],F.prototype,"originY",void 0);V([be(".ft-ripple")],F.prototype,"ripple",void 0);V([be(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0);we("ft-ripple")(F);var gs=Symbol.for(""),md=o=>{if(o?.r===gs)return o?._$litStatic$},ti=o=>({_$litStatic$:o,r:gs});var ms=new Map,ys=o=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],l,f=0,h=!1;for(;f<n;){for(l=e[f];f<n&&(a=r[f],(i=md(a))!==void 0);)l+=i+e[++f],h=!0;f!==n&&c.push(a),s.push(l),f++}if(f===n&&s.push(e[n]),h){let u=s.join("$$lit$$");(e=ms.get(u))===void 0&&(s.raw=s,ms.set(u,e=s)),r=c}return o(e,...r)},ri=ys(xi),ry=ys(vi);var zr;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(zr||(zr={}));function bs(o){let e=Bt[o];return I`
166
166
  .ft-typography--${Me(o)} {
167
167
  font-family: ${e.fontFamily};
168
168
  font-size: ${e.fontSize};
@@ -171,7 +171,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
171
171
  line-height: ${e.lineHeight};
172
172
  text-transform: ${e.textCase};
173
173
  }
174
- `}var bs=t.extend("--ft-typography-font-family","",D.titleFont),he=t.extend("--ft-typography-font-family","",D.contentFont),E={fontFamily:he,fontSize:t.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:t.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:t.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:t.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:t.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ut={fontFamily:t.extend("--ft-typography-title-font-family","",bs),fontSize:t.extend("--ft-typography-title-font-size","",E.fontSize,"20px"),fontWeight:t.extend("--ft-typography-title-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-letter-spacing","",E.letterSpacing,"0.15px"),lineHeight:t.extend("--ft-typography-title-line-height","",E.lineHeight,"1.2"),textTransform:t.extend("--ft-typography-title-text-transform","",E.textTransform,"inherit")},ht={fontFamily:t.extend("--ft-typography-title-dense-font-family","",bs),fontSize:t.extend("--ft-typography-title-dense-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-title-dense-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-dense-letter-spacing","",E.letterSpacing,"0.105px"),lineHeight:t.extend("--ft-typography-title-dense-line-height","",E.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-title-dense-text-transform","",E.textTransform,"inherit")},mt={fontFamily:t.extend("--ft-typography-subtitle1-font-family","",he),fontSize:t.extend("--ft-typography-subtitle1-font-size","",E.fontSize,"16px"),fontWeight:t.extend("--ft-typography-subtitle1-font-weight","",E.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-subtitle1-letter-spacing","",E.letterSpacing,"0.144px"),lineHeight:t.extend("--ft-typography-subtitle1-line-height","",E.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-subtitle1-text-transform","",E.textTransform,"inherit")},gt={fontFamily:t.extend("--ft-typography-subtitle2-font-family","",he),fontSize:t.extend("--ft-typography-subtitle2-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-subtitle2-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-subtitle2-letter-spacing","",E.letterSpacing,"0.098px"),lineHeight:t.extend("--ft-typography-subtitle2-line-height","",E.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-subtitle2-text-transform","",E.textTransform,"inherit")},yt={fontFamily:t.extend("--ft-typography-body1-font-family","",he),fontSize:t.extend("--ft-typography-body1-font-size","",E.fontSize,"16px"),fontWeight:t.extend("--ft-typography-body1-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body1-letter-spacing","",E.letterSpacing,"0.496px"),lineHeight:t.extend("--ft-typography-body1-line-height","",E.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-body1-text-transform","",E.textTransform,"inherit")},bt={fontFamily:t.extend("--ft-typography-body2-font-family","",he),fontSize:t.extend("--ft-typography-body2-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-body2-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body2-letter-spacing","",E.letterSpacing,"0.252px"),lineHeight:t.extend("--ft-typography-body2-line-height","",E.lineHeight,"1.4"),textTransform:t.extend("--ft-typography-body2-text-transform","",E.textTransform,"inherit")},xt={fontFamily:t.extend("--ft-typography-caption-font-family","",he),fontSize:t.extend("--ft-typography-caption-font-size","",E.fontSize,"12px"),fontWeight:t.extend("--ft-typography-caption-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-caption-letter-spacing","",E.letterSpacing,"0.396px"),lineHeight:t.extend("--ft-typography-caption-line-height","",E.lineHeight,"1.33"),textTransform:t.extend("--ft-typography-caption-text-transform","",E.textTransform,"inherit")},vt={fontFamily:t.extend("--ft-typography-breadcrumb-font-family","",he),fontSize:t.extend("--ft-typography-breadcrumb-font-size","",E.fontSize,"10px"),fontWeight:t.extend("--ft-typography-breadcrumb-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-breadcrumb-letter-spacing","",E.letterSpacing,"0.33px"),lineHeight:t.extend("--ft-typography-breadcrumb-line-height","",E.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-breadcrumb-text-transform","",E.textTransform,"inherit")},St={fontFamily:t.extend("--ft-typography-overline-font-family","",he),fontSize:t.extend("--ft-typography-overline-font-size","",E.fontSize,"10px"),fontWeight:t.extend("--ft-typography-overline-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-overline-letter-spacing","",E.letterSpacing,"1.5px"),lineHeight:t.extend("--ft-typography-overline-line-height","",E.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-overline-text-transform","",E.textTransform,"uppercase")},Ot={fontFamily:t.extend("--ft-typography-button-font-family","",he),fontSize:t.extend("--ft-typography-button-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-button-font-weight","",E.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-button-letter-spacing","",E.letterSpacing,"1.246px"),lineHeight:t.extend("--ft-typography-button-line-height","",E.lineHeight,"1.15"),textTransform:t.extend("--ft-typography-button-text-transform","",E.textTransform,"uppercase")},xs=I`
174
+ `}var xs=t.extend("--ft-typography-font-family","",D.titleFont),he=t.extend("--ft-typography-font-family","",D.contentFont),E={fontFamily:he,fontSize:t.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:t.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:t.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:t.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:t.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ut={fontFamily:t.extend("--ft-typography-title-font-family","",xs),fontSize:t.extend("--ft-typography-title-font-size","",E.fontSize,"20px"),fontWeight:t.extend("--ft-typography-title-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-letter-spacing","",E.letterSpacing,"0.15px"),lineHeight:t.extend("--ft-typography-title-line-height","",E.lineHeight,"1.2"),textTransform:t.extend("--ft-typography-title-text-transform","",E.textTransform,"inherit")},ht={fontFamily:t.extend("--ft-typography-title-dense-font-family","",xs),fontSize:t.extend("--ft-typography-title-dense-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-title-dense-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-dense-letter-spacing","",E.letterSpacing,"0.105px"),lineHeight:t.extend("--ft-typography-title-dense-line-height","",E.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-title-dense-text-transform","",E.textTransform,"inherit")},mt={fontFamily:t.extend("--ft-typography-subtitle1-font-family","",he),fontSize:t.extend("--ft-typography-subtitle1-font-size","",E.fontSize,"16px"),fontWeight:t.extend("--ft-typography-subtitle1-font-weight","",E.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-subtitle1-letter-spacing","",E.letterSpacing,"0.144px"),lineHeight:t.extend("--ft-typography-subtitle1-line-height","",E.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-subtitle1-text-transform","",E.textTransform,"inherit")},gt={fontFamily:t.extend("--ft-typography-subtitle2-font-family","",he),fontSize:t.extend("--ft-typography-subtitle2-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-subtitle2-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-subtitle2-letter-spacing","",E.letterSpacing,"0.098px"),lineHeight:t.extend("--ft-typography-subtitle2-line-height","",E.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-subtitle2-text-transform","",E.textTransform,"inherit")},yt={fontFamily:t.extend("--ft-typography-body1-font-family","",he),fontSize:t.extend("--ft-typography-body1-font-size","",E.fontSize,"16px"),fontWeight:t.extend("--ft-typography-body1-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body1-letter-spacing","",E.letterSpacing,"0.496px"),lineHeight:t.extend("--ft-typography-body1-line-height","",E.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-body1-text-transform","",E.textTransform,"inherit")},bt={fontFamily:t.extend("--ft-typography-body2-font-family","",he),fontSize:t.extend("--ft-typography-body2-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-body2-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body2-letter-spacing","",E.letterSpacing,"0.252px"),lineHeight:t.extend("--ft-typography-body2-line-height","",E.lineHeight,"1.4"),textTransform:t.extend("--ft-typography-body2-text-transform","",E.textTransform,"inherit")},xt={fontFamily:t.extend("--ft-typography-caption-font-family","",he),fontSize:t.extend("--ft-typography-caption-font-size","",E.fontSize,"12px"),fontWeight:t.extend("--ft-typography-caption-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-caption-letter-spacing","",E.letterSpacing,"0.396px"),lineHeight:t.extend("--ft-typography-caption-line-height","",E.lineHeight,"1.33"),textTransform:t.extend("--ft-typography-caption-text-transform","",E.textTransform,"inherit")},vt={fontFamily:t.extend("--ft-typography-breadcrumb-font-family","",he),fontSize:t.extend("--ft-typography-breadcrumb-font-size","",E.fontSize,"10px"),fontWeight:t.extend("--ft-typography-breadcrumb-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-breadcrumb-letter-spacing","",E.letterSpacing,"0.33px"),lineHeight:t.extend("--ft-typography-breadcrumb-line-height","",E.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-breadcrumb-text-transform","",E.textTransform,"inherit")},St={fontFamily:t.extend("--ft-typography-overline-font-family","",he),fontSize:t.extend("--ft-typography-overline-font-size","",E.fontSize,"10px"),fontWeight:t.extend("--ft-typography-overline-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-overline-letter-spacing","",E.letterSpacing,"1.5px"),lineHeight:t.extend("--ft-typography-overline-line-height","",E.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-overline-text-transform","",E.textTransform,"uppercase")},Ot={fontFamily:t.extend("--ft-typography-button-font-family","",he),fontSize:t.extend("--ft-typography-button-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-button-font-weight","",E.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-button-letter-spacing","",E.letterSpacing,"1.246px"),lineHeight:t.extend("--ft-typography-button-line-height","",E.lineHeight,"1.15"),textTransform:t.extend("--ft-typography-button-text-transform","",E.textTransform,"uppercase")},vs=I`
175
175
  .ft-typography--title {
176
176
  font-family: ${ut.fontFamily};
177
177
  font-size: ${ut.fontSize};
@@ -180,7 +180,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
180
180
  line-height: ${ut.lineHeight};
181
181
  text-transform: ${ut.textTransform};
182
182
  }
183
- `,vs=I`
183
+ `,Ss=I`
184
184
  .ft-typography--title-dense {
185
185
  font-family: ${ht.fontFamily};
186
186
  font-size: ${ht.fontSize};
@@ -189,7 +189,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
189
189
  line-height: ${ht.lineHeight};
190
190
  text-transform: ${ht.textTransform};
191
191
  }
192
- `,Ss=I`
192
+ `,Os=I`
193
193
  .ft-typography--subtitle1 {
194
194
  font-family: ${mt.fontFamily};
195
195
  font-size: ${mt.fontSize};
@@ -198,7 +198,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
198
198
  line-height: ${mt.lineHeight};
199
199
  text-transform: ${mt.textTransform};
200
200
  }
201
- `,Os=I`
201
+ `,ws=I`
202
202
  .ft-typography--subtitle2 {
203
203
  font-family: ${gt.fontFamily};
204
204
  font-size: ${gt.fontSize};
@@ -208,7 +208,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
208
208
  text-transform: ${gt.textTransform};
209
209
  }
210
210
 
211
- `,ws=I`
211
+ `,Cs=I`
212
212
  .ft-typography--body1 {
213
213
  font-family: ${yt.fontFamily};
214
214
  font-size: ${yt.fontSize};
@@ -217,7 +217,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
217
217
  line-height: ${yt.lineHeight};
218
218
  text-transform: ${yt.textTransform};
219
219
  }
220
- `,Cs=I`
220
+ `,Es=I`
221
221
  .ft-typography--body2 {
222
222
  font-family: ${bt.fontFamily};
223
223
  font-size: ${bt.fontSize};
@@ -226,7 +226,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
226
226
  line-height: ${bt.lineHeight};
227
227
  text-transform: ${bt.textTransform};
228
228
  }
229
- `,Es=I`
229
+ `,Ns=I`
230
230
  .ft-typography--caption {
231
231
  font-family: ${xt.fontFamily};
232
232
  font-size: ${xt.fontSize};
@@ -235,7 +235,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
235
235
  line-height: ${xt.lineHeight};
236
236
  text-transform: ${xt.textTransform};
237
237
  }
238
- `,Ns=I`
238
+ `,As=I`
239
239
  .ft-typography--breadcrumb {
240
240
  font-family: ${vt.fontFamily};
241
241
  font-size: ${vt.fontSize};
@@ -244,7 +244,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
244
244
  line-height: ${vt.lineHeight};
245
245
  text-transform: ${vt.textTransform};
246
246
  }
247
- `,As=I`
247
+ `,Rs=I`
248
248
  .ft-typography--overline {
249
249
  font-family: ${St.fontFamily};
250
250
  font-size: ${St.fontSize};
@@ -253,7 +253,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
253
253
  line-height: ${St.lineHeight};
254
254
  text-transform: ${St.textTransform};
255
255
  }
256
- `,Rs=I`
256
+ `,Ps=I`
257
257
  .ft-typography--button {
258
258
  font-family: ${Ot.fontFamily};
259
259
  font-size: ${Ot.fontSize};
@@ -262,11 +262,11 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
262
262
  line-height: ${Ot.lineHeight};
263
263
  text-transform: ${Ot.textTransform};
264
264
  }
265
- `,Ps=I`
265
+ `,Is=I`
266
266
  .ft-typography {
267
267
  vertical-align: inherit;
268
268
  }
269
- `,Is=[Object.keys(Bt).map(o=>ys(o))];var $s=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},me=class extends U{constructor(){super(...arguments),this.variant=zr.body1}render(){return this.element?ri`
269
+ `,$s=[Object.keys(Bt).map(o=>bs(o))];var _s=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},me=class extends U{constructor(){super(...arguments),this.variant=zr.body1}render(){return this.element?ri`
270
270
  <${ti(this.element)}
271
271
  part="text"
272
272
  class="ft-typography ft-typography--${this.variant}">
@@ -274,7 +274,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
274
274
  </${ti(this.element)}>
275
275
  `:ri`
276
276
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
277
- `}};me.styles=[xs,vs,Ss,Os,ws,Cs,Es,Ns,As,Rs,Ps,...Is];$s([P()],me.prototype,"element",void 0);$s([P()],me.prototype,"variant",void 0);we("ft-typography")(me);var Xe={textColor:t.extend("--ft-radio-text-color","",D.colorOnSurfaceHigh),colorPrimary:t.external(D.colorPrimary,"Design system"),colorOnPrimary:t.external(D.colorOnPrimary,"Design system"),borderColor:t.extend("--ft-radio-border-color","",D.colorOnSurfaceMedium),colorOnSurfaceDisabled:t.external(D.colorOnSurfaceDisabled,"Design system")},_s=I`
277
+ `}};me.styles=[vs,Ss,Os,ws,Cs,Es,Ns,As,Rs,Ps,Is,...$s];_s([P()],me.prototype,"element",void 0);_s([P()],me.prototype,"variant",void 0);we("ft-typography")(me);var Xe={textColor:t.extend("--ft-radio-text-color","",D.colorOnSurfaceHigh),colorPrimary:t.external(D.colorPrimary,"Design system"),colorOnPrimary:t.external(D.colorOnPrimary,"Design system"),borderColor:t.extend("--ft-radio-border-color","",D.colorOnSurfaceMedium),colorOnSurfaceDisabled:t.external(D.colorOnSurfaceDisabled,"Design system")},ks=I`
278
278
  * {
279
279
  box-sizing: border-box;
280
280
  }
@@ -387,7 +387,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
387
387
  </ft-typography>
388
388
  </label>
389
389
  </div>
390
- `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Hr(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Hr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};H.elementDefinitions={"ft-ripple":F,"ft-typography":me};H.styles=_s;ge([P()],H.prototype,"value",void 0);ge([P()],H.prototype,"name",void 0);ge([P({type:Boolean,reflect:!0})],H.prototype,"checked",void 0);ge([P({attribute:"aria-checked",reflect:!0})],H.prototype,"ariaChecked",void 0);ge([P({type:Boolean})],H.prototype,"disabled",void 0);ge([P({reflect:!0,attribute:"role"})],H.prototype,"role",void 0);ge([be(".ft-radio")],H.prototype,"container",void 0);ge([be("ft-ripple")],H.prototype,"ripple",void 0);ge([be("input")],H.prototype,"input",void 0);var lb={},ks=I`
390
+ `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Hr(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Hr(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};H.elementDefinitions={"ft-ripple":F,"ft-typography":me};H.styles=ks;ge([P()],H.prototype,"value",void 0);ge([P()],H.prototype,"name",void 0);ge([P({type:Boolean,reflect:!0})],H.prototype,"checked",void 0);ge([P({attribute:"aria-checked",reflect:!0})],H.prototype,"ariaChecked",void 0);ge([P({type:Boolean})],H.prototype,"disabled",void 0);ge([P({reflect:!0,attribute:"role"})],H.prototype,"role",void 0);ge([be(".ft-radio")],H.prototype,"container",void 0);ge([be("ft-ripple")],H.prototype,"ripple",void 0);ge([be("input")],H.prototype,"input",void 0);var db={},Ls=I`
391
391
  :host {
392
392
  display: block;
393
393
  }
@@ -400,7 +400,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
400
400
  @change=${this.onChange}
401
401
  @keydown=${this.onKeyDown}
402
402
  ></slot>
403
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};X.elementDefinitions={};X.styles=ks;wt([P()],X.prototype,"name",void 0);wt([P({reflect:!0,attribute:"role"})],X.prototype,"role",void 0);wt([P({reflect:!0})],X.prototype,"tabIndex",void 0);wt([P({reflect:!0,attribute:"aria-labelledby"})],X.prototype,"ariaLabelledBy",void 0);wt([no()],X.prototype,"radioButtons",void 0);wt([Y()],X.prototype,"currentSelectedIndex",void 0);we("ft-radio")(H);we("ft-radio-group")(X);})();
403
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};X.elementDefinitions={};X.styles=Ls;wt([P()],X.prototype,"name",void 0);wt([P({reflect:!0,attribute:"role"})],X.prototype,"role",void 0);wt([P({reflect:!0})],X.prototype,"tabIndex",void 0);wt([P({reflect:!0,attribute:"aria-labelledby"})],X.prototype,"ariaLabelledBy",void 0);wt([no()],X.prototype,"radioButtons",void 0);wt([Y()],X.prototype,"currentSelectedIndex",void 0);we("ft-radio")(H);we("ft-radio-group")(X);})();
404
404
  /*! Bundled license information:
405
405
 
406
406
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: