@fluid-topics/ft-ripple 1.1.113 → 1.1.114
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.
- package/build/ft-ripple.min.js +27 -26
- package/package.json +3 -3
package/build/ft-ripple.min.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var qa=Object.defineProperty;var P=(o,e)=>{for(var r in e)qa(o,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,c=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(b,x){if(b=b.toLowerCase(),this._getDefinition(b)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${b}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=x.prototype.attributeChangedCallback,N=new Set(x.observedAttributes||[]);m(x,N,S);let I={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:N};this._definitionsByTag.set(b,I),this._definitionsByClass.set(x,I);let D=r.call(n,b);D||(D=p(b),e.call(n,b,D)),this===window.customElements&&(c.set(x,I),I.standInClass=D);let _=this._awaitingUpgrade.get(b);if(_){this._awaitingUpgrade.delete(b);for(let A of _)a.delete(A),y(A,I,!0)}let E=this._whenDefinedPromises.get(b);return E!==void 0&&(E.resolve(x),this._whenDefinedPromises.delete(b)),x}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(b){return this._definitionsByTag.get(b)?.elementClass}_getDefinition(b){return this._definitionsByTag.get(b)}whenDefined(b){let x=this._getDefinition(b);if(x!==void 0)return Promise.resolve(x.elementClass);let S=this._whenDefinedPromises.get(b);return S===void 0&&(S={},S.promise=new Promise(N=>S.resolve=N),this._whenDefinedPromises.set(b,S)),S.promise}_upgradeWhenDefined(b,x,S){let N=this._awaitingUpgrade.get(x);N||this._awaitingUpgrade.set(x,N=new Set),S?N.add(b):N.delete(b)}};let d;window.HTMLElement=function(){let x=d;if(x)return d=void 0,x;let S=c.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(o,[],S.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),i.set(x,S),x},window.HTMLElement.prototype=o.prototype;let f=b=>b===document||b instanceof ShadowRoot,h=b=>{let x=b.getRootNode();if(!f(x)){let S=O[O.length-1];if(S instanceof CustomElementRegistry)return S;x=S.getRootNode(),f(x)||(x=l.get(x)?.getRootNode()||document)}return x.customElements},p=b=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let N=h(S)||window.customElements,I=N._getDefinition(b);return I?y(S,I):a.set(S,N),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,b,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,b,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(b,x,S)=>{if(x.size===0||S===void 0)return;let N=b.prototype.setAttribute;N&&(b.prototype.setAttribute=function(_,E){let A=_.toLowerCase();if(x.has(A)){let R=this.getAttribute(A);N.call(this,A,E),S.call(this,A,R,E)}else N.call(this,A,E)});let I=b.prototype.removeAttribute;I&&(b.prototype.removeAttribute=function(_){let E=_.toLowerCase();if(x.has(E)){let A=this.getAttribute(E);I.call(this,E),S.call(this,E,A,null)}else I.call(this,E)});let D=b.prototype.toggleAttribute;D&&(b.prototype.toggleAttribute=function(_,E){let A=_.toLowerCase();if(x.has(A)){let R=this.getAttribute(A);D.call(this,A,E);let T=this.getAttribute(A);S.call(this,A,R,T)}else D.call(this,A,E)})},g=b=>{let x=Object.getPrototypeOf(b);if(x!==window.HTMLElement)return x===o?Object.setPrototypeOf(b,window.HTMLElement):g(x)},y=(b,x,S=!1)=>{Object.setPrototypeOf(b,x.elementClass.prototype),i.set(b,x),d=b;try{new x.elementClass}catch{g(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(N=>{b.hasAttribute(N)&&x.attributeChangedCallback.call(b,N,null,b.getAttribute(N))}),S&&x.connectedCallback&&b.isConnected&&x.connectedCallback.call(b)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(b){let x=v.apply(this,arguments);return b.customElements&&(x.customElements=b.customElements),x};let O=[document],w=(b,x,S=void 0)=>{let N=(S?Object.getPrototypeOf(S):b.prototype)[x];b.prototype[x]=function(){O.push(this);let I=N.apply(S||this,arguments);return I!==void 0&&l.set(I,this),O.pop(),I}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(b,x)=>{let S=Object.getOwnPropertyDescriptor(b.prototype,x);Object.defineProperty(b.prototype,x,{...S,set(N){O.push(this),S.set.call(this,N),O.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let b=new WeakMap,x=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(..._){let E=x.call(this,..._);return b.set(E,this),E},S.forEach(_=>{let E=window.ElementInternals.prototype,A=E[_];E[_]=function(...R){let T=b.get(this);if(i.get(T).formAssociated===!0)return A?.call(this,...R);throw new DOMException(`Failed to execute ${A} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class N extends Array{constructor(E){super(...E),this._elements=E}get value(){return this._elements.find(E=>E.checked===!0)?.value||""}}class I{constructor(E){let A=new Map;E.forEach((R,T)=>{let Sr=R.getAttribute("name"),mn=A.get(Sr)||[];this[+T]=R,mn.push(R),A.set(Sr,mn)}),this.length=E.length,A.forEach((R,T)=>{R&&(R.length===1?this[T]=R[0]:this[T]=new N(R))})}namedItem(E){return this[E]}}let D=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let _=D.get.call(this,[]),E=[];for(let A of _){let R=i.get(A);(!R||R.formAssociated===!0)&&E.push(A)}return new I(E)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var Fr={};P(Fr,{CSSResult:()=>ze,LitElement:()=>ne,ReactiveElement:()=>J,_$LE:()=>xc,_$LH:()=>gc,adoptStyles:()=>Zt,css:()=>W,defaultConverter:()=>Vt,getCompatibleStyle:()=>dt,html:()=>$r,isServer:()=>od,noChange:()=>fe,notEqual:()=>Rr,nothing:()=>M,render:()=>Lr,supportsAdoptingStyleSheets:()=>st,svg:()=>mc,unsafeCSS:()=>lt});var kt=globalThis,Lt=kt.ShadowRoot&&(kt.ShadyCSS===void 0||kt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yn=Symbol(),gn=new WeakMap,$t=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==yn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Lt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=gn.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&gn.set(r,e))}return e}toString(){return this.cssText}},bn=o=>new $t(typeof o=="string"?o:o+"",void 0,yn);var Or=(o,e)=>{if(Lt)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=kt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},Ft=Lt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return bn(r)})(o):o;var{is:Ya,defineProperty:Ja,getOwnPropertyDescriptor:Xa,getOwnPropertyNames:Qa,getOwnPropertySymbols:ec,getPrototypeOf:tc}=Object,Mt=globalThis,xn=Mt.trustedTypes,rc=xn?xn.emptyScript:"",oc=Mt.reactiveElementPolyfillSupport,rt=(o,e)=>o,ot={toAttribute(o,e){switch(e){case Boolean:o=o?rc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let 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}},Wt=(o,e)=>!Ya(o,e),vn={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),Mt.litPropertyMetadata??=new WeakMap;var Ce=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=vn){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&&Ja(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Xa(this.prototype,e)??{get(){return this[r]},set(c){this[r]=c}};return{get(){return i?.call(this)},set(c){let l=i?.call(this);a.call(this,c),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??vn}static _$Ei(){if(this.hasOwnProperty(rt("elementProperties")))return;let e=tc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(rt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(rt("properties"))){let r=this.properties,n=[...Qa(r),...ec(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(Ft(i))}else e!==void 0&&r.push(Ft(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 Or(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:ot).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ot;this._$Em=i,this[i]=c.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Wt)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ce.elementStyles=[],Ce.shadowRootOptions={mode:"open"},Ce[rt("elementProperties")]=new Map,Ce[rt("finalized")]=new Map,oc?.({ReactiveElement:Ce}),(Mt.reactiveElementVersions??=[]).push("2.0.2");var Cr=globalThis,Tt=Cr.trustedTypes,Sn=Tt?Tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Er="$lit$",re=`lit$${(Math.random()+"").slice(9)}$`,Nr="?"+re,nc=`<${Nr}>`,Ae=document,Ut=()=>Ae.createComment(""),it=o=>o===null||typeof o!="object"&&typeof o!="function",An=Array.isArray,Rn=o=>An(o)||typeof o?.[Symbol.iterator]=="function",wr=`[
|
|
2
|
-
\f\r]`,nt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,On=/-->/g,wn=/>/g,Ee=RegExp(`>|${wr}(?:([^\\s"'>=/]+)(${wr}*=${wr}*(?:[^
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Cn=/'/g,En=/"/g,Pn=/^(?:script|style|textarea|title)$/i,In=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),jl=In(1),Kl=In(2),H=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Nn=new WeakMap,Ne=Ae.createTreeWalker(Ae,129);function _n(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Sn!==void 0?Sn.createHTML(e):e}var kn=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",c=nt;for(let l=0;l<r;l++){let d=o[l],f,h,p=-1,m=0;for(;m<d.length&&(c.lastIndex=m,h=c.exec(d),h!==null);)m=c.lastIndex,c===nt?h[1]==="!--"?c=On:h[1]!==void 0?c=wn:h[2]!==void 0?(Pn.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ee):h[3]!==void 0&&(c=Ee):c===Ee?h[0]===">"?(c=i??nt,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ee:h[3]==='"'?En:Cn):c===En||c===Cn?c=Ee:c===On||c===wn?c=nt:(c=Ee,i=void 0);let g=c===Ee&&o[l+1].startsWith("/>")?" ":"";a+=c===nt?d+nc:p>=0?(n.push(f),d.slice(0,p)+Er+d.slice(p)+re+g):d+re+(p===-2?l:g)}return[_n(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},at=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,l=e.length-1,d=this.parts,[f,h]=kn(e,r);if(this.el=o.createElement(f,n),Ne.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Ne.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Er)){let m=h[c++],g=i.getAttribute(p).split(re),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Bt:y[1]==="?"?zt:y[1]==="@"?Ht:Pe}),i.removeAttribute(p)}else p.startsWith(re)&&(d.push({type:6,index:a}),i.removeAttribute(p));if(Pn.test(i.tagName)){let p=i.textContent.split(re),m=p.length-1;if(m>0){i.textContent=Tt?Tt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],Ut()),Ne.nextNode(),d.push({type:2,index:++a});i.append(p[m],Ut())}}}else if(i.nodeType===8)if(i.data===Nr)d.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(re,p+1))!==-1;)d.push({type:7,index:a}),p+=re.length-1}a++}}static createElement(e,r){let n=Ae.createElement("template");return n.innerHTML=e,n}};function Re(o,e,r=o,n){if(e===H)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=it(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Re(o,i._$AS(o,e.values),i,n)),e}var Dt=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Ae).importNode(r,!0);Ne.currentNode=i;let a=Ne.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let f;d.type===2?f=new ct(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new jt(a,this,e)),this._$AV.push(f),d=n[++l]}c!==d?.index&&(a=Ne.nextNode(),c++)}return Ne.currentNode=Ae,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},ct=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Re(this,e,r),it(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==H&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Rn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==$&&it(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ae.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=at.createElement(_n(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Dt(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=Nn.get(e.strings);return r===void 0&&Nn.set(e.strings,r=new at(e)),r}T(e){An(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(Ut()),this.k(Ut()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=$,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=$}_$AI(e,r=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=Re(this,e,r,0),c=!it(e)||e!==this._$AH&&e!==H,c&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Re(this,l[n+d],r,d),f===H&&(f=this._$AH[d]),c||=!it(f)||f!==this._$AH[d],f===$?e=$:e!==$&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}c&&!i&&this.O(e)}O(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bt=class extends Pe{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===$?void 0:e}},zt=class extends Pe{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},Ht=class extends Pe{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Re(this,e,r,0)??$)===H)return;let n=this._$AH,i=e===$&&n!==$||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==$&&(n===$||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},jt=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Re(this,e)}},$n={j:Er,P:re,A:Nr,C:1,M:kn,L:Dt,R:Rn,V:Re,D:ct,I:Pe,H:zt,N:Ht,U:Bt,B:jt},ic=Cr.litHtmlPolyfillSupport;ic?.(at,ct),(Cr.litHtmlVersions??=[]).push("3.1.0");var Kt=globalThis,st=Kt.ShadowRoot&&(Kt.ShadyCSS===void 0||Kt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ar=Symbol(),Ln=new WeakMap,ze=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ar)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(st&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ln.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ln.set(r,e))}return e}toString(){return this.cssText}},lt=o=>new ze(typeof o=="string"?o:o+"",void 0,Ar),W=(o,...e)=>{let r=o.length===1?o[0]:e.reduce((n,i,a)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new ze(r,o,Ar)},Zt=(o,e)=>{if(st)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Kt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},dt=st?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return lt(r)})(o):o;var{is:ac,defineProperty:cc,getOwnPropertyDescriptor:sc,getOwnPropertyNames:lc,getOwnPropertySymbols:dc,getPrototypeOf:fc}=Object,Gt=globalThis,Fn=Gt.trustedTypes,uc=Fn?Fn.emptyScript:"",pc=Gt.reactiveElementPolyfillSupport,ft=(o,e)=>o,Vt={toAttribute(o,e){switch(e){case Boolean:o=o?uc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let 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}},Rr=(o,e)=>!ac(o,e),Mn={attribute:!0,type:String,converter:Vt,reflect:!1,hasChanged:Rr};Symbol.metadata??=Symbol("metadata"),Gt.litPropertyMetadata??=new WeakMap;var J=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Mn){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&&cc(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=sc(this.prototype,e)??{get(){return this[r]},set(c){this[r]=c}};return{get(){return i?.call(this)},set(c){let l=i?.call(this);a.call(this,c),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Mn}static _$Ei(){if(this.hasOwnProperty(ft("elementProperties")))return;let e=fc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ft("properties"))){let r=this.properties,n=[...lc(r),...dc(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(dt(i))}else e!==void 0&&r.push(dt(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Zt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Vt).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Vt;this._$Em=i,this[i]=c.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Rr)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};J.elementStyles=[],J.shadowRootOptions={mode:"open"},J[ft("elementProperties")]=new Map,J[ft("finalized")]=new Map,pc?.({ReactiveElement:J}),(Gt.reactiveElementVersions??=[]).push("2.0.2");var Ir=globalThis,qt=Ir.trustedTypes,Wn=qt?qt.createPolicy("lit-html",{createHTML:o=>o}):void 0,_r="$lit$",oe=`lit$${(Math.random()+"").slice(9)}$`,kr="?"+oe,hc=`<${kr}>`,ke=document,pt=()=>ke.createComment(""),ht=o=>o===null||typeof o!="object"&&typeof o!="function",Hn=Array.isArray,jn=o=>Hn(o)||typeof o?.[Symbol.iterator]=="function",Pr=`[
|
|
4
|
-
\f\r]`,ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tn=/-->/g,Un=/>/g,Ie=RegExp(`>|${Pr}(?:([^\\s"'>=/]+)(${Pr}*=${Pr}*(?:[^
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Dn=/'/g,Bn=/"/g,Kn=/^(?:script|style|textarea|title)$/i,Zn=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),$r=Zn(1),mc=Zn(2),fe=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),zn=new WeakMap,_e=ke.createTreeWalker(ke,129);function Vn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wn!==void 0?Wn.createHTML(e):e}var Gn=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",c=ut;for(let l=0;l<r;l++){let d=o[l],f,h,p=-1,m=0;for(;m<d.length&&(c.lastIndex=m,h=c.exec(d),h!==null);)m=c.lastIndex,c===ut?h[1]==="!--"?c=Tn:h[1]!==void 0?c=Un:h[2]!==void 0?(Kn.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ie):h[3]!==void 0&&(c=Ie):c===Ie?h[0]===">"?(c=i??ut,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ie:h[3]==='"'?Bn:Dn):c===Bn||c===Dn?c=Ie:c===Tn||c===Un?c=ut:(c=Ie,i=void 0);let g=c===Ie&&o[l+1].startsWith("/>")?" ":"";a+=c===ut?d+hc:p>=0?(n.push(f),d.slice(0,p)+_r+d.slice(p)+oe+g):d+oe+(p===-2?l:g)}return[Vn(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},mt=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,l=e.length-1,d=this.parts,[f,h]=Gn(e,r);if(this.el=o.createElement(f,n),_e.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=_e.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(_r)){let m=h[c++],g=i.getAttribute(p).split(oe),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Jt:y[1]==="?"?Xt:y[1]==="@"?Qt:Le}),i.removeAttribute(p)}else p.startsWith(oe)&&(d.push({type:6,index:a}),i.removeAttribute(p));if(Kn.test(i.tagName)){let p=i.textContent.split(oe),m=p.length-1;if(m>0){i.textContent=qt?qt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],pt()),_e.nextNode(),d.push({type:2,index:++a});i.append(p[m],pt())}}}else if(i.nodeType===8)if(i.data===kr)d.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(oe,p+1))!==-1;)d.push({type:7,index:a}),p+=oe.length-1}a++}}static createElement(e,r){let n=ke.createElement("template");return n.innerHTML=e,n}};function $e(o,e,r=o,n){if(e===fe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ht(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=$e(o,i._$AS(o,e.values),i,n)),e}var Yt=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??ke).importNode(r,!0);_e.currentNode=i;let a=_e.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let f;d.type===2?f=new He(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new er(a,this,e)),this._$AV.push(f),d=n[++l]}c!==d?.index&&(a=_e.nextNode(),c++)}return _e.currentNode=ke,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},He=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=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=$e(this,e,r),ht(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==fe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):jn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==M&&ht(this._$AH)?this._$AA.nextSibling.data=e:this.$(ke.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=mt.createElement(Vn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Yt(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=zn.get(e.strings);return r===void 0&&zn.set(e.strings,r=new mt(e)),r}T(e){Hn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new o(this.k(pt()),this.k(pt()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=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,c=!1;if(a===void 0)e=$e(this,e,r,0),c=!ht(e)||e!==this._$AH&&e!==fe,c&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=$e(this,l[n+d],r,d),f===fe&&(f=this._$AH[d]),c||=!ht(f)||f!==this._$AH[d],f===M?e=M:e!==M&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}c&&!i&&this.O(e)}O(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Jt=class extends Le{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===M?void 0:e}},Xt=class extends Le{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Qt=class extends Le{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=$e(this,e,r,0)??M)===fe)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)}},er=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$e(this,e)}},gc={j:_r,P:oe,A:kr,C:1,M:Gn,L:Yt,R:jn,V:$e,D:He,I:Le,H:Xt,N:Qt,U:Jt,B:er},yc=Ir.litHtmlPolyfillSupport;yc?.(mt,He),(Ir.litHtmlVersions??=[]).push("3.1.0");var Lr=(o,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new He(e.insertBefore(pt(),a),a,void 0,r??{})}return i._$AI(o),i};var ne=class extends J{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Lr(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return fe}};ne._$litElement$=!0,ne.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ne});var bc=globalThis.litElementPolyfillSupport;bc?.({LitElement:ne});var xc={_$AK:(o,e,r)=>{o._$AK(e,r)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var od=!1;var Mr={};P(Mr,{customElement:()=>vc,eventOptions:()=>Oc,property:()=>L,query:()=>tr,queryAll:()=>Cc,queryAssignedElements:()=>Nc,queryAssignedNodes:()=>Ac,queryAsync:()=>Ec,standardProperty:()=>qn,state:()=>X});var vc=o=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var Sc={attribute:!0,type:String,converter:ot,reflect:!1,hasChanged:Wt},qn=(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:c}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(c,d,o)},init(l){return l!==void 0&&this.C(c,void 0,o),l}}}if(n==="setter"){let{name:c}=r;return function(l){let d=this[c];e.call(this,l),this.requestUpdate(c,d,o)}}throw Error("Unsupported decorator location: "+n)};function L(o){return(e,r)=>typeof r=="object"?qn(o,e,r):((n,i,a)=>{let c=i.hasOwnProperty(a);return i.constructor.createProperty(a,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(i,a):void 0})(o,e,r)}function X(o){return L({...o,state:!0,attribute:!1})}function Oc(o){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,o)}}var G=(o,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,r),r);function tr(o,e){return(r,n,i)=>{let a=c=>c.renderRoot?.querySelector(o)??null;if(e){let{get:c,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return G(r,n,{get(){let d=c.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return G(r,n,{get(){return a(this)}})}}var wc;function Cc(o){return(e,r)=>G(e,r,{get(){return(this.renderRoot??(wc??=document.createDocumentFragment())).querySelectorAll(o)}})}function Ec(o){return(e,r)=>G(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function Nc(o){return(e,r)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return G(e,r,{get(){let c=this.renderRoot?.querySelector(a),l=c?.assignedElements(o)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Ac(o){return(e,r)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return G(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var Wr={};P(Wr,{repeat:()=>Ic});var ue={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},pe=o=>(...e)=>({_$litDirective$:o,values:e}),Q=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,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:Rc}=$n;var Yn=()=>document.createComment(""),je=(o,e,r)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Yn(),i),c=n.insertBefore(Yn(),i);r=new Rc(a,c,o,o.options)}else{let a=r._$AB.nextSibling,c=r._$AM,l=c!==o;if(l){let d;r._$AQ?.(o),r._$AM=o,r._$AP!==void 0&&(d=o._$AU)!==c._$AU&&r._$AP(d)}if(a!==i||l){let d=r._$AA;for(;d!==a;){let f=d.nextSibling;n.insertBefore(d,i),d=f}}}return r},he=(o,e,r=o)=>(o._$AI(e,r),o),Pc={},Jn=(o,e=Pc)=>o._$AH=e,Xn=o=>o._$AH,rr=o=>{o._$AP?.(!1,!0);let e=o._$AA,r=o._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Qn=(o,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(o[i],i);return n},Ic=pe(class extends Q{constructor(o){if(super(o),o.type!==ue.CHILD)throw Error("repeat() can only be used in text expressions")}ht(o,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],c=0;for(let l of o)i[c]=n?n(l,c):c,a[c]=r(l,c),c++;return{values:a,keys:i}}render(o,e,r){return this.ht(o,e,r).values}update(o,[e,r,n]){let i=Xn(o),{values:a,keys:c}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=c,a;let l=this.dt??=[],d=[],f,h,p=0,m=i.length-1,g=0,y=a.length-1;for(;p<=m&&g<=y;)if(i[p]===null)p++;else if(i[m]===null)m--;else if(l[p]===c[g])d[g]=he(i[p],a[g]),p++,g++;else if(l[m]===c[y])d[y]=he(i[m],a[y]),m--,y--;else if(l[p]===c[y])d[y]=he(i[p],a[y]),je(o,d[y+1],i[p]),p++,y--;else if(l[m]===c[g])d[g]=he(i[m],a[g]),je(o,i[p],i[m]),m--,g++;else if(f===void 0&&(f=Qn(c,g,y),h=Qn(l,p,m)),f.has(l[p]))if(f.has(l[m])){let v=h.get(c[g]),O=v!==void 0?i[v]:null;if(O===null){let w=je(o,i[p]);he(w,a[g]),d[g]=w}else d[g]=he(O,a[g]),je(o,i[p],O),i[v]=null;g++}else rr(i[m]),m--;else rr(i[p]),p++;for(;g<=y;){let v=je(o,d[y+1]);he(v,a[g]),d[g++]=v}for(;p<=m;){let v=i[p++];v!==null&&rr(v)}return this.dt=c,Jn(o,d),H}});var Ur={};P(Ur,{classMap:()=>Tr});var Tr=pe(class extends Q{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(e=>o[e]).join(" ")+" "}update(o,[e]){if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.st=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=o.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return H}});var Dr={};P(Dr,{styleMap:()=>kc});var ei="important",_c=" !"+ei,kc=pe(class extends Q{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((e,r)=>{let n=o[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:r}=o.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(_c);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ei:""):r[n]=i}}return H}});var Br={};P(Br,{UnsafeHTMLDirective:()=>Ke,unsafeHTML:()=>$c});var Ke=class extends Q{constructor(e){if(super(e),this.et=$,e.type!==ue.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this.vt=void 0,this.et=e;if(e===H)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ke.directiveName="unsafeHTML",Ke.resultType=1;var $c=pe(Ke);var Kr={};P(Kr,{CacheRegistry:()=>jr});var Hr={};P(Hr,{CancelablePromise:()=>Ze,CanceledPromiseError:()=>gt,cancelable:()=>zr});var gt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Ze=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new gt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new gt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},zr=o=>new Ze((e,r)=>o.then(e).catch(r));var jr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Ze&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=zr(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 Vr={};P(Vr,{ClusteringHelper:()=>Zr});var Zr=class o{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?o.flattenMetadata(a):o.flattenMetadata(a.find(c=>c.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>o.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let c=o.extractResultMetadata(this.selectedResult,e),l=(i=c?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>o.extractResultMetadata(f,e)).map(f=>f??{key:e,label:l,value:void 0,displayValue:n}).filter(f=>f.value!=c?.value).filter((f,h,p)=>p.findIndex(m=>m.value===f.value)===h).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,h)=>this.compareMetadata(f.metadata.value,h.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),c=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var f;return((f=o.extractResultMetadata(d,e))===null||f===void 0?void 0:f.value)==r}),a=[...o.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],c,l=-1;for(let d of n){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,c=d,f===a.length))break}return c}countMatchingMetadata(e,r){return o.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Gr={};P(Gr,{Debouncer:()=>me});var me=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Qr={};P(Qr,{customElement:()=>Jr,isNumber:()=>ii,jsonProperty:()=>Xr,optionalNumberProperty:()=>Uc});var Yr={};P(Yr,{dateReviver:()=>Fc,deepEqual:()=>yt,delay:()=>ti,eventPathContainsMatchingElement:()=>Wc,flatDeep:()=>oi,hasChanged:()=>bt,last:()=>Tc,minmax:()=>qr,parseDate:()=>ni,waitFor:()=>ri,waitUntil:()=>Lc});var ti=o=>new Promise(e=>setTimeout(e,o));async function Lc(o,e=10,r=2e4){await ri(async()=>await o()||void 0,e,r)}async function ri(o,e=10,r=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await ti(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function oi(o,e){return o.flatMap(r=>[r,...oi(e(r),e)])}function Fc(...o){return function(e,r){return o.includes(e)?ni(r):r}}function ni(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(o)}function Mc(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(o)){if(r=o.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!yt(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!yt(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!yt(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function yt(o,e){try{return Mc(o,e)}catch{return!1}}function bt(o,e){return!yt(o,e)}function Wc(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 qr(o,e,r){return Math.min(Math.max(o,e),r)}function Tc(o){return o[o.length-1]}var Jr=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function Xr(o,e){let r=()=>JSON.parse(JSON.stringify(o));return L({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:bt,...e??{}})}function Uc(o){return L({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ii(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function ii(o){return!isNaN(parseFloat(o))}var oo={};P(oo,{designSystemVariables:()=>ae});var ro={};P(ro,{DesignSystemFamily:()=>xt,DesignSystemSize:()=>vt,FtCssVariableFactory:()=>t,badge:()=>Vc,banner:()=>Zc,breadcrumb:()=>Gc,button:()=>zc,chart:()=>cs,checkbox:()=>ls,chip:()=>jc,chipChoice:()=>Hc,collapsible:()=>is,comboboxMultiSelect:()=>os,comboboxSingleSelect:()=>rs,drawer:()=>Jc,floatingMenu:()=>ts,foundation:()=>s,link:()=>Kc,modal:()=>Yc,notice:()=>ss,notification:()=>us,pageHeader:()=>qc,popover:()=>ns,radio:()=>fs,resolveFamilyClass:()=>eo,resolveSizeClass:()=>to,semantic:()=>u,setVariable:()=>or,switch_:()=>as,tabs:()=>Xc,textArea:()=>es,textInput:()=>Qc,toggle:()=>ds,tooltip:()=>ps,typographies:()=>Dc,typographyBody1Medium:()=>fi,typographyBody1Regular:()=>di,typographyBody1Semibold:()=>ui,typographyBody2Medium:()=>hi,typographyBody2MediumUnderline:()=>mi,typographyBody2Regular:()=>pi,typographyBody2Semibold:()=>gi,typographyCaption1Bold:()=>Ei,typographyCaption1Medium:()=>wi,typographyCaption1Semibold:()=>Ci,typographyCaption2Bold:()=>Ri,typographyCaption2Medium:()=>Ni,typographyCaption2Semibold:()=>Ai,typographyCaption3Bold:()=>_i,typographyCaption3Medium:()=>Pi,typographyCaption3Semibold:()=>Ii,typographyDisplay:()=>ai,typographyLabel1Bold:()=>xi,typographyLabel1Medium:()=>yi,typographyLabel1Semibold:()=>bi,typographyLabel2Bold:()=>Oi,typographyLabel2Medium:()=>vi,typographyLabel2Semibold:()=>Si,typographyTitle1:()=>ci,typographyTitle2:()=>si,typographyTitle3:()=>li,typographyVariants:()=>Bc});var ie=o=>typeof o=="string"?lt(o):o,t=class{static create(e,r,n,i){let a=l=>ie(l??i),c=W`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=l=>W`var(${ie(e)}, ${a(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,r,n,i){let a=l=>n.get(l??i),c=W`var(${ie(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=l=>W`var(${ie(e)}, ${a(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ie(a??e.lastResortDefaultValue()),i=W`var(${ie(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>W`var(${ie(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function or(o,e){return ie(`${o.name}: ${e}`)}var s={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),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)")},ai={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")},ci={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")},si={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")},li={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")},di={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")},fi={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")},ui={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")},pi={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")},hi={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")},mi={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")},gi={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")},yi={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")},bi={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")},xi={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")},vi={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")},Si={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")},Oi={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")},wi={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")},Ci={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")},Ei={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")},Ni={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")},Ai={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")},Ri={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")},Pi={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")},Ii={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")},_i={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")},Dc={display:ai,"title-1":ci,"title-2":si,"title-3":li,"body-1-regular":di,"body-1-medium":fi,"body-1-semibold":ui,"body-2-regular":pi,"body-2-medium":hi,"body-2-medium-underline":mi,"body-2-semibold":gi,"label-1-medium":yi,"label-1-semibold":bi,"label-1-bold":xi,"label-2-medium":vi,"label-2-semibold":Si,"label-2-bold":Oi,"caption-1-medium":wi,"caption-1-semibold":Ci,"caption-1-bold":Ei,"caption-2-medium":Ni,"caption-2-semibold":Ai,"caption-2-bold":Ri,"caption-3-medium":Pi,"caption-3-semibold":Ii,"caption-3-bold":_i},Bc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var zc={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:t.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:t.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var Hc={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var jc={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:t.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:t.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Kc={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",u.contentActionPrimary)};var Zc={iconSize:t.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Vc={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:t.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Gc={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var qc={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",s.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Yc={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:t.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Jc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Xc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:t.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Qc={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var es={backgroundColor:t.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var ts={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var rs={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var os={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var ns={backgroundColor:t.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:t.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:t.extend("--ft-popover-gap","",s.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",s.shadowElevation02)};var is={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:t.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",s.iconSize3)};var as={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:t.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var cs={color1Light:t.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",s.colorRed40),color5Base:t.extend("--ft-chart-5-base","",s.colorRed60),color6Light:t.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",s.colorGray50),color10Base:t.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var ss={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:t.extend("--ft-notice-gap","",s.spacing2),iconSize:t.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var ls={color:t.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",s.spacing3)};var ds={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:t.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",s.spacing3)};var fs={color:t.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",s.spacing3)};var us={iconSize:t.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",s.spacing8)};var ps={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:t.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:t.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",s.spacing05)};var xt;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(xt||(xt={}));var vt;(function(o){o.large="large",o.medium="medium",o.small="small"})(vt||(vt={}));function eo(o){return`ftds--family-${o}`}function to(o){return`ftds--size-${o}`}var ae={colorPrimary:t.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:t.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:t.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:t.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:t.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:t.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:t.create("--ft-color-error","","COLOR","#B00020"),colorOutline:t.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:t.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:t.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:t.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:t.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:t.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:t.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:t.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:t.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:t.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:t.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:t.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:t.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:t.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:t.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:t.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:t.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:t.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:t.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:t.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:t.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:t.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:t.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:t.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:t.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:t.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:t.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:t.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:t.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:t.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:t.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:t.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:t.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:t.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:t.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:t.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:t.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:t.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:t.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:t.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:t.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:t.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:t.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:t.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:t.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:t.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:t.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:t.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:t.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:t.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:t.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:t.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:t.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var co={};P(co,{FtNotificationEvent:()=>no,PostResizeEvent:()=>ao,PreResizeEvent:()=>io});var no=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},io=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ao=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var xo={};P(xo,{computeOffsetPosition:()=>ks});var $i=["top","right","bottom","left"],ki=["start","end"],lo=$i.reduce((o,e)=>o.concat(e,e+"-"+ki[0],e+"-"+ki[1]),[]),St=Math.min,ge=Math.max,Ot=Math.round;var ce=o=>({x:o,y:o}),hs={left:"right",right:"left",bottom:"top",top:"bottom"},ms={start:"end",end:"start"};function fo(o,e,r){return ge(o,St(e,r))}function nr(o,e){return typeof o=="function"?o(e):o}function Ve(o){return o.split("-")[0]}function ye(o){return o.split("-")[1]}function uo(o){return o==="x"?"y":"x"}function po(o){return o==="y"?"height":"width"}function ir(o){return["top","bottom"].includes(Ve(o))?"y":"x"}function ho(o){return uo(ir(o))}function Li(o,e,r){r===void 0&&(r=!1);let n=ye(o),i=ho(o),a=po(i),c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=so(c)),[c,so(c)]}function Fi(o){return o.replace(/start|end/g,e=>ms[e])}function so(o){return o.replace(/left|right|bottom|top/g,e=>hs[e])}function gs(o){return{top:0,right:0,bottom:0,left:0,...o}}function Mi(o){return typeof o!="number"?gs(o):{top:o,right:o,bottom:o,left:o}}function Fe(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Wi(o,e,r){let{reference:n,floating:i}=o,a=ir(e),c=ho(e),l=po(c),d=Ve(e),f=a==="y",h=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,g;switch(d){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-i.width,y:p};break;default:g={x:n.x,y:n.y}}switch(ye(e)){case"start":g[c]-=m*(r&&f?-1:1);break;case"end":g[c]+=m*(r&&f?-1:1);break}return g}var Ti=async(o,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=r,l=a.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:p}=Wi(f,n,d),m=n,g={},y=0;for(let v=0;v<l.length;v++){let{name:O,fn:w}=l[v],{x:C,y:b,data:x,reset:S}=await w({x:h,y:p,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:c,elements:{reference:o,floating:e}});if(h=C??h,p=b??p,g={...g,[O]:{...g[O],...x}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await c.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:p}=Wi(f,m,d)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:i,middlewareData:g}};async function mo(o,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:l,strategy:d}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=nr(e,o),y=Mi(g),O=l[m?p==="floating"?"reference":"floating":p],w=Fe(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(l.floating)),boundary:f,rootBoundary:h,strategy:d})),C=p==="floating"?{...c.floating,x:n,y:i}:c.reference,b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),x=await(a.isElement==null?void 0:a.isElement(b))?await(a.getScale==null?void 0:a.getScale(b))||{x:1,y:1}:{x:1,y:1},S=Fe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:b,strategy:d}):C);return{top:(w.top-S.top+y.top)/x.y,bottom:(S.bottom-w.bottom+y.bottom)/x.y,left:(w.left-S.left+y.left)/x.x,right:(S.right-w.right+y.right)/x.x}}function ys(o,e,r){return(o?[...r.filter(i=>ye(i)===o),...r.filter(i=>ye(i)!==o)]:r.filter(i=>Ve(i)===i)).filter(i=>o?ye(i)===o||(e?Fi(i)!==i:!1):!0)}var go=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,n,i;let{rects:a,middlewareData:c,placement:l,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=lo,autoAlignment:g=!0,...y}=nr(o,e),v=p!==void 0||m===lo?ys(p||null,g,m):m,O=await mo(e,y),w=((r=c.autoPlacement)==null?void 0:r.index)||0,C=v[w];if(C==null)return{};let b=Li(C,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==C)return{reset:{placement:v[0]}};let x=[O[Ve(C)],O[b[0]],O[b[1]]],S=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:x}],N=v[w+1];if(N)return{data:{index:w+1,overflows:S},reset:{placement:N}};let I=S.map(E=>{let A=ye(E.placement);return[E.placement,A&&h?E.overflows.slice(0,2).reduce((R,T)=>R+T,0):E.overflows[0],E.overflows]}).sort((E,A)=>E[1]-A[1]),_=((i=I.filter(E=>E[2].slice(0,ye(E[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||I[0][0];return _!==l?{data:{index:w+1,overflows:S},reset:{placement:_}}:{}}}};var yo=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:l={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...d}=nr(o,e),f={x:r,y:n},h=await mo(e,d),p=ir(Ve(i)),m=uo(p),g=f[m],y=f[p];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],b=g-h[w];g=fo(C,g,b)}if(c){let O=p==="y"?"top":"left",w=p==="y"?"bottom":"right",C=y+h[O],b=y-h[w];y=fo(C,y,b)}let v=l.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function se(o){return Di(o)?(o.nodeName||"").toLowerCase():"#document"}function B(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function le(o){var e;return(e=(Di(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Di(o){return o instanceof Node||o instanceof B(o).Node}function ee(o){return o instanceof Element||o instanceof B(o).Element}function q(o){return o instanceof HTMLElement||o instanceof B(o).HTMLElement}function Ui(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof B(o).ShadowRoot}function Ge(o){let{overflow:e,overflowX:r,overflowY:n,display:i}=j(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Bi(o){return["table","td","th"].includes(se(o))}function cr(o){let e=sr(),r=j(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function zi(o){let e=Me(o);for(;q(e)&&!wt(e);){if(cr(e))return e;e=Me(e)}return null}function sr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wt(o){return["html","body","#document"].includes(se(o))}function j(o){return B(o).getComputedStyle(o)}function Ct(o){return ee(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Me(o){if(se(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Ui(o)&&o.host||le(o);return Ui(e)?e.host:e}function Hi(o){let e=Me(o);return wt(e)?o.ownerDocument?o.ownerDocument.body:o.body:q(e)&&Ge(e)?e:Hi(e)}function ar(o,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Hi(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),c=B(i);return a?e.concat(c,c.visualViewport||[],Ge(i)?i:[],c.frameElement&&r?ar(c.frameElement):[]):e.concat(i,ar(i,[],r))}function Zi(o){let e=j(o),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=q(o),a=i?o.offsetWidth:r,c=i?o.offsetHeight:n,l=Ot(r)!==a||Ot(n)!==c;return l&&(r=a,n=c),{width:r,height:n,$:l}}function Vi(o){return ee(o)?o:o.contextElement}function qe(o){let e=Vi(o);if(!q(e))return ce(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Zi(e),c=(a?Ot(r.width):r.width)/n,l=(a?Ot(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var bs=ce(0);function Gi(o){let e=B(o);return!sr()||!e.visualViewport?bs:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function xs(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==B(o)?!1:e}function Et(o,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=o.getBoundingClientRect(),a=Vi(o),c=ce(1);e&&(n?ee(n)&&(c=qe(n)):c=qe(o));let l=xs(a,r,n)?Gi(a):ce(0),d=(i.left+l.x)/c.x,f=(i.top+l.y)/c.y,h=i.width/c.x,p=i.height/c.y;if(a){let m=B(a),g=n&&ee(n)?B(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=qe(y),O=y.getBoundingClientRect(),w=j(y),C=O.left+(y.clientLeft+parseFloat(w.paddingLeft))*v.x,b=O.top+(y.clientTop+parseFloat(w.paddingTop))*v.y;d*=v.x,f*=v.y,h*=v.x,p*=v.y,d+=C,f+=b,y=B(y).frameElement}}return Fe({width:h,height:p,x:d,y:f})}function vs(o){let{rect:e,offsetParent:r,strategy:n}=o,i=q(r),a=le(r);if(r===a)return e;let c={scrollLeft:0,scrollTop:0},l=ce(1),d=ce(0);if((i||!i&&n!=="fixed")&&((se(r)!=="body"||Ge(a))&&(c=Ct(r)),q(r))){let f=Et(r);l=qe(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-c.scrollLeft*l.x+d.x,y:e.y*l.y-c.scrollTop*l.y+d.y}}function Ss(o){return Array.from(o.getClientRects())}function qi(o){return Et(le(o)).left+Ct(o).scrollLeft}function Os(o){let e=le(o),r=Ct(o),n=o.ownerDocument.body,i=ge(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ge(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+qi(o),l=-r.scrollTop;return j(n).direction==="rtl"&&(c+=ge(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:l}}function ws(o,e){let r=B(o),n=le(o),i=r.visualViewport,a=n.clientWidth,c=n.clientHeight,l=0,d=0;if(i){a=i.width,c=i.height;let f=sr();(!f||f&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:c,x:l,y:d}}function Cs(o,e){let r=Et(o,!0,e==="fixed"),n=r.top+o.clientTop,i=r.left+o.clientLeft,a=q(o)?qe(o):ce(1),c=o.clientWidth*a.x,l=o.clientHeight*a.y,d=i*a.x,f=n*a.y;return{width:c,height:l,x:d,y:f}}function ji(o,e,r){let n;if(e==="viewport")n=ws(o,r);else if(e==="document")n=Os(le(o));else if(ee(e))n=Cs(e,r);else{let i=Gi(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Fe(n)}function Yi(o,e){let r=Me(o);return r===e||!ee(r)||wt(r)?!1:j(r).position==="fixed"||Yi(r,e)}function Es(o,e){let r=e.get(o);if(r)return r;let n=ar(o,[],!1).filter(l=>ee(l)&&se(l)!=="body"),i=null,a=j(o).position==="fixed",c=a?Me(o):o;for(;ee(c)&&!wt(c);){let l=j(c),d=cr(c);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ge(c)&&!d&&Yi(o,c))?n=n.filter(h=>h!==c):i=l,c=Me(c)}return e.set(o,n),n}function Ns(o){let{element:e,boundary:r,rootBoundary:n,strategy:i}=o,c=[...r==="clippingAncestors"?Es(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((f,h)=>{let p=ji(e,h,i);return f.top=ge(p.top,f.top),f.right=St(p.right,f.right),f.bottom=St(p.bottom,f.bottom),f.left=ge(p.left,f.left),f},ji(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function As(o){return Zi(o)}function Rs(o,e,r){let n=q(e),i=le(e),a=r==="fixed",c=Et(o,!0,a,e),l={scrollLeft:0,scrollTop:0},d=ce(0);if(n||!n&&!a)if((se(e)!=="body"||Ge(i))&&(l=Ct(e)),n){let f=Et(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else i&&(d.x=qi(i));return{x:c.left+l.scrollLeft-d.x,y:c.top+l.scrollTop-d.y,width:c.width,height:c.height}}function Ki(o,e){return!q(o)||j(o).position==="fixed"?null:e?e(o):o.offsetParent}function Ji(o,e){let r=B(o);if(!q(o))return r;let n=Ki(o,e);for(;n&&Bi(n)&&j(n).position==="static";)n=Ki(n,e);return n&&(se(n)==="html"||se(n)==="body"&&j(n).position==="static"&&!cr(n))?r:n||zi(o)||r}var Ps=async function(o){let{reference:e,floating:r,strategy:n}=o,i=this.getOffsetParent||Ji,a=this.getDimensions;return{reference:Rs(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Is(o){return j(o).direction==="rtl"}var lr={convertOffsetParentRelativeRectToViewportRelativeRect:vs,getDocumentElement:le,getClippingRect:Ns,getOffsetParent:Ji,getElementRects:Ps,getClientRects:Ss,getDimensions:As,getScale:qe,isElement:ee,isRTL:Is};var Xi=(o,e,r)=>{let n=new Map,i={platform:lr,...r},a={...i.platform,_c:n};return Ti(o,e,{...i,platform:a})};function Qi(o){return _s(o)}function bo(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function _s(o){for(let e=o;e;e=bo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=bo(o);e;e=bo(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ks(o,e,r){return Xi(o,e,{platform:{...lr,getOffsetParent:n=>lr.getOffsetParent(n,Qi)},middleware:[yo({crossAxis:!0}),go({allowedPlacements:[r]})]})}var wo={};P(wo,{FtdsBase:()=>Oo,toFtdsBase:()=>ca});var So={};P(So,{FtLitElement:()=>K});var vo={};P(vo,{ScopedRegistryLitElement:()=>Nt});var dr=window,$s=dr.ShadowRoot&&(dr.ShadyCSS===void 0||dr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mh=Symbol();var ea=(o,e)=>{$s?o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=dr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)})};var Nt=class extends ne{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ea(n,e.elementStyles),n}};var fr=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var l=o.length-1;l>=0;l--)(c=o[l])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},na,ta=Symbol("constructorPrototype"),ra=Symbol("constructorName"),ia=Symbol("exportpartsDebouncer"),oa=Symbol("dynamicDependenciesLoaded"),K=class extends Nt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[na]=new me(5),this[ra]=this.constructor.name,this[ta]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ra]&&Object.setPrototypeOf(this,this[ta])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[oa]||(e[oa]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var 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[ia].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,c,l;let d=m=>m!=null&&m.trim().length>0,f=e.filter(d).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(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=(l=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...g,...y).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};na=ia;fr([L()],K.prototype,"exportpartsPrefix",void 0);fr([Xr([])],K.prototype,"exportpartsPrefixes",void 0);fr([L()],K.prototype,"customStylesheet",void 0);fr([X()],K.prototype,"useAdoptedStyleSheets",void 0);var aa=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var l=o.length-1;l>=0;l--)(c=o[l])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function ca(o){class e extends o{constructor(){super(...arguments),this.size=vt.medium,this.family=xt.neutral}getDesignSystemBaseClasses(){return{[eo(this.family)]:!0,[to(this.size)]:!0}}}return aa([L()],e.prototype,"size",void 0),aa([L()],e.prototype,"family",void 0),e}var Oo=class extends ca(K){};var sa={};var Eo={};P(Eo,{highlightHtml:()=>Ms,highlightHtmlColorCssVariable:()=>la,highlightHtmlStyles:()=>Fs});var We=class o{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(c=>i.call(e,c)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,c=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",c),a=setTimeout(c,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),c=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--c<=0&&i(l)};c||d(),a.forEach(f=>{o.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let c=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(c&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,c=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,c=l.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!c?i.push({val:n,handled:!0}):a!==!1&&!c&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,c=>{this.createInstanceOnIframe(c).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let c=this.createIterator(r,e,i),l=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(c),f);for(;p();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>d.push(g),i)}),d.push(f);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),c=a.length;c||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--c<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var At=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new We(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let c=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(c=>{if(c.indexOf(a)!==-1){if(i.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${r}`),`[${c}]`),i.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,c="";switch(a.forEach(l=>{c+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(r)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:c,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=c-a,r.push(i),n=c)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,c=n.length,l=r-c,d=parseInt(e.start,10)-l;return d=d>c?c:d,i=d+parseInt(e.length,10),i>c&&(i=c,this.log(`End range automatically set to the max value of ${c}`)),d<0||i-d<0||d>c||i>c?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let 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 We.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),c=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),c}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((c,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!i(c.node))return!1;let f=r-c.start,h=(n>c.end?c.end:n)-c.start,p=e.value.substr(0,c.start),m=e.value.substr(h+c.start);if(c.node=this.wrapRangeInTextNode(c.node,f,h),e.value=p+m,e.nodes.forEach((g,y)=>{y>=l&&(e.nodes[y].start>0&&y!==l&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(c.node.previousSibling,c.start),n>c.end)r=c.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let c=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[c]!=="";){if(!n(f[c],d))continue;let h=f.index;if(c!==0)for(let p=1;p<c;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[c].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let c=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[c]!=="";){let f=d.index;if(c!==0)for(let p=1;p<c;p++)f+=d[p].length;let h=f+d[c].length;this.wrapRangeInMappedTextNode(l,f,h,p=>n(d[c],p),(p,m)=>{e.lastIndex=m,i(p)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let c=a.value.length;e.forEach((l,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(l,c,a.value);p&&this.wrapRangeInMappedTextNode(a,f,h,m=>r(m,l,a.value.substring(f,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(c,l)=>this.opt.filter(l,c,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,p),m=>{p++,n++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),a[c-1]===f?this.opt.done(n):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),c===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,c,l,d)=>this.opt.filter(a,c,l,d),(a,c)=>{n++,this.opt.each(a,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=We.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Co(o){let e=new At(o);return this.mark=(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 Ls=Co,la=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Fs=W`
|
|
1
|
+
"use strict";(()=>{var Ls=Object.create;var Ur=Object.defineProperty;var ks=Object.getOwnPropertyDescriptor;var Fs=Object.getOwnPropertyNames;var Us=Object.getPrototypeOf,Ds=Object.prototype.hasOwnProperty;var $s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),k=(r,e)=>{for(var t in e)Ur(r,t,{get:e[t],enumerable:!0})},Ms=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Fs(e))!Ds.call(r,i)&&i!==t&&Ur(r,i,{get:()=>e[i],enumerable:!(n=ks(e,i))||n.enumerable});return r};var Bs=(r,e,t)=>(t=r!=null?Ls(Us(r)):{},Ms(e||!r||!r.__esModule?Ur(t,"default",{value:r,enumerable:!0}):t,r));var is=$s((Ie,ns)=>{var Pr=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Tr=function(){function r(){this.fetch=!1,this.DOMException=Pr.DOMException}return r.prototype=Pr,new r}();(function(r){var e=function(t){var n=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function c(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function d(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var x={next:function(){var R=m.shift();return{done:R===void 0,value:R}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function p(m){this.map={},m instanceof p?m.forEach(function(x,R){this.append(R,x)},this):Array.isArray(m)?m.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}p.prototype.append=function(m,x){m=c(m),x=d(x);var R=this.map[m];this.map[m]=R?R+", "+x:x},p.prototype.delete=function(m){delete this.map[c(m)]},p.prototype.get=function(m){return m=c(m),this.has(m)?this.map[m]:null},p.prototype.has=function(m){return this.map.hasOwnProperty(c(m))},p.prototype.set=function(m,x){this.map[c(m)]=d(x)},p.prototype.forEach=function(m,x){for(var R in this.map)this.map.hasOwnProperty(R)&&m.call(x,this.map[R],R,this)},p.prototype.keys=function(){var m=[];return this.forEach(function(x,R){m.push(R)}),h(m)},p.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),h(m)},p.prototype.entries=function(){var m=[];return this.forEach(function(x,R){m.push([R,x])}),h(m)},i.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function y(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function g(m){return new Promise(function(x,R){m.onload=function(){x(m.result)},m.onerror=function(){R(m.error)}})}function b(m){var x=new FileReader,R=g(x);return x.readAsArrayBuffer(m),R}function O(m){var x=new FileReader,R=g(x),P=/charset=([A-Za-z0-9_-]+)/.exec(m.type),U=P?P[1]:"utf-8";return x.readAsText(m,U),R}function C(m){for(var x=new Uint8Array(m),R=new Array(x.length),P=0;P<x.length;P++)R[P]=String.fromCharCode(x[P]);return R.join("")}function w(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=w(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||u(m))?this._bodyArrayBuffer=w(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=y(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(C(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}var v=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(m){var x=m.toUpperCase();return v.indexOf(x)>-1?x:m}function E(m,x){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var R=x.body;if(m instanceof E){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new p(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!R&&m._bodyInit!=null&&(R=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new p(x.headers)),this.method=S(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var I=new AbortController;return I.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(R),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var P=/([?&])_=[^&]*/;if(P.test(this.url))this.url=this.url.replace(P,"$1_="+new Date().getTime());else{var U=/\?/;this.url+=(U.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function _(m){var x=new FormData;return m.trim().split("&").forEach(function(R){if(R){var P=R.split("="),U=P.shift().replace(/\+/g," "),I=P.join("=").replace(/\+/g," ");x.append(decodeURIComponent(U),decodeURIComponent(I))}}),x}function T(m){var x=new p,R=m.replace(/\r?\n[\t ]+/g," ");return R.split("\r").map(function(P){return P.indexOf(`
|
|
2
|
+
`)===0?P.substr(1,P.length):P}).forEach(function(P){var U=P.split(":"),I=U.shift().trim();if(I){var Ht=U.join(":").trim();try{x.append(I,Ht)}catch(Fr){console.warn("Response "+Fr.message)}}}),x}A.call(E.prototype);function F(m,x){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new p(x.headers),this.url=x.url||"",this._initBody(m)}A.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},F.error=function(){var m=new F(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var L=[301,302,303,307,308];F.redirect=function(m,x){if(L.indexOf(x)===-1)throw new RangeError("Invalid status code");return new F(null,{status:x,headers:{location:m}})},t.DOMException=n.DOMException;try{new t.DOMException}catch{t.DOMException=function(x,R){this.message=x,this.name=R;var P=Error(x);this.stack=P.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function N(m,x){return new Promise(function(R,P){var U=new E(m,x);if(U.signal&&U.signal.aborted)return P(new t.DOMException("Aborted","AbortError"));var I=new XMLHttpRequest;function Ht(){I.abort()}I.onload=function(){var V={statusText:I.statusText,headers:T(I.getAllResponseHeaders()||"")};U.url.indexOf("file://")===0&&(I.status<200||I.status>599)?V.status=200:V.status=I.status,V.url="responseURL"in I?I.responseURL:V.headers.get("X-Request-URL");var Pe="response"in I?I.response:I.responseText;setTimeout(function(){R(new F(Pe,V))},0)},I.onerror=function(){setTimeout(function(){P(new TypeError("Network request failed"))},0)},I.ontimeout=function(){setTimeout(function(){P(new TypeError("Network request timed out"))},0)},I.onabort=function(){setTimeout(function(){P(new t.DOMException("Aborted","AbortError"))},0)};function Fr(V){try{return V===""&&n.location.href?n.location.href:V}catch{return V}}if(I.open(U.method,Fr(U.url),!0),U.credentials==="include"?I.withCredentials=!0:U.credentials==="omit"&&(I.withCredentials=!1),"responseType"in I&&(i.blob?I.responseType="blob":i.arrayBuffer&&(I.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof p||n.Headers&&x.headers instanceof n.Headers)){var In=[];Object.getOwnPropertyNames(x.headers).forEach(function(V){In.push(c(V)),I.setRequestHeader(V,d(x.headers[V]))}),U.headers.forEach(function(V,Pe){In.indexOf(Pe)===-1&&I.setRequestHeader(Pe,V)})}else U.headers.forEach(function(V,Pe){I.setRequestHeader(Pe,V)});U.signal&&(U.signal.addEventListener("abort",Ht),I.onreadystatechange=function(){I.readyState===4&&U.signal.removeEventListener("abort",Ht)}),I.send(typeof U._bodyInit>"u"?null:U._bodyInit)})}return N.polyfill=!0,n.fetch||(n.fetch=N,n.Headers=p,n.Request=E,n.Response=F),t.Headers=p,t.Request=E,t.Response=F,t.fetch=N,t}({})})(Tr);Tr.fetch.ponyfill=!0;delete Tr.fetch.polyfill;var ut=Pr.fetch?Pr:Tr;Ie=ut.fetch;Ie.default=ut.fetch;Ie.fetch=ut.fetch;Ie.Headers=ut.Headers;Ie.Request=ut.Request;Ie.Response=ut.Response;ns.exports=Ie});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,u=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,_=new Set(S.observedAttributes||[]);y(S,_,E);let T={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:_};this._definitionsByTag.set(v,T),this._definitionsByClass.set(S,T);let F=t.call(n,v);F||(F=p(v),e.call(n,v,F)),this===window.customElements&&(s.set(S,T),T.standInClass=F);let L=this._awaitingUpgrade.get(v);if(L){this._awaitingUpgrade.delete(v);for(let m of L)a.delete(m),b(m,T,!0)}let N=this._whenDefinedPromises.get(v);return N!==void 0&&(N.resolve(S),this._whenDefinedPromises.delete(v)),S}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let S=this._getDefinition(v);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(v);return E===void 0&&(E={},E.promise=new Promise(_=>E.resolve=_),this._whenDefinedPromises.set(v,E)),E.promise}_upgradeWhenDefined(v,S,E){let _=this._awaitingUpgrade.get(S);_||this._awaitingUpgrade.set(S,_=new Set),E?_.add(v):_.delete(v)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(r,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,E),S},window.HTMLElement.prototype=r.prototype;let d=v=>v===document||v instanceof ShadowRoot,h=v=>{let S=v.getRootNode();if(!d(S)){let E=C[C.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),d(S)||(S=u.get(S)?.getRootNode()||document)}return S.customElements},p=v=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let _=h(E)||window.customElements,T=_._getDefinition(v);return T?b(E,T):a.set(E,_),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},y=(v,S,E)=>{if(S.size===0||E===void 0)return;let _=v.prototype.setAttribute;_&&(v.prototype.setAttribute=function(L,N){let m=L.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);_.call(this,m,N),E.call(this,m,x,N)}else _.call(this,m,N)});let T=v.prototype.removeAttribute;T&&(v.prototype.removeAttribute=function(L){let N=L.toLowerCase();if(S.has(N)){let m=this.getAttribute(N);T.call(this,N),E.call(this,N,m,null)}else T.call(this,N)});let F=v.prototype.toggleAttribute;F&&(v.prototype.toggleAttribute=function(L,N){let m=L.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);F.call(this,m,N);let R=this.getAttribute(m);E.call(this,m,x,R)}else F.call(this,m,N)})},g=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===r?Object.setPrototypeOf(v,window.HTMLElement):g(S)},b=(v,S,E=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),i.set(v,S),c=v;try{new S.elementClass}catch{g(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(_=>{v.hasAttribute(_)&&S.attributeChangedCallback.call(v,_,null,v.getAttribute(_))}),E&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=O.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let C=[document],w=(v,S,E=void 0)=>{let _=(E?Object.getPrototypeOf(E):v.prototype)[S];v.prototype[S]=function(){C.push(this);let T=_.apply(E||this,arguments);return T!==void 0&&u.set(T,this),C.pop(),T}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let A=(v,S)=>{let E=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...E,set(_){C.push(this),E.set.call(this,_),C.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...L){let N=S.call(this,...L);return v.set(N,this),N},E.forEach(L=>{let N=window.ElementInternals.prototype,m=N[L];N[L]=function(...x){let R=v.get(this);if(i.get(R).formAssociated===!0)return m?.call(this,...x);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class _ extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class T{constructor(N){let m=new Map;N.forEach((x,R)=>{let P=x.getAttribute("name"),U=m.get(P)||[];this[+R]=x,U.push(x),m.set(P,U)}),this.length=N.length,m.forEach((x,R)=>{x&&(x.length===1?this[R]=x[0]:this[R]=new _(x))})}namedItem(N){return this[N]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let L=F.get.call(this,[]),N=[];for(let m of L){let x=i.get(m);(!x||x.formAssociated===!0)&&N.push(m)}return new T(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,n,i)=>{if(n!==null)try{e.bind(window.customElements)(t,n,i)}catch(a){console.info(t,n,i,a)}}}var Yr={};k(Yr,{CSSResult:()=>Ye,LitElement:()=>ue,ReactiveElement:()=>oe,_$LE:()=>uc,_$LH:()=>sc,adoptStyles:()=>or,css:()=>z,defaultConverter:()=>nr,getCompatibleStyle:()=>xt,html:()=>Zr,isServer:()=>Ju,noChange:()=>ge,notEqual:()=>zr,nothing:()=>H,render:()=>qr,supportsAdoptingStyleSheets:()=>gt,svg:()=>ac,unsafeCSS:()=>bt});var zt=globalThis,Vt=zt.ShadowRoot&&(zt.ShadyCSS===void 0||zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Tn=Symbol(),Pn=new WeakMap,jt=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Tn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(Vt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=Pn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Pn.set(t,e))}return e}toString(){return this.cssText}},Ln=r=>new jt(typeof r=="string"?r:r+"",void 0,Tn);var Dr=(r,e)=>{if(Vt)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=zt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,r.appendChild(n)}},Kt=Vt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return Ln(t)})(r):r;var{is:Ws,defineProperty:Hs,getOwnPropertyDescriptor:zs,getOwnPropertyNames:js,getOwnPropertySymbols:Vs,getPrototypeOf:Ks}=Object,Gt=globalThis,kn=Gt.trustedTypes,Gs=kn?kn.emptyScript:"",Zs=Gt.reactiveElementPolyfillSupport,dt=(r,e)=>r,ft={toAttribute(r,e){switch(e){case Boolean:r=r?Gs:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},Zt=(r,e)=>!Ws(r,e),Fn={attribute:!0,type:String,converter:ft,reflect:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),Gt.litPropertyMetadata??=new WeakMap;var Te=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Fn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&Hs(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=zs(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return i?.call(this)},set(s){let u=i?.call(this);a.call(this,s),this.requestUpdate(e,u,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Fn}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;let e=Ks(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){let t=this.properties,n=[...js(t),...Vs(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(Kt(i))}else e!==void 0&&t.push(Kt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Dr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:ft).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ft;this._$Em=i,this[i]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Zt)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};Te.elementStyles=[],Te.shadowRootOptions={mode:"open"},Te[dt("elementProperties")]=new Map,Te[dt("finalized")]=new Map,Zs?.({ReactiveElement:Te}),(Gt.reactiveElementVersions??=[]).push("2.0.2");var Mr=globalThis,qt=Mr.trustedTypes,Un=qt?qt.createPolicy("lit-html",{createHTML:r=>r}):void 0,Br="$lit$",ce=`lit$${(Math.random()+"").slice(9)}$`,Wr="?"+ce,qs=`<${Wr}>`,Fe=document,Yt=()=>Fe.createComment(""),ht=r=>r===null||typeof r!="object"&&typeof r!="function",Hn=Array.isArray,zn=r=>Hn(r)||typeof r?.[Symbol.iterator]=="function",$r=`[
|
|
3
|
+
\f\r]`,pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dn=/-->/g,$n=/>/g,Le=RegExp(`>|${$r}(?:([^\\s"'>=/]+)(${$r}*=${$r}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Mn=/'/g,Bn=/"/g,jn=/^(?:script|style|textarea|title)$/i,Vn=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),$u=Vn(1),Mu=Vn(2),q=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Wn=new WeakMap,ke=Fe.createTreeWalker(Fe,129);function Kn(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Un!==void 0?Un.createHTML(e):e}var Gn=(r,e)=>{let t=r.length-1,n=[],i,a=e===2?"<svg>":"",s=pt;for(let u=0;u<t;u++){let c=r[u],d,h,p=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===pt?h[1]==="!--"?s=Dn:h[1]!==void 0?s=$n:h[2]!==void 0?(jn.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Le):h[3]!==void 0&&(s=Le):s===Le?h[0]===">"?(s=i??pt,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Le:h[3]==='"'?Bn:Mn):s===Bn||s===Mn?s=Le:s===Dn||s===$n?s=pt:(s=Le,i=void 0);let g=s===Le&&r[u+1].startsWith("/>")?" ":"";a+=s===pt?c+qs:p>=0?(n.push(d),c.slice(0,p)+Br+c.slice(p)+ce+g):c+ce+(p===-2?u:g)}return[Kn(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),n]},mt=class r{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,u=e.length-1,c=this.parts,[d,h]=Gn(e,t);if(this.el=r.createElement(d,n),ke.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=ke.nextNode())!==null&&c.length<u;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Br)){let y=h[s++],g=i.getAttribute(p).split(ce),b=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?Xt:b[1]==="?"?Qt:b[1]==="@"?er:De}),i.removeAttribute(p)}else p.startsWith(ce)&&(c.push({type:6,index:a}),i.removeAttribute(p));if(jn.test(i.tagName)){let p=i.textContent.split(ce),y=p.length-1;if(y>0){i.textContent=qt?qt.emptyScript:"";for(let g=0;g<y;g++)i.append(p[g],Yt()),ke.nextNode(),c.push({type:2,index:++a});i.append(p[y],Yt())}}}else if(i.nodeType===8)if(i.data===Wr)c.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(ce,p+1))!==-1;)c.push({type:7,index:a}),p+=ce.length-1}a++}}static createElement(e,t){let n=Fe.createElement("template");return n.innerHTML=e,n}};function Ue(r,e,t=r,n){if(e===q)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=ht(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(r),i._$AT(r,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=Ue(r,i._$AS(r,e.values),i,n)),e}var Jt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Fe).importNode(t,!0);ke.currentNode=i;let a=ke.nextNode(),s=0,u=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new yt(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new tr(a,this,e)),this._$AV.push(d),c=n[++u]}s!==c?.index&&(a=ke.nextNode(),s++)}return ke.currentNode=Fe,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},yt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Ue(this,e,t),ht(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==q&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):zn(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&&ht(this._$AH)?this._$AA.nextSibling.data=e:this.$(Fe.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=mt.createElement(Kn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Jt(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=Wn.get(e.strings);return t===void 0&&Wn.set(e.strings,t=new mt(e)),t}T(e){Hn(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new r(this.k(Yt()),this.k(Yt()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},De=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ue(this,e,t,0),s=!ht(e)||e!==this._$AH&&e!==q,s&&(this._$AH=e);else{let u=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=Ue(this,u[n+c],t,c),d===q&&(d=this._$AH[c]),s||=!ht(d)||d!==this._$AH[c],d===M?e=M:e!==M&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Xt=class extends De{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===M?void 0:e}},Qt=class extends De{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},er=class extends De{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Ue(this,e,t,0)??M)===q)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)}},tr=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ue(this,e)}},Zn={j:Br,P:ce,A:Wr,C:1,M:Gn,L:Jt,R:zn,V:Ue,D:yt,I:De,H:Qt,N:er,U:Xt,B:tr},Ys=Mr.litHtmlPolyfillSupport;Ys?.(mt,yt),(Mr.litHtmlVersions??=[]).push("3.1.0");var rr=globalThis,gt=rr.ShadowRoot&&(rr.ShadyCSS===void 0||rr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hr=Symbol(),qn=new WeakMap,Ye=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Hr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(gt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=qn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&qn.set(t,e))}return e}toString(){return this.cssText}},bt=r=>new Ye(typeof r=="string"?r:r+"",void 0,Hr),z=(r,...e)=>{let t=r.length===1?r[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)+r[a+1],r[0]);return new Ye(t,r,Hr)},or=(r,e)=>{if(gt)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=rr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,r.appendChild(n)}},xt=gt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return bt(t)})(r):r;var{is:Js,defineProperty:Xs,getOwnPropertyDescriptor:Qs,getOwnPropertyNames:ec,getOwnPropertySymbols:tc,getPrototypeOf:rc}=Object,ir=globalThis,Yn=ir.trustedTypes,oc=Yn?Yn.emptyScript:"",nc=ir.reactiveElementPolyfillSupport,vt=(r,e)=>r,nr={toAttribute(r,e){switch(e){case Boolean:r=r?oc:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let t=r;switch(e){case Boolean:t=r!==null;break;case Number:t=r===null?null:Number(r);break;case Object:case Array:try{t=JSON.parse(r)}catch{t=null}}return t}},zr=(r,e)=>!Js(r,e),Jn={attribute:!0,type:String,converter:nr,reflect:!1,hasChanged:zr};Symbol.metadata??=Symbol("metadata"),ir.litPropertyMetadata??=new WeakMap;var oe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Jn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&Xs(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=Qs(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return i?.call(this)},set(s){let u=i?.call(this);a.call(this,s),this.requestUpdate(e,u,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Jn}static _$Ei(){if(this.hasOwnProperty(vt("elementProperties")))return;let e=rc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(vt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(vt("properties"))){let t=this.properties,n=[...ec(t),...tc(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(xt(i))}else e!==void 0&&t.push(xt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return or(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:nr).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:nr;this._$Em=i,this[i]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??zr)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};oe.elementStyles=[],oe.shadowRootOptions={mode:"open"},oe[vt("elementProperties")]=new Map,oe[vt("finalized")]=new Map,nc?.({ReactiveElement:oe}),(ir.reactiveElementVersions??=[]).push("2.0.2");var Vr=globalThis,ar=Vr.trustedTypes,Xn=ar?ar.createPolicy("lit-html",{createHTML:r=>r}):void 0,Kr="$lit$",le=`lit$${(Math.random()+"").slice(9)}$`,Gr="?"+le,ic=`<${Gr}>`,Be=document,Ot=()=>Be.createComment(""),Et=r=>r===null||typeof r!="object"&&typeof r!="function",ni=Array.isArray,ii=r=>ni(r)||typeof r?.[Symbol.iterator]=="function",jr=`[
|
|
5
|
+
\f\r]`,St=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qn=/-->/g,ei=/>/g,$e=RegExp(`>|${jr}(?:([^\\s"'>=/]+)(${jr}*=${jr}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ti=/'/g,ri=/"/g,ai=/^(?:script|style|textarea|title)$/i,si=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),Zr=si(1),ac=si(2),ge=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),oi=new WeakMap,Me=Be.createTreeWalker(Be,129);function ci(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xn!==void 0?Xn.createHTML(e):e}var li=(r,e)=>{let t=r.length-1,n=[],i,a=e===2?"<svg>":"",s=St;for(let u=0;u<t;u++){let c=r[u],d,h,p=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===St?h[1]==="!--"?s=Qn:h[1]!==void 0?s=ei:h[2]!==void 0?(ai.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=$e):h[3]!==void 0&&(s=$e):s===$e?h[0]===">"?(s=i??St,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?$e:h[3]==='"'?ri:ti):s===ri||s===ti?s=$e:s===Qn||s===ei?s=St:(s=$e,i=void 0);let g=s===$e&&r[u+1].startsWith("/>")?" ":"";a+=s===St?c+ic:p>=0?(n.push(d),c.slice(0,p)+Kr+c.slice(p)+le+g):c+le+(p===-2?u:g)}return[ci(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),n]},wt=class r{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,u=e.length-1,c=this.parts,[d,h]=li(e,t);if(this.el=r.createElement(d,n),Me.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Me.nextNode())!==null&&c.length<u;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Kr)){let y=h[s++],g=i.getAttribute(p).split(le),b=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?cr:b[1]==="?"?lr:b[1]==="@"?ur:He}),i.removeAttribute(p)}else p.startsWith(le)&&(c.push({type:6,index:a}),i.removeAttribute(p));if(ai.test(i.tagName)){let p=i.textContent.split(le),y=p.length-1;if(y>0){i.textContent=ar?ar.emptyScript:"";for(let g=0;g<y;g++)i.append(p[g],Ot()),Me.nextNode(),c.push({type:2,index:++a});i.append(p[y],Ot())}}}else if(i.nodeType===8)if(i.data===Gr)c.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(le,p+1))!==-1;)c.push({type:7,index:a}),p+=le.length-1}a++}}static createElement(e,t){let n=Be.createElement("template");return n.innerHTML=e,n}};function We(r,e,t=r,n){if(e===ge)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=Et(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(r),i._$AT(r,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=We(r,i._$AS(r,e.values),i,n)),e}var sr=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Be).importNode(t,!0);Me.currentNode=i;let a=Me.nextNode(),s=0,u=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Je(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new dr(a,this,e)),this._$AV.push(d),c=n[++u]}s!==c?.index&&(a=Me.nextNode(),s++)}return Me.currentNode=Be,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},Je=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=We(this,e,t),Et(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==ge&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ii(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!==H&&Et(this._$AH)?this._$AA.nextSibling.data=e:this.$(Be.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=wt.createElement(ci(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new sr(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=oi.get(e.strings);return t===void 0&&oi.set(e.strings,t=new wt(e)),t}T(e){ni(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new r(this.k(Ot()),this.k(Ot()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},He=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=We(this,e,t,0),s=!Et(e)||e!==this._$AH&&e!==ge,s&&(this._$AH=e);else{let u=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=We(this,u[n+c],t,c),d===ge&&(d=this._$AH[c]),s||=!Et(d)||d!==this._$AH[c],d===H?e=H:e!==H&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},cr=class extends He{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},lr=class extends He{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},ur=class extends He{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=We(this,e,t,0)??H)===ge)return;let n=this._$AH,i=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==H&&(n===H||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)}},dr=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){We(this,e)}},sc={j:Kr,P:le,A:Gr,C:1,M:li,L:sr,R:ii,V:We,D:Je,I:He,H:lr,N:ur,U:cr,B:dr},cc=Vr.litHtmlPolyfillSupport;cc?.(wt,Je),(Vr.litHtmlVersions??=[]).push("3.1.0");var qr=(r,e,t)=>{let n=t?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=t?.renderBefore??null;n._$litPart$=i=new Je(e.insertBefore(Ot(),a),a,void 0,t??{})}return i._$AI(r),i};var ue=class extends oe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=qr(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ge}};ue._$litElement$=!0,ue.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ue});var lc=globalThis.litElementPolyfillSupport;lc?.({LitElement:ue});var uc={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Ju=!1;var Jr={};k(Jr,{customElement:()=>dc,eventOptions:()=>pc,property:()=>B,query:()=>fr,queryAll:()=>mc,queryAssignedElements:()=>gc,queryAssignedNodes:()=>bc,queryAsync:()=>yc,standardProperty:()=>ui,state:()=>ne});var dc=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var fc={attribute:!0,type:String,converter:ft,reflect:!1,hasChanged:Zt},ui=(r=fc,e,t)=>{let{kind:n,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(t.name,r),n==="accessor"){let{name:s}=t;return{set(u){let c=e.get.call(this);e.set.call(this,u),this.requestUpdate(s,c,r)},init(u){return u!==void 0&&this.C(s,void 0,r),u}}}if(n==="setter"){let{name:s}=t;return function(u){let c=this[s];e.call(this,u),this.requestUpdate(s,c,r)}}throw Error("Unsupported decorator location: "+n)};function B(r){return(e,t)=>typeof t=="object"?ui(r,e,t):((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})(r,e,t)}function ne(r){return B({...r,state:!0,attribute:!1})}function pc(r){return(e,t)=>{let n=typeof e=="function"?e:e[t];Object.assign(n,r)}}var ee=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t);function fr(r,e){return(t,n,i)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:u}=typeof n=="object"?t:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return ee(t,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&u.call(this,c)),c}})}return ee(t,n,{get(){return a(this)}})}}var hc;function mc(r){return(e,t)=>ee(e,t,{get(){return(this.renderRoot??(hc??=document.createDocumentFragment())).querySelectorAll(r)}})}function yc(r){return(e,t)=>ee(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function gc(r){return(e,t)=>{let{slot:n,selector:i}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ee(e,t,{get(){let s=this.renderRoot?.querySelector(a),u=s?.assignedElements(r)??[];return i===void 0?u:u.filter(c=>c.matches(i))}})}}function bc(r){return(e,t)=>{let{slot:n}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ee(e,t,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(r)??[]}})}}var Xr={};k(Xr,{repeat:()=>Sc});var be={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},xe=r=>(...e)=>({_$litDirective$:r,values:e}),ie=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:xc}=Zn;var di=()=>document.createComment(""),Xe=(r,e,t)=>{let n=r._$AA.parentNode,i=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=n.insertBefore(di(),i),s=n.insertBefore(di(),i);t=new xc(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,u=s!==r;if(u){let c;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(c=r._$AU)!==s._$AU&&t._$AP(c)}if(a!==i||u){let c=t._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return t},ve=(r,e,t=r)=>(r._$AI(e,t),r),vc={},fi=(r,e=vc)=>r._$AH=e,pi=r=>r._$AH,pr=r=>{r._$AP?.(!1,!0);let e=r._$AA,t=r._$AB.nextSibling;for(;e!==t;){let n=e.nextSibling;e.remove(),e=n}};var hi=(r,e,t)=>{let n=new Map;for(let i=e;i<=t;i++)n.set(r[i],i);return n},Sc=xe(class extends ie{constructor(r){if(super(r),r.type!==be.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,e,t){let n;t===void 0?t=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let u of r)i[s]=n?n(u,s):s,a[s]=t(u,s),s++;return{values:a,keys:i}}render(r,e,t){return this.ht(r,e,t).values}update(r,[e,t,n]){let i=pi(r),{values:a,keys:s}=this.ht(e,t,n);if(!Array.isArray(i))return this.dt=s,a;let u=this.dt??=[],c=[],d,h,p=0,y=i.length-1,g=0,b=a.length-1;for(;p<=y&&g<=b;)if(i[p]===null)p++;else if(i[y]===null)y--;else if(u[p]===s[g])c[g]=ve(i[p],a[g]),p++,g++;else if(u[y]===s[b])c[b]=ve(i[y],a[b]),y--,b--;else if(u[p]===s[b])c[b]=ve(i[p],a[b]),Xe(r,c[b+1],i[p]),p++,b--;else if(u[y]===s[g])c[g]=ve(i[y],a[g]),Xe(r,i[p],i[y]),y--,g++;else if(d===void 0&&(d=hi(s,g,b),h=hi(u,p,y)),d.has(u[p]))if(d.has(u[y])){let O=h.get(s[g]),C=O!==void 0?i[O]:null;if(C===null){let w=Xe(r,i[p]);ve(w,a[g]),c[g]=w}else c[g]=ve(C,a[g]),Xe(r,i[p],C),i[O]=null;g++}else pr(i[y]),y--;else pr(i[p]),p++;for(;g<=b;){let O=Xe(r,c[b+1]);ve(O,a[g]),c[g++]=O}for(;p<=y;){let O=i[p++];O!==null&&pr(O)}return this.dt=s,fi(r,c),q}});var eo={};k(eo,{classMap:()=>Qr});var Qr=xe(class extends ie{constructor(r){if(super(r),r.type!==be.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let t=r.element.classList;for(let n of this.it)n in e||(t.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(t.add(n),this.it.add(n)):(t.remove(n),this.it.delete(n)))}return q}});var to={};k(to,{styleMap:()=>Ec});var mi="important",Oc=" !"+mi,Ec=xe(class extends ie{constructor(r){if(super(r),r.type!==be.ATTRIBUTE||r.name!=="style"||r.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(r){return Object.keys(r).reduce((e,t)=>{let n=r[t];return n==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(r,[e]){let{style:t}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?t.removeProperty(n):t[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Oc);n.includes("-")||a?t.setProperty(n,a?i.slice(0,-11):i,a?mi:""):t[n]=i}}return q}});var ro={};k(ro,{UnsafeHTMLDirective:()=>Qe,unsafeHTML:()=>wc});var Qe=class extends ie{constructor(e){if(super(e),this.et=M,e.type!==be.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===M||e==null)return this.vt=void 0,this.et=e;if(e===q)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Qe.directiveName="unsafeHTML",Qe.resultType=1;var wc=xe(Qe);var ao={};k(ao,{CacheRegistry:()=>io});var no={};k(no,{CancelablePromise:()=>et,CanceledPromiseError:()=>At,cancelable:()=>oo});var At=class extends Error{constructor(e,t,n){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=n}},et=class extends Promise{constructor(e){super((t,n)=>e(i=>{this.isCanceled?n(new At("Promise has been canceled",i)):t(i)},i=>{this.isCanceled?n(new At("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},oo=r=>new et((e,t)=>r.then(e).catch(t));var io=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof et&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,n){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let i=oo(t());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var co={};k(co,{ClusteringHelper:()=>so});var so=class r{constructor(e,t,n,i){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,t){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return t==null?r.flattenMetadata(a):r.flattenMetadata(a.find(s=>s.key===t))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>r.flattenMetadata(n)).filter(n=>n!=null);let t=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!t))if(t){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,t,n="No value"){var i,a;let s=r.extractResultMetadata(this.selectedResult,e),u=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>r.extractResultMetadata(d,e)).map(d=>d??{key:e,label:u,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,p)=>p.findIndex(y=>y.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,n,i){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",u=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(t,i,{numeric:!0});return u?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let n=this.allResults.filter(c=>{var d;return((d=r.extractResultMetadata(c,e))===null||d===void 0?void 0:d.value)==t}),a=[...r.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,u=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>u&&(u=d,s=c,d===a.length))break}return s}countMatchingMetadata(e,t){return r.extractResultMetadata(e).filter(n=>t.some(i=>i.key===n.key&&i.value===n.value)).length}};var lo={};k(lo,{Debouncer:()=>Se});var Se=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,n)=>{this.resolvePromise=t,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(u){i(u);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 mo={};k(mo,{customElement:()=>po,isNumber:()=>vi,jsonProperty:()=>ho,optionalNumberProperty:()=>Ic});var fo={};k(fo,{dateReviver:()=>Cc,deepEqual:()=>Ct,delay:()=>yi,eventPathContainsMatchingElement:()=>Nc,flatDeep:()=>bi,hasChanged:()=>Rt,last:()=>_c,minmax:()=>uo,parseDate:()=>xi,waitFor:()=>gi,waitUntil:()=>Ac});var yi=r=>new Promise(e=>setTimeout(e,r));async function Ac(r,e=10,t=2e4){await gi(async()=>await r()||void 0,e,t)}async function gi(r,e=10,t=2e4){let n=await r(),i,a;for(i=a=performance.now();n==null&&(!t||a-i<t);)await yi(e),n=await r(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function bi(r,e){return r.flatMap(t=>[t,...bi(e(t),e)])}function Cc(...r){return function(e,t){return r.includes(e)?xi(t):t}}function xi(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,n,i)=>t+n+":"+i),new Date(r)}function Rc(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var t,n,i;if(Array.isArray(r)){if(t=r.length,t!=e.length)return!1;for(n=t;n--!==0;)if(!Ct(r[n],e[n]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;for(n of r.entries())if(!Ct(n[1],e.get(n[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(i=Object.keys(r),t=i.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=t;n--!==0;){var a=i[n];if(!Ct(r[a],e[a]))return!1}return!0}return r!==r&&e!==e}function Ct(r,e){try{return Rc(r,e)}catch{return!1}}function Rt(r,e){return!Ct(r,e)}function Nc(r,e,t=window.document.body){if(e.length>0){let n=r.composedPath();for(let i of n){if(i===t)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function uo(r,e,t){return Math.min(Math.max(r,e),t)}function _c(r){return r[r.length-1]}var po=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function ho(r,e){let t=()=>JSON.parse(JSON.stringify(r));return B({type:Object,converter:{fromAttribute:n=>{if(n==null)return t();try{return JSON.parse(n)}catch{return t()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Rt,...e??{}})}function Ic(r){return B({type:Object,converter:{fromAttribute:e=>{if(e!=null)return vi(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function vi(r){return!isNaN(parseFloat(r))}var xo={};k(xo,{designSystemVariables:()=>fe});var bo={};k(bo,{DesignSystemFamily:()=>Nt,DesignSystemSize:()=>_t,FtCssVariableFactory:()=>o,badge:()=>$c,banner:()=>Dc,breadcrumb:()=>Mc,button:()=>Lc,chart:()=>Xc,checkbox:()=>el,chip:()=>Fc,chipChoice:()=>kc,collapsible:()=>Yc,comboboxMultiSelect:()=>Zc,comboboxSingleSelect:()=>Gc,drawer:()=>Hc,floatingMenu:()=>Kc,foundation:()=>l,link:()=>Uc,modal:()=>Wc,notice:()=>Qc,notification:()=>ol,pageHeader:()=>Bc,popover:()=>qc,radio:()=>rl,resolveFamilyClass:()=>yo,resolveSizeClass:()=>go,semantic:()=>f,setVariable:()=>hr,switch_:()=>Jc,tabs:()=>zc,textArea:()=>Vc,textInput:()=>jc,toggle:()=>tl,tooltip:()=>nl,typographies:()=>Pc,typographyBody1Medium:()=>Ci,typographyBody1Regular:()=>Ai,typographyBody1Semibold:()=>Ri,typographyBody2Medium:()=>_i,typographyBody2MediumUnderline:()=>Ii,typographyBody2Regular:()=>Ni,typographyBody2Semibold:()=>Pi,typographyCaption1Bold:()=>Bi,typographyCaption1Medium:()=>$i,typographyCaption1Semibold:()=>Mi,typographyCaption2Bold:()=>zi,typographyCaption2Medium:()=>Wi,typographyCaption2Semibold:()=>Hi,typographyCaption3Bold:()=>Ki,typographyCaption3Medium:()=>ji,typographyCaption3Semibold:()=>Vi,typographyDisplay:()=>Si,typographyLabel1Bold:()=>ki,typographyLabel1Medium:()=>Ti,typographyLabel1Semibold:()=>Li,typographyLabel2Bold:()=>Di,typographyLabel2Medium:()=>Fi,typographyLabel2Semibold:()=>Ui,typographyTitle1:()=>Oi,typographyTitle2:()=>Ei,typographyTitle3:()=>wi,typographyVariants:()=>Tc});var de=r=>typeof r=="string"?bt(r):r,o=class{static create(e,t,n,i){let a=u=>de(u??i),s=z`var(${de(e)}, ${a(i)})`;return s.name=e,s.description=t,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=u=>z`var(${de(e)}, ${a(u)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,t,n,i){let a=u=>n.get(u??i),s=z`var(${de(e)}, ${a(i)})`;return s.name=e,s.description=t,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=u=>z`var(${de(e)}, ${a(u)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,t){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):de(a??e.lastResortDefaultValue()),i=z`var(${de(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=t,i.defaultCssValue=n,i.get=a=>z`var(${de(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function hr(r,e){return de(`${r.name}: ${e}`)}var l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Si={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Oi={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ei={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},wi={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ai={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ci={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ri={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ni={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_i={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ii={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Pi={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ti={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ki={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Fi={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ui={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Di={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},$i={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Mi={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Bi={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Wi={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Hi={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},zi={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ji={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Vi={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ki={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Pc={display:Si,"title-1":Oi,"title-2":Ei,"title-3":wi,"body-1-regular":Ai,"body-1-medium":Ci,"body-1-semibold":Ri,"body-2-regular":Ni,"body-2-medium":_i,"body-2-medium-underline":Ii,"body-2-semibold":Pi,"label-1-medium":Ti,"label-1-semibold":Li,"label-1-bold":ki,"label-2-medium":Fi,"label-2-semibold":Ui,"label-2-bold":Di,"caption-1-medium":$i,"caption-1-semibold":Mi,"caption-1-bold":Bi,"caption-2-medium":Wi,"caption-2-semibold":Hi,"caption-2-bold":zi,"caption-3-medium":ji,"caption-3-semibold":Vi,"caption-3-bold":Ki},Tc=["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 f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var Lc={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var kc={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var Fc={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Uc={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",f.contentActionPrimary)};var Dc={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var $c={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Mc={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Bc={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Wc={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Hc={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var zc={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var jc={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Vc={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Kc={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Gc={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Zc={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var qc={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02)};var Yc={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Jc={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Xc={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Qc={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var el={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)};var tl={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var rl={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)};var ol={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var nl={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var Nt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Nt||(Nt={}));var _t;(function(r){r.large="large",r.medium="medium",r.small="small"})(_t||(_t={}));function yo(r){return`ftds--family-${r}`}function go(r){return`ftds--size-${r}`}var fe={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Eo={};k(Eo,{FtNotificationEvent:()=>vo,PostResizeEvent:()=>Oo,PreResizeEvent:()=>So});var vo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},So=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Oo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var ko={};k(ko,{computeOffsetPosition:()=>El});var Zi=["top","right","bottom","left"],Gi=["start","end"],Ao=Zi.reduce((r,e)=>r.concat(e,e+"-"+Gi[0],e+"-"+Gi[1]),[]),It=Math.min,Oe=Math.max,Pt=Math.round;var pe=r=>({x:r,y:r}),il={left:"right",right:"left",bottom:"top",top:"bottom"},al={start:"end",end:"start"};function Co(r,e,t){return Oe(r,It(e,t))}function mr(r,e){return typeof r=="function"?r(e):r}function tt(r){return r.split("-")[0]}function Ee(r){return r.split("-")[1]}function Ro(r){return r==="x"?"y":"x"}function No(r){return r==="y"?"height":"width"}function yr(r){return["top","bottom"].includes(tt(r))?"y":"x"}function _o(r){return Ro(yr(r))}function qi(r,e,t){t===void 0&&(t=!1);let n=Ee(r),i=_o(r),a=No(i),s=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=wo(s)),[s,wo(s)]}function Yi(r){return r.replace(/start|end/g,e=>al[e])}function wo(r){return r.replace(/left|right|bottom|top/g,e=>il[e])}function sl(r){return{top:0,right:0,bottom:0,left:0,...r}}function Ji(r){return typeof r!="number"?sl(r):{top:r,right:r,bottom:r,left:r}}function ze(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function Xi(r,e,t){let{reference:n,floating:i}=r,a=yr(e),s=_o(e),u=No(s),c=tt(e),d=a==="y",h=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,y=n[u]/2-i[u]/2,g;switch(c){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-i.width,y:p};break;default:g={x:n.x,y:n.y}}switch(Ee(e)){case"start":g[s]-=y*(t&&d?-1:1);break;case"end":g[s]+=y*(t&&d?-1:1);break}return g}var Qi=async(r,e,t)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=t,u=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:r,floating:e,strategy:i}),{x:h,y:p}=Xi(d,n,c),y=n,g={},b=0;for(let O=0;O<u.length;O++){let{name:C,fn:w}=u[O],{x:A,y:v,data:S,reset:E}=await w({x:h,y:p,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:r,floating:e}});if(h=A??h,p=v??p,g={...g,[C]:{...g[C],...S}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(y=E.placement),E.rects&&(d=E.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:i}):E.rects),{x:h,y:p}=Xi(d,y,c)),O=-1;continue}}return{x:h,y:p,placement:y,strategy:i,middlewareData:g}};async function Io(r,e){var t;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:u,strategy:c}=r,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=mr(e,r),b=Ji(g),C=u[y?p==="floating"?"reference":"floating":p],w=ze(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(C)))==null||t?C:C.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(u.floating)),boundary:d,rootBoundary:h,strategy:c})),A=p==="floating"?{...s.floating,x:n,y:i}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u.floating)),S=await(a.isElement==null?void 0:a.isElement(v))?await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1}:{x:1,y:1},E=ze(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:v,strategy:c}):A);return{top:(w.top-E.top+b.top)/S.y,bottom:(E.bottom-w.bottom+b.bottom)/S.y,left:(w.left-E.left+b.left)/S.x,right:(E.right-w.right+b.right)/S.x}}function cl(r,e,t){return(r?[...t.filter(i=>Ee(i)===r),...t.filter(i=>Ee(i)!==r)]:t.filter(i=>tt(i)===i)).filter(i=>r?Ee(i)===r||(e?Yi(i)!==i:!1):!0)}var Po=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,n,i;let{rects:a,middlewareData:s,placement:u,platform:c,elements:d}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:y=Ao,autoAlignment:g=!0,...b}=mr(r,e),O=p!==void 0||y===Ao?cl(p||null,g,y):y,C=await Io(e,b),w=((t=s.autoPlacement)==null?void 0:t.index)||0,A=O[w];if(A==null)return{};let v=qi(A,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(u!==A)return{reset:{placement:O[0]}};let S=[C[tt(A)],C[v[0]],C[v[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:S}],_=O[w+1];if(_)return{data:{index:w+1,overflows:E},reset:{placement:_}};let T=E.map(N=>{let m=Ee(N.placement);return[N.placement,m&&h?N.overflows.slice(0,2).reduce((x,R)=>x+R,0):N.overflows[0],N.overflows]}).sort((N,m)=>N[1]-m[1]),L=((i=T.filter(N=>N[2].slice(0,Ee(N[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||T[0][0];return L!==u?{data:{index:w+1,overflows:E},reset:{placement:L}}:{}}}};var To=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:u={fn:C=>{let{x:w,y:A}=C;return{x:w,y:A}}},...c}=mr(r,e),d={x:t,y:n},h=await Io(e,c),p=yr(tt(i)),y=Ro(p),g=d[y],b=d[p];if(a){let C=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=g+h[C],v=g-h[w];g=Co(A,g,v)}if(s){let C=p==="y"?"top":"left",w=p==="y"?"bottom":"right",A=b+h[C],v=b-h[w];b=Co(A,b,v)}let O=u.fn({...e,[y]:g,[p]:b});return{...O,data:{x:O.x-t,y:O.y-n}}}}};function he(r){return ta(r)?(r.nodeName||"").toLowerCase():"#document"}function G(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function me(r){var e;return(e=(ta(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function ta(r){return r instanceof Node||r instanceof G(r).Node}function ae(r){return r instanceof Element||r instanceof G(r).Element}function te(r){return r instanceof HTMLElement||r instanceof G(r).HTMLElement}function ea(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof G(r).ShadowRoot}function rt(r){let{overflow:e,overflowX:t,overflowY:n,display:i}=Y(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function ra(r){return["table","td","th"].includes(he(r))}function br(r){let e=xr(),t=Y(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function oa(r){let e=je(r);for(;te(e)&&!Tt(e);){if(br(e))return e;e=je(e)}return null}function xr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Tt(r){return["html","body","#document"].includes(he(r))}function Y(r){return G(r).getComputedStyle(r)}function Lt(r){return ae(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function je(r){if(he(r)==="html")return r;let e=r.assignedSlot||r.parentNode||ea(r)&&r.host||me(r);return ea(e)?e.host:e}function na(r){let e=je(r);return Tt(e)?r.ownerDocument?r.ownerDocument.body:r.body:te(e)&&rt(e)?e:na(e)}function gr(r,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=na(r),a=i===((n=r.ownerDocument)==null?void 0:n.body),s=G(i);return a?e.concat(s,s.visualViewport||[],rt(i)?i:[],s.frameElement&&t?gr(s.frameElement):[]):e.concat(i,gr(i,[],t))}function sa(r){let e=Y(r),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=te(r),a=i?r.offsetWidth:t,s=i?r.offsetHeight:n,u=Pt(t)!==a||Pt(n)!==s;return u&&(t=a,n=s),{width:t,height:n,$:u}}function ca(r){return ae(r)?r:r.contextElement}function ot(r){let e=ca(r);if(!te(e))return pe(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:a}=sa(e),s=(a?Pt(t.width):t.width)/n,u=(a?Pt(t.height):t.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}var ll=pe(0);function la(r){let e=G(r);return!xr()||!e.visualViewport?ll:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ul(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==G(r)?!1:e}function kt(r,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=r.getBoundingClientRect(),a=ca(r),s=pe(1);e&&(n?ae(n)&&(s=ot(n)):s=ot(r));let u=ul(a,t,n)?la(a):pe(0),c=(i.left+u.x)/s.x,d=(i.top+u.y)/s.y,h=i.width/s.x,p=i.height/s.y;if(a){let y=G(a),g=n&&ae(n)?G(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let O=ot(b),C=b.getBoundingClientRect(),w=Y(b),A=C.left+(b.clientLeft+parseFloat(w.paddingLeft))*O.x,v=C.top+(b.clientTop+parseFloat(w.paddingTop))*O.y;c*=O.x,d*=O.y,h*=O.x,p*=O.y,c+=A,d+=v,b=G(b).frameElement}}return ze({width:h,height:p,x:c,y:d})}function dl(r){let{rect:e,offsetParent:t,strategy:n}=r,i=te(t),a=me(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},u=pe(1),c=pe(0);if((i||!i&&n!=="fixed")&&((he(t)!=="body"||rt(a))&&(s=Lt(t)),te(t))){let d=kt(t);u=ot(t),c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+c.x,y:e.y*u.y-s.scrollTop*u.y+c.y}}function fl(r){return Array.from(r.getClientRects())}function ua(r){return kt(me(r)).left+Lt(r).scrollLeft}function pl(r){let e=me(r),t=Lt(r),n=r.ownerDocument.body,i=Oe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Oe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-t.scrollLeft+ua(r),u=-t.scrollTop;return Y(n).direction==="rtl"&&(s+=Oe(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:u}}function hl(r,e){let t=G(r),n=me(r),i=t.visualViewport,a=n.clientWidth,s=n.clientHeight,u=0,c=0;if(i){a=i.width,s=i.height;let d=xr();(!d||d&&e==="fixed")&&(u=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:u,y:c}}function ml(r,e){let t=kt(r,!0,e==="fixed"),n=t.top+r.clientTop,i=t.left+r.clientLeft,a=te(r)?ot(r):pe(1),s=r.clientWidth*a.x,u=r.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:u,x:c,y:d}}function ia(r,e,t){let n;if(e==="viewport")n=hl(r,t);else if(e==="document")n=pl(me(r));else if(ae(e))n=ml(e,t);else{let i=la(r);n={...e,x:e.x-i.x,y:e.y-i.y}}return ze(n)}function da(r,e){let t=je(r);return t===e||!ae(t)||Tt(t)?!1:Y(t).position==="fixed"||da(t,e)}function yl(r,e){let t=e.get(r);if(t)return t;let n=gr(r,[],!1).filter(u=>ae(u)&&he(u)!=="body"),i=null,a=Y(r).position==="fixed",s=a?je(r):r;for(;ae(s)&&!Tt(s);){let u=Y(s),c=br(s);!c&&u.position==="fixed"&&(i=null),(a?!c&&!i:!c&&u.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!c&&da(r,s))?n=n.filter(h=>h!==s):i=u,s=je(s)}return e.set(r,n),n}function gl(r){let{element:e,boundary:t,rootBoundary:n,strategy:i}=r,s=[...t==="clippingAncestors"?yl(e,this._c):[].concat(t),n],u=s[0],c=s.reduce((d,h)=>{let p=ia(e,h,i);return d.top=Oe(p.top,d.top),d.right=It(p.right,d.right),d.bottom=It(p.bottom,d.bottom),d.left=Oe(p.left,d.left),d},ia(e,u,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function bl(r){return sa(r)}function xl(r,e,t){let n=te(e),i=me(e),a=t==="fixed",s=kt(r,!0,a,e),u={scrollLeft:0,scrollTop:0},c=pe(0);if(n||!n&&!a)if((he(e)!=="body"||rt(i))&&(u=Lt(e)),n){let d=kt(e,!0,a,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&(c.x=ua(i));return{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function aa(r,e){return!te(r)||Y(r).position==="fixed"?null:e?e(r):r.offsetParent}function fa(r,e){let t=G(r);if(!te(r))return t;let n=aa(r,e);for(;n&&ra(n)&&Y(n).position==="static";)n=aa(n,e);return n&&(he(n)==="html"||he(n)==="body"&&Y(n).position==="static"&&!br(n))?t:n||oa(r)||t}var vl=async function(r){let{reference:e,floating:t,strategy:n}=r,i=this.getOffsetParent||fa,a=this.getDimensions;return{reference:xl(e,await i(t),n),floating:{x:0,y:0,...await a(t)}}};function Sl(r){return Y(r).direction==="rtl"}var vr={convertOffsetParentRelativeRectToViewportRelativeRect:dl,getDocumentElement:me,getClippingRect:gl,getOffsetParent:fa,getElementRects:vl,getClientRects:fl,getDimensions:bl,getScale:ot,isElement:ae,isRTL:Sl};var pa=(r,e,t)=>{let n=new Map,i={platform:vr,...t},a={...i.platform,_c:n};return Qi(r,e,{...i,platform:a})};function ha(r){return Ol(r)}function Lo(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function Ol(r){for(let e=r;e;e=Lo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Lo(r);e;e=Lo(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function El(r,e,t){return pa(r,e,{platform:{...vr,getOffsetParent:n=>vr.getOffsetParent(n,ha)},middleware:[To({crossAxis:!0}),Po({allowedPlacements:[t]})]})}var $o={};k($o,{FtdsBase:()=>Do,toFtdsBase:()=>Oa});var Uo={};k(Uo,{FtLitElement:()=>J});var Fo={};k(Fo,{ScopedRegistryLitElement:()=>Ft});var Sr=window,wl=Sr.ShadowRoot&&(Sr.ShadyCSS===void 0||Sr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lm=Symbol();var ma=(r,e)=>{wl?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let n=document.createElement("style"),i=Sr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,r.appendChild(n)})};var Ft=class extends ue{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let t={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(t);return ma(n,e.elementStyles),n}};var Or=function(r,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(s=r[u])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},xa,ya=Symbol("constructorPrototype"),ga=Symbol("constructorName"),va=Symbol("exportpartsDebouncer"),ba=Symbol("dynamicDependenciesLoaded"),J=class extends Ft{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[xa]=new Se(5),this[ga]=this.constructor.name,this[ya]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ga]&&Object.setPrototypeOf(this,this[ya])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}let e=this.constructor;e[ba]||(e[ba]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var t,n,i;if(((n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&n!==void 0&&n)&&this[va].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,n,i,a,s,u;let c=y=>y!=null&&y.trim().length>0,d=e.filter(c).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(u=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&u!==void 0?u:[];new Array(...g,...b).filter(c).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(y=>d.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};xa=va;Or([B()],J.prototype,"exportpartsPrefix",void 0);Or([ho([])],J.prototype,"exportpartsPrefixes",void 0);Or([B()],J.prototype,"customStylesheet",void 0);Or([ne()],J.prototype,"useAdoptedStyleSheets",void 0);var Sa=function(r,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(s=r[u])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a};function Oa(r){class e extends r{constructor(){super(...arguments),this.size=_t.medium,this.family=Nt.neutral}getDesignSystemBaseClasses(){return{[yo(this.family)]:!0,[go(this.size)]:!0}}}return Sa([B()],e.prototype,"size",void 0),Sa([B()],e.prototype,"family",void 0),e}var Do=class extends Oa(J){};var Ea={};var Bo={};k(Bo,{highlightHtml:()=>Rl,highlightHtmlColorCssVariable:()=>wa,highlightHtmlStyles:()=>Cl});var Ve=class r{constructor(e,t=!0,n=[],i=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=i}static matches(e,t){let n=typeof t=="string"?[t]:t,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=t.filter(a=>a.contains(n)).length>0;t.indexOf(n)===-1&&!i&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&t(i)}isIframeBlank(e){let t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||t()})},i=>{i||t()})}forEachIframe(e,t,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,u=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(u)};s||c(),a.forEach(d=>{r.matches(d,this.exclude)?c():this.onIframeReady(d,h=>{t(d)&&(u++,n(h)),c()},c)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(t!==null){let s=t.compareDocumentPosition(n),u=Node.DOCUMENT_POSITION_FOLLOWING;if(s&u)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,i){let a=!1,s=!1;return i.forEach((u,c)=>{u.val===n&&(a=c,s=u.handled)}),this.compareNodeIframe(e,t,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,t,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,n,i)})})}iterateThroughNodes(e,t,n,i,a){let s=this.createIterator(t,e,i),u=[],c=[],d,h,p=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;p();)this.iframes&&this.forEachIframe(t,y=>this.checkIframeFilter(d,h,y,u),y=>{this.createInstanceOnIframe(y).forEachNode(e,g=>c.push(g),i)}),c.push(d);c.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(u,e,n,i),a()}forEachNode(e,t,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(u=>{let c=()=>{this.iterateThroughNodes(e,u,t,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(u,c):c()})}};var Ut=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Ve(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);u!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(u)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(u)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(u=>{s+=`|${this.escapeStr(u)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&t.indexOf(i)===-1&&t.push(i)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,i)=>i.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:u}=this.callNoMatchOnInvalidRanges(i,n);u&&(i.start=a,i.length=s-a,t.push(i),n=s)}),t}callNoMatchOnInvalidRanges(e,t){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-t>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,t,n){let i,a=!0,s=n.length,u=t-s,c=parseInt(e.start,10)-u;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:t.length,end:(t+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return Ve.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(n-t),u=document.createElement(i);return u.setAttribute("data-markjs","true"),this.opt.className&&u.setAttribute("class",this.opt.className),u.textContent=a.textContent,a.parentNode.replaceChild(u,a),s}wrapRangeInMappedTextNode(e,t,n,i,a){e.nodes.every((s,u)=>{let c=e.nodes[u+1];if(typeof c>"u"||c.start>t){if(!i(s.node))return!1;let d=t-s.start,h=(n>s.end?s.end:n)-s.start,p=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),e.value=p+y,e.nodes.forEach((g,b)=>{b>=u&&(e.nodes[b].start>0&&b!==u&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,n,i,a){let s=t===0?0:t+1;this.getTextNodes(u=>{u.nodes.forEach(c=>{c=c.node;let d;for(;(d=e.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let h=d.index;if(s!==0)for(let p=1;p<s;p++)h+=d[p].length;c=this.wrapRangeInTextNode(c,h,h+d[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,n,i,a){let s=t===0?0:t+1;this.getTextNodes(u=>{let c;for(;(c=e.exec(u.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let p=1;p<s;p++)d+=c[p].length;let h=d+c[s].length;this.wrapRangeInMappedTextNode(u,d,h,p=>n(c[s],p),(p,y)=>{e.lastIndex=y,i(p)})}a()})}wrapRangeFromIndex(e,t,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((u,c)=>{let{start:d,end:h,valid:p}=this.checkWhitespaceRanges(u,s,a.value);p&&this.wrapRangeInMappedTextNode(a,d,h,y=>t(y,u,a.value.substring(d,h),c),y=>{n(y,u)})}),i()})}unwrapMatches(e){let t=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,u)=>this.opt.filter(u,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),u=this.opt.caseSensitive?"":"i",c=d=>{let h=new RegExp(this.createRegExp(d),`gm${u}`),p=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,g)=>this.opt.filter(g,d,n,p),y=>{p++,n++,this.opt.each(y)},()=>{p===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(e,t){this.opt=t;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,u,c)=>this.opt.filter(a,s,u,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Ve.matches(n,t),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Mo(r){let e=new Ut(r);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}var Al=Mo,wa=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Cl=z`
|
|
7
8
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
9
|
+
background: ${wa};
|
|
9
10
|
}
|
|
10
|
-
`;function
|
|
11
|
+
`;function Rl(r,e,t){var n,i;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Al(r);if(s.unmark(),e&&e.trim()){let u={className:(n=t?.className)!==null&&n!==void 0?n:"highlight-html-match"};t?.attributes!=null&&(u.each=d=>{for(let h in t.attributes)d.setAttribute(h,t.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...u,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(d=>s.mark(d.replace(/"/g,""),{...u,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var Wo={};k(Wo,{noTextInputDefaultClearButton:()=>Pl,noTextSelect:()=>Nl,safariEllipsisFix:()=>Il,wordWrap:()=>_l});var Nl=z`
|
|
11
12
|
.ft-no-text-select {
|
|
12
13
|
-webkit-touch-callout: none;
|
|
13
14
|
-webkit-user-select: none;
|
|
@@ -16,7 +17,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
16
17
|
-ms-user-select: none;
|
|
17
18
|
user-select: none;
|
|
18
19
|
}
|
|
19
|
-
`,
|
|
20
|
+
`,_l=z`
|
|
20
21
|
.ft-word-wrap {
|
|
21
22
|
white-space: normal;
|
|
22
23
|
word-wrap: break-word;
|
|
@@ -28,7 +29,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
28
29
|
-webkit-hyphens: auto;
|
|
29
30
|
hyphens: auto
|
|
30
31
|
}
|
|
31
|
-
`,
|
|
32
|
+
`,Il=z`
|
|
32
33
|
.ft-safari-ellipsis-fix {
|
|
33
34
|
margin-right: 0;
|
|
34
35
|
|
|
@@ -39,14 +40,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
39
40
|
display: inline-block;
|
|
40
41
|
width: 0;
|
|
41
42
|
}
|
|
42
|
-
`,
|
|
43
|
+
`,Pl=z`
|
|
43
44
|
input::-webkit-search-cancel-button,
|
|
44
45
|
input::-webkit-search-decoration,
|
|
45
46
|
input::-webkit-search-results-button,
|
|
46
47
|
input::-webkit-search-results-decoration {
|
|
47
48
|
display: none;
|
|
48
49
|
}
|
|
49
|
-
`;var da={};var Ro={};P(Ro,{ParametrizedLabelResolver:()=>Ao});var Ao=class o{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 o.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,c)=>o.formatValue(n,c))),e}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}static formatValue(e,r){return e instanceof Date?o.formatDate(e,r):e??""}static 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 tn={};P(tn,{FtCommandQueue:()=>Rt,FtLitElementRedux:()=>Ye,FtReduxStore:()=>en,clearAllStores:()=>Nl,isFtReduxStore:()=>Te,redux:()=>zs,reduxEventListener:()=>Hs,reduxReactive:()=>Bs});var Bs=()=>(o,e)=>{var r;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},zs=o=>{let e=o??{};return(r,n)=>{var i;let a={hasChanged:bt,attribute:!1,...e};L(a)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},Hs=o=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,o)};var Rt=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Te(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var fa,ua,pa,ur=Symbol("internalReduxEventsUnsubscribers"),be=Symbol("internalStoresUnsubscribers"),Ue=Symbol("internalStores"),Ye=class extends K{constructor(){super(...arguments),this[fa]=new Map,this[ua]=new Map,this[pa]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Ue].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ue].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ue].get(e)}addStore(e,r){var n;r=(n=r??(Te(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Ue].delete(r)}setupStore(e,r){this[Ue].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ue].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[be].has(e.store):this[be].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[be].set(e,r.subscribe(()=>this.updateFromStores())),Te(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let c=l=>this[a](l);r.eventBus.addEventListener(i.eventName,c),this[ur].push(()=>r.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[be].forEach((e,r)=>this.unsubscribeFromStore(r)),this[ur].forEach(e=>e()),this[ur]=[]}unsubscribeFromStore(e){this[be].has(e)&&this[be].get(e)(),this[be].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};fa=be,ua=Ue,pa=ur;Ye.reduxProperties=new Map;Ye.reduxReactiveProperties=new Set;Ye.reduxEventListeners=new Map;function V(o){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function de(o){return!!o&&!!o[k]}function Y(o){var e;return!!o&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Js}(o)||Array.isArray(o)||!!o[va]||!!(!((e=o.constructor)===null||e===void 0)&&e[va])||Wo(o)||To(o))}function De(o,e,r){r===void 0&&(r=!1),Qe(o)===0?(r?Object.keys:Xe)(o).forEach(function(n){r&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function Qe(o){var e=o[k];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:Wo(o)?2:To(o)?3:0}function Je(o,e){return Qe(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function js(o,e){return Qe(o)===2?o.get(e):o[e]}function Sa(o,e,r){var n=Qe(o);n===2?o.set(e,r):n===3?o.add(r):o[e]=r}function Oa(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function Wo(o){return qs&&o instanceof Map}function To(o){return Ys&&o instanceof Set}function xe(o){return o.o||o.t}function Uo(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Ea(o);delete e[k];for(var r=Xe(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function Do(o,e){return e===void 0&&(e=!1),Bo(o)||de(o)||!Y(o)||(Qe(o)>1&&(o.set=o.add=o.clear=o.delete=Ks),Object.freeze(o),e&&De(o,function(r,n){return Do(n,!0)},!0)),o}function Ks(){V(2)}function Bo(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function te(o){var e=Mo[o];return e||V(18,o),e}function Zs(o,e){Mo[o]||(Mo[o]=e)}function $o(){return It}function Po(o,e){e&&(te("Patches"),o.u=[],o.s=[],o.v=e)}function pr(o){Lo(o),o.p.forEach(Vs),o.p=null}function Lo(o){o===It&&(It=o.l)}function ha(o){return It={p:[],l:It,h:o,m:!0,_:0}}function Vs(o){var e=o[k];e.i===0||e.i===1?e.j():e.g=!0}function Io(o,e){e._=e.p.length;var r=e.p[0],n=o!==void 0&&o!==r;return e.h.O||te("ES5").S(e,o,n),n?(r[k].P&&(pr(e),V(4)),Y(o)&&(o=hr(e,o),e.l||mr(e,o)),e.u&&te("Patches").M(r[k].t,o,e.u,e.s)):o=hr(e,r,[]),pr(e),e.u&&e.v(e.u,e.s),o!==Ca?o:void 0}function hr(o,e,r){if(Bo(e))return e;var n=e[k];if(!n)return De(e,function(l,d){return ma(o,n,e,l,d,r)},!0),e;if(n.A!==o)return e;if(!n.P)return mr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Uo(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),De(a,function(l,d){return ma(o,n,i,l,d,r,c)}),mr(o,i,!1),r&&o.u&&te("Patches").N(n,r,o.u,o.s)}return n.o}function ma(o,e,r,n,i,a,c){if(de(i)){var l=hr(o,i,a&&e&&e.i!==3&&!Je(e.R,n)?a.concat(n):void 0);if(Sa(r,n,l),!de(l))return;o.m=!1}else c&&r.add(i);if(Y(i)&&!Bo(i)){if(!o.h.D&&o._<1)return;hr(o,i),e&&e.A.l||mr(o,i)}}function mr(o,e,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&Do(e,r)}function _o(o,e){var r=o[k];return(r?xe(r):o)[e]}function ga(o,e){if(e in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function ve(o){o.P||(o.P=!0,o.l&&ve(o.l))}function ko(o){o.o||(o.o=Uo(o.t))}function Fo(o,e,r){var n=Wo(e)?te("MapSet").F(e,r):To(e)?te("MapSet").T(e,r):o.O?function(i,a){var c=Array.isArray(i),l={i:c?1:0,A:a?a.A:$o(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,f=_t;c&&(d=[l],f=Pt);var h=Proxy.revocable(d,f),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m}(e,r):te("ES5").J(e,r);return(r?r.A:$o()).p.push(n),n}function Gs(o){return de(o)||V(22,o),function e(r){if(!Y(r))return r;var n,i=r[k],a=Qe(r);if(i){if(!i.P&&(i.i<4||!te("ES5").K(i)))return i.t;i.I=!0,n=ya(r,a),i.I=!1}else n=ya(r,a);return De(n,function(c,l){i&&js(i.t,c)===l||Sa(n,c,e(l))}),a===3?new Set(n):n}(o)}function ya(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return Uo(o)}function wa(){function o(c,l){var d=a[c];return d?d.enumerable=l:a[c]=d={configurable:!0,enumerable:l,get:function(){var f=this[k];return _t.get(f,c)},set:function(f){var h=this[k];_t.set(h,c,f)}},d}function e(c){for(var l=c.length-1;l>=0;l--){var d=c[l][k];if(!d.P)switch(d.i){case 5:n(d)&&ve(d);break;case 4:r(d)&&ve(d)}}}function r(c){for(var l=c.t,d=c.k,f=Xe(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==k){var m=l[p];if(m===void 0&&!Je(l,p))return!0;var g=d[p],y=g&&g[k];if(y?y.t!==m:!Oa(g,m))return!0}}var v=!!l[k];return f.length!==Xe(l).length+(v?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function i(c){c.g&&V(3,JSON.stringify(xe(c)))}var a={};Zs("ES5",{J:function(c,l){var d=Array.isArray(c),f=function(p,m){if(p){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var v=Ea(m);delete v[k];for(var O=Xe(v),w=0;w<O.length;w++){var C=O[w];v[C]=o(C,p||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(d,c),h={i:d?5:4,A:l?l.A:$o(),P:!1,I:!1,R:{},l,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,k,{value:h,writable:!0}),f},S:function(c,l,d){d?de(l)&&l[k].A===c&&e(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var p=h[k];if(p){var m=p.t,g=p.k,y=p.R,v=p.i;if(v===4)De(g,function(x){x!==k&&(m[x]!==void 0||Je(m,x)?y[x]||f(g[x]):(y[x]=!0,ve(p)))}),De(m,function(x){g[x]!==void 0||Je(g,x)||(y[x]=!1,ve(p))});else if(v===5){if(n(p)&&(ve(p),y.length=!0),g.length<m.length)for(var O=g.length;O<m.length;O++)y[O]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var C=Math.min(g.length,m.length),b=0;b<C;b++)g.hasOwnProperty(b)||(y[b]=!0),y[b]===void 0&&f(g[b])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var ba,It,zo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",qs=typeof Map<"u",Ys=typeof Set<"u",xa=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ca=zo?Symbol.for("immer-nothing"):((ba={})["immer-nothing"]=!0,ba),va=zo?Symbol.for("immer-draftable"):"__$immer_draftable",k=zo?Symbol.for("immer-state"):"__$immer_state";var Js=""+Object.prototype.constructor,Xe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Ea=Object.getOwnPropertyDescriptors||function(o){var e={};return Xe(o).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(o,r)}),e},Mo={},_t={get:function(o,e){if(e===k)return o;var r=xe(o);if(!Je(r,e))return function(i,a,c){var l,d=ga(a,c);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(o,r,e);var n=r[e];return o.I||!Y(n)?n:n===_o(o.t,e)?(ko(o),o.o[e]=Fo(o.A.h,n,o)):n},has:function(o,e){return e in xe(o)},ownKeys:function(o){return Reflect.ownKeys(xe(o))},set:function(o,e,r){var n=ga(xe(o),e);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var i=_o(xe(o),e),a=i?.[k];if(a&&a.t===r)return o.o[e]=r,o.R[e]=!1,!0;if(Oa(r,i)&&(r!==void 0||Je(o.t,e)))return!0;ko(o),ve(o)}return o.o[e]===r&&(r!==void 0||e in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[e])||(o.o[e]=r,o.R[e]=!0),!0},deleteProperty:function(o,e){return _o(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,ko(o),ve(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var r=xe(o),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){V(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){V(12)}},Pt={};De(_t,function(o,e){Pt[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Pt.deleteProperty=function(o,e){return Pt.set.call(this,o,e,void 0)},Pt.set=function(o,e,r){return _t.set.call(this,o[0],e,r,o[0])};var Xs=function(){function o(r){var n=this;this.O=xa,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(v){var O=this;v===void 0&&(v=l);for(var w=arguments.length,C=Array(w>1?w-1:0),b=1;b<w;b++)C[b-1]=arguments[b];return d.produce(v,function(x){var S;return(S=a).call.apply(S,[O,x].concat(C))})}}var f;if(typeof a!="function"&&V(6),c!==void 0&&typeof c!="function"&&V(7),Y(i)){var h=ha(n),p=Fo(n,i,void 0),m=!0;try{f=a(p),m=!1}finally{m?pr(h):Lo(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Po(h,c),Io(v,h)},function(v){throw pr(h),v}):(Po(h,c),Io(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Ca&&(f=void 0),n.D&&Do(f,!0),c){var g=[],y=[];te("Patches").M(i,f,g,y),c(g,y)}return f}V(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(p))})};var c,l,d=n.produce(i,a,function(f,h){c=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,c,l]}):[d,c,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=o.prototype;return e.createDraft=function(r){Y(r)||V(8),de(r)&&(r=Gs(r));var n=ha(this),i=Fo(this,r,void 0);return i[k].C=!0,Lo(n),i},e.finishDraft=function(r,n){var i=r&&r[k],a=i.A;return Po(a,n),Io(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!xa&&V(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var c=te("Patches").$;return de(r)?c(r,n):this.produce(r,function(l){return c(l,n)})},o}(),Z=new Xs,Qs=Z.produce,Hh=Z.produceWithPatches.bind(Z),jh=Z.setAutoFreeze.bind(Z),Kh=Z.setUseProxies.bind(Z),Zh=Z.applyPatches.bind(Z),Vh=Z.createDraft.bind(Z),Gh=Z.finishDraft.bind(Z),gr=Qs;function Se(o){"@babel/helpers - typeof";return Se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Se(o)}function Ho(o,e){if(Se(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,e||"default");if(Se(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function jo(o){var e=Ho(o,"string");return Se(e)==="symbol"?e:String(e)}function Ko(o,e,r){return e=jo(e),e in o?Object.defineProperty(o,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[e]=r,o}function Na(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 yr(o){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Na(Object(r),!0).forEach(function(n){Ko(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Na(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function U(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Aa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Zo=function(){return Math.random().toString(36).substring(7).split("").join(".")},br={INIT:"@@redux/INIT"+Zo(),REPLACE:"@@redux/REPLACE"+Zo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Zo()}};function el(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function Vo(o,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(U(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(U(1));return r(Vo)(o,e)}if(typeof o!="function")throw new Error(U(2));var i=o,a=e,c=[],l=c,d=!1;function f(){l===c&&(l=c.slice())}function h(){if(d)throw new Error(U(3));return a}function p(v){if(typeof v!="function")throw new Error(U(4));if(d)throw new Error(U(5));var O=!0;return f(),l.push(v),function(){if(O){if(d)throw new Error(U(6));O=!1,f();var C=l.indexOf(v);l.splice(C,1),c=null}}}function m(v){if(!el(v))throw new Error(U(7));if(typeof v.type>"u")throw new Error(U(8));if(d)throw new Error(U(9));try{d=!0,a=i(a,v)}finally{d=!1}for(var O=c=l,w=0;w<O.length;w++){var C=O[w];C()}return v}function g(v){if(typeof v!="function")throw new Error(U(10));i=v,m({type:br.REPLACE})}function y(){var v,O=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(U(11));function b(){C.next&&C.next(h())}b();var x=O(b);return{unsubscribe:x}}},v[Aa]=function(){return this},v}return m({type:br.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[Aa]=y,n}function tl(o){Object.keys(o).forEach(function(e){var r=o[e],n=r(void 0,{type:br.INIT});if(typeof n>"u")throw new Error(U(12));if(typeof r(void 0,{type:br.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(U(13))})}function Ra(o){for(var e=Object.keys(o),r={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(r[i]=o[i])}var a=Object.keys(r),c,l;try{tl(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var p;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],O=r[v],w=f[v],C=O(w,h);if(typeof C>"u"){var b=h&&h.type;throw new Error(U(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function et(){for(var o=arguments.length,e=new Array(o),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 Pa(){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(U(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(c)});return a=et.apply(void 0,l)(i.dispatch),yr(yr({},i),{},{dispatch:a})}}}function Ia(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(l){return typeof l=="function"?l(i,a,o):c(l)}}};return e}var _a=Ia();_a.withExtraArgument=Ia;var Go=_a;var Ma=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)}}(),rl=function(o,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(f){return function(h){return d([f,h])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(o,r)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},tt=function(o,e){for(var r=0,n=e.length,i=o.length;r<n;r++,i++)o[i]=e[r];return o},ol=Object.defineProperty,nl=Object.defineProperties,il=Object.getOwnPropertyDescriptors,ka=Object.getOwnPropertySymbols,al=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,$a=function(o,e,r){return e in o?ol(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r},Oe=function(o,e){for(var r in e||(e={}))al.call(e,r)&&$a(o,r,e[r]);if(ka)for(var n=0,i=ka(e);n<i.length;n++){var r=i[n];cl.call(e,r)&&$a(o,r,e[r])}return o},qo=function(o,e){return nl(o,il(e))},sl=function(o,e,r){return new Promise(function(n,i){var a=function(d){try{l(r.next(d))}catch(f){i(f)}},c=function(d){try{l(r.throw(d))}catch(f){i(f)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,c)};l((r=r.apply(o,e)).next())})};var ll=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?et:et.apply(null,arguments)},um=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function dl(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 fl=function(o){Ma(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,tt([void 0],r[0].concat(this)))):new(e.bind.apply(e,tt([void 0],r.concat(this))))},e}(Array),ul=function(o){Ma(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,tt([void 0],r[0].concat(this)))):new(e.bind.apply(e,tt([void 0],r.concat(this))))},e}(Array);function Xo(o){return Y(o)?gr(o,function(){}):o}function pl(o){return typeof o=="boolean"}function hl(){return function(e){return ml(e)}}function ml(o){o===void 0&&(o={});var e=o.thunk,r=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,c=a===void 0?!0:a,l=new fl;if(r&&(pl(r)?l.push(Go):l.push(Go.withExtraArgument(r.extraArgument))),0){if(i)var d;if(c)var f}return l}var Yo=!0;function Wa(o){var e=hl(),r=o||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,c=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,m=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(dl(i))g=Ra(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=c;if(typeof y=="function"&&(y=y(e),!Yo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Yo&&y.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Pa.apply(void 0,y),O=et;d&&(O=ll(Oe({trace:!Yo},typeof d=="object"&&d)));var w=new ul(v),C=w;Array.isArray(m)?C=tt([v],m):typeof m=="function"&&(C=m(w));var b=O.apply(void 0,C);return Vo(g,h,b)}function we(o,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Oe(Oe({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function Ta(o){var e={},r=[],n,i={addCase:function(a,c){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=c,i},addMatcher:function(a,c){return r.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,r,n]}function gl(o){return typeof o=="function"}function yl(o,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Ta(e):[e,r,n],a=i[0],c=i[1],l=i[2],d;if(gl(o))d=function(){return Xo(o())};else{var f=Xo(o);d=function(){return f}}function h(p,m){p===void 0&&(p=d());var g=tt([a[m.type]],c.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[l]),g.reduce(function(y,v){if(v)if(de(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(Y(y))return gr(y,function(C){return v(C,m)});var w=v(y,m);if(w===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return y},p)}return h.getInitialState=d,h}function bl(o,e){return o+"/"+e}function Ua(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:Xo(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},c={},l={};i.forEach(function(h){var p=n[h],m=bl(e,h),g,y;"reducer"in p?(g=p.reducer,y=p.prepare):g=p,a[h]=g,c[m]=g,l[h]=y?we(m,y):we(m)});function d(){var h=typeof o.extraReducers=="function"?Ta(o.extraReducers):[o.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],y=g===void 0?[]:g,v=h[2],O=v===void 0?void 0:v,w=Oe(Oe({},m),c);return yl(r,function(C){for(var b in w)C.addCase(b,w[b]);for(var x=0,S=y;x<S.length;x++){var N=S[x];C.addMatcher(N.matcher,N.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var xl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",vl=function(o){o===void 0&&(o=21);for(var e="",r=o;r--;)e+=xl[Math.random()*64|0];return e},Sl=["name","message","stack","code"],Jo=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),La=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),Ol=function(o){if(typeof o=="object"&&o!==null){for(var e={},r=0,n=Sl;r<n.length;r++){var i=n[r];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},gm=function(){function o(e,r,n){var i=we(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:qo(Oe({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),a=we(e+"/pending",function(h,p,m){return{payload:void 0,meta:qo(Oe({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),c=we(e+"/rejected",function(h,p,m,g,y){return{payload:g,error:(n&&n.serializeError||Ol)(h||"Rejected"),meta:qo(Oe({},y||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,m,g){var y=n?.idGenerator?n.idGenerator(h):vl(),v=new d,O,w=!1;function C(x){O=x,v.abort()}var b=function(){return sl(this,null,function(){var x,S,N,I,D,_,E;return rl(this,function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),I=(x=n?.condition)==null?void 0:x.call(n,h,{getState:m,extra:g}),Cl(I)?[4,I]:[3,2];case 1:I=A.sent(),A.label=2;case 2:if(I===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,D=new Promise(function(R,T){return v.signal.addEventListener("abort",function(){return T({name:"AbortError",message:O||"Aborted"})})}),p(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([D,Promise.resolve(r(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(R,T){return new Jo(R,T)},fulfillWithValue:function(R,T){return new La(R,T)}})).then(function(R){if(R instanceof Jo)throw R;return R instanceof La?i(R.payload,y,h,R.meta):i(R,y,h)})])];case 3:return N=A.sent(),[3,5];case 4:return _=A.sent(),N=_ instanceof Jo?c(null,y,h,_.payload,_.meta):c(_,y,h),[3,5];case 5:return E=n&&!n.dispatchConditionRejection&&c.match(N)&&N.meta.condition,E||p(N),[2,N]}})})}();return Object.assign(b,{abort:C,requestId:y,arg:h,unwrap:function(){return b.then(wl)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function wl(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function Cl(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Da="listener",Ba="completed",za="cancelled",ym="task-"+za,bm="task-"+Ba,xm=Da+"-"+za,vm=Da+"-"+Ba;var Qo="listenerMiddleware";var Sm=we(Qo+"/add"),Om=we(Qo+"/removeAll"),wm=we(Qo+"/remove");var Fa,Cm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Fa||(Fa=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},El=function(o){return function(e){setTimeout(e,o)}},Em=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:El(10);wa();window.ftReduxStores||(window.ftReduxStores={});var en=class o{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Te(a))return a;if(i==null)return;let c=Ua({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Wa({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:c.reducer(d,f)});return window.ftReduxStores[i.name]=new o(c,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Rt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let c=i,l=n[c];return l?(...d)=>{let f=l(...d);return this.reduxStore.dispatch(f),f}:d=>{this.setState({[c]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Nl(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Te(e)&&e.clear()}var nn={};P(nn,{scrollHelper:()=>Al});var rn,xr=new Map,on=class{lock(e,r){if(r){let n=xr.get(r);if(n==null||n===e)return xr.set(r,e),r}}release(e,r){r&&xr.get(r)===e&&xr.delete(r)}findFirstScrollableParent(e){let r,n=i=>{var a;i.stopPropagation();let c,l;for(let d of i.composedPath()){let f=d,h=this.elementCanScroll(f);if(h&&f.clientHeight&&f.clientHeight<f.scrollHeight){c=f;break}else h&&l==null&&(l=f)}r=(a=c??l)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,c=i,l=qr(0,(c-n.scrollTop)/(c-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-c)+c;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(rn=window.FluidTopicsScrollHelper)!==null&&rn!==void 0?rn:new on;var Al=window.FluidTopicsScrollHelper;var an={};P(an,{shadowQuerySelector:()=>Rl,shadowQuerySelectorAll:()=>Pl});function Rl(o,e,...r){var n;let i=o.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Pl(o,e,...r){let n=[...o.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var c,l;return[...(l=(c=a.shadowRoot)===null||c===void 0?void 0:c.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var cn={};P(cn,{serializeRequest:()=>_l});function Il(o){return`"${o}"`}function _l(o,e){var r,n,i,a,c,l,d,f,h;let p=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&p.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&p.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&p.append("virtual-field",e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&p.append("sort","last_update");let m=(c=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(O=>O.valueFilter))!==null&&c!==void 0?c:[];if(m.length>0){let O=m.map(w=>{var C,b;let x=((b=(C=w.valueFilter)===null||C===void 0?void 0:C.values)!==null&&b!==void 0?b:[]).map(S=>S.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(S=>encodeURIComponent(Il(S))).join("_");return`${w.key}~${x}`}).join("*");p.append("value-filters",O)}let g=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(O=>O.dateFilter))!==null&&d!==void 0?d:[];if(g.length>0){let O=g.map(w=>{var C;return`${w.key}~${(C=w.dateFilter)===null||C===void 0?void 0:C.type.toLowerCase()}`}).join("*");p.append("date-filters",O)}let y=(h=(f=e.metadataFilters)===null||f===void 0?void 0:f.filter(O=>O.rangeFilter))!==null&&h!==void 0?h:[];if(y.length>0){let O=y.map(w=>{var C,b;return`${w.key}~${(C=w.rangeFilter)===null||C===void 0?void 0:C.from}_${(b=w.rangeFilter)===null||b===void 0?void 0:b.to}`}).join("*");p.append("range-filters",O)}return new URL(`${o.replace(/\/+$/,"")}/search?${p.toString()}`).href}var sn={};P(sn,{toFtFormComponent:()=>kl});var vr=Symbol("elementInternals");function kl(o,e){class r extends o{static get formAssociated(){return!0}get form(){return this[vr].form}constructor(...i){super(i),this[vr]=this.attachInternals(),this[vr].role=e}setFormValue(i){this[vr].setFormValue(i)}}return r}var dn={};P(dn,{DateFormatter:()=>ln});var ln=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 fn,un,pn,hn,$l=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((pn=(un=(fn=window.safari)===null||fn===void 0?void 0:fn.pushNotification)===null||un===void 0?void 0:un.toString())!==null&&pn!==void 0?pn:"")==="[object SafariRemoteNotification]",Ll="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(hn=window.ftGlobals)!==null&&hn!==void 0?hn:{lit:Fr,litDecorators:Mr,litRepeat:Wr,litClassMap:Ur,litStyleMap:Dr,litUnsafeHTML:Br,wcUtils:{...Kr,...Hr,...Vr,...dn,...Gr,...Qr,...oo,...co,...xo,...ro,...wo,...So,...sa,...Yr,...Eo,...No,...da,...Ro,...tn,...vo,...nn,...an,...cn,...sn,isSafari:$l,isTouchScreen:Ll,setVariable:or}};var Ha=t.extend("--ft-ripple-color","",ae.colorContent),Be={color:Ha,backgroundColor:t.extend("--ft-ripple-background-color","",Ha),opacityContentOnSurfacePressed:t.external(ae.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(ae.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(ae.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(ae.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},ja=t.extend("--ft-ripple-color","",ae.colorPrimary),Ka={color:ja,backgroundColor:t.extend("--ft-ripple-background-color","",ja)},Za=t.extend("--ft-ripple-color","",ae.colorSecondary),Va={color:Za,backgroundColor:t.extend("--ft-ripple-background-color","",Za)},Ga=W`
|
|
50
|
+
`;var Aa={};var zo={};k(zo,{ParametrizedLabelResolver:()=>Ho});var Ho=class r{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var n,i;e=this.resolvePluralKey(e,t);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(n,s))),e}resolvePluralKey(e,t){for(let n of t)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,t){return e instanceof Date?r.formatDate(e,t):e??""}static formatDate(e,t){let n=i=>t?.includes("date")?e.toLocaleDateString(i):t?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var gn={};k(gn,{FtCommandQueue:()=>Dt,FtLitElementRedux:()=>nt,FtReduxStore:()=>yn,clearAllStores:()=>gu,isFtReduxStore:()=>Ke,redux:()=>Ll,reduxEventListener:()=>kl,reduxReactive:()=>Tl});var Tl=()=>(r,e)=>{var t;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(t=n.reduxReactiveProperties)===null||t===void 0||t.add(e)},Ll=r=>{let e=r??{};return(t,n)=>{var i;let a={hasChanged:Rt,attribute:!1,...e};B(a)(t,n);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:u=>u[n],store:e.store})}},kl=r=>(e,t)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(t,r)};var Dt=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(n=>n.type===e);return t&&(this.queue=this.queue.filter(n=>n!==t)),t}};function Ke(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ca,Ra,Na,Er=Symbol("internalReduxEventsUnsubscribers"),we=Symbol("internalStoresUnsubscribers"),Ge=Symbol("internalStores"),nt=class extends J{constructor(){super(...arguments),this[Ca]=new Map,this[Ra]=new Map,this[Na]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Ge].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ge].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ge].get(e)}addStore(e,t){var n;t=(n=t??(Ke(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(t),this.setupStore(t,e)}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[Ge].delete(t)}setupStore(e,t){this[Ge].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ge].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let n=this.constructor.getPropertyOptions(t);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:t)){let i=this.getStore(e.store);i&&(e.store?this[we].has(e.store):this[we].size>0)&&(this[t]=e.selector(i.getState(),this))}})}subscribeToStore(e,t){var n;this[we].set(e,t.subscribe(()=>this.updateFromStores())),Ke(t)&&t.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||t.name===i.store)){let s=u=>this[a](u);t.eventBus.addEventListener(i.eventName,s),this[Er].push(()=>t.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[we].forEach((e,t)=>this.unsubscribeFromStore(t)),this[Er].forEach(e=>e()),this[Er]=[]}unsubscribeFromStore(e){this[we].has(e)&&this[we].get(e)(),this[we].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ca=we,Ra=Ge,Na=Er;nt.reduxProperties=new Map;nt.reduxReactiveProperties=new Set;nt.reduxEventListeners=new Map;function Q(r){for(var e=arguments.length,t=Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+r+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ye(r){return!!r&&!!r[$]}function re(r){var e;return!!r&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Hl}(r)||Array.isArray(r)||!!r[Fa]||!!(!((e=r.constructor)===null||e===void 0)&&e[Fa])||Xo(r)||Qo(r))}function Ze(r,e,t){t===void 0&&(t=!1),st(r)===0?(t?Object.keys:at)(r).forEach(function(n){t&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,i){return e(i,n,r)})}function st(r){var e=r[$];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Xo(r)?2:Qo(r)?3:0}function it(r,e){return st(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function Fl(r,e){return st(r)===2?r.get(e):r[e]}function Ua(r,e,t){var n=st(r);n===2?r.set(e,t):n===3?r.add(t):r[e]=t}function Da(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function Xo(r){return Bl&&r instanceof Map}function Qo(r){return Wl&&r instanceof Set}function Ae(r){return r.o||r.t}function en(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=Ba(r);delete e[$];for(var t=at(e),n=0;n<t.length;n++){var i=t[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[i]})}return Object.create(Object.getPrototypeOf(r),e)}function tn(r,e){return e===void 0&&(e=!1),rn(r)||ye(r)||!re(r)||(st(r)>1&&(r.set=r.add=r.clear=r.delete=Ul),Object.freeze(r),e&&Ze(r,function(t,n){return tn(n,!0)},!0)),r}function Ul(){Q(2)}function rn(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function se(r){var e=Jo[r];return e||Q(18,r),e}function Dl(r,e){Jo[r]||(Jo[r]=e)}function Zo(){return Mt}function jo(r,e){e&&(se("Patches"),r.u=[],r.s=[],r.v=e)}function wr(r){qo(r),r.p.forEach($l),r.p=null}function qo(r){r===Mt&&(Mt=r.l)}function _a(r){return Mt={p:[],l:Mt,h:r,m:!0,_:0}}function $l(r){var e=r[$];e.i===0||e.i===1?e.j():e.g=!0}function Vo(r,e){e._=e.p.length;var t=e.p[0],n=r!==void 0&&r!==t;return e.h.O||se("ES5").S(e,r,n),n?(t[$].P&&(wr(e),Q(4)),re(r)&&(r=Ar(e,r),e.l||Cr(e,r)),e.u&&se("Patches").M(t[$].t,r,e.u,e.s)):r=Ar(e,t,[]),wr(e),e.u&&e.v(e.u,e.s),r!==Ma?r:void 0}function Ar(r,e,t){if(rn(e))return e;var n=e[$];if(!n)return Ze(e,function(u,c){return Ia(r,n,e,u,c,t)},!0),e;if(n.A!==r)return e;if(!n.P)return Cr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=en(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Ze(a,function(u,c){return Ia(r,n,i,u,c,t,s)}),Cr(r,i,!1),t&&r.u&&se("Patches").N(n,t,r.u,r.s)}return n.o}function Ia(r,e,t,n,i,a,s){if(ye(i)){var u=Ar(r,i,a&&e&&e.i!==3&&!it(e.R,n)?a.concat(n):void 0);if(Ua(t,n,u),!ye(u))return;r.m=!1}else s&&t.add(i);if(re(i)&&!rn(i)){if(!r.h.D&&r._<1)return;Ar(r,i),e&&e.A.l||Cr(r,i)}}function Cr(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&tn(e,t)}function Ko(r,e){var t=r[$];return(t?Ae(t):r)[e]}function Pa(r,e){if(e in r)for(var t=Object.getPrototypeOf(r);t;){var n=Object.getOwnPropertyDescriptor(t,e);if(n)return n;t=Object.getPrototypeOf(t)}}function Ce(r){r.P||(r.P=!0,r.l&&Ce(r.l))}function Go(r){r.o||(r.o=en(r.t))}function Yo(r,e,t){var n=Xo(e)?se("MapSet").F(e,t):Qo(e)?se("MapSet").T(e,t):r.O?function(i,a){var s=Array.isArray(i),u={i:s?1:0,A:a?a.A:Zo(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=u,d=Bt;s&&(c=[u],d=$t);var h=Proxy.revocable(c,d),p=h.revoke,y=h.proxy;return u.k=y,u.j=p,y}(e,t):se("ES5").J(e,t);return(t?t.A:Zo()).p.push(n),n}function Ml(r){return ye(r)||Q(22,r),function e(t){if(!re(t))return t;var n,i=t[$],a=st(t);if(i){if(!i.P&&(i.i<4||!se("ES5").K(i)))return i.t;i.I=!0,n=Ta(t,a),i.I=!1}else n=Ta(t,a);return Ze(n,function(s,u){i&&Fl(i.t,s)===u||Ua(n,s,e(u))}),a===3?new Set(n):n}(r)}function Ta(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return en(r)}function $a(){function r(s,u){var c=a[s];return c?c.enumerable=u:a[s]=c={configurable:!0,enumerable:u,get:function(){var d=this[$];return Bt.get(d,s)},set:function(d){var h=this[$];Bt.set(h,s,d)}},c}function e(s){for(var u=s.length-1;u>=0;u--){var c=s[u][$];if(!c.P)switch(c.i){case 5:n(c)&&Ce(c);break;case 4:t(c)&&Ce(c)}}}function t(s){for(var u=s.t,c=s.k,d=at(c),h=d.length-1;h>=0;h--){var p=d[h];if(p!==$){var y=u[p];if(y===void 0&&!it(u,p))return!0;var g=c[p],b=g&&g[$];if(b?b.t!==y:!Da(g,y))return!0}}var O=!!u[$];return d.length!==at(u).length+(O?0:1)}function n(s){var u=s.k;if(u.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(u,u.length-1);if(c&&!c.get)return!0;for(var d=0;d<u.length;d++)if(!u.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Q(3,JSON.stringify(Ae(s)))}var a={};Dl("ES5",{J:function(s,u){var c=Array.isArray(s),d=function(p,y){if(p){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,r(b,!0));return g}var O=Ba(y);delete O[$];for(var C=at(O),w=0;w<C.length;w++){var A=C[w];O[A]=r(A,p||!!O[A].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(c,s),h={i:c?5:4,A:u?u.A:Zo(),P:!1,I:!1,R:{},l:u,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,$,{value:h,writable:!0}),d},S:function(s,u,c){c?ye(u)&&u[$].A===s&&e(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var p=h[$];if(p){var y=p.t,g=p.k,b=p.R,O=p.i;if(O===4)Ze(g,function(S){S!==$&&(y[S]!==void 0||it(y,S)?b[S]||d(g[S]):(b[S]=!0,Ce(p)))}),Ze(y,function(S){g[S]!==void 0||it(g,S)||(b[S]=!1,Ce(p))});else if(O===5){if(n(p)&&(Ce(p),b.length=!0),g.length<y.length)for(var C=g.length;C<y.length;C++)b[C]=!1;else for(var w=y.length;w<g.length;w++)b[w]=!0;for(var A=Math.min(g.length,y.length),v=0;v<A;v++)g.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&d(g[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):n(s)}})}var La,Mt,on=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Bl=typeof Map<"u",Wl=typeof Set<"u",ka=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ma=on?Symbol.for("immer-nothing"):((La={})["immer-nothing"]=!0,La),Fa=on?Symbol.for("immer-draftable"):"__$immer_draftable",$=on?Symbol.for("immer-state"):"__$immer_state";var Hl=""+Object.prototype.constructor,at=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Ba=Object.getOwnPropertyDescriptors||function(r){var e={};return at(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},Jo={},Bt={get:function(r,e){if(e===$)return r;var t=Ae(r);if(!it(t,e))return function(i,a,s){var u,c=Pa(a,s);return c?"value"in c?c.value:(u=c.get)===null||u===void 0?void 0:u.call(i.k):void 0}(r,t,e);var n=t[e];return r.I||!re(n)?n:n===Ko(r.t,e)?(Go(r),r.o[e]=Yo(r.A.h,n,r)):n},has:function(r,e){return e in Ae(r)},ownKeys:function(r){return Reflect.ownKeys(Ae(r))},set:function(r,e,t){var n=Pa(Ae(r),e);if(n?.set)return n.set.call(r.k,t),!0;if(!r.P){var i=Ko(Ae(r),e),a=i?.[$];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(Da(t,i)&&(t!==void 0||it(r.t,e)))return!0;Go(r),Ce(r)}return r.o[e]===t&&(t!==void 0||e in r.o)||Number.isNaN(t)&&Number.isNaN(r.o[e])||(r.o[e]=t,r.R[e]=!0),!0},deleteProperty:function(r,e){return Ko(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Go(r),Ce(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=Ae(r),n=Reflect.getOwnPropertyDescriptor(t,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:t[e]}},defineProperty:function(){Q(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){Q(12)}},$t={};Ze(Bt,function(r,e){$t[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),$t.deleteProperty=function(r,e){return $t.set.call(this,r,e,void 0)},$t.set=function(r,e,t){return Bt.set.call(this,r[0],e,t,r[0])};var zl=function(){function r(t){var n=this;this.O=ka,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var u=a;a=i;var c=n;return function(O){var C=this;O===void 0&&(O=u);for(var w=arguments.length,A=Array(w>1?w-1:0),v=1;v<w;v++)A[v-1]=arguments[v];return c.produce(O,function(S){var E;return(E=a).call.apply(E,[C,S].concat(A))})}}var d;if(typeof a!="function"&&Q(6),s!==void 0&&typeof s!="function"&&Q(7),re(i)){var h=_a(n),p=Yo(n,i,void 0),y=!0;try{d=a(p),y=!1}finally{y?wr(h):qo(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return jo(h,s),Vo(O,h)},function(O){throw wr(h),O}):(jo(h,s),Vo(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===Ma&&(d=void 0),n.D&&tn(d,!0),s){var g=[],b=[];se("Patches").M(i,d,g,b),s(g,b)}return d}Q(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,p=Array(h>1?h-1:0),y=1;y<h;y++)p[y-1]=arguments[y];return n.produceWithPatches(d,function(g){return i.apply(void 0,[g].concat(p))})};var s,u,c=n.produce(i,a,function(d,h){s=d,u=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,u]}):[c,s,u]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=r.prototype;return e.createDraft=function(t){re(t)||Q(8),ye(t)&&(t=Ml(t));var n=_a(this),i=Yo(this,t,void 0);return i[$].C=!0,qo(n),i},e.finishDraft=function(t,n){var i=t&&t[$],a=i.A;return jo(a,n),Vo(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ka&&Q(20),this.O=t},e.applyPatches=function(t,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}i>-1&&(n=n.slice(i+1));var s=se("Patches").$;return ye(t)?s(t,n):this.produce(t,function(u){return s(u,n)})},r}(),X=new zl,jl=X.produce,Dm=X.produceWithPatches.bind(X),$m=X.setAutoFreeze.bind(X),Mm=X.setUseProxies.bind(X),Bm=X.applyPatches.bind(X),Wm=X.createDraft.bind(X),Hm=X.finishDraft.bind(X),Rr=jl;function Re(r){"@babel/helpers - typeof";return Re=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},Re(r)}function nn(r,e){if(Re(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e||"default");if(Re(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function an(r){var e=nn(r,"string");return Re(e)==="symbol"?e:String(e)}function sn(r,e,t){return e=an(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Wa(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),t.push.apply(t,n)}return t}function Nr(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Wa(Object(t),!0).forEach(function(n){sn(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Wa(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function K(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var Ha=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),cn=function(){return Math.random().toString(36).substring(7).split("").join(".")},_r={INIT:"@@redux/INIT"+cn(),REPLACE:"@@redux/REPLACE"+cn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+cn()}};function Vl(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function ln(r,e,t){var n;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(K(1));return t(ln)(r,e)}if(typeof r!="function")throw new Error(K(2));var i=r,a=e,s=[],u=s,c=!1;function d(){u===s&&(u=s.slice())}function h(){if(c)throw new Error(K(3));return a}function p(O){if(typeof O!="function")throw new Error(K(4));if(c)throw new Error(K(5));var C=!0;return d(),u.push(O),function(){if(C){if(c)throw new Error(K(6));C=!1,d();var A=u.indexOf(O);u.splice(A,1),s=null}}}function y(O){if(!Vl(O))throw new Error(K(7));if(typeof O.type>"u")throw new Error(K(8));if(c)throw new Error(K(9));try{c=!0,a=i(a,O)}finally{c=!1}for(var C=s=u,w=0;w<C.length;w++){var A=C[w];A()}return O}function g(O){if(typeof O!="function")throw new Error(K(10));i=O,y({type:_r.REPLACE})}function b(){var O,C=p;return O={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(K(11));function v(){A.next&&A.next(h())}v();var S=C(v);return{unsubscribe:S}}},O[Ha]=function(){return this},O}return y({type:_r.INIT}),n={dispatch:y,subscribe:p,getState:h,replaceReducer:g},n[Ha]=b,n}function Kl(r){Object.keys(r).forEach(function(e){var t=r[e],n=t(void 0,{type:_r.INIT});if(typeof n>"u")throw new Error(K(12));if(typeof t(void 0,{type:_r.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function za(r){for(var e=Object.keys(r),t={},n=0;n<e.length;n++){var i=e[n];typeof r[i]=="function"&&(t[i]=r[i])}var a=Object.keys(t),s,u;try{Kl(t)}catch(c){u=c}return function(d,h){if(d===void 0&&(d={}),u)throw u;if(0)var p;for(var y=!1,g={},b=0;b<a.length;b++){var O=a[b],C=t[O],w=d[O],A=C(w,h);if(typeof A>"u"){var v=h&&h.type;throw new Error(K(14))}g[O]=A,y=y||A!==w}return y=y||a.length!==Object.keys(d).length,y?g:d}}function ct(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function ja(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(K(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},u=e.map(function(c){return c(s)});return a=ct.apply(void 0,u)(i.dispatch),Nr(Nr({},i),{},{dispatch:a})}}}function Va(r){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(u){return typeof u=="function"?u(i,a,r):s(u)}}};return e}var Ka=Va();Ka.withExtraArgument=Va;var un=Ka;var Ja=function(){var r=function(e,t){return r=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])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Gl=function(r,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(d){return function(h){return c([d,h])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return t.label++,{value:d[1],done:!1};case 5:t.label++,i=d[1],d=[0];continue;case 7:d=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){t=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){t.label=d[1];break}if(d[0]===6&&t.label<a[1]){t.label=a[1],a=d;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(d);break}a[2]&&t.ops.pop(),t.trys.pop();continue}d=e.call(r,t)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},lt=function(r,e){for(var t=0,n=e.length,i=r.length;t<n;t++,i++)r[i]=e[t];return r},Zl=Object.defineProperty,ql=Object.defineProperties,Yl=Object.getOwnPropertyDescriptors,Ga=Object.getOwnPropertySymbols,Jl=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,Za=function(r,e,t){return e in r?Zl(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},Ne=function(r,e){for(var t in e||(e={}))Jl.call(e,t)&&Za(r,t,e[t]);if(Ga)for(var n=0,i=Ga(e);n<i.length;n++){var t=i[n];Xl.call(e,t)&&Za(r,t,e[t])}return r},dn=function(r,e){return ql(r,Yl(e))},Ql=function(r,e,t){return new Promise(function(n,i){var a=function(c){try{u(t.next(c))}catch(d){i(d)}},s=function(c){try{u(t.throw(c))}catch(d){i(d)}},u=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};u((t=t.apply(r,e)).next())})};var eu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ct:ct.apply(null,arguments)},ay=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function tu(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var ru=function(r){Ja(e,r);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=r.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,lt([void 0],t[0].concat(this)))):new(e.bind.apply(e,lt([void 0],t.concat(this))))},e}(Array),ou=function(r){Ja(e,r);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=r.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,lt([void 0],t[0].concat(this)))):new(e.bind.apply(e,lt([void 0],t.concat(this))))},e}(Array);function hn(r){return re(r)?Rr(r,function(){}):r}function nu(r){return typeof r=="boolean"}function iu(){return function(e){return au(e)}}function au(r){r===void 0&&(r={});var e=r.thunk,t=e===void 0?!0:e,n=r.immutableCheck,i=n===void 0?!0:n,a=r.serializableCheck,s=a===void 0?!0:a,u=new ru;if(t&&(nu(t)?u.push(un):u.push(un.withExtraArgument(t.extraArgument))),0){if(i)var c;if(s)var d}return u}var fn=!0;function Xa(r){var e=iu(),t=r||{},n=t.reducer,i=n===void 0?void 0:n,a=t.middleware,s=a===void 0?e():a,u=t.devTools,c=u===void 0?!0:u,d=t.preloadedState,h=d===void 0?void 0:d,p=t.enhancers,y=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(tu(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 b=s;if(typeof b=="function"&&(b=b(e),!fn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!fn&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=ja.apply(void 0,b),C=ct;c&&(C=eu(Ne({trace:!fn},typeof c=="object"&&c)));var w=new ou(O),A=w;Array.isArray(y)?A=lt([O],y):typeof y=="function"&&(A=y(w));var v=C.apply(void 0,A);return ln(g,h,v)}function _e(r,e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Ne(Ne({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:n[0]}}return t.toString=function(){return""+r},t.type=r,t.match=function(n){return n.type===r},t}function Qa(r){var e={},t=[],n,i={addCase:function(a,s){var u=typeof a=="string"?a:a.type;if(u in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[u]=s,i},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return r(i),[e,t,n]}function su(r){return typeof r=="function"}function cu(r,e,t,n){t===void 0&&(t=[]);var i=typeof e=="function"?Qa(e):[e,t,n],a=i[0],s=i[1],u=i[2],c;if(su(r))c=function(){return hn(r())};else{var d=hn(r);c=function(){return d}}function h(p,y){p===void 0&&(p=c());var g=lt([a[y.type]],s.filter(function(b){var O=b.matcher;return O(y)}).map(function(b){var O=b.reducer;return O}));return g.filter(function(b){return!!b}).length===0&&(g=[u]),g.reduce(function(b,O){if(O)if(ye(b)){var C=b,w=O(C,y);return w===void 0?b:w}else{if(re(b))return Rr(b,function(A){return O(A,y)});var w=O(b,y);if(w===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return b},p)}return h.getInitialState=c,h}function lu(r,e){return r+"/"+e}function es(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof r.initialState=="function"?r.initialState:hn(r.initialState),n=r.reducers||{},i=Object.keys(n),a={},s={},u={};i.forEach(function(h){var p=n[h],y=lu(e,h),g,b;"reducer"in p?(g=p.reducer,b=p.prepare):g=p,a[h]=g,s[y]=g,u[h]=b?_e(y,b):_e(y)});function c(){var h=typeof r.extraReducers=="function"?Qa(r.extraReducers):[r.extraReducers],p=h[0],y=p===void 0?{}:p,g=h[1],b=g===void 0?[]:g,O=h[2],C=O===void 0?void 0:O,w=Ne(Ne({},y),s);return cu(t,function(A){for(var v in w)A.addCase(v,w[v]);for(var S=0,E=b;S<E.length;S++){var _=E[S];A.addMatcher(_.matcher,_.reducer)}C&&A.addDefaultCase(C)})}var d;return{name:e,reducer:function(h,p){return d||(d=c()),d(h,p)},actions:u,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var uu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",du=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=uu[Math.random()*64|0];return e},fu=["name","message","stack","code"],pn=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),qa=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),pu=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,n=fu;t<n.length;t++){var i=n[t];typeof r[i]=="string"&&(e[i]=r[i])}return e}return{message:String(r)}},uy=function(){function r(e,t,n){var i=_e(e+"/fulfilled",function(h,p,y,g){return{payload:h,meta:dn(Ne({},g||{}),{arg:y,requestId:p,requestStatus:"fulfilled"})}}),a=_e(e+"/pending",function(h,p,y){return{payload:void 0,meta:dn(Ne({},y||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=_e(e+"/rejected",function(h,p,y,g,b){return{payload:g,error:(n&&n.serializeError||pu)(h||"Rejected"),meta:dn(Ne({},b||{}),{arg:y,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),u=!1,c=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 d(h){return function(p,y,g){var b=n?.idGenerator?n.idGenerator(h):du(),O=new c,C,w=!1;function A(S){C=S,O.abort()}var v=function(){return Ql(this,null,function(){var S,E,_,T,F,L,N;return Gl(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),T=(S=n?.condition)==null?void 0:S.call(n,h,{getState:y,extra:g}),mu(T)?[4,T]:[3,2];case 1:T=m.sent(),m.label=2;case 2:if(T===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,F=new Promise(function(x,R){return O.signal.addEventListener("abort",function(){return R({name:"AbortError",message:C||"Aborted"})})}),p(a(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:y,extra:g}))),[4,Promise.race([F,Promise.resolve(t(h,{dispatch:p,getState:y,extra:g,requestId:b,signal:O.signal,abort:A,rejectWithValue:function(x,R){return new pn(x,R)},fulfillWithValue:function(x,R){return new qa(x,R)}})).then(function(x){if(x instanceof pn)throw x;return x instanceof qa?i(x.payload,b,h,x.meta):i(x,b,h)})])];case 3:return _=m.sent(),[3,5];case 4:return L=m.sent(),_=L instanceof pn?s(null,b,h,L.payload,L.meta):s(L,b,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(_)&&_.meta.condition,N||p(_),[2,_]}})})}();return Object.assign(v,{abort:A,requestId:b,arg:h,unwrap:function(){return v.then(hu)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return r.withTypes=function(){return r},r}();function hu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function mu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var ts="listener",rs="completed",os="cancelled",dy="task-"+os,fy="task-"+rs,py=ts+"-"+os,hy=ts+"-"+rs;var mn="listenerMiddleware";var my=_e(mn+"/add"),yy=_e(mn+"/removeAll"),gy=_e(mn+"/remove");var Ya,by=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Ya||(Ya=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},yu=function(r){return function(e){setTimeout(e,r)}},xy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:yu(10);$a();window.ftReduxStores||(window.ftReduxStores={});var yn=class r{static get(e){var t;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Ke(a))return a;if(i==null)return;let s=es({...i,reducers:(t=i.reducers)!==null&&t!==void 0?t:{}}),u=Xa({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new r(s,u)}constructor(e,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Dt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,u=n[s];return u?(...c)=>{let d=u(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}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 gu(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))Ke(e)&&e.clear()}var vn={};k(vn,{scrollHelper:()=>bu});var bn,Ir=new Map,xn=class{lock(e,t){if(t){let n=Ir.get(t);if(n==null||n===e)return Ir.set(t,e),t}}release(e,t){t&&Ir.get(t)===e&&Ir.delete(t)}findFirstScrollableParent(e){let t,n=i=>{var a;i.stopPropagation();let s,u;for(let c of i.composedPath()){let d=c,h=this.elementCanScroll(d);if(h&&d.clientHeight&&d.clientHeight<d.scrollHeight){s=d;break}else h&&u==null&&(u=d)}t=(a=s??u)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),t}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){let n=0;for(;t&&t.offsetParent!==e.offsetParent;)n+=t.offsetTop,t=t.offsetParent;return n+t.offsetTop-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,u=uo(0,(s-n.scrollTop)/(s-a),1),c=this.computeTopOffsetRatio(t?.position,u)*(a-s)+s;n.scrollTo({behavior:t?.behavior,top:c})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(bn=window.FluidTopicsScrollHelper)!==null&&bn!==void 0?bn:new xn;var bu=window.FluidTopicsScrollHelper;var Sn={};k(Sn,{shadowQuerySelector:()=>xu,shadowQuerySelectorAll:()=>vu});function xu(r,e,...t){var n;let i=r.querySelector(e);for(let a of t)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function vu(r,e,...t){let n=[...r.querySelectorAll(e)];for(let i of t)n=n.flatMap(a=>{var s,u;return[...(u=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&u!==void 0?u:[]]});return n}var On={};k(On,{SearchPlaceConverter:()=>Lr,SearchPlaceQueryParams:()=>D,isSearchPlaceQueryParams:()=>Cs,serializeRequest:()=>wu});var Su=Bs(is(),1);var as;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(as||(as={}));var ss;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(ss||(ss={}));var cs;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(cs||(cs={}));var ls;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(ls||(ls={}));var us;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(us||(us={}));var ds;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(ds||(ds={}));var fs;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(fs||(fs={}));var ps;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(ps||(ps={}));var hs;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(hs||(hs={}));var ms;(function(r){r.ASC="ASC",r.DESC="DESC"})(ms||(ms={}));var ys;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(ys||(ys={}));var gs;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(gs||(gs={}));var Es=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var bs;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(bs||(bs={}));var xs;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(xs||(xs={}));var vs;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(vs||(vs={}));var Wt;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Wt||(Wt={}));var ws=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Ss;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Ss||(Ss={}));var Os;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(Os||(Os={}));var j;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(j||(j={}));var As;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(As||(As={}));var Uy={[j.PERSONAL_BOOK_SHARE_USER]:[j.PERSONAL_BOOK_USER],[j.HTML_EXPORT_USER]:[j.PERSONAL_BOOK_USER],[j.PDF_EXPORT_USER]:[j.PERSONAL_BOOK_USER],[j.KHUB_ADMIN]:[j.CONTENT_PUBLISHER],[j.ADMIN]:[j.KHUB_ADMIN,j.USERS_ADMIN,j.PORTAL_ADMIN],[j.DEVELOPER]:[j.BETA_USER,j.DEBUG_USER]};function Ou(r){return`"${r}"`}function Eu(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function wu(r,e){return new Lr(r,{}).serialize(e)}var D;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort"})(D||(D={}));var Au=new Set(Object.values(D));function Cs(r){return Au.has(r)}var Lr=class{constructor(e,t){this.baseUrl=e,this.predefinedSorts=t,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,t="/search"){let n=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${t}?${n}`).href}toURLSearchParams(e){var t,n,i,a,s,u,c,d,h,p;let y=new URLSearchParams({[D.LOCALE]:(t=e.contentLocale)!==null&&t!==void 0?t:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&y.append(D.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&y.append(D.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(D.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&y.append(D.SORT,"last_update");let g=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(w=>w.valueFilter))!==null&&s!==void 0?s:[];if(g.length>0){let w=g.map(A=>{var v,S;let E=((S=(v=A.valueFilter)===null||v===void 0?void 0:v.values)!==null&&S!==void 0?S:[]).map(_=>this.escapeFilters(_)).map(_=>encodeURIComponent(Ou(_))).join("_");return`${A.key}~${E}`}).join("*");y.append(D.VALUE_FILTERS,w)}let b=(c=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(w=>w.dateFilter))!==null&&c!==void 0?c:[];if(b.length>0){let w=b.map(A=>{var v;return`${A.key}~${(v=A.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");y.append(D.DATE_FILTERS,w)}let O=(h=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(w=>w.rangeFilter))!==null&&h!==void 0?h:[];if(O.length>0){let w=O.map(A=>{var v,S;return`${A.key}~${(v=A.rangeFilter)===null||v===void 0?void 0:v.from}_${(S=A.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");y.append(D.RANGE_FILTERS,w)}let C=(p=e.otherQueryParams)!==null&&p!==void 0?p:{};for(let w in C)y.append(w,C[w]);return y}parse(e){var t;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(t=this.scopeMapping[a])!==null&&t!==void 0?t:i.scope}}fromURLSearchParams(e){var t,n,i,a,s,u,c,d;let h=((t=e.get(D.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),p=((n=e.get(D.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),y=(i=e.get(D.SCOPE))!==null&&i!==void 0?i:"default",g={};for(let b of e.keys())Cs(b)||(g[b]=e.get(b));return{contentLocale:e.get(D.LOCALE)==="all"?void 0:(a=e.get(D.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get(D.QUERY))!==null&&s!==void 0?s:""),scope:(u=this.scopeMapping[y])!==null&&u!==void 0?u:"DEFAULT",virtualField:Es(h)?h:"EVERYWHERE",sort:(d=(c=this.predefinedSorts[p])!==null&&c!==void 0?c:this.predefinedSorts.DEFAULT)!==null&&d!==void 0?d:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:g}}parseCompatFilters(e){var t,n,i,a,s,u;let c=[];return e.has(D.FILTERS)&&(c=this.parseValueFilters((t=e.get(D.FILTERS))!==null&&t!==void 0?t:"")),(n=e.has(D.PERIOD))!==null&&n!==void 0&&n&&(c=[...c,...this.parseLegacyPeriodFilter(((i=e.get(D.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...c,...this.parseValueFilters((a=e.get(D.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(D.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((u=e.get(D.RANGE_FILTERS))!==null&&u!==void 0?u:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(t=>t.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],valueFilter:{values:t[1].split("_").map(Eu).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:Wt[t[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],rangeFilter:{from:t[1].split("_")[0],to:t[1].split("_")[1]}}))}escapeFilters(e){for(let[t,n,i]of this.filtersEscapeMapping)e=e.replaceAll(t,n);return e}superEscapeFilters(e){for(let[t,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[t,n,i]of this.filtersEscapeMapping)e=e.replace(i,t);return e}parseLegacyPeriodFilter(e){if(ws(e))return[{key:"ft:lastEdition",dateFilter:{type:Wt[e]}}];if(e.startsWith("CUSTOM_")){let[t,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var En={};k(En,{toFtFormComponent:()=>Cu});var kr=Symbol("elementInternals");function Cu(r,e){class t extends r{static get formAssociated(){return!0}get form(){return this[kr].form}constructor(...i){super(i),this[kr]=this.attachInternals(),this[kr].role=e}setFormValue(i){this[kr].setFormValue(i)}}return t}var An={};k(An,{DateFormatter:()=>wn});var wn=class{static format(e,t,n,i){return window.moment?window.moment(e).locale(t).format(this.getDateFormat(n,i)):e}static getDateFormat(e,t){return e?t?"lll":"ll":t?"L LT":"L"}};var Cn,Rn,Nn,_n,Ru=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Nn=(Rn=(Cn=window.safari)===null||Cn===void 0?void 0:Cn.pushNotification)===null||Rn===void 0?void 0:Rn.toString())!==null&&Nn!==void 0?Nn:"")==="[object SafariRemoteNotification]",Nu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(_n=window.ftGlobals)!==null&&_n!==void 0?_n:{lit:Yr,litDecorators:Jr,litRepeat:Xr,litClassMap:eo,litStyleMap:to,litUnsafeHTML:ro,wcUtils:{...ao,...no,...co,...An,...lo,...mo,...xo,...Eo,...ko,...bo,...$o,...Uo,...Ea,...fo,...Bo,...Wo,...Aa,...zo,...gn,...Fo,...vn,...Sn,...On,...En,isSafari:Ru,isTouchScreen:Nu,setVariable:hr}};var Rs=o.extend("--ft-ripple-color","",fe.colorContent),qe={color:Rs,backgroundColor:o.extend("--ft-ripple-background-color","",Rs),opacityContentOnSurfacePressed:o.external(fe.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(fe.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(fe.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(fe.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Ns=o.extend("--ft-ripple-color","",fe.colorPrimary),_s={color:Ns,backgroundColor:o.extend("--ft-ripple-background-color","",Ns)},Is=o.extend("--ft-ripple-color","",fe.colorSecondary),Ps={color:Is,backgroundColor:o.extend("--ft-ripple-background-color","",Is)},Ts=z`
|
|
50
51
|
:host {
|
|
51
52
|
display: contents;
|
|
52
53
|
}
|
|
@@ -59,7 +60,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
59
60
|
|
|
60
61
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
61
62
|
overflow: hidden;
|
|
62
|
-
border-radius: ${
|
|
63
|
+
border-radius: ${qe.borderRadius};
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
.ft-ripple .ft-ripple--background,
|
|
@@ -93,27 +94,27 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
.ft-ripple .ft-ripple--background {
|
|
96
|
-
background-color: ${
|
|
97
|
+
background-color: ${qe.backgroundColor};
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
.ft-ripple .ft-ripple--effect {
|
|
100
|
-
background-color: ${
|
|
101
|
+
background-color: ${qe.color};
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
104
|
-
background-color: ${
|
|
105
|
+
background-color: ${Ps.backgroundColor};
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
108
|
-
background-color: ${
|
|
109
|
+
background-color: ${Ps.color};
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
112
|
-
background-color: ${
|
|
113
|
+
background-color: ${_s.backgroundColor};
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
116
|
-
background-color: ${
|
|
117
|
+
background-color: ${_s.color};
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
.ft-ripple .ft-ripple--background {
|
|
@@ -143,33 +144,33 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
146
|
-
opacity: ${
|
|
147
|
+
opacity: ${qe.opacityContentOnSurfaceHover};
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
150
|
-
opacity: ${
|
|
151
|
+
opacity: ${qe.opacityContentOnSurfaceSelected};
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
154
|
-
opacity: ${
|
|
155
|
+
opacity: ${qe.opacityContentOnSurfaceFocused};
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
158
|
-
opacity: ${
|
|
159
|
+
opacity: ${qe.opacityContentOnSurfacePressed};
|
|
159
160
|
transform: translate(-50%, -50%) scale(1);
|
|
160
161
|
}
|
|
161
|
-
`;var
|
|
162
|
+
`;var Z=function(r,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(s=r[u])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},W=class extends J{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Se(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Se(10),this.moveRipple=e=>{var t,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Zr`
|
|
162
163
|
<style>
|
|
163
164
|
.ft-ripple .ft-ripple--effect {
|
|
164
165
|
left: ${this.originX}px;
|
|
165
166
|
top: ${this.originY}px;
|
|
166
167
|
}
|
|
167
168
|
</style>
|
|
168
|
-
<div class="${
|
|
169
|
+
<div class="${Qr(e)}">
|
|
169
170
|
<div class="ft-ripple--background"></div>
|
|
170
171
|
<div class="ft-ripple--effect"></div>
|
|
171
172
|
</div>
|
|
172
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var
|
|
173
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var t,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,t;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((t=this.target)!==null&&t!==void 0?t:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let t=(...u)=>c=>{u.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},n=t("mouseup","contextmenu"),i=t("touchend","touchcancel"),a=u=>{["Enter"," "].includes(u.key)&&t("keyup")(u)},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 t=e,n=e,i,a;return t.x!=null?{x:i,y:a}=t:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};W.elementDefinitions={};W.styles=Ts;Z([B({type:Boolean})],W.prototype,"primary",void 0);Z([B({type:Boolean})],W.prototype,"secondary",void 0);Z([B({type:Boolean})],W.prototype,"unbounded",void 0);Z([B({type:Boolean})],W.prototype,"activated",void 0);Z([B({type:Boolean})],W.prototype,"selected",void 0);Z([B({type:Boolean})],W.prototype,"disabled",void 0);Z([ne()],W.prototype,"hovered",void 0);Z([ne()],W.prototype,"focused",void 0);Z([ne()],W.prototype,"pressed",void 0);Z([ne()],W.prototype,"rippling",void 0);Z([ne()],W.prototype,"originX",void 0);Z([ne()],W.prototype,"originY",void 0);Z([fr(".ft-ripple")],W.prototype,"ripple",void 0);Z([fr(".ft-ripple--effect")],W.prototype,"rippleEffect",void 0);po("ft-ripple")(W);})();
|
|
173
174
|
/*! Bundled license information:
|
|
174
175
|
|
|
175
176
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|