@fluid-topics/ft-app-context 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-app-context.min.js +15 -14
- package/package.json +3 -3
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var oc=Object.defineProperty;var _=(o,e)=>{for(var t in e)oc(o,t,{get:e[t],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,c=new WeakMap,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 k={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,k),this._definitionsByClass.set(x,k);let z=t.call(n,b);z||(z=p(b),e.call(n,b,z)),this===window.customElements&&(c.set(x,k),k.standInClass=z);let L=this._awaitingUpgrade.get(b);if(L){this._awaitingUpgrade.delete(b);for(let A of L)a.delete(A),y(A,k,!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,k=N._getDefinition(b);return k?y(S,k):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(L,E){let A=L.toLowerCase();if(x.has(A)){let I=this.getAttribute(A);N.call(this,A,E),S.call(this,A,I,E)}else N.call(this,A,E)});let k=b.prototype.removeAttribute;k&&(b.prototype.removeAttribute=function(L){let E=L.toLowerCase();if(x.has(E)){let A=this.getAttribute(E);k.call(this,E),S.call(this,E,A,null)}else k.call(this,E)});let z=b.prototype.toggleAttribute;z&&(b.prototype.toggleAttribute=function(L,E){let A=L.toLowerCase();if(x.has(A)){let I=this.getAttribute(A);z.call(this,A,E);let W=this.getAttribute(A);S.call(this,A,I,W)}else z.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 k=N.apply(S||this,arguments);return k!==void 0&&l.set(k,this),O.pop(),k}};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(...L){let E=x.call(this,...L);return b.set(E,this),E},S.forEach(L=>{let E=window.ElementInternals.prototype,A=E[L];E[L]=function(...I){let W=b.get(this);if(i.get(W).formAssociated===!0)return A?.call(this,...I);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 k{constructor(E){let A=new Map;E.forEach((I,W)=>{let kr=I.getAttribute("name"),An=A.get(kr)||[];this[+W]=I,An.push(I),A.set(kr,An)}),this.length=E.length,A.forEach((I,W)=>{I&&(I.length===1?this[W]=I[0]:this[W]=new N(I))})}namedItem(E){return this[E]}}let z=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let L=z.get.call(this,[]),E=[];for(let A of L){let I=i.get(A);(!I||I.formAssociated===!0)&&E.push(A)}return new k(E)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,n,i)=>{if(n!==null)try{e.bind(window.customElements)(t,n,i)}catch(a){console.info(t,n,i,a)}}}var Zr={};_(Zr,{CSSResult:()=>Ge,LitElement:()=>ae,ReactiveElement:()=>Q,_$LE:()=>Ac,_$LH:()=>Cc,adoptStyles:()=>Jt,css:()=>T,defaultConverter:()=>Xt,getCompatibleStyle:()=>mt,html:()=>jr,isServer:()=>gd,noChange:()=>ue,notEqual:()=>Wr,nothing:()=>F,render:()=>Kr,supportsAdoptingStyleSheets:()=>pt,svg:()=>wc,unsafeCSS:()=>ht});var Ft=globalThis,Wt=Ft.ShadowRoot&&(Ft.ShadyCSS===void 0||Ft.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,In=Symbol(),Rn=new WeakMap,Tt=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==In)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(Wt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=Rn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Rn.set(t,e))}return e}toString(){return this.cssText}},Pn=o=>new Tt(typeof o=="string"?o:o+"",void 0,In);var Lr=(o,e)=>{if(Wt)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=Ft.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},Dt=Wt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return Pn(t)})(o):o;var{is:nc,defineProperty:ic,getOwnPropertyDescriptor:ac,getOwnPropertyNames:cc,getOwnPropertySymbols:sc,getPrototypeOf:lc}=Object,Bt=globalThis,_n=Bt.trustedTypes,dc=_n?_n.emptyScript:"",fc=Bt.reactiveElementPolyfillSupport,ct=(o,e)=>o,st={toAttribute(o,e){switch(e){case Boolean:o=o?dc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},zt=(o,e)=>!nc(o,e),kn={attribute:!0,type:String,converter:st,reflect:!1,hasChanged:zt};Symbol.metadata??=Symbol("metadata"),Bt.litPropertyMetadata??=new WeakMap;var Ne=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=kn){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&&ic(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=ac(this.prototype,e)??{get(){return this[t]},set(c){this[t]=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)??kn}static _$Ei(){if(this.hasOwnProperty(ct("elementProperties")))return;let e=lc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ct("properties"))){let t=this.properties,n=[...cc(t),...sc(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(Dt(i))}else e!==void 0&&t.push(Dt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Lr(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:st).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:st;this._$Em=i,this[i]=c.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??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){}};Ne.elementStyles=[],Ne.shadowRootOptions={mode:"open"},Ne[ct("elementProperties")]=new Map,Ne[ct("finalized")]=new Map,fc?.({ReactiveElement:Ne}),(Bt.reactiveElementVersions??=[]).push("2.0.2");var Mr=globalThis,Ht=Mr.trustedTypes,Ln=Ht?Ht.createPolicy("lit-html",{createHTML:o=>o}):void 0,Ur="$lit$",ne=`lit$${(Math.random()+"").slice(9)}$`,Fr="?"+ne,uc=`<${Fr}>`,Ie=document,jt=()=>Ie.createComment(""),dt=o=>o===null||typeof o!="object"&&typeof o!="function",Wn=Array.isArray,Dn=o=>Wn(o)||typeof o?.[Symbol.iterator]=="function",$r=`[
|
|
2
|
-
\f\r]`,lt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$n=/-->/g,Mn=/>/g,Ae=RegExp(`>|${$r}(?:([^\\s"'>=/]+)(${$r}*=${$r}*(?:[^
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Un=/'/g,Fn=/"/g,Bn=/^(?:script|style|textarea|title)$/i,zn=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),od=zn(1),nd=zn(2),j=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Tn=new WeakMap,Re=Ie.createTreeWalker(Ie,129);function Hn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ln!==void 0?Ln.createHTML(e):e}var jn=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",c=lt;for(let l=0;l<t;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===lt?h[1]==="!--"?c=$n:h[1]!==void 0?c=Mn:h[2]!==void 0?(Bn.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ae):h[3]!==void 0&&(c=Ae):c===Ae?h[0]===">"?(c=i??lt,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ae:h[3]==='"'?Fn:Un):c===Fn||c===Un?c=Ae:c===$n||c===Mn?c=lt:(c=Ae,i=void 0);let g=c===Ae&&o[l+1].startsWith("/>")?" ":"";a+=c===lt?d+uc:p>=0?(n.push(f),d.slice(0,p)+Ur+d.slice(p)+ne+g):d+ne+(p===-2?l:g)}return[Hn(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},ft=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,c=0,l=e.length-1,d=this.parts,[f,h]=jn(e,t);if(this.el=o.createElement(f,n),Re.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Re.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Ur)){let m=h[c++],g=i.getAttribute(p).split(ne),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Zt:y[1]==="?"?Gt:y[1]==="@"?Vt:_e}),i.removeAttribute(p)}else p.startsWith(ne)&&(d.push({type:6,index:a}),i.removeAttribute(p));if(Bn.test(i.tagName)){let p=i.textContent.split(ne),m=p.length-1;if(m>0){i.textContent=Ht?Ht.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],jt()),Re.nextNode(),d.push({type:2,index:++a});i.append(p[m],jt())}}}else if(i.nodeType===8)if(i.data===Fr)d.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(ne,p+1))!==-1;)d.push({type:7,index:a}),p+=ne.length-1}a++}}static createElement(e,t){let n=Ie.createElement("template");return n.innerHTML=e,n}};function Pe(o,e,t=o,n){if(e===j)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=dt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=Pe(o,i._$AS(o,e.values),i,n)),e}var Kt=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??Ie).importNode(t,!0);Re.currentNode=i;let a=Re.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let f;d.type===2?f=new ut(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new qt(a,this,e)),this._$AV.push(f),d=n[++l]}c!==d?.index&&(a=Re.nextNode(),c++)}return Re.currentNode=Ie,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++}},ut=class o{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=Pe(this,e,t),dt(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==j&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Dn(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&&dt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ie.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=ft.createElement(Hn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Kt(i,this),c=a.u(this.options);a.p(t),this.$(c),this._$AH=a}}_$AC(e){let t=Tn.get(e.strings);return t===void 0&&Tn.set(e.strings,t=new ft(e)),t}T(e){Wn(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(jt()),this.k(jt()),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))}},_e=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,c=!1;if(a===void 0)e=Pe(this,e,t,0),c=!dt(e)||e!==this._$AH&&e!==j,c&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Pe(this,l[n+d],t,d),f===j&&(f=this._$AH[d]),c||=!dt(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??"")}},Zt=class extends _e{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===M?void 0:e}},Gt=class extends _e{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Vt=class extends _e{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Pe(this,e,t,0)??M)===j)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)}},qt=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){Pe(this,e)}},Kn={j:Ur,P:ne,A:Fr,C:1,M:jn,L:Kt,R:Dn,V:Pe,D:ut,I:_e,H:Gt,N:Vt,U:Zt,B:qt},pc=Mr.litHtmlPolyfillSupport;pc?.(ft,ut),(Mr.litHtmlVersions??=[]).push("3.1.0");var Yt=globalThis,pt=Yt.ShadowRoot&&(Yt.ShadyCSS===void 0||Yt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Tr=Symbol(),Zn=new WeakMap,Ge=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Tr)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(pt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=Zn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Zn.set(t,e))}return e}toString(){return this.cssText}},ht=o=>new Ge(typeof o=="string"?o:o+"",void 0,Tr),T=(o,...e)=>{let t=o.length===1?o[0]:e.reduce((n,i,a)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new Ge(t,o,Tr)},Jt=(o,e)=>{if(pt)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=Yt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},mt=pt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return ht(t)})(o):o;var{is:hc,defineProperty:mc,getOwnPropertyDescriptor:gc,getOwnPropertyNames:yc,getOwnPropertySymbols:bc,getPrototypeOf:xc}=Object,Qt=globalThis,Gn=Qt.trustedTypes,vc=Gn?Gn.emptyScript:"",Sc=Qt.reactiveElementPolyfillSupport,gt=(o,e)=>o,Xt={toAttribute(o,e){switch(e){case Boolean:o=o?vc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Wr=(o,e)=>!hc(o,e),Vn={attribute:!0,type:String,converter:Xt,reflect:!1,hasChanged:Wr};Symbol.metadata??=Symbol("metadata"),Qt.litPropertyMetadata??=new WeakMap;var Q=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Vn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&mc(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=gc(this.prototype,e)??{get(){return this[t]},set(c){this[t]=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(gt("elementProperties")))return;let e=xc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(gt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(gt("properties"))){let t=this.properties,n=[...yc(t),...bc(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(mt(i))}else e!==void 0&&t.push(mt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Jt(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:Xt).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Xt;this._$Em=i,this[i]=c.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Wr)(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){}};Q.elementStyles=[],Q.shadowRootOptions={mode:"open"},Q[gt("elementProperties")]=new Map,Q[gt("finalized")]=new Map,Sc?.({ReactiveElement:Q}),(Qt.reactiveElementVersions??=[]).push("2.0.2");var Br=globalThis,er=Br.trustedTypes,qn=er?er.createPolicy("lit-html",{createHTML:o=>o}):void 0,zr="$lit$",ie=`lit$${(Math.random()+"").slice(9)}$`,Hr="?"+ie,Oc=`<${Hr}>`,$e=document,bt=()=>$e.createComment(""),xt=o=>o===null||typeof o!="object"&&typeof o!="function",ti=Array.isArray,ri=o=>ti(o)||typeof o?.[Symbol.iterator]=="function",Dr=`[
|
|
4
|
-
\f\r]`,yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yn=/-->/g,Jn=/>/g,ke=RegExp(`>|${Dr}(?:([^\\s"'>=/]+)(${Dr}*=${Dr}*(?:[^
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Xn=/'/g,Qn=/"/g,oi=/^(?:script|style|textarea|title)$/i,ni=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),jr=ni(1),wc=ni(2),ue=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),ei=new WeakMap,Le=$e.createTreeWalker($e,129);function ii(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return qn!==void 0?qn.createHTML(e):e}var ai=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",c=yt;for(let l=0;l<t;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===yt?h[1]==="!--"?c=Yn:h[1]!==void 0?c=Jn:h[2]!==void 0?(oi.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=ke):h[3]!==void 0&&(c=ke):c===ke?h[0]===">"?(c=i??yt,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?ke:h[3]==='"'?Qn:Xn):c===Qn||c===Xn?c=ke:c===Yn||c===Jn?c=yt:(c=ke,i=void 0);let g=c===ke&&o[l+1].startsWith("/>")?" ":"";a+=c===yt?d+Oc:p>=0?(n.push(f),d.slice(0,p)+zr+d.slice(p)+ie+g):d+ie+(p===-2?l:g)}return[ii(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},vt=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,c=0,l=e.length-1,d=this.parts,[f,h]=ai(e,t);if(this.el=o.createElement(f,n),Le.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Le.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(zr)){let m=h[c++],g=i.getAttribute(p).split(ie),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?rr:y[1]==="?"?or:y[1]==="@"?nr:Ue}),i.removeAttribute(p)}else p.startsWith(ie)&&(d.push({type:6,index:a}),i.removeAttribute(p));if(oi.test(i.tagName)){let p=i.textContent.split(ie),m=p.length-1;if(m>0){i.textContent=er?er.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],bt()),Le.nextNode(),d.push({type:2,index:++a});i.append(p[m],bt())}}}else if(i.nodeType===8)if(i.data===Hr)d.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(ie,p+1))!==-1;)d.push({type:7,index:a}),p+=ie.length-1}a++}}static createElement(e,t){let n=$e.createElement("template");return n.innerHTML=e,n}};function Me(o,e,t=o,n){if(e===ue)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=xt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=Me(o,i._$AS(o,e.values),i,n)),e}var tr=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??$e).importNode(t,!0);Le.currentNode=i;let a=Le.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let f;d.type===2?f=new Ve(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new ir(a,this,e)),this._$AV.push(f),d=n[++l]}c!==d?.index&&(a=Le.nextNode(),c++)}return Le.currentNode=$e,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},Ve=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=F,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=Me(this,e,t),xt(e)?e===F||e==null||e===""?(this._$AH!==F&&this._$AR(),this._$AH=F):e!==this._$AH&&e!==ue&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ri(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!==F&&xt(this._$AH)?this._$AA.nextSibling.data=e:this.$($e.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=vt.createElement(ii(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new tr(i,this),c=a.u(this.options);a.p(t),this.$(c),this._$AH=a}}_$AC(e){let t=ei.get(e.strings);return t===void 0&&ei.set(e.strings,t=new vt(e)),t}T(e){ti(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(bt()),this.k(bt()),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))}},Ue=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=F,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=F}_$AI(e,t=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=Me(this,e,t,0),c=!xt(e)||e!==this._$AH&&e!==ue,c&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Me(this,l[n+d],t,d),f===ue&&(f=this._$AH[d]),c||=!xt(f)||f!==this._$AH[d],f===F?e=F:e!==F&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}c&&!i&&this.O(e)}O(e){e===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},rr=class extends Ue{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===F?void 0:e}},or=class extends Ue{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==F)}},nr=class extends Ue{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Me(this,e,t,0)??F)===ue)return;let n=this._$AH,i=e===F&&n!==F||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==F&&(n===F||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)}},ir=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){Me(this,e)}},Cc={j:zr,P:ie,A:Hr,C:1,M:ai,L:tr,R:ri,V:Me,D:Ve,I:Ue,H:or,N:nr,U:rr,B:ir},Ec=Br.litHtmlPolyfillSupport;Ec?.(vt,Ve),(Br.litHtmlVersions??=[]).push("3.1.0");var Kr=(o,e,t)=>{let n=t?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=t?.renderBefore??null;n._$litPart$=i=new Ve(e.insertBefore(bt(),a),a,void 0,t??{})}return i._$AI(o),i};var ae=class extends Q{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=Kr(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ue}};ae._$litElement$=!0,ae.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ae});var Nc=globalThis.litElementPolyfillSupport;Nc?.({LitElement:ae});var Ac={_$AK:(o,e,t)=>{o._$AK(e,t)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var gd=!1;var Vr={};_(Vr,{customElement:()=>Rc,eventOptions:()=>Pc,property:()=>P,query:()=>_c,queryAll:()=>Lc,queryAssignedElements:()=>Mc,queryAssignedNodes:()=>Uc,queryAsync:()=>$c,standardProperty:()=>ci,state:()=>Gr});var Rc=o=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var Ic={attribute:!0,type:String,converter:st,reflect:!1,hasChanged:zt},ci=(o=Ic,e,t)=>{let{kind:n,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(t.name,o),n==="accessor"){let{name:c}=t;return{set(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}=t;return function(l){let d=this[c];e.call(this,l),this.requestUpdate(c,d,o)}}throw Error("Unsupported decorator location: "+n)};function P(o){return(e,t)=>typeof t=="object"?ci(o,e,t):((n,i,a)=>{let c=i.hasOwnProperty(a);return i.constructor.createProperty(a,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(i,a):void 0})(o,e,t)}function Gr(o){return P({...o,state:!0,attribute:!1})}function Pc(o){return(e,t)=>{let n=typeof e=="function"?e:e[t];Object.assign(n,o)}}var q=(o,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,t),t);function _c(o,e){return(t,n,i)=>{let a=c=>c.renderRoot?.querySelector(o)??null;if(e){let{get:c,set:l}=typeof n=="object"?t:i??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return q(t,n,{get(){let d=c.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return q(t,n,{get(){return a(this)}})}}var kc;function Lc(o){return(e,t)=>q(e,t,{get(){return(this.renderRoot??(kc??=document.createDocumentFragment())).querySelectorAll(o)}})}function $c(o){return(e,t)=>q(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function Mc(o){return(e,t)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return q(e,t,{get(){let c=this.renderRoot?.querySelector(a),l=c?.assignedElements(o)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Uc(o){return(e,t)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return q(e,t,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var qr={};_(qr,{repeat:()=>Wc});var pe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},he=o=>(...e)=>({_$litDirective$:o,values:e}),ee=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:Fc}=Kn;var si=()=>document.createComment(""),qe=(o,e,t)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(t===void 0){let a=n.insertBefore(si(),i),c=n.insertBefore(si(),i);t=new Fc(a,c,o,o.options)}else{let a=t._$AB.nextSibling,c=t._$AM,l=c!==o;if(l){let d;t._$AQ?.(o),t._$AM=o,t._$AP!==void 0&&(d=o._$AU)!==c._$AU&&t._$AP(d)}if(a!==i||l){let d=t._$AA;for(;d!==a;){let f=d.nextSibling;n.insertBefore(d,i),d=f}}}return t},me=(o,e,t=o)=>(o._$AI(e,t),o),Tc={},li=(o,e=Tc)=>o._$AH=e,di=o=>o._$AH,ar=o=>{o._$AP?.(!1,!0);let e=o._$AA,t=o._$AB.nextSibling;for(;e!==t;){let n=e.nextSibling;e.remove(),e=n}};var fi=(o,e,t)=>{let n=new Map;for(let i=e;i<=t;i++)n.set(o[i],i);return n},Wc=he(class extends ee{constructor(o){if(super(o),o.type!==pe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(o,e,t){let n;t===void 0?t=e:e!==void 0&&(n=e);let i=[],a=[],c=0;for(let l of o)i[c]=n?n(l,c):c,a[c]=t(l,c),c++;return{values:a,keys:i}}render(o,e,t){return this.ht(o,e,t).values}update(o,[e,t,n]){let i=di(o),{values:a,keys:c}=this.ht(e,t,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]=me(i[p],a[g]),p++,g++;else if(l[m]===c[y])d[y]=me(i[m],a[y]),m--,y--;else if(l[p]===c[y])d[y]=me(i[p],a[y]),qe(o,d[y+1],i[p]),p++,y--;else if(l[m]===c[g])d[g]=me(i[m],a[g]),qe(o,i[p],i[m]),m--,g++;else if(f===void 0&&(f=fi(c,g,y),h=fi(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=qe(o,i[p]);me(w,a[g]),d[g]=w}else d[g]=me(O,a[g]),qe(o,i[p],O),i[v]=null;g++}else ar(i[m]),m--;else ar(i[p]),p++;for(;g<=y;){let v=qe(o,d[y+1]);me(v,a[g]),d[g++]=v}for(;p<=m;){let v=i[p++];v!==null&&ar(v)}return this.dt=c,li(o,d),j}});var Yr={};_(Yr,{classMap:()=>Dc});var Dc=he(class extends ee{constructor(o){if(super(o),o.type!==pe.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(e=>o[e]).join(" ")+" "}update(o,[e]){if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.st=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let t=o.element.classList;for(let n of this.it)n in e||(t.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(t.add(n),this.it.add(n)):(t.remove(n),this.it.delete(n)))}return j}});var Jr={};_(Jr,{styleMap:()=>zc});var ui="important",Bc=" !"+ui,zc=he(class extends ee{constructor(o){if(super(o),o.type!==pe.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((e,t)=>{let n=o[t];return n==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:t}=o.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?t.removeProperty(n):t[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Bc);n.includes("-")||a?t.setProperty(n,a?i.slice(0,-11):i,a?ui:""):t[n]=i}}return j}});var Xr={};_(Xr,{UnsafeHTMLDirective:()=>Ye,unsafeHTML:()=>Hc});var Ye=class extends ee{constructor(e){if(super(e),this.et=M,e.type!==pe.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===j)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:[]}}};Ye.directiveName="unsafeHTML",Ye.resultType=1;var Hc=he(Ye);var to={};_(to,{CacheRegistry:()=>te});var eo={};_(eo,{CancelablePromise:()=>Je,CanceledPromiseError:()=>St,cancelable:()=>Qr});var St=class extends Error{constructor(e,t,n){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=n}},Je=class extends Promise{constructor(e){super((t,n)=>e(i=>{this.isCanceled?n(new St("Promise has been canceled",i)):t(i)},i=>{this.isCanceled?n(new St("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Qr=o=>new Je((e,t)=>o.then(e).catch(t));var te=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 Je&&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=Qr(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 oo={};_(oo,{ClusteringHelper:()=>ro});var ro=class o{constructor(e,t,n,i){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,t){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return t==null?o.flattenMetadata(a):o.flattenMetadata(a.find(c=>c.key===t))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>o.flattenMetadata(n)).filter(n=>n!=null);let t=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!t))if(t){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,t,n="No value"){var i,a;let c=o.extractResultMetadata(this.selectedResult,e),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,t))}compareMetadata(e,t,n,i){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(n),c=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let d=e.localeCompare(t,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let n=this.allResults.filter(d=>{var f;return((f=o.extractResultMetadata(d,e))===null||f===void 0?void 0:f.value)==t}),a=[...o.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],c,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,t){return o.extractResultMetadata(e).filter(n=>t.some(i=>i.key===n.key&&i.value===n.value)).length}};var no={};_(no,{Debouncer:()=>Fe});var Fe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,n)=>{this.resolvePromise=t,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(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 so={};_(so,{customElement:()=>co,isNumber:()=>gi,jsonProperty:()=>ge,optionalNumberProperty:()=>qc});var ao={};_(ao,{dateReviver:()=>Kc,deepEqual:()=>Y,delay:()=>cr,eventPathContainsMatchingElement:()=>Gc,flatDeep:()=>hi,hasChanged:()=>Ot,last:()=>Vc,minmax:()=>io,parseDate:()=>mi,waitFor:()=>pi,waitUntil:()=>jc});var cr=o=>new Promise(e=>setTimeout(e,o));async function jc(o,e=10,t=2e4){await pi(async()=>await o()||void 0,e,t)}async function pi(o,e=10,t=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!t||a-i<t);)await cr(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function hi(o,e){return o.flatMap(t=>[t,...hi(e(t),e)])}function Kc(...o){return function(e,t){return o.includes(e)?mi(t):t}}function mi(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,n,i)=>t+n+":"+i),new Date(o)}function Zc(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var t,n,i;if(Array.isArray(o)){if(t=o.length,t!=e.length)return!1;for(n=t;n--!==0;)if(!Y(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(!Y(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),t=i.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=t;n--!==0;){var a=i[n];if(!Y(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function Y(o,e){try{return Zc(o,e)}catch{return!1}}function Ot(o,e){return!Y(o,e)}function Gc(o,e,t=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===t)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function io(o,e,t){return Math.min(Math.max(o,e),t)}function Vc(o){return o[o.length-1]}var co=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function ge(o,e){let t=()=>JSON.parse(JSON.stringify(o));return P({type:Object,converter:{fromAttribute:n=>{if(n==null)return t();try{return JSON.parse(n)}catch{return t()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ot,...e??{}})}function qc(o){return P({type:Object,converter:{fromAttribute:e=>{if(e!=null)return gi(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function gi(o){return!isNaN(parseFloat(o))}var po={};_(po,{designSystemVariables:()=>Cs});var uo={};_(uo,{DesignSystemFamily:()=>wt,DesignSystemSize:()=>Ct,FtCssVariableFactory:()=>r,badge:()=>os,banner:()=>rs,breadcrumb:()=>ns,button:()=>Xc,chart:()=>ys,checkbox:()=>xs,chip:()=>es,chipChoice:()=>Qc,collapsible:()=>ms,comboboxMultiSelect:()=>ps,comboboxSingleSelect:()=>us,drawer:()=>cs,floatingMenu:()=>fs,foundation:()=>s,link:()=>ts,modal:()=>as,notice:()=>bs,notification:()=>Os,pageHeader:()=>is,popover:()=>hs,radio:()=>Ss,resolveFamilyClass:()=>lo,resolveSizeClass:()=>fo,semantic:()=>u,setVariable:()=>sr,switch_:()=>gs,tabs:()=>ss,textArea:()=>ds,textInput:()=>ls,toggle:()=>vs,tooltip:()=>ws,typographies:()=>Yc,typographyBody1Medium:()=>Oi,typographyBody1Regular:()=>Si,typographyBody1Semibold:()=>wi,typographyBody2Medium:()=>Ei,typographyBody2MediumUnderline:()=>Ni,typographyBody2Regular:()=>Ci,typographyBody2Semibold:()=>Ai,typographyCaption1Bold:()=>Ui,typographyCaption1Medium:()=>$i,typographyCaption1Semibold:()=>Mi,typographyCaption2Bold:()=>Wi,typographyCaption2Medium:()=>Fi,typographyCaption2Semibold:()=>Ti,typographyCaption3Bold:()=>zi,typographyCaption3Medium:()=>Di,typographyCaption3Semibold:()=>Bi,typographyDisplay:()=>yi,typographyLabel1Bold:()=>Pi,typographyLabel1Medium:()=>Ri,typographyLabel1Semibold:()=>Ii,typographyLabel2Bold:()=>Li,typographyLabel2Medium:()=>_i,typographyLabel2Semibold:()=>ki,typographyTitle1:()=>bi,typographyTitle2:()=>xi,typographyTitle3:()=>vi,typographyVariants:()=>Jc});var ce=o=>typeof o=="string"?ht(o):o,r=class{static create(e,t,n,i){let a=l=>ce(l??i),c=T`var(${ce(e)}, ${a(i)})`;return c.name=e,c.description=t,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=l=>T`var(${ce(e)}, ${a(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,t,n,i){let a=l=>n.get(l??i),c=T`var(${ce(e)}, ${a(i)})`;return c.name=e,c.description=t,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=l=>T`var(${ce(e)}, ${a(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,t){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ce(a??e.lastResortDefaultValue()),i=T`var(${ce(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=t,i.defaultCssValue=n,i.get=a=>T`var(${ce(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function sr(o,e){return ce(`${o.name}: ${e}`)}var s={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},yi={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},bi={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},vi={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ai={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ri={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ii={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ki={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},$i={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Mi={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ui={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Fi={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ti={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Wi={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Di={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Bi={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},zi={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Yc={display:yi,"title-1":bi,"title-2":xi,"title-3":vi,"body-1-regular":Si,"body-1-medium":Oi,"body-1-semibold":wi,"body-2-regular":Ci,"body-2-medium":Ei,"body-2-medium-underline":Ni,"body-2-semibold":Ai,"label-1-medium":Ri,"label-1-semibold":Ii,"label-1-bold":Pi,"label-2-medium":_i,"label-2-semibold":ki,"label-2-bold":Li,"caption-1-medium":$i,"caption-1-semibold":Mi,"caption-1-bold":Ui,"caption-2-medium":Fi,"caption-2-semibold":Ti,"caption-2-bold":Wi,"caption-3-medium":Di,"caption-3-semibold":Bi,"caption-3-bold":zi},Jc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var Xc={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:r.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var Qc={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var es={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var ts={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",u.contentActionPrimary)};var rs={iconSize:r.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var os={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var ns={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var is={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",s.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var as={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",s.borderRadiusM)};var cs={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var ss={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var ls={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var ds={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var fs={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var us={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var ps={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var hs={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",s.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02)};var ms={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var gs={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var ys={color1Light:r.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",s.colorRed40),color5Base:r.extend("--ft-chart-5-base","",s.colorRed60),color6Light:r.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",s.colorGray50),color10Base:r.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var bs={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ft-notice-gap","",s.spacing2),iconSize:r.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var xs={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",s.spacing3)};var vs={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var Ss={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",s.spacing3)};var Os={iconSize:r.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",s.spacing8)};var ws={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",s.spacing05)};var wt;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(wt||(wt={}));var Ct;(function(o){o.large="large",o.medium="medium",o.small="small"})(Ct||(Ct={}));function lo(o){return`ftds--family-${o}`}function fo(o){return`ftds--size-${o}`}var Cs={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var yo={};_(yo,{FtNotificationEvent:()=>ho,PostResizeEvent:()=>go,PreResizeEvent:()=>mo});var ho=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},mo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},go=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Ro={};_(Ro,{computeOffsetPosition:()=>Hs});var ji=["top","right","bottom","left"],Hi=["start","end"],xo=ji.reduce((o,e)=>o.concat(e,e+"-"+Hi[0],e+"-"+Hi[1]),[]),Et=Math.min,ye=Math.max,Nt=Math.round;var se=o=>({x:o,y:o}),Es={left:"right",right:"left",bottom:"top",top:"bottom"},Ns={start:"end",end:"start"};function vo(o,e,t){return ye(o,Et(e,t))}function lr(o,e){return typeof o=="function"?o(e):o}function Xe(o){return o.split("-")[0]}function be(o){return o.split("-")[1]}function So(o){return o==="x"?"y":"x"}function Oo(o){return o==="y"?"height":"width"}function dr(o){return["top","bottom"].includes(Xe(o))?"y":"x"}function wo(o){return So(dr(o))}function Ki(o,e,t){t===void 0&&(t=!1);let n=be(o),i=wo(o),a=Oo(i),c=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=bo(c)),[c,bo(c)]}function Zi(o){return o.replace(/start|end/g,e=>Ns[e])}function bo(o){return o.replace(/left|right|bottom|top/g,e=>Es[e])}function As(o){return{top:0,right:0,bottom:0,left:0,...o}}function Gi(o){return typeof o!="number"?As(o):{top:o,right:o,bottom:o,left:o}}function Te(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Vi(o,e,t){let{reference:n,floating:i}=o,a=dr(e),c=wo(e),l=Oo(c),d=Xe(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(be(e)){case"start":g[c]-=m*(t&&f?-1:1);break;case"end":g[c]+=m*(t&&f?-1:1);break}return g}var qi=async(o,e,t)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=t,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}=Vi(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}=Vi(f,m,d)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:i,middlewareData:g}};async function Co(o,e){var t;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}=lr(e,o),y=Gi(g),O=l[m?p==="floating"?"reference":"floating":p],w=Te(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(O)))==null||t?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(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=Te(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 Rs(o,e,t){return(o?[...t.filter(i=>be(i)===o),...t.filter(i=>be(i)!==o)]:t.filter(i=>Xe(i)===i)).filter(i=>o?be(i)===o||(e?Zi(i)!==i:!1):!0)}var Eo=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var t,n,i;let{rects:a,middlewareData:c,placement:l,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=xo,autoAlignment:g=!0,...y}=lr(o,e),v=p!==void 0||m===xo?Rs(p||null,g,m):m,O=await Co(e,y),w=((t=c.autoPlacement)==null?void 0:t.index)||0,C=v[w];if(C==null)return{};let b=Ki(C,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==C)return{reset:{placement:v[0]}};let x=[O[Xe(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 k=S.map(E=>{let A=be(E.placement);return[E.placement,A&&h?E.overflows.slice(0,2).reduce((I,W)=>I+W,0):E.overflows[0],E.overflows]}).sort((E,A)=>E[1]-A[1]),L=((i=k.filter(E=>E[2].slice(0,be(E[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||k[0][0];return L!==l?{data:{index:w+1,overflows:S},reset:{placement:L}}:{}}}};var No=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:l={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...d}=lr(o,e),f={x:t,y:n},h=await Co(e,d),p=dr(Xe(i)),m=So(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=vo(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=vo(C,y,b)}let v=l.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-t,y:v.y-n}}}}};function le(o){return Ji(o)?(o.nodeName||"").toLowerCase():"#document"}function H(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function de(o){var e;return(e=(Ji(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Ji(o){return o instanceof Node||o instanceof H(o).Node}function re(o){return o instanceof Element||o instanceof H(o).Element}function J(o){return o instanceof HTMLElement||o instanceof H(o).HTMLElement}function Yi(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof H(o).ShadowRoot}function Qe(o){let{overflow:e,overflowX:t,overflowY:n,display:i}=K(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function Xi(o){return["table","td","th"].includes(le(o))}function ur(o){let e=pr(),t=K(o);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function Qi(o){let e=We(o);for(;J(e)&&!At(e);){if(ur(e))return e;e=We(e)}return null}function pr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function At(o){return["html","body","#document"].includes(le(o))}function K(o){return H(o).getComputedStyle(o)}function Rt(o){return re(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function We(o){if(le(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Yi(o)&&o.host||de(o);return Yi(e)?e.host:e}function ea(o){let e=We(o);return At(e)?o.ownerDocument?o.ownerDocument.body:o.body:J(e)&&Qe(e)?e:ea(e)}function fr(o,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=ea(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),c=H(i);return a?e.concat(c,c.visualViewport||[],Qe(i)?i:[],c.frameElement&&t?fr(c.frameElement):[]):e.concat(i,fr(i,[],t))}function oa(o){let e=K(o),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=J(o),a=i?o.offsetWidth:t,c=i?o.offsetHeight:n,l=Nt(t)!==a||Nt(n)!==c;return l&&(t=a,n=c),{width:t,height:n,$:l}}function na(o){return re(o)?o:o.contextElement}function et(o){let e=na(o);if(!J(e))return se(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:a}=oa(e),c=(a?Nt(t.width):t.width)/n,l=(a?Nt(t.height):t.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var Is=se(0);function ia(o){let e=H(o);return!pr()||!e.visualViewport?Is:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ps(o,e,t){return e===void 0&&(e=!1),!t||e&&t!==H(o)?!1:e}function It(o,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=o.getBoundingClientRect(),a=na(o),c=se(1);e&&(n?re(n)&&(c=et(n)):c=et(o));let l=Ps(a,t,n)?ia(a):se(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=H(a),g=n&&re(n)?H(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=et(y),O=y.getBoundingClientRect(),w=K(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=H(y).frameElement}}return Te({width:h,height:p,x:d,y:f})}function _s(o){let{rect:e,offsetParent:t,strategy:n}=o,i=J(t),a=de(t);if(t===a)return e;let c={scrollLeft:0,scrollTop:0},l=se(1),d=se(0);if((i||!i&&n!=="fixed")&&((le(t)!=="body"||Qe(a))&&(c=Rt(t)),J(t))){let f=It(t);l=et(t),d.x=f.x+t.clientLeft,d.y=f.y+t.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 ks(o){return Array.from(o.getClientRects())}function aa(o){return It(de(o)).left+Rt(o).scrollLeft}function Ls(o){let e=de(o),t=Rt(o),n=o.ownerDocument.body,i=ye(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ye(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-t.scrollLeft+aa(o),l=-t.scrollTop;return K(n).direction==="rtl"&&(c+=ye(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:l}}function $s(o,e){let t=H(o),n=de(o),i=t.visualViewport,a=n.clientWidth,c=n.clientHeight,l=0,d=0;if(i){a=i.width,c=i.height;let f=pr();(!f||f&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:c,x:l,y:d}}function Ms(o,e){let t=It(o,!0,e==="fixed"),n=t.top+o.clientTop,i=t.left+o.clientLeft,a=J(o)?et(o):se(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 ta(o,e,t){let n;if(e==="viewport")n=$s(o,t);else if(e==="document")n=Ls(de(o));else if(re(e))n=Ms(e,t);else{let i=ia(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Te(n)}function ca(o,e){let t=We(o);return t===e||!re(t)||At(t)?!1:K(t).position==="fixed"||ca(t,e)}function Us(o,e){let t=e.get(o);if(t)return t;let n=fr(o,[],!1).filter(l=>re(l)&&le(l)!=="body"),i=null,a=K(o).position==="fixed",c=a?We(o):o;for(;re(c)&&!At(c);){let l=K(c),d=ur(c);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Qe(c)&&!d&&ca(o,c))?n=n.filter(h=>h!==c):i=l,c=We(c)}return e.set(o,n),n}function Fs(o){let{element:e,boundary:t,rootBoundary:n,strategy:i}=o,c=[...t==="clippingAncestors"?Us(e,this._c):[].concat(t),n],l=c[0],d=c.reduce((f,h)=>{let p=ta(e,h,i);return f.top=ye(p.top,f.top),f.right=Et(p.right,f.right),f.bottom=Et(p.bottom,f.bottom),f.left=ye(p.left,f.left),f},ta(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Ts(o){return oa(o)}function Ws(o,e,t){let n=J(e),i=de(e),a=t==="fixed",c=It(o,!0,a,e),l={scrollLeft:0,scrollTop:0},d=se(0);if(n||!n&&!a)if((le(e)!=="body"||Qe(i))&&(l=Rt(e)),n){let f=It(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else i&&(d.x=aa(i));return{x:c.left+l.scrollLeft-d.x,y:c.top+l.scrollTop-d.y,width:c.width,height:c.height}}function ra(o,e){return!J(o)||K(o).position==="fixed"?null:e?e(o):o.offsetParent}function sa(o,e){let t=H(o);if(!J(o))return t;let n=ra(o,e);for(;n&&Xi(n)&&K(n).position==="static";)n=ra(n,e);return n&&(le(n)==="html"||le(n)==="body"&&K(n).position==="static"&&!ur(n))?t:n||Qi(o)||t}var Ds=async function(o){let{reference:e,floating:t,strategy:n}=o,i=this.getOffsetParent||sa,a=this.getDimensions;return{reference:Ws(e,await i(t),n),floating:{x:0,y:0,...await a(t)}}};function Bs(o){return K(o).direction==="rtl"}var hr={convertOffsetParentRelativeRectToViewportRelativeRect:_s,getDocumentElement:de,getClippingRect:Fs,getOffsetParent:sa,getElementRects:Ds,getClientRects:ks,getDimensions:Ts,getScale:et,isElement:re,isRTL:Bs};var la=(o,e,t)=>{let n=new Map,i={platform:hr,...t},a={...i.platform,_c:n};return qi(o,e,{...i,platform:a})};function da(o){return zs(o)}function Ao(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function zs(o){for(let e=o;e;e=Ao(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ao(o);e;e=Ao(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 Hs(o,e,t){return la(o,e,{platform:{...hr,getOffsetParent:n=>hr.getOffsetParent(n,da)},middleware:[No({crossAxis:!0}),Eo({allowedPlacements:[t]})]})}var ko={};_(ko,{FtdsBase:()=>_o,toFtdsBase:()=>ba});var Po={};_(Po,{FtLitElement:()=>Z});var Io={};_(Io,{ScopedRegistryLitElement:()=>Pt});var mr=window,js=mr.ShadowRoot&&(mr.ShadyCSS===void 0||mr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Rh=Symbol();var fa=(o,e)=>{js?o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let n=document.createElement("style"),i=mr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)})};var Pt=class extends ae{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 fa(n,e.elementStyles),n}};var gr=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(c=o[l])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},ma,ua=Symbol("constructorPrototype"),pa=Symbol("constructorName"),ga=Symbol("exportpartsDebouncer"),ha=Symbol("dynamicDependenciesLoaded"),Z=class extends Pt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ma]=new Fe(5),this[pa]=this.constructor.name,this[ua]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[pa]&&Object.setPrototypeOf(this,this[ua])}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[ha]||(e[ha]=!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[ga].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,n,i,a,c,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=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(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(", "))}};ma=ga;gr([P()],Z.prototype,"exportpartsPrefix",void 0);gr([ge([])],Z.prototype,"exportpartsPrefixes",void 0);gr([P()],Z.prototype,"customStylesheet",void 0);gr([Gr()],Z.prototype,"useAdoptedStyleSheets",void 0);var ya=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(c=o[l])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a};function ba(o){class e extends o{constructor(){super(...arguments),this.size=Ct.medium,this.family=wt.neutral}getDesignSystemBaseClasses(){return{[lo(this.family)]:!0,[fo(this.size)]:!0}}}return ya([P()],e.prototype,"size",void 0),ya([P()],e.prototype,"family",void 0),e}var _o=class extends ba(Z){};var xa={};var Mo={};_(Mo,{highlightHtml:()=>$o,highlightHtmlColorCssVariable:()=>va,highlightHtmlStyles:()=>Zs});var De=class o{constructor(e,t=!0,n=[],i=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=i}static matches(e,t){let n=typeof t=="string"?[t]:t,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(c=>i.call(e,c)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=t.filter(a=>a.contains(n)).length>0;t.indexOf(n)===-1&&!i&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&t(i)}isIframeBlank(e){let t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let i=!1,a=null,c=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",c),a=setTimeout(c,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||t()})},i=>{i||t()})}forEachIframe(e,t,n,i=()=>{}){let a=e.querySelectorAll("iframe"),c=a.length,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=>{t(f)&&(l++,n(h)),d()},d)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(t!==null){let c=t.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(c&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,i){let a=!1,c=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,c=l.handled)}),this.compareNodeIframe(e,t,n)?(a===!1&&!c?i.push({val:n,handled:!0}):a!==!1&&!c&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,c=>{this.createInstanceOnIframe(c).forEachNode(t,n,i)})})}iterateThroughNodes(e,t,n,i,a){let c=this.createIterator(t,e,i),l=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(c),f);for(;p();)this.iframes&&this.forEachIframe(t,m=>this.checkIframeFilter(f,h,m,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,t,n,i=()=>{}){let a=this.getContexts(),c=a.length;c||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,t,n,()=>{--c<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var _t=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 De(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let c=t[a],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,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(c=>{if(c.indexOf(a)!==-1){if(i.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${t}`),`[${c}]`),i.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,c="";switch(a.forEach(l=>{c+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(t)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&t.indexOf(i)===-1&&t.push(i)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,i)=>i.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:c,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=c-a,t.push(i),n=c)}),t}callNoMatchOnInvalidRanges(e,t){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-t>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,t,n){let i,a=!0,c=n.length,l=t-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 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 De.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(t),c=a.splitText(n-t),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,t,n,i,a){e.nodes.every((c,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>t){if(!i(c.node))return!1;let f=t-c.start,h=(n>c.end?c.end:n)-c.start,p=e.value.substr(0,c.start),m=e.value.substr(h+c.start);if(c.node=this.wrapRangeInTextNode(c.node,f,h),e.value=p+m,e.nodes.forEach((g,y)=>{y>=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)t=c.end;else return!1}return!0})}wrapMatches(e,t,n,i,a){let c=t===0?0:t+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,t,n,i,a){let c=t===0?0:t+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,t,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=>t(m,l,a.value.substring(f,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(e){let t=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(c,l)=>this.opt.filter(l,c,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,i="wrapMatches",{keywords:a,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),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,t){this.opt=t;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,c,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 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=De.matches(n,t),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Lo(o){let e=new _t(o);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}var Ks=Lo,va=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Zs=T`
|
|
1
|
+
"use strict";(()=>{var Ws=Object.create;var Gr=Object.defineProperty;var Hs=Object.getOwnPropertyDescriptor;var zs=Object.getOwnPropertyNames;var js=Object.getPrototypeOf,Vs=Object.prototype.hasOwnProperty;var Ks=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),F=(r,e)=>{for(var t in e)Gr(r,t,{get:e[t],enumerable:!0})},Gs=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zs(e))!Vs.call(r,i)&&i!==t&&Gr(r,i,{get:()=>e[i],enumerable:!(n=Hs(e,i))||n.enumerable});return r};var Zs=(r,e,t)=>(t=r!=null?Ws(js(r)):{},Gs(e||!r||!r.__esModule?Gr(t,"default",{value:r,enumerable:!0}):t,r));var ys=Ks((Pe,ms)=>{var Dr=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Mr=function(){function r(){this.fetch=!1,this.DOMException=Dr.DOMException}return r.prototype=Dr,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]"],l=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function u(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=u(m),x=d(x);var R=this.map[m];this.map[m]=R?R+", "+x:x},p.prototype.delete=function(m){delete this.map[u(m)]},p.prototype.get=function(m){return m=u(m),this.has(m)?this.map[m]:null},p.prototype.has=function(m){return this.map.hasOwnProperty(u(m))},p.prototype.set=function(m,x){this.map[u(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),T=/charset=([A-Za-z0-9_-]+)/.exec(m.type),M=T?T[1]:"utf-8";return x.readAsText(m,M),R}function C(m){for(var x=new Uint8Array(m),R=new Array(x.length),T=0;T<x.length;T++)R[T]=String.fromCharCode(x[T]);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)||l(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(I)}),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 P=new AbortController;return P.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 T=/([?&])_=[^&]*/;if(T.test(this.url))this.url=this.url.replace(T,"$1_="+new Date().getTime());else{var M=/\?/;this.url+=(M.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function I(m){var x=new FormData;return m.trim().split("&").forEach(function(R){if(R){var T=R.split("="),M=T.shift().replace(/\+/g," "),P=T.join("=").replace(/\+/g," ");x.append(decodeURIComponent(M),decodeURIComponent(P))}}),x}function L(m){var x=new p,R=m.replace(/\r?\n[\t ]+/g," ");return R.split("\r").map(function(T){return T.indexOf(`
|
|
2
|
+
`)===0?T.substr(1,T.length):T}).forEach(function(T){var M=T.split(":"),P=M.shift().trim();if(P){var Gt=M.join(":").trim();try{x.append(P,Gt)}catch(Kr){console.warn("Response "+Kr.message)}}}),x}A.call(E.prototype);function D(m,x){if(!(this instanceof D))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(D.prototype),D.prototype.clone=function(){return new D(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},D.error=function(){var m=new D(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var U=[301,302,303,307,308];D.redirect=function(m,x){if(U.indexOf(x)===-1)throw new RangeError("Invalid status code");return new D(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 T=Error(x);this.stack=T.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function N(m,x){return new Promise(function(R,T){var M=new E(m,x);if(M.signal&&M.signal.aborted)return T(new t.DOMException("Aborted","AbortError"));var P=new XMLHttpRequest;function Gt(){P.abort()}P.onload=function(){var K={statusText:P.statusText,headers:L(P.getAllResponseHeaders()||"")};M.url.indexOf("file://")===0&&(P.status<200||P.status>599)?K.status=200:K.status=P.status,K.url="responseURL"in P?P.responseURL:K.headers.get("X-Request-URL");var Le="response"in P?P.response:P.responseText;setTimeout(function(){R(new D(Le,K))},0)},P.onerror=function(){setTimeout(function(){T(new TypeError("Network request failed"))},0)},P.ontimeout=function(){setTimeout(function(){T(new TypeError("Network request timed out"))},0)},P.onabort=function(){setTimeout(function(){T(new t.DOMException("Aborted","AbortError"))},0)};function Kr(K){try{return K===""&&n.location.href?n.location.href:K}catch{return K}}if(P.open(M.method,Kr(M.url),!0),M.credentials==="include"?P.withCredentials=!0:M.credentials==="omit"&&(P.withCredentials=!1),"responseType"in P&&(i.blob?P.responseType="blob":i.arrayBuffer&&(P.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof p||n.Headers&&x.headers instanceof n.Headers)){var Hn=[];Object.getOwnPropertyNames(x.headers).forEach(function(K){Hn.push(u(K)),P.setRequestHeader(K,d(x.headers[K]))}),M.headers.forEach(function(K,Le){Hn.indexOf(Le)===-1&&P.setRequestHeader(Le,K)})}else M.headers.forEach(function(K,Le){P.setRequestHeader(Le,K)});M.signal&&(M.signal.addEventListener("abort",Gt),P.onreadystatechange=function(){P.readyState===4&&M.signal.removeEventListener("abort",Gt)}),P.send(typeof M._bodyInit>"u"?null:M._bodyInit)})}return N.polyfill=!0,n.fetch||(n.fetch=N,n.Headers=p,n.Request=E,n.Response=D),t.Headers=p,t.Request=E,t.Response=D,t.fetch=N,t}({})})(Mr);Mr.fetch.ponyfill=!0;delete Mr.fetch.polyfill;var mt=Dr.fetch?Dr:Mr;Pe=mt.fetch;Pe.default=mt.fetch;Pe.fetch=mt.fetch;Pe.Headers=mt.Headers;Pe.Request=mt.Request;Pe.Response=mt.Response;ms.exports=Pe});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,l=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,I=new Set(S.observedAttributes||[]);y(S,I,E);let L={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:I};this._definitionsByTag.set(v,L),this._definitionsByClass.set(S,L);let D=t.call(n,v);D||(D=p(v),e.call(n,v,D)),this===window.customElements&&(s.set(S,L),L.standInClass=D);let U=this._awaitingUpgrade.get(v);if(U){this._awaitingUpgrade.delete(v);for(let m of U)a.delete(m),b(m,L,!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(I=>E.resolve=I),this._whenDefinedPromises.set(v,E)),E.promise}_upgradeWhenDefined(v,S,E){let I=this._awaitingUpgrade.get(S);I||this._awaitingUpgrade.set(S,I=new Set),E?I.add(v):I.delete(v)}};let u;window.HTMLElement=function(){let S=u;if(S)return u=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=l.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 I=h(E)||window.customElements,L=I._getDefinition(v);return L?b(E,L):a.set(E,I),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 I=v.prototype.setAttribute;I&&(v.prototype.setAttribute=function(U,N){let m=U.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);I.call(this,m,N),E.call(this,m,x,N)}else I.call(this,m,N)});let L=v.prototype.removeAttribute;L&&(v.prototype.removeAttribute=function(U){let N=U.toLowerCase();if(S.has(N)){let m=this.getAttribute(N);L.call(this,N),E.call(this,N,m,null)}else L.call(this,N)});let D=v.prototype.toggleAttribute;D&&(v.prototype.toggleAttribute=function(U,N){let m=U.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);D.call(this,m,N);let R=this.getAttribute(m);E.call(this,m,x,R)}else D.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),u=v;try{new S.elementClass}catch{g(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(I=>{v.hasAttribute(I)&&S.attributeChangedCallback.call(v,I,null,v.getAttribute(I))}),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 I=(E?Object.getPrototypeOf(E):v.prototype)[S];v.prototype[S]=function(){C.push(this);let L=I.apply(E||this,arguments);return L!==void 0&&l.set(L,this),C.pop(),L}};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(I){C.push(this),E.set.call(this,I),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(...U){let N=S.call(this,...U);return v.set(N,this),N},E.forEach(U=>{let N=window.ElementInternals.prototype,m=N[U];N[U]=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 I extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class L{constructor(N){let m=new Map;N.forEach((x,R)=>{let T=x.getAttribute("name"),M=m.get(T)||[];this[+R]=x,M.push(x),m.set(T,M)}),this.length=N.length,m.forEach((x,R)=>{x&&(x.length===1?this[R]=x[0]:this[R]=new I(x))})}namedItem(N){return this[N]}}let D=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=D.get.call(this,[]),N=[];for(let m of U){let x=i.get(m);(!x||x.formAssociated===!0)&&N.push(m)}return new L(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 so={};F(so,{CSSResult:()=>tt,LitElement:()=>fe,ReactiveElement:()=>ie,_$LE:()=>bc,_$LH:()=>mc,adoptStyles:()=>cr,css:()=>j,defaultConverter:()=>lr,getCompatibleStyle:()=>wt,html:()=>io,isServer:()=>ud,noChange:()=>be,notEqual:()=>eo,nothing:()=>z,render:()=>ao,supportsAdoptingStyleSheets:()=>Ot,svg:()=>hc,unsafeCSS:()=>Et});var Zt=globalThis,Yt=Zt.ShadowRoot&&(Zt.ShadyCSS===void 0||Zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jn=Symbol(),zn=new WeakMap,qt=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==jn)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(Yt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=zn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&zn.set(t,e))}return e}toString(){return this.cssText}},Vn=r=>new qt(typeof r=="string"?r:r+"",void 0,jn);var Zr=(r,e)=>{if(Yt)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)}},Jt=Yt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return Vn(t)})(r):r;var{is:qs,defineProperty:Ys,getOwnPropertyDescriptor:Js,getOwnPropertyNames:Xs,getOwnPropertySymbols:Qs,getPrototypeOf:ec}=Object,Xt=globalThis,Kn=Xt.trustedTypes,tc=Kn?Kn.emptyScript:"",rc=Xt.reactiveElementPolyfillSupport,yt=(r,e)=>r,gt={toAttribute(r,e){switch(e){case Boolean:r=r?tc: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}},Qt=(r,e)=>!qs(r,e),Gn={attribute:!0,type:String,converter:gt,reflect:!1,hasChanged:Qt};Symbol.metadata??=Symbol("metadata"),Xt.litPropertyMetadata??=new WeakMap;var ke=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=Gn){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&&Ys(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=Js(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Gn}static _$Ei(){if(this.hasOwnProperty(yt("elementProperties")))return;let e=ec(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(yt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(yt("properties"))){let t=this.properties,n=[...Xs(t),...Qs(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(Jt(i))}else e!==void 0&&t.push(Jt(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 Zr(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:gt).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:gt;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??Qt)(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){}};ke.elementStyles=[],ke.shadowRootOptions={mode:"open"},ke[yt("elementProperties")]=new Map,ke[yt("finalized")]=new Map,rc?.({ReactiveElement:ke}),(Xt.reactiveElementVersions??=[]).push("2.0.2");var Yr=globalThis,er=Yr.trustedTypes,Zn=er?er.createPolicy("lit-html",{createHTML:r=>r}):void 0,Jr="$lit$",ue=`lit$${(Math.random()+"").slice(9)}$`,Xr="?"+ue,oc=`<${Xr}>`,De=document,tr=()=>De.createComment(""),xt=r=>r===null||typeof r!="object"&&typeof r!="function",ei=Array.isArray,ti=r=>ei(r)||typeof r?.[Symbol.iterator]=="function",qr=`[
|
|
3
|
+
\f\r]`,bt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qn=/-->/g,Yn=/>/g,Ue=RegExp(`>|${qr}(?:([^\\s"'>=/]+)(${qr}*=${qr}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Jn=/'/g,Xn=/"/g,ri=/^(?:script|style|textarea|title)$/i,oi=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),Ju=oi(1),Xu=oi(2),Y=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Qn=new WeakMap,Fe=De.createTreeWalker(De,129);function ni(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Zn!==void 0?Zn.createHTML(e):e}var ii=(r,e)=>{let t=r.length-1,n=[],i,a=e===2?"<svg>":"",s=bt;for(let l=0;l<t;l++){let u=r[l],d,h,p=-1,y=0;for(;y<u.length&&(s.lastIndex=y,h=s.exec(u),h!==null);)y=s.lastIndex,s===bt?h[1]==="!--"?s=qn:h[1]!==void 0?s=Yn:h[2]!==void 0?(ri.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ue):h[3]!==void 0&&(s=Ue):s===Ue?h[0]===">"?(s=i??bt,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Ue:h[3]==='"'?Xn:Jn):s===Xn||s===Jn?s=Ue:s===qn||s===Yn?s=bt:(s=Ue,i=void 0);let g=s===Ue&&r[l+1].startsWith("/>")?" ":"";a+=s===bt?u+oc:p>=0?(n.push(d),u.slice(0,p)+Jr+u.slice(p)+ue+g):u+ue+(p===-2?l:g)}return[ni(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),n]},vt=class r{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,u=this.parts,[d,h]=ii(e,t);if(this.el=r.createElement(d,n),Fe.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Fe.nextNode())!==null&&u.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Jr)){let y=h[s++],g=i.getAttribute(p).split(ue),b=/([.?@])?(.*)/.exec(y);u.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?or:b[1]==="?"?nr:b[1]==="@"?ir:$e}),i.removeAttribute(p)}else p.startsWith(ue)&&(u.push({type:6,index:a}),i.removeAttribute(p));if(ri.test(i.tagName)){let p=i.textContent.split(ue),y=p.length-1;if(y>0){i.textContent=er?er.emptyScript:"";for(let g=0;g<y;g++)i.append(p[g],tr()),Fe.nextNode(),u.push({type:2,index:++a});i.append(p[y],tr())}}}else if(i.nodeType===8)if(i.data===Xr)u.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(ue,p+1))!==-1;)u.push({type:7,index:a}),p+=ue.length-1}a++}}static createElement(e,t){let n=De.createElement("template");return n.innerHTML=e,n}};function Me(r,e,t=r,n){if(e===Y)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=xt(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=Me(r,i._$AS(r,e.values),i,n)),e}var rr=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??De).importNode(t,!0);Fe.currentNode=i;let a=Fe.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let d;u.type===2?d=new St(a,a.nextSibling,this,e):u.type===1?d=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(d=new ar(a,this,e)),this._$AV.push(d),u=n[++l]}s!==u?.index&&(a=Fe.nextNode(),s++)}return Fe.currentNode=De,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++}},St=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Me(this,e,t),xt(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==Y&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ti(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==W&&xt(this._$AH)?this._$AA.nextSibling.data=e:this.$(De.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=vt.createElement(ni(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new rr(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=Qn.get(e.strings);return t===void 0&&Qn.set(e.strings,t=new vt(e)),t}T(e){ei(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(tr()),this.k(tr()),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))}},$e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Me(this,e,t,0),s=!xt(e)||e!==this._$AH&&e!==Y,s&&(this._$AH=e);else{let l=e,u,d;for(e=a[0],u=0;u<a.length-1;u++)d=Me(this,l[n+u],t,u),d===Y&&(d=this._$AH[u]),s||=!xt(d)||d!==this._$AH[u],d===W?e=W:e!==W&&(e+=(d??"")+a[u+1]),this._$AH[u]=d}s&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},or=class extends $e{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},nr=class extends $e{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},ir=class extends $e{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Me(this,e,t,0)??W)===Y)return;let n=this._$AH,i=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==W&&(n===W||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ar=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){Me(this,e)}},ai={j:Jr,P:ue,A:Xr,C:1,M:ii,L:rr,R:ti,V:Me,D:St,I:$e,H:nr,N:ir,U:or,B:ar},nc=Yr.litHtmlPolyfillSupport;nc?.(vt,St),(Yr.litHtmlVersions??=[]).push("3.1.0");var sr=globalThis,Ot=sr.ShadowRoot&&(sr.ShadyCSS===void 0||sr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qr=Symbol(),si=new WeakMap,tt=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Qr)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(Ot&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=si.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&si.set(t,e))}return e}toString(){return this.cssText}},Et=r=>new tt(typeof r=="string"?r:r+"",void 0,Qr),j=(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 tt(t,r,Qr)},cr=(r,e)=>{if(Ot)r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=sr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,r.appendChild(n)}},wt=Ot?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return Et(t)})(r):r;var{is:ic,defineProperty:ac,getOwnPropertyDescriptor:sc,getOwnPropertyNames:cc,getOwnPropertySymbols:lc,getPrototypeOf:uc}=Object,ur=globalThis,ci=ur.trustedTypes,dc=ci?ci.emptyScript:"",fc=ur.reactiveElementPolyfillSupport,At=(r,e)=>r,lr={toAttribute(r,e){switch(e){case Boolean:r=r?dc: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}},eo=(r,e)=>!ic(r,e),li={attribute:!0,type:String,converter:lr,reflect:!1,hasChanged:eo};Symbol.metadata??=Symbol("metadata"),ur.litPropertyMetadata??=new WeakMap;var ie=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=li){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&&ac(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=sc(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??li}static _$Ei(){if(this.hasOwnProperty(At("elementProperties")))return;let e=uc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(At("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(At("properties"))){let t=this.properties,n=[...cc(t),...lc(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(wt(i))}else e!==void 0&&t.push(wt(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 cr(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:lr).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:lr;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??eo)(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){}};ie.elementStyles=[],ie.shadowRootOptions={mode:"open"},ie[At("elementProperties")]=new Map,ie[At("finalized")]=new Map,fc?.({ReactiveElement:ie}),(ur.reactiveElementVersions??=[]).push("2.0.2");var ro=globalThis,dr=ro.trustedTypes,ui=dr?dr.createPolicy("lit-html",{createHTML:r=>r}):void 0,oo="$lit$",de=`lit$${(Math.random()+"").slice(9)}$`,no="?"+de,pc=`<${no}>`,He=document,Rt=()=>He.createComment(""),Nt=r=>r===null||typeof r!="object"&&typeof r!="function",yi=Array.isArray,gi=r=>yi(r)||typeof r?.[Symbol.iterator]=="function",to=`[
|
|
5
|
+
\f\r]`,Ct=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,di=/-->/g,fi=/>/g,Be=RegExp(`>|${to}(?:([^\\s"'>=/]+)(${to}*=${to}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),pi=/'/g,hi=/"/g,bi=/^(?:script|style|textarea|title)$/i,xi=r=>(e,...t)=>({_$litType$:r,strings:e,values:t}),io=xi(1),hc=xi(2),be=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),mi=new WeakMap,We=He.createTreeWalker(He,129);function vi(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ui!==void 0?ui.createHTML(e):e}var Si=(r,e)=>{let t=r.length-1,n=[],i,a=e===2?"<svg>":"",s=Ct;for(let l=0;l<t;l++){let u=r[l],d,h,p=-1,y=0;for(;y<u.length&&(s.lastIndex=y,h=s.exec(u),h!==null);)y=s.lastIndex,s===Ct?h[1]==="!--"?s=di:h[1]!==void 0?s=fi:h[2]!==void 0?(bi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Be):h[3]!==void 0&&(s=Be):s===Be?h[0]===">"?(s=i??Ct,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Be:h[3]==='"'?hi:pi):s===hi||s===pi?s=Be:s===di||s===fi?s=Ct:(s=Be,i=void 0);let g=s===Be&&r[l+1].startsWith("/>")?" ":"";a+=s===Ct?u+pc:p>=0?(n.push(d),u.slice(0,p)+oo+u.slice(p)+de+g):u+de+(p===-2?l:g)}return[vi(r,a+(r[t]||"<?>")+(e===2?"</svg>":"")),n]},It=class r{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,u=this.parts,[d,h]=Si(e,t);if(this.el=r.createElement(d,n),We.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=We.nextNode())!==null&&u.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(oo)){let y=h[s++],g=i.getAttribute(p).split(de),b=/([.?@])?(.*)/.exec(y);u.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?pr:b[1]==="?"?hr:b[1]==="@"?mr:je}),i.removeAttribute(p)}else p.startsWith(de)&&(u.push({type:6,index:a}),i.removeAttribute(p));if(bi.test(i.tagName)){let p=i.textContent.split(de),y=p.length-1;if(y>0){i.textContent=dr?dr.emptyScript:"";for(let g=0;g<y;g++)i.append(p[g],Rt()),We.nextNode(),u.push({type:2,index:++a});i.append(p[y],Rt())}}}else if(i.nodeType===8)if(i.data===no)u.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(de,p+1))!==-1;)u.push({type:7,index:a}),p+=de.length-1}a++}}static createElement(e,t){let n=He.createElement("template");return n.innerHTML=e,n}};function ze(r,e,t=r,n){if(e===be)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=Nt(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=ze(r,i._$AS(r,e.values),i,n)),e}var fr=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??He).importNode(t,!0);We.currentNode=i;let a=We.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let d;u.type===2?d=new rt(a,a.nextSibling,this,e):u.type===1?d=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(d=new yr(a,this,e)),this._$AV.push(d),u=n[++l]}s!==u?.index&&(a=We.nextNode(),s++)}return We.currentNode=He,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++}},rt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=z,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=ze(this,e,t),Nt(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==be&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):gi(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==z&&Nt(this._$AH)?this._$AA.nextSibling.data=e:this.$(He.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=It.createElement(vi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new fr(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=mi.get(e.strings);return t===void 0&&mi.set(e.strings,t=new It(e)),t}T(e){yi(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(Rt()),this.k(Rt()),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))}},je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=z,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=z}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ze(this,e,t,0),s=!Nt(e)||e!==this._$AH&&e!==be,s&&(this._$AH=e);else{let l=e,u,d;for(e=a[0],u=0;u<a.length-1;u++)d=ze(this,l[n+u],t,u),d===be&&(d=this._$AH[u]),s||=!Nt(d)||d!==this._$AH[u],d===z?e=z:e!==z&&(e+=(d??"")+a[u+1]),this._$AH[u]=d}s&&!i&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},pr=class extends je{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},hr=class extends je{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},mr=class extends je{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=ze(this,e,t,0)??z)===be)return;let n=this._$AH,i=e===z&&n!==z||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==z&&(n===z||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)}},yr=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){ze(this,e)}},mc={j:oo,P:de,A:no,C:1,M:Si,L:fr,R:gi,V:ze,D:rt,I:je,H:hr,N:mr,U:pr,B:yr},yc=ro.litHtmlPolyfillSupport;yc?.(It,rt),(ro.litHtmlVersions??=[]).push("3.1.0");var ao=(r,e,t)=>{let n=t?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=t?.renderBefore??null;n._$litPart$=i=new rt(e.insertBefore(Rt(),a),a,void 0,t??{})}return i._$AI(r),i};var fe=class extends ie{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=ao(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return be}};fe._$litElement$=!0,fe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:fe});var gc=globalThis.litElementPolyfillSupport;gc?.({LitElement:fe});var bc={_$AK:(r,e,t)=>{r._$AK(e,t)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var ud=!1;var lo={};F(lo,{customElement:()=>xc,eventOptions:()=>Sc,property:()=>k,query:()=>Oc,queryAll:()=>wc,queryAssignedElements:()=>Cc,queryAssignedNodes:()=>Rc,queryAsync:()=>Ac,standardProperty:()=>Oi,state:()=>co});var xc=r=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var vc={attribute:!0,type:String,converter:gt,reflect:!1,hasChanged:Qt},Oi=(r=vc,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(l){let u=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,u,r)},init(l){return l!==void 0&&this.C(s,void 0,r),l}}}if(n==="setter"){let{name:s}=t;return function(l){let u=this[s];e.call(this,l),this.requestUpdate(s,u,r)}}throw Error("Unsupported decorator location: "+n)};function k(r){return(e,t)=>typeof t=="object"?Oi(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 co(r){return k({...r,state:!0,attribute:!1})}function Sc(r){return(e,t)=>{let n=typeof e=="function"?e:e[t];Object.assign(n,r)}}var te=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t);function Oc(r,e){return(t,n,i)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof n=="object"?t:i??(()=>{let u=Symbol();return{get(){return this[u]},set(d){this[u]=d}}})();return te(t,n,{get(){let u=s.call(this);return u===void 0&&(u=a(this),(u!==null||this.hasUpdated)&&l.call(this,u)),u}})}return te(t,n,{get(){return a(this)}})}}var Ec;function wc(r){return(e,t)=>te(e,t,{get(){return(this.renderRoot??(Ec??=document.createDocumentFragment())).querySelectorAll(r)}})}function Ac(r){return(e,t)=>te(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function Cc(r){return(e,t)=>{let{slot:n,selector:i}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return te(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(r)??[];return i===void 0?l:l.filter(u=>u.matches(i))}})}}function Rc(r){return(e,t)=>{let{slot:n}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return te(e,t,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(r)??[]}})}}var uo={};F(uo,{repeat:()=>_c});var xe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ve=r=>(...e)=>({_$litDirective$:r,values:e}),ae=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:Nc}=ai;var Ei=()=>document.createComment(""),ot=(r,e,t)=>{let n=r._$AA.parentNode,i=e===void 0?r._$AB:e._$AA;if(t===void 0){let a=n.insertBefore(Ei(),i),s=n.insertBefore(Ei(),i);t=new Nc(a,s,r,r.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==r;if(l){let u;t._$AQ?.(r),t._$AM=r,t._$AP!==void 0&&(u=r._$AU)!==s._$AU&&t._$AP(u)}if(a!==i||l){let u=t._$AA;for(;u!==a;){let d=u.nextSibling;n.insertBefore(u,i),u=d}}}return t},Se=(r,e,t=r)=>(r._$AI(e,t),r),Ic={},wi=(r,e=Ic)=>r._$AH=e,Ai=r=>r._$AH,gr=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 Ci=(r,e,t)=>{let n=new Map;for(let i=e;i<=t;i++)n.set(r[i],i);return n},_c=ve(class extends ae{constructor(r){if(super(r),r.type!==xe.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 l of r)i[s]=n?n(l,s):s,a[s]=t(l,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=Ai(r),{values:a,keys:s}=this.ht(e,t,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],u=[],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(l[p]===s[g])u[g]=Se(i[p],a[g]),p++,g++;else if(l[y]===s[b])u[b]=Se(i[y],a[b]),y--,b--;else if(l[p]===s[b])u[b]=Se(i[p],a[b]),ot(r,u[b+1],i[p]),p++,b--;else if(l[y]===s[g])u[g]=Se(i[y],a[g]),ot(r,i[p],i[y]),y--,g++;else if(d===void 0&&(d=Ci(s,g,b),h=Ci(l,p,y)),d.has(l[p]))if(d.has(l[y])){let O=h.get(s[g]),C=O!==void 0?i[O]:null;if(C===null){let w=ot(r,i[p]);Se(w,a[g]),u[g]=w}else u[g]=Se(C,a[g]),ot(r,i[p],C),i[O]=null;g++}else gr(i[y]),y--;else gr(i[p]),p++;for(;g<=b;){let O=ot(r,u[b+1]);Se(O,a[g]),u[g++]=O}for(;p<=y;){let O=i[p++];O!==null&&gr(O)}return this.dt=s,wi(r,u),Y}});var fo={};F(fo,{classMap:()=>Pc});var Pc=ve(class extends ae{constructor(r){if(super(r),r.type!==xe.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 Y}});var po={};F(po,{styleMap:()=>Lc});var Ri="important",Tc=" !"+Ri,Lc=ve(class extends ae{constructor(r){if(super(r),r.type!==xe.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(Tc);n.includes("-")||a?t.setProperty(n,a?i.slice(0,-11):i,a?Ri:""):t[n]=i}}return Y}});var ho={};F(ho,{UnsafeHTMLDirective:()=>nt,unsafeHTML:()=>kc});var nt=class extends ae{constructor(e){if(super(e),this.et=W,e.type!==xe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===W||e==null)return this.vt=void 0,this.et=e;if(e===Y)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:[]}}};nt.directiveName="unsafeHTML",nt.resultType=1;var kc=ve(nt);var go={};F(go,{CacheRegistry:()=>se});var yo={};F(yo,{CancelablePromise:()=>it,CanceledPromiseError:()=>_t,cancelable:()=>mo});var _t=class extends Error{constructor(e,t,n){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=n}},it=class extends Promise{constructor(e){super((t,n)=>e(i=>{this.isCanceled?n(new _t("Promise has been canceled",i)):t(i)},i=>{this.isCanceled?n(new _t("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},mo=r=>new it((e,t)=>r.then(e).catch(t));var se=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 it&&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=mo(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 xo={};F(xo,{ClusteringHelper:()=>bo});var bo=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),l=(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:l,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",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let u=e.localeCompare(t,i,{numeric:!0});return l?u*-1:u}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let n=this.allResults.filter(u=>{var d;return((d=r.extractResultMetadata(u,e))===null||d===void 0?void 0:d.value)==t}),a=[...r.extractResultMetadata(this.selectedResult).filter(u=>this.clusteringMetadata.has(u.key)).filter(u=>u.key!==e)],s,l=-1;for(let u of n){let d=this.countMatchingMetadata(u,a);if(d>l&&(l=d,s=u,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 vo={};F(vo,{Debouncer:()=>Ve});var Ve=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(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 wo={};F(wo,{customElement:()=>Eo,isNumber:()=>Pi,jsonProperty:()=>Oe,optionalNumberProperty:()=>Bc});var Oo={};F(Oo,{dateReviver:()=>Fc,deepEqual:()=>re,delay:()=>br,eventPathContainsMatchingElement:()=>Mc,flatDeep:()=>Ii,hasChanged:()=>Pt,last:()=>$c,minmax:()=>So,parseDate:()=>_i,waitFor:()=>Ni,waitUntil:()=>Uc});var br=r=>new Promise(e=>setTimeout(e,r));async function Uc(r,e=10,t=2e4){await Ni(async()=>await r()||void 0,e,t)}async function Ni(r,e=10,t=2e4){let n=await r(),i,a;for(i=a=performance.now();n==null&&(!t||a-i<t);)await br(e),n=await r(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ii(r,e){return r.flatMap(t=>[t,...Ii(e(t),e)])}function Fc(...r){return function(e,t){return r.includes(e)?_i(t):t}}function _i(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 Dc(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(!re(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(!re(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(!re(r[a],e[a]))return!1}return!0}return r!==r&&e!==e}function re(r,e){try{return Dc(r,e)}catch{return!1}}function Pt(r,e){return!re(r,e)}function Mc(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 So(r,e,t){return Math.min(Math.max(r,e),t)}function $c(r){return r[r.length-1]}var Eo=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function Oe(r,e){let t=()=>JSON.parse(JSON.stringify(r));return k({type:Object,converter:{fromAttribute:n=>{if(n==null)return t();try{return JSON.parse(n)}catch{return t()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Pt,...e??{}})}function Bc(r){return k({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Pi(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function Pi(r){return!isNaN(parseFloat(r))}var No={};F(No,{designSystemVariables:()=>ml});var Ro={};F(Ro,{DesignSystemFamily:()=>Tt,DesignSystemSize:()=>Lt,FtCssVariableFactory:()=>o,badge:()=>Zc,banner:()=>Gc,breadcrumb:()=>qc,button:()=>zc,chart:()=>cl,checkbox:()=>ul,chip:()=>Vc,chipChoice:()=>jc,collapsible:()=>al,comboboxMultiSelect:()=>nl,comboboxSingleSelect:()=>ol,drawer:()=>Xc,floatingMenu:()=>rl,foundation:()=>c,link:()=>Kc,modal:()=>Jc,notice:()=>ll,notification:()=>pl,pageHeader:()=>Yc,popover:()=>il,radio:()=>fl,resolveFamilyClass:()=>Ao,resolveSizeClass:()=>Co,semantic:()=>f,setVariable:()=>xr,switch_:()=>sl,tabs:()=>Qc,textArea:()=>tl,textInput:()=>el,toggle:()=>dl,tooltip:()=>hl,typographies:()=>Wc,typographyBody1Medium:()=>Di,typographyBody1Regular:()=>Fi,typographyBody1Semibold:()=>Mi,typographyBody2Medium:()=>Bi,typographyBody2MediumUnderline:()=>Wi,typographyBody2Regular:()=>$i,typographyBody2Semibold:()=>Hi,typographyCaption1Bold:()=>Ji,typographyCaption1Medium:()=>qi,typographyCaption1Semibold:()=>Yi,typographyCaption2Bold:()=>ea,typographyCaption2Medium:()=>Xi,typographyCaption2Semibold:()=>Qi,typographyCaption3Bold:()=>oa,typographyCaption3Medium:()=>ta,typographyCaption3Semibold:()=>ra,typographyDisplay:()=>Ti,typographyLabel1Bold:()=>Vi,typographyLabel1Medium:()=>zi,typographyLabel1Semibold:()=>ji,typographyLabel2Bold:()=>Zi,typographyLabel2Medium:()=>Ki,typographyLabel2Semibold:()=>Gi,typographyTitle1:()=>Li,typographyTitle2:()=>ki,typographyTitle3:()=>Ui,typographyVariants:()=>Hc});var pe=r=>typeof r=="string"?Et(r):r,o=class{static create(e,t,n,i){let a=l=>pe(l??i),s=j`var(${pe(e)}, ${a(i)})`;return s.name=e,s.description=t,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>j`var(${pe(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,t,n,i){let a=l=>n.get(l??i),s=j`var(${pe(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=l=>j`var(${pe(e)}, ${a(l)})`,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):pe(a??e.lastResortDefaultValue()),i=j`var(${pe(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=>j`var(${pe(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function xr(r,e){return pe(`${r.name}: ${e}`)}var c={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)")},Ti={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")},Li={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")},ki={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")},Ui={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")},Fi={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")},Di={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")},Mi={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")},$i={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")},Bi={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")},Wi={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")},Hi={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")},zi={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")},ji={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")},Vi={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")},Ki={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")},Gi={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")},Zi={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")},qi={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")},Yi={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")},Ji={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")},Xi={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")},Qi={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")},ea={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")},ta={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")},ra={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")},oa={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")},Wc={display:Ti,"title-1":Li,"title-2":ki,"title-3":Ui,"body-1-regular":Fi,"body-1-medium":Di,"body-1-semibold":Mi,"body-2-regular":$i,"body-2-medium":Bi,"body-2-medium-underline":Wi,"body-2-semibold":Hi,"label-1-medium":zi,"label-1-semibold":ji,"label-1-bold":Vi,"label-2-medium":Ki,"label-2-semibold":Gi,"label-2-bold":Zi,"caption-1-medium":qi,"caption-1-semibold":Yi,"caption-1-bold":Ji,"caption-2-medium":Xi,"caption-2-semibold":Qi,"caption-2-bold":ea,"caption-3-medium":ta,"caption-3-semibold":ra,"caption-3-bold":oa},Hc=["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.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)};var zc={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.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","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.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","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.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","",c.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","",c.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","",c.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",c.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","",c.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",c.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","",c.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",c.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","",c.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};var jc={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.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","",c.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","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.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","",c.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","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.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","",c.iconSize2)};var Vc={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.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","",c.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 Kc={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.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","",c.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 Gc={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.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 Zc={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var qc={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",c.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 Yc={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.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 Jc={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","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",c.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","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Xc={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.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","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var Qc={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.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","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.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","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var el={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.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","",c.opacity40)};var tl={backgroundColor:o.extend("--ft-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var rl={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.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","",c.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","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var ol={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.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","",c.opacity40)};var nl={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var il={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.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","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02)};var al={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.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","",c.iconSize3)};var sl={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var cl={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var ll={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.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 ul={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","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.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","",c.spacing3)};var dl={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.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","",c.spacing3)};var fl={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","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3)};var pl={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var hl={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.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","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Tt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Tt||(Tt={}));var Lt;(function(r){r.large="large",r.medium="medium",r.small="small"})(Lt||(Lt={}));function Ao(r){return`ftds--family-${r}`}function Co(r){return`ftds--size-${r}`}var ml={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 To={};F(To,{FtNotificationEvent:()=>Io,PostResizeEvent:()=>Po,PreResizeEvent:()=>_o});var Io=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},_o=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Po=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var zo={};F(zo,{computeOffsetPosition:()=>kl});var ia=["top","right","bottom","left"],na=["start","end"],ko=ia.reduce((r,e)=>r.concat(e,e+"-"+na[0],e+"-"+na[1]),[]),kt=Math.min,Ee=Math.max,Ut=Math.round;var he=r=>({x:r,y:r}),yl={left:"right",right:"left",bottom:"top",top:"bottom"},gl={start:"end",end:"start"};function Uo(r,e,t){return Ee(r,kt(e,t))}function vr(r,e){return typeof r=="function"?r(e):r}function at(r){return r.split("-")[0]}function we(r){return r.split("-")[1]}function Fo(r){return r==="x"?"y":"x"}function Do(r){return r==="y"?"height":"width"}function Sr(r){return["top","bottom"].includes(at(r))?"y":"x"}function Mo(r){return Fo(Sr(r))}function aa(r,e,t){t===void 0&&(t=!1);let n=we(r),i=Mo(r),a=Do(i),s=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Lo(s)),[s,Lo(s)]}function sa(r){return r.replace(/start|end/g,e=>gl[e])}function Lo(r){return r.replace(/left|right|bottom|top/g,e=>yl[e])}function bl(r){return{top:0,right:0,bottom:0,left:0,...r}}function ca(r){return typeof r!="number"?bl(r):{top:r,right:r,bottom:r,left:r}}function Ke(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function la(r,e,t){let{reference:n,floating:i}=r,a=Sr(e),s=Mo(e),l=Do(s),u=at(e),d=a==="y",h=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,g;switch(u){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(we(e)){case"start":g[s]-=y*(t&&d?-1:1);break;case"end":g[s]+=y*(t&&d?-1:1);break}return g}var ua=async(r,e,t)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:r,floating:e,strategy:i}),{x:h,y:p}=la(d,n,u),y=n,g={},b=0;for(let O=0;O<l.length;O++){let{name:C,fn:w}=l[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}=la(d,y,u)),O=-1;continue}}return{x:h,y:p,placement:y,strategy:i,middlewareData:g}};async function $o(r,e){var t;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:u}=r,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:y=!1,padding:g=0}=vr(e,r),b=ca(g),C=l[y?p==="floating"?"reference":"floating":p],w=Ke(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(l.floating)),boundary:d,rootBoundary:h,strategy:u})),A=p==="floating"?{...s.floating,x:n,y:i}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.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=Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:v,strategy:u}):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 xl(r,e,t){return(r?[...t.filter(i=>we(i)===r),...t.filter(i=>we(i)!==r)]:t.filter(i=>at(i)===i)).filter(i=>r?we(i)===r||(e?sa(i)!==i:!1):!0)}var Bo=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,n,i;let{rects:a,middlewareData:s,placement:l,platform:u,elements:d}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:y=ko,autoAlignment:g=!0,...b}=vr(r,e),O=p!==void 0||y===ko?xl(p||null,g,y):y,C=await $o(e,b),w=((t=s.autoPlacement)==null?void 0:t.index)||0,A=O[w];if(A==null)return{};let v=aa(A,a,await(u.isRTL==null?void 0:u.isRTL(d.floating)));if(l!==A)return{reset:{placement:O[0]}};let S=[C[at(A)],C[v[0]],C[v[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:S}],I=O[w+1];if(I)return{data:{index:w+1,overflows:E},reset:{placement:I}};let L=E.map(N=>{let m=we(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]),U=((i=L.filter(N=>N[2].slice(0,we(N[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||L[0][0];return U!==l?{data:{index:w+1,overflows:E},reset:{placement:U}}:{}}}};var Wo=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:l={fn:C=>{let{x:w,y:A}=C;return{x:w,y:A}}},...u}=vr(r,e),d={x:t,y:n},h=await $o(e,u),p=Sr(at(i)),y=Fo(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=Uo(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=Uo(A,b,v)}let O=l.fn({...e,[y]:g,[p]:b});return{...O,data:{x:O.x-t,y:O.y-n}}}}};function me(r){return fa(r)?(r.nodeName||"").toLowerCase():"#document"}function q(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function ye(r){var e;return(e=(fa(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function fa(r){return r instanceof Node||r instanceof q(r).Node}function ce(r){return r instanceof Element||r instanceof q(r).Element}function oe(r){return r instanceof HTMLElement||r instanceof q(r).HTMLElement}function da(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof q(r).ShadowRoot}function st(r){let{overflow:e,overflowX:t,overflowY:n,display:i}=J(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function pa(r){return["table","td","th"].includes(me(r))}function Er(r){let e=wr(),t=J(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 ha(r){let e=Ge(r);for(;oe(e)&&!Ft(e);){if(Er(e))return e;e=Ge(e)}return null}function wr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ft(r){return["html","body","#document"].includes(me(r))}function J(r){return q(r).getComputedStyle(r)}function Dt(r){return ce(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function Ge(r){if(me(r)==="html")return r;let e=r.assignedSlot||r.parentNode||da(r)&&r.host||ye(r);return da(e)?e.host:e}function ma(r){let e=Ge(r);return Ft(e)?r.ownerDocument?r.ownerDocument.body:r.body:oe(e)&&st(e)?e:ma(e)}function Or(r,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=ma(r),a=i===((n=r.ownerDocument)==null?void 0:n.body),s=q(i);return a?e.concat(s,s.visualViewport||[],st(i)?i:[],s.frameElement&&t?Or(s.frameElement):[]):e.concat(i,Or(i,[],t))}function ba(r){let e=J(r),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=oe(r),a=i?r.offsetWidth:t,s=i?r.offsetHeight:n,l=Ut(t)!==a||Ut(n)!==s;return l&&(t=a,n=s),{width:t,height:n,$:l}}function xa(r){return ce(r)?r:r.contextElement}function ct(r){let e=xa(r);if(!oe(e))return he(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:a}=ba(e),s=(a?Ut(t.width):t.width)/n,l=(a?Ut(t.height):t.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var vl=he(0);function va(r){let e=q(r);return!wr()||!e.visualViewport?vl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Sl(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==q(r)?!1:e}function Mt(r,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=r.getBoundingClientRect(),a=xa(r),s=he(1);e&&(n?ce(n)&&(s=ct(n)):s=ct(r));let l=Sl(a,t,n)?va(a):he(0),u=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,h=i.width/s.x,p=i.height/s.y;if(a){let y=q(a),g=n&&ce(n)?q(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let O=ct(b),C=b.getBoundingClientRect(),w=J(b),A=C.left+(b.clientLeft+parseFloat(w.paddingLeft))*O.x,v=C.top+(b.clientTop+parseFloat(w.paddingTop))*O.y;u*=O.x,d*=O.y,h*=O.x,p*=O.y,u+=A,d+=v,b=q(b).frameElement}}return Ke({width:h,height:p,x:u,y:d})}function Ol(r){let{rect:e,offsetParent:t,strategy:n}=r,i=oe(t),a=ye(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=he(1),u=he(0);if((i||!i&&n!=="fixed")&&((me(t)!=="body"||st(a))&&(s=Dt(t)),oe(t))){let d=Mt(t);l=ct(t),u.x=d.x+t.clientLeft,u.y=d.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+u.x,y:e.y*l.y-s.scrollTop*l.y+u.y}}function El(r){return Array.from(r.getClientRects())}function Sa(r){return Mt(ye(r)).left+Dt(r).scrollLeft}function wl(r){let e=ye(r),t=Dt(r),n=r.ownerDocument.body,i=Ee(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ee(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-t.scrollLeft+Sa(r),l=-t.scrollTop;return J(n).direction==="rtl"&&(s+=Ee(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Al(r,e){let t=q(r),n=ye(r),i=t.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,u=0;if(i){a=i.width,s=i.height;let d=wr();(!d||d&&e==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:l,y:u}}function Cl(r,e){let t=Mt(r,!0,e==="fixed"),n=t.top+r.clientTop,i=t.left+r.clientLeft,a=oe(r)?ct(r):he(1),s=r.clientWidth*a.x,l=r.clientHeight*a.y,u=i*a.x,d=n*a.y;return{width:s,height:l,x:u,y:d}}function ya(r,e,t){let n;if(e==="viewport")n=Al(r,t);else if(e==="document")n=wl(ye(r));else if(ce(e))n=Cl(e,t);else{let i=va(r);n={...e,x:e.x-i.x,y:e.y-i.y}}return Ke(n)}function Oa(r,e){let t=Ge(r);return t===e||!ce(t)||Ft(t)?!1:J(t).position==="fixed"||Oa(t,e)}function Rl(r,e){let t=e.get(r);if(t)return t;let n=Or(r,[],!1).filter(l=>ce(l)&&me(l)!=="body"),i=null,a=J(r).position==="fixed",s=a?Ge(r):r;for(;ce(s)&&!Ft(s);){let l=J(s),u=Er(s);!u&&l.position==="fixed"&&(i=null),(a?!u&&!i:!u&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||st(s)&&!u&&Oa(r,s))?n=n.filter(h=>h!==s):i=l,s=Ge(s)}return e.set(r,n),n}function Nl(r){let{element:e,boundary:t,rootBoundary:n,strategy:i}=r,s=[...t==="clippingAncestors"?Rl(e,this._c):[].concat(t),n],l=s[0],u=s.reduce((d,h)=>{let p=ya(e,h,i);return d.top=Ee(p.top,d.top),d.right=kt(p.right,d.right),d.bottom=kt(p.bottom,d.bottom),d.left=Ee(p.left,d.left),d},ya(e,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Il(r){return ba(r)}function _l(r,e,t){let n=oe(e),i=ye(e),a=t==="fixed",s=Mt(r,!0,a,e),l={scrollLeft:0,scrollTop:0},u=he(0);if(n||!n&&!a)if((me(e)!=="body"||st(i))&&(l=Dt(e)),n){let d=Mt(e,!0,a,e);u.x=d.x+e.clientLeft,u.y=d.y+e.clientTop}else i&&(u.x=Sa(i));return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function ga(r,e){return!oe(r)||J(r).position==="fixed"?null:e?e(r):r.offsetParent}function Ea(r,e){let t=q(r);if(!oe(r))return t;let n=ga(r,e);for(;n&&pa(n)&&J(n).position==="static";)n=ga(n,e);return n&&(me(n)==="html"||me(n)==="body"&&J(n).position==="static"&&!Er(n))?t:n||ha(r)||t}var Pl=async function(r){let{reference:e,floating:t,strategy:n}=r,i=this.getOffsetParent||Ea,a=this.getDimensions;return{reference:_l(e,await i(t),n),floating:{x:0,y:0,...await a(t)}}};function Tl(r){return J(r).direction==="rtl"}var Ar={convertOffsetParentRelativeRectToViewportRelativeRect:Ol,getDocumentElement:ye,getClippingRect:Nl,getOffsetParent:Ea,getElementRects:Pl,getClientRects:El,getDimensions:Il,getScale:ct,isElement:ce,isRTL:Tl};var wa=(r,e,t)=>{let n=new Map,i={platform:Ar,...t},a={...i.platform,_c:n};return ua(r,e,{...i,platform:a})};function Aa(r){return Ll(r)}function Ho(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function Ll(r){for(let e=r;e;e=Ho(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ho(r);e;e=Ho(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 kl(r,e,t){return wa(r,e,{platform:{...Ar,getOffsetParent:n=>Ar.getOffsetParent(n,Aa)},middleware:[Wo({crossAxis:!0}),Bo({allowedPlacements:[t]})]})}var Go={};F(Go,{FtdsBase:()=>Ko,toFtdsBase:()=>La});var Vo={};F(Vo,{FtLitElement:()=>X});var jo={};F(jo,{ScopedRegistryLitElement:()=>$t});var Cr=window,Ul=Cr.ShadowRoot&&(Cr.ShadyCSS===void 0||Cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Om=Symbol();var Ca=(r,e)=>{Ul?r.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let n=document.createElement("style"),i=Cr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,r.appendChild(n)})};var $t=class extends fe{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 Ca(n,e.elementStyles),n}};var Rr=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 l=r.length-1;l>=0;l--)(s=r[l])&&(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},_a,Ra=Symbol("constructorPrototype"),Na=Symbol("constructorName"),Pa=Symbol("exportpartsDebouncer"),Ia=Symbol("dynamicDependenciesLoaded"),X=class extends $t{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[_a]=new Ve(5),this[Na]=this.constructor.name,this[Ra]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Na]&&Object.setPrototypeOf(this,this[Ra])}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[Ia]||(e[Ia]=!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[Pa].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,l;let u=y=>y!=null&&y.trim().length>0,d=e.filter(u).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=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...g,...b).filter(u).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(", "))}};_a=Pa;Rr([k()],X.prototype,"exportpartsPrefix",void 0);Rr([Oe([])],X.prototype,"exportpartsPrefixes",void 0);Rr([k()],X.prototype,"customStylesheet",void 0);Rr([co()],X.prototype,"useAdoptedStyleSheets",void 0);var Ta=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 l=r.length-1;l>=0;l--)(s=r[l])&&(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 La(r){class e extends r{constructor(){super(...arguments),this.size=Lt.medium,this.family=Tt.neutral}getDesignSystemBaseClasses(){return{[Ao(this.family)]:!0,[Co(this.size)]:!0}}}return Ta([k()],e.prototype,"size",void 0),Ta([k()],e.prototype,"family",void 0),e}var Ko=class extends La(X){};var ka={};var Yo={};F(Yo,{highlightHtml:()=>qo,highlightHtmlColorCssVariable:()=>Ua,highlightHtmlStyles:()=>Dl});var Ze=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,l=0;a=Array.prototype.slice.call(a);let u=()=>{--s<=0&&i(l)};s||u(),a.forEach(d=>{r.matches(d,this.exclude)?u():this.onIframeReady(d,h=>{t(d)&&(l++,n(h)),u()},u)})}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),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)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((l,u)=>{l.val===n&&(a=u,s=l.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),l=[],u=[],d,h,p=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;p();)this.iframes&&this.forEachIframe(t,y=>this.checkIframeFilter(d,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,g=>u.push(g),i)}),u.push(d);u.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,t,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let u=()=>{this.iterateThroughNodes(e,l,t,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,u):u()})}};var Bt=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 Ze(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],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(u)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(u)})`+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(l=>{s+=`|${this.escapeStr(l)}`}),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:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(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,l=t-s,u=parseInt(e.start,10)-l;return u=u>s?s:u,i=u+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),u<0||i-u<0||u>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(u,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,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 Ze.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),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),s}wrapRangeInMappedTextNode(e,t,n,i,a){e.nodes.every((s,l)=>{let u=e.nodes[l+1];if(typeof u>"u"||u.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>=l&&(e.nodes[b].start>0&&b!==l&&(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(l=>{l.nodes.forEach(u=>{u=u.node;let d;for(;(d=e.exec(u.textContent))!==null&&d[s]!=="";){if(!n(d[s],u))continue;let h=d.index;if(s!==0)for(let p=1;p<s;p++)h+=d[p].length;u=this.wrapRangeInTextNode(u,h,h+d[s].length),i(u.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,n,i,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let u;for(;(u=e.exec(l.value))!==null&&u[s]!=="";){let d=u.index;if(s!==0)for(let p=1;p<s;p++)d+=u[p].length;let h=d+u[s].length;this.wrapRangeInMappedTextNode(l,d,h,p=>n(u[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((l,u)=>{let{start:d,end:h,valid:p}=this.checkWhitespaceRanges(l,s,a.value);p&&this.wrapRangeInMappedTextNode(a,d,h,y=>t(y,l,a.value.substring(d,h),u),y=>{n(y,l)})}),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,l)=>this.opt.filter(l,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),l=this.opt.caseSensitive?"":"i",u=d=>{let h=new RegExp(this.createRegExp(d),`gm${l}`),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):u(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):u(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,l,u)=>this.opt.filter(a,s,l,u),(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=Ze.matches(n,t),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Zo(r){let e=new Bt(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 Fl=Zo,Ua=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Dl=j`
|
|
7
8
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
9
|
+
background: ${Ua};
|
|
9
10
|
}
|
|
10
|
-
`;function
|
|
11
|
+
`;function qo(r,e,t){var n,i;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Fl(r);if(s.unmark(),e&&e.trim()){let l={className:(n=t?.className)!==null&&n!==void 0?n:"highlight-html-match"};t?.attributes!=null&&(l.each=d=>{for(let h in t.attributes)d.setAttribute(h,t.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(d=>s.mark(d.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var Jo={};F(Jo,{noTextInputDefaultClearButton:()=>Wl,noTextSelect:()=>Ml,safariEllipsisFix:()=>Bl,wordWrap:()=>$l});var Ml=j`
|
|
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:r.extend("--ft-conte
|
|
|
16
17
|
-ms-user-select: none;
|
|
17
18
|
user-select: none;
|
|
18
19
|
}
|
|
19
|
-
|
|
20
|
+
`,$l=j`
|
|
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:r.extend("--ft-conte
|
|
|
28
29
|
-webkit-hyphens: auto;
|
|
29
30
|
hyphens: auto
|
|
30
31
|
}
|
|
31
|
-
`,
|
|
32
|
+
`,Bl=j`
|
|
32
33
|
.ft-safari-ellipsis-fix {
|
|
33
34
|
margin-right: 0;
|
|
34
35
|
|
|
@@ -39,17 +40,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
39
40
|
display: inline-block;
|
|
40
41
|
width: 0;
|
|
41
42
|
}
|
|
42
|
-
`,
|
|
43
|
+
`,Wl=j`
|
|
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 Sa={};var Fo={};_(Fo,{ParametrizedLabelResolver:()=>kt});var kt=class o{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var n,i;e=this.resolvePluralKey(e,t);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return o.replaceParameters(a,...t)}static replaceParameters(e,...t){return t.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,c)=>o.formatValue(n,c))),e}resolvePluralKey(e,t){for(let n of t)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,t){return e instanceof Date?o.formatDate(e,t):e??""}static formatDate(e,t){let n=i=>t?.includes("date")?e.toLocaleDateString(i):t?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var dn={};_(dn,{FtCommandQueue:()=>Lt,FtLitElementRedux:()=>tt,FtReduxStore:()=>je,clearAllStores:()=>Ml,isFtReduxStore:()=>Be,redux:()=>yr,reduxEventListener:()=>Xs,reduxReactive:()=>Js});var Js=()=>(o,e)=>{var t;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(t=n.reduxReactiveProperties)===null||t===void 0||t.add(e)},yr=o=>{let e=o??{};return(t,n)=>{var i;let a={hasChanged:Ot,attribute:!1,...e};P(a)(t,n);let c=t.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},Xs=o=>(e,t)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(t,o)};var Lt=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 Be(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Oa,wa,Ca,br=Symbol("internalReduxEventsUnsubscribers"),xe=Symbol("internalStoresUnsubscribers"),ze=Symbol("internalStores"),tt=class extends Z{constructor(){super(...arguments),this[Oa]=new Map,this[wa]=new Map,this[Ca]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[ze].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ze].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[ze].get(e)}addStore(e,t){var n;t=(n=t??(Be(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[ze].delete(t)}setupStore(e,t){this[ze].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ze].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[xe].has(e.store):this[xe].size>0)&&(this[t]=e.selector(i.getState(),this))}})}subscribeToStore(e,t){var n;this[xe].set(e,t.subscribe(()=>this.updateFromStores())),Be(t)&&t.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||t.name===i.store)){let c=l=>this[a](l);t.eventBus.addEventListener(i.eventName,c),this[br].push(()=>t.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[xe].forEach((e,t)=>this.unsubscribeFromStore(t)),this[br].forEach(e=>e()),this[br]=[]}unsubscribeFromStore(e){this[xe].has(e)&&this[xe].get(e)(),this[xe].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Oa=xe,wa=ze,Ca=br;tt.reduxProperties=new Map;tt.reduxReactiveProperties=new Set;tt.reduxEventListeners=new Map;function V(o){for(var e=arguments.length,t=Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(t.length?" "+t.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function fe(o){return!!o&&!!o[$]}function X(o){var e;return!!o&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===al}(o)||Array.isArray(o)||!!o[_a]||!!(!((e=o.constructor)===null||e===void 0)&&e[_a])||Zo(o)||Go(o))}function He(o,e,t){t===void 0&&(t=!1),nt(o)===0?(t?Object.keys:ot)(o).forEach(function(n){t&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function nt(o){var e=o[$];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:Zo(o)?2:Go(o)?3:0}function rt(o,e){return nt(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Qs(o,e){return nt(o)===2?o.get(e):o[e]}function ka(o,e,t){var n=nt(o);n===2?o.set(e,t):n===3?o.add(t):o[e]=t}function La(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function Zo(o){return nl&&o instanceof Map}function Go(o){return il&&o instanceof Set}function ve(o){return o.o||o.t}function Vo(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Ua(o);delete e[$];for(var t=ot(e),n=0;n<t.length;n++){var i=t[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function qo(o,e){return e===void 0&&(e=!1),Yo(o)||fe(o)||!X(o)||(nt(o)>1&&(o.set=o.add=o.clear=o.delete=el),Object.freeze(o),e&&He(o,function(t,n){return qo(n,!0)},!0)),o}function el(){V(2)}function Yo(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function oe(o){var e=Ko[o];return e||V(18,o),e}function tl(o,e){Ko[o]||(Ko[o]=e)}function zo(){return Mt}function To(o,e){e&&(oe("Patches"),o.u=[],o.s=[],o.v=e)}function xr(o){Ho(o),o.p.forEach(rl),o.p=null}function Ho(o){o===Mt&&(Mt=o.l)}function Ea(o){return Mt={p:[],l:Mt,h:o,m:!0,_:0}}function rl(o){var e=o[$];e.i===0||e.i===1?e.j():e.g=!0}function Wo(o,e){e._=e.p.length;var t=e.p[0],n=o!==void 0&&o!==t;return e.h.O||oe("ES5").S(e,o,n),n?(t[$].P&&(xr(e),V(4)),X(o)&&(o=vr(e,o),e.l||Sr(e,o)),e.u&&oe("Patches").M(t[$].t,o,e.u,e.s)):o=vr(e,t,[]),xr(e),e.u&&e.v(e.u,e.s),o!==Ma?o:void 0}function vr(o,e,t){if(Yo(e))return e;var n=e[$];if(!n)return He(e,function(l,d){return Na(o,n,e,l,d,t)},!0),e;if(n.A!==o)return e;if(!n.P)return Sr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Vo(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),He(a,function(l,d){return Na(o,n,i,l,d,t,c)}),Sr(o,i,!1),t&&o.u&&oe("Patches").N(n,t,o.u,o.s)}return n.o}function Na(o,e,t,n,i,a,c){if(fe(i)){var l=vr(o,i,a&&e&&e.i!==3&&!rt(e.R,n)?a.concat(n):void 0);if(ka(t,n,l),!fe(l))return;o.m=!1}else c&&t.add(i);if(X(i)&&!Yo(i)){if(!o.h.D&&o._<1)return;vr(o,i),e&&e.A.l||Sr(o,i)}}function Sr(o,e,t){t===void 0&&(t=!1),!o.l&&o.h.D&&o.m&&qo(e,t)}function Do(o,e){var t=o[$];return(t?ve(t):o)[e]}function Aa(o,e){if(e in o)for(var t=Object.getPrototypeOf(o);t;){var n=Object.getOwnPropertyDescriptor(t,e);if(n)return n;t=Object.getPrototypeOf(t)}}function Se(o){o.P||(o.P=!0,o.l&&Se(o.l))}function Bo(o){o.o||(o.o=Vo(o.t))}function jo(o,e,t){var n=Zo(e)?oe("MapSet").F(e,t):Go(e)?oe("MapSet").T(e,t):o.O?function(i,a){var c=Array.isArray(i),l={i:c?1:0,A:a?a.A:zo(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,f=Ut;c&&(d=[l],f=$t);var h=Proxy.revocable(d,f),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m}(e,t):oe("ES5").J(e,t);return(t?t.A:zo()).p.push(n),n}function ol(o){return fe(o)||V(22,o),function e(t){if(!X(t))return t;var n,i=t[$],a=nt(t);if(i){if(!i.P&&(i.i<4||!oe("ES5").K(i)))return i.t;i.I=!0,n=Ra(t,a),i.I=!1}else n=Ra(t,a);return He(n,function(c,l){i&&Qs(i.t,c)===l||ka(n,c,e(l))}),a===3?new Set(n):n}(o)}function Ra(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return Vo(o)}function $a(){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[$];return Ut.get(f,c)},set:function(f){var h=this[$];Ut.set(h,c,f)}},d}function e(c){for(var l=c.length-1;l>=0;l--){var d=c[l][$];if(!d.P)switch(d.i){case 5:n(d)&&Se(d);break;case 4:t(d)&&Se(d)}}}function t(c){for(var l=c.t,d=c.k,f=ot(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==$){var m=l[p];if(m===void 0&&!rt(l,p))return!0;var g=d[p],y=g&&g[$];if(y?y.t!==m:!La(g,m))return!0}}var v=!!l[$];return f.length!==ot(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(ve(c)))}var a={};tl("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=Ua(m);delete v[$];for(var O=ot(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:zo(),P:!1,I:!1,R:{},l,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,$,{value:h,writable:!0}),f},S:function(c,l,d){d?fe(l)&&l[$].A===c&&e(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var p=h[$];if(p){var m=p.t,g=p.k,y=p.R,v=p.i;if(v===4)He(g,function(x){x!==$&&(m[x]!==void 0||rt(m,x)?y[x]||f(g[x]):(y[x]=!0,Se(p)))}),He(m,function(x){g[x]!==void 0||rt(g,x)||(y[x]=!1,Se(p))});else if(v===5){if(n(p)&&(Se(p),y.length=!0),g.length<m.length)for(var O=g.length;O<m.length;O++)y[O]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var C=Math.min(g.length,m.length),b=0;b<C;b++)g.hasOwnProperty(b)||(y[b]=!0),y[b]===void 0&&f(g[b])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?t(c):n(c)}})}var Ia,Mt,Jo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",nl=typeof Map<"u",il=typeof Set<"u",Pa=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ma=Jo?Symbol.for("immer-nothing"):((Ia={})["immer-nothing"]=!0,Ia),_a=Jo?Symbol.for("immer-draftable"):"__$immer_draftable",$=Jo?Symbol.for("immer-state"):"__$immer_state";var al=""+Object.prototype.constructor,ot=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Ua=Object.getOwnPropertyDescriptors||function(o){var e={};return ot(o).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(o,t)}),e},Ko={},Ut={get:function(o,e){if(e===$)return o;var t=ve(o);if(!rt(t,e))return function(i,a,c){var l,d=Aa(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,t,e);var n=t[e];return o.I||!X(n)?n:n===Do(o.t,e)?(Bo(o),o.o[e]=jo(o.A.h,n,o)):n},has:function(o,e){return e in ve(o)},ownKeys:function(o){return Reflect.ownKeys(ve(o))},set:function(o,e,t){var n=Aa(ve(o),e);if(n?.set)return n.set.call(o.k,t),!0;if(!o.P){var i=Do(ve(o),e),a=i?.[$];if(a&&a.t===t)return o.o[e]=t,o.R[e]=!1,!0;if(La(t,i)&&(t!==void 0||rt(o.t,e)))return!0;Bo(o),Se(o)}return o.o[e]===t&&(t!==void 0||e in o.o)||Number.isNaN(t)&&Number.isNaN(o.o[e])||(o.o[e]=t,o.R[e]=!0),!0},deleteProperty:function(o,e){return Do(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,Bo(o),Se(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var t=ve(o),n=Reflect.getOwnPropertyDescriptor(t,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:t[e]}},defineProperty:function(){V(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){V(12)}},$t={};He(Ut,function(o,e){$t[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),$t.deleteProperty=function(o,e){return $t.set.call(this,o,e,void 0)},$t.set=function(o,e,t){return Ut.set.call(this,o[0],e,t,o[0])};var cl=function(){function o(t){var n=this;this.O=Pa,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),X(i)){var h=Ea(n),p=jo(n,i,void 0),m=!0;try{f=a(p),m=!1}finally{m?xr(h):Ho(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return To(h,c),Wo(v,h)},function(v){throw xr(h),v}):(To(h,c),Wo(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Ma&&(f=void 0),n.D&&qo(f,!0),c){var g=[],y=[];oe("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 t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=o.prototype;return e.createDraft=function(t){X(t)||V(8),fe(t)&&(t=ol(t));var n=Ea(this),i=jo(this,t,void 0);return i[$].C=!0,Ho(n),i},e.finishDraft=function(t,n){var i=t&&t[$],a=i.A;return To(a,n),Wo(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Pa&&V(20),this.O=t},e.applyPatches=function(t,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}i>-1&&(n=n.slice(i+1));var c=oe("Patches").$;return fe(t)?c(t,n):this.produce(t,function(l){return c(l,n)})},o}(),G=new cl,sl=G.produce,rm=G.produceWithPatches.bind(G),om=G.setAutoFreeze.bind(G),nm=G.setUseProxies.bind(G),im=G.applyPatches.bind(G),am=G.createDraft.bind(G),cm=G.finishDraft.bind(G),Or=sl;function Oe(o){"@babel/helpers - typeof";return Oe=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},Oe(o)}function Xo(o,e){if(Oe(o)!=="object"||o===null)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e||"default");if(Oe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function Qo(o){var e=Xo(o,"string");return Oe(e)==="symbol"?e:String(e)}function en(o,e,t){return e=Qo(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function Fa(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),t.push.apply(t,n)}return t}function wr(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Fa(Object(t),!0).forEach(function(n){en(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Fa(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function D(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Ta=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),tn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Cr={INIT:"@@redux/INIT"+tn(),REPLACE:"@@redux/REPLACE"+tn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tn()}};function ll(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 rn(o,e,t){var n;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(D(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(D(1));return t(rn)(o,e)}if(typeof o!="function")throw new Error(D(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(D(3));return a}function p(v){if(typeof v!="function")throw new Error(D(4));if(d)throw new Error(D(5));var O=!0;return f(),l.push(v),function(){if(O){if(d)throw new Error(D(6));O=!1,f();var C=l.indexOf(v);l.splice(C,1),c=null}}}function m(v){if(!ll(v))throw new Error(D(7));if(typeof v.type>"u")throw new Error(D(8));if(d)throw new Error(D(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(D(10));i=v,m({type:Cr.REPLACE})}function y(){var v,O=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(D(11));function b(){C.next&&C.next(h())}b();var x=O(b);return{unsubscribe:x}}},v[Ta]=function(){return this},v}return m({type:Cr.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[Ta]=y,n}function dl(o){Object.keys(o).forEach(function(e){var t=o[e],n=t(void 0,{type:Cr.INIT});if(typeof n>"u")throw new Error(D(12));if(typeof t(void 0,{type:Cr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(D(13))})}function Wa(o){for(var e=Object.keys(o),t={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(t[i]=o[i])}var a=Object.keys(t),c,l;try{dl(t)}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=t[v],w=f[v],C=O(w,h);if(typeof C>"u"){var b=h&&h.type;throw new Error(D(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function it(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Da(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(D(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(c)});return a=it.apply(void 0,l)(i.dispatch),wr(wr({},i),{},{dispatch:a})}}}function Ba(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 za=Ba();za.withExtraArgument=Ba;var on=za;var Ga=function(){var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},o(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),fl=function(o,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next: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(;t;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,i=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(o,t)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},at=function(o,e){for(var t=0,n=e.length,i=o.length;t<n;t++,i++)o[i]=e[t];return o},ul=Object.defineProperty,pl=Object.defineProperties,hl=Object.getOwnPropertyDescriptors,Ha=Object.getOwnPropertySymbols,ml=Object.prototype.hasOwnProperty,gl=Object.prototype.propertyIsEnumerable,ja=function(o,e,t){return e in o?ul(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t},we=function(o,e){for(var t in e||(e={}))ml.call(e,t)&&ja(o,t,e[t]);if(Ha)for(var n=0,i=Ha(e);n<i.length;n++){var t=i[n];gl.call(e,t)&&ja(o,t,e[t])}return o},nn=function(o,e){return pl(o,hl(e))},yl=function(o,e,t){return new Promise(function(n,i){var a=function(d){try{l(t.next(d))}catch(f){i(f)}},c=function(d){try{l(t.throw(d))}catch(f){i(f)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,c)};l((t=t.apply(o,e)).next())})};var bl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?it:it.apply(null,arguments)},Em=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function xl(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var vl=function(o){Ga(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,at([void 0],t[0].concat(this)))):new(e.bind.apply(e,at([void 0],t.concat(this))))},e}(Array),Sl=function(o){Ga(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,at([void 0],t[0].concat(this)))):new(e.bind.apply(e,at([void 0],t.concat(this))))},e}(Array);function sn(o){return X(o)?Or(o,function(){}):o}function Ol(o){return typeof o=="boolean"}function wl(){return function(e){return Cl(e)}}function Cl(o){o===void 0&&(o={});var e=o.thunk,t=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,c=a===void 0?!0:a,l=new vl;if(t&&(Ol(t)?l.push(on):l.push(on.withExtraArgument(t.extraArgument))),0){if(i)var d;if(c)var f}return l}var an=!0;function Va(o){var e=wl(),t=o||{},n=t.reducer,i=n===void 0?void 0:n,a=t.middleware,c=a===void 0?e():a,l=t.devTools,d=l===void 0?!0:l,f=t.preloadedState,h=f===void 0?void 0:f,p=t.enhancers,m=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(xl(i))g=Wa(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),!an&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!an&&y.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Da.apply(void 0,y),O=it;d&&(O=bl(we({trace:!an},typeof d=="object"&&d)));var w=new Sl(v),C=w;Array.isArray(m)?C=at([v],m):typeof m=="function"&&(C=m(w));var b=O.apply(void 0,C);return rn(g,h,b)}function Ce(o,e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return we(we({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return t.toString=function(){return""+o},t.type=o,t.match=function(n){return n.type===o},t}function qa(o){var e={},t=[],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 t.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,t,n]}function El(o){return typeof o=="function"}function Nl(o,e,t,n){t===void 0&&(t=[]);var i=typeof e=="function"?qa(e):[e,t,n],a=i[0],c=i[1],l=i[2],d;if(El(o))d=function(){return sn(o())};else{var f=sn(o);d=function(){return f}}function h(p,m){p===void 0&&(p=d());var g=at([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(fe(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(X(y))return Or(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 Al(o,e){return o+"/"+e}function Ya(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof o.initialState=="function"?o.initialState:sn(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},c={},l={};i.forEach(function(h){var p=n[h],m=Al(e,h),g,y;"reducer"in p?(g=p.reducer,y=p.prepare):g=p,a[h]=g,c[m]=g,l[h]=y?Ce(m,y):Ce(m)});function d(){var h=typeof o.extraReducers=="function"?qa(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=we(we({},m),c);return Nl(t,function(C){for(var b in w)C.addCase(b,w[b]);for(var x=0,S=y;x<S.length;x++){var N=S[x];C.addMatcher(N.matcher,N.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Rl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Il=function(o){o===void 0&&(o=21);for(var e="",t=o;t--;)e+=Rl[Math.random()*64|0];return e},Pl=["name","message","stack","code"],cn=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),Ka=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),_l=function(o){if(typeof o=="object"&&o!==null){for(var e={},t=0,n=Pl;t<n.length;t++){var i=n[t];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},Im=function(){function o(e,t,n){var i=Ce(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:nn(we({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),a=Ce(e+"/pending",function(h,p,m){return{payload:void 0,meta:nn(we({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),c=Ce(e+"/rejected",function(h,p,m,g,y){return{payload:g,error:(n&&n.serializeError||_l)(h||"Rejected"),meta:nn(we({},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):Il(),v=new d,O,w=!1;function C(x){O=x,v.abort()}var b=function(){return yl(this,null,function(){var x,S,N,k,z,L,E;return fl(this,function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),k=(x=n?.condition)==null?void 0:x.call(n,h,{getState:m,extra:g}),Ll(k)?[4,k]:[3,2];case 1:k=A.sent(),A.label=2;case 2:if(k===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,z=new Promise(function(I,W){return v.signal.addEventListener("abort",function(){return W({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([z,Promise.resolve(t(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(I,W){return new cn(I,W)},fulfillWithValue:function(I,W){return new Ka(I,W)}})).then(function(I){if(I instanceof cn)throw I;return I instanceof Ka?i(I.payload,y,h,I.meta):i(I,y,h)})])];case 3:return N=A.sent(),[3,5];case 4:return L=A.sent(),N=L instanceof cn?c(null,y,h,L.payload,L.meta):c(L,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(kl)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function kl(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function Ll(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Ja="listener",Xa="completed",Qa="cancelled",Pm="task-"+Qa,_m="task-"+Xa,km=Ja+"-"+Qa,Lm=Ja+"-"+Xa;var ln="listenerMiddleware";var $m=Ce(ln+"/add"),Mm=Ce(ln+"/removeAll"),Um=Ce(ln+"/remove");var Za,Fm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Za||(Za=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},$l=function(o){return function(e){setTimeout(e,o)}},Tm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$l(10);$a();window.ftReduxStores||(window.ftReduxStores={});var je=class o{static get(e){var t;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Be(a))return a;if(i==null)return;let c=Ya({...i,reducers:(t=i.reducers)!==null&&t!==void 0?t:{}}),l=Va({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,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Lt,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 Ml(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Be(e)&&e.clear()}var pn={};_(pn,{scrollHelper:()=>Ul});var fn,Er=new Map,un=class{lock(e,t){if(t){let n=Er.get(t);if(n==null||n===e)return Er.set(t,e),t}}release(e,t){t&&Er.get(t)===e&&Er.delete(t)}findFirstScrollableParent(e){let t,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)}t=(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),t}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,t){let n=0;for(;t&&t.offsetParent!==e.offsetParent;)n+=t.offsetTop,t=t.offsetParent;return n+t.offsetTop-e.offsetTop}computeTopOffsetRatio(e,t){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return t;default:return 0}}scrollIntoViewIfPossible(e,t){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,c=i,l=io(0,(c-n.scrollTop)/(c-a),1),d=this.computeTopOffsetRatio(t?.position,l)*(a-c)+c;n.scrollTo({behavior:t?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(fn=window.FluidTopicsScrollHelper)!==null&&fn!==void 0?fn:new un;var Ul=window.FluidTopicsScrollHelper;var hn={};_(hn,{shadowQuerySelector:()=>Fl,shadowQuerySelectorAll:()=>Tl});function Fl(o,e,...t){var n;let i=o.querySelector(e);for(let a of t)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Tl(o,e,...t){let n=[...o.querySelectorAll(e)];for(let i of t)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 mn={};_(mn,{serializeRequest:()=>Dl});function Wl(o){return`"${o}"`}function Dl(o,e){var t,n,i,a,c,l,d,f,h;let p=new URLSearchParams({"content-lang":(t=e.contentLocale)!==null&&t!==void 0?t:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&p.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&p.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&p.append("virtual-field",e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&p.append("sort","last_update");let m=(c=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(O=>O.valueFilter))!==null&&c!==void 0?c:[];if(m.length>0){let O=m.map(w=>{var C,b;let x=((b=(C=w.valueFilter)===null||C===void 0?void 0:C.values)!==null&&b!==void 0?b:[]).map(S=>S.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(S=>encodeURIComponent(Wl(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 gn={};_(gn,{toFtFormComponent:()=>Bl});var Nr=Symbol("elementInternals");function Bl(o,e){class t extends o{static get formAssociated(){return!0}get form(){return this[Nr].form}constructor(...i){super(i),this[Nr]=this.attachInternals(),this[Nr].role=e}setFormValue(i){this[Nr].setFormValue(i)}}return t}var yn={};_(yn,{DateFormatter:()=>Ke});var Ke=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 bn,xn,vn,Sn,zl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((vn=(xn=(bn=window.safari)===null||bn===void 0?void 0:bn.pushNotification)===null||xn===void 0?void 0:xn.toString())!==null&&vn!==void 0?vn:"")==="[object SafariRemoteNotification]",Hl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Sn=window.ftGlobals)!==null&&Sn!==void 0?Sn:{lit:Zr,litDecorators:Vr,litRepeat:qr,litClassMap:Yr,litStyleMap:Jr,litUnsafeHTML:Xr,wcUtils:{...to,...eo,...oo,...yn,...no,...so,...po,...yo,...Ro,...uo,...ko,...Po,...xa,...ao,...Mo,...Uo,...Sa,...Fo,...dn,...Io,...pn,...hn,...mn,...gn,isSafari:zl,isTouchScreen:Hl,setVariable:sr}};var Ng={},ec=T`
|
|
50
|
-
`;var
|
|
50
|
+
`;var Fa={};var Xo={};F(Xo,{ParametrizedLabelResolver:()=>Wt});var Wt=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 An={};F(An,{FtCommandQueue:()=>Ht,FtLitElementRedux:()=>lt,FtReduxStore:()=>Xe,clearAllStores:()=>Cu,isFtReduxStore:()=>qe,redux:()=>Nr,reduxEventListener:()=>zl,reduxReactive:()=>Hl});var Hl=()=>(r,e)=>{var t;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(t=n.reduxReactiveProperties)===null||t===void 0||t.add(e)},Nr=r=>{let e=r??{};return(t,n)=>{var i;let a={hasChanged:Pt,attribute:!1,...e};k(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:l=>l[n],store:e.store})}},zl=r=>(e,t)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(t,r)};var Ht=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 qe(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Da,Ma,$a,Ir=Symbol("internalReduxEventsUnsubscribers"),Ae=Symbol("internalStoresUnsubscribers"),Ye=Symbol("internalStores"),lt=class extends X{constructor(){super(...arguments),this[Da]=new Map,this[Ma]=new Map,this[$a]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ye].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ye].get(e)}addStore(e,t){var n;t=(n=t??(qe(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[Ye].delete(t)}setupStore(e,t){this[Ye].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ye].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[Ae].has(e.store):this[Ae].size>0)&&(this[t]=e.selector(i.getState(),this))}})}subscribeToStore(e,t){var n;this[Ae].set(e,t.subscribe(()=>this.updateFromStores())),qe(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=l=>this[a](l);t.eventBus.addEventListener(i.eventName,s),this[Ir].push(()=>t.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ae].forEach((e,t)=>this.unsubscribeFromStore(t)),this[Ir].forEach(e=>e()),this[Ir]=[]}unsubscribeFromStore(e){this[Ae].has(e)&&this[Ae].get(e)(),this[Ae].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Da=Ae,Ma=Ye,$a=Ir;lt.reduxProperties=new Map;lt.reduxReactiveProperties=new Set;lt.reduxEventListeners=new Map;function ee(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 ge(r){return!!r&&!!r[B]}function ne(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)===Jl}(r)||Array.isArray(r)||!!r[Ka]||!!(!((e=r.constructor)===null||e===void 0)&&e[Ka])||cn(r)||ln(r))}function Je(r,e,t){t===void 0&&(t=!1),ft(r)===0?(t?Object.keys:dt)(r).forEach(function(n){t&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,i){return e(i,n,r)})}function ft(r){var e=r[B];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:cn(r)?2:ln(r)?3:0}function ut(r,e){return ft(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function jl(r,e){return ft(r)===2?r.get(e):r[e]}function Ga(r,e,t){var n=ft(r);n===2?r.set(e,t):n===3?r.add(t):r[e]=t}function Za(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function cn(r){return ql&&r instanceof Map}function ln(r){return Yl&&r instanceof Set}function Ce(r){return r.o||r.t}function un(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=Ja(r);delete e[B];for(var t=dt(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 dn(r,e){return e===void 0&&(e=!1),fn(r)||ge(r)||!ne(r)||(ft(r)>1&&(r.set=r.add=r.clear=r.delete=Vl),Object.freeze(r),e&&Je(r,function(t,n){return dn(n,!0)},!0)),r}function Vl(){ee(2)}function fn(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function le(r){var e=sn[r];return e||ee(18,r),e}function Kl(r,e){sn[r]||(sn[r]=e)}function on(){return jt}function Qo(r,e){e&&(le("Patches"),r.u=[],r.s=[],r.v=e)}function _r(r){nn(r),r.p.forEach(Gl),r.p=null}function nn(r){r===jt&&(jt=r.l)}function Ba(r){return jt={p:[],l:jt,h:r,m:!0,_:0}}function Gl(r){var e=r[B];e.i===0||e.i===1?e.j():e.g=!0}function en(r,e){e._=e.p.length;var t=e.p[0],n=r!==void 0&&r!==t;return e.h.O||le("ES5").S(e,r,n),n?(t[B].P&&(_r(e),ee(4)),ne(r)&&(r=Pr(e,r),e.l||Tr(e,r)),e.u&&le("Patches").M(t[B].t,r,e.u,e.s)):r=Pr(e,t,[]),_r(e),e.u&&e.v(e.u,e.s),r!==Ya?r:void 0}function Pr(r,e,t){if(fn(e))return e;var n=e[B];if(!n)return Je(e,function(l,u){return Wa(r,n,e,l,u,t)},!0),e;if(n.A!==r)return e;if(!n.P)return Tr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=un(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Je(a,function(l,u){return Wa(r,n,i,l,u,t,s)}),Tr(r,i,!1),t&&r.u&&le("Patches").N(n,t,r.u,r.s)}return n.o}function Wa(r,e,t,n,i,a,s){if(ge(i)){var l=Pr(r,i,a&&e&&e.i!==3&&!ut(e.R,n)?a.concat(n):void 0);if(Ga(t,n,l),!ge(l))return;r.m=!1}else s&&t.add(i);if(ne(i)&&!fn(i)){if(!r.h.D&&r._<1)return;Pr(r,i),e&&e.A.l||Tr(r,i)}}function Tr(r,e,t){t===void 0&&(t=!1),!r.l&&r.h.D&&r.m&&dn(e,t)}function tn(r,e){var t=r[B];return(t?Ce(t):r)[e]}function Ha(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 Re(r){r.P||(r.P=!0,r.l&&Re(r.l))}function rn(r){r.o||(r.o=un(r.t))}function an(r,e,t){var n=cn(e)?le("MapSet").F(e,t):ln(e)?le("MapSet").T(e,t):r.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:on(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},u=l,d=Vt;s&&(u=[l],d=zt);var h=Proxy.revocable(u,d),p=h.revoke,y=h.proxy;return l.k=y,l.j=p,y}(e,t):le("ES5").J(e,t);return(t?t.A:on()).p.push(n),n}function Zl(r){return ge(r)||ee(22,r),function e(t){if(!ne(t))return t;var n,i=t[B],a=ft(t);if(i){if(!i.P&&(i.i<4||!le("ES5").K(i)))return i.t;i.I=!0,n=za(t,a),i.I=!1}else n=za(t,a);return Je(n,function(s,l){i&&jl(i.t,s)===l||Ga(n,s,e(l))}),a===3?new Set(n):n}(r)}function za(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return un(r)}function qa(){function r(s,l){var u=a[s];return u?u.enumerable=l:a[s]=u={configurable:!0,enumerable:l,get:function(){var d=this[B];return Vt.get(d,s)},set:function(d){var h=this[B];Vt.set(h,s,d)}},u}function e(s){for(var l=s.length-1;l>=0;l--){var u=s[l][B];if(!u.P)switch(u.i){case 5:n(u)&&Re(u);break;case 4:t(u)&&Re(u)}}}function t(s){for(var l=s.t,u=s.k,d=dt(u),h=d.length-1;h>=0;h--){var p=d[h];if(p!==B){var y=l[p];if(y===void 0&&!ut(l,p))return!0;var g=u[p],b=g&&g[B];if(b?b.t!==y:!Za(g,y))return!0}}var O=!!l[B];return d.length!==dt(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&ee(3,JSON.stringify(Ce(s)))}var a={};Kl("ES5",{J:function(s,l){var u=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=Ja(y);delete O[B];for(var C=dt(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)}(u,s),h={i:u?5:4,A:l?l.A:on(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,B,{value:h,writable:!0}),d},S:function(s,l,u){u?ge(l)&&l[B].A===s&&e(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var p=h[B];if(p){var y=p.t,g=p.k,b=p.R,O=p.i;if(O===4)Je(g,function(S){S!==B&&(y[S]!==void 0||ut(y,S)?b[S]||d(g[S]):(b[S]=!0,Re(p)))}),Je(y,function(S){g[S]!==void 0||ut(g,S)||(b[S]=!1,Re(p))});else if(O===5){if(n(p)&&(Re(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 ja,jt,pn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ql=typeof Map<"u",Yl=typeof Set<"u",Va=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ya=pn?Symbol.for("immer-nothing"):((ja={})["immer-nothing"]=!0,ja),Ka=pn?Symbol.for("immer-draftable"):"__$immer_draftable",B=pn?Symbol.for("immer-state"):"__$immer_state";var Jl=""+Object.prototype.constructor,dt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Ja=Object.getOwnPropertyDescriptors||function(r){var e={};return dt(r).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(r,t)}),e},sn={},Vt={get:function(r,e){if(e===B)return r;var t=Ce(r);if(!ut(t,e))return function(i,a,s){var l,u=Ha(a,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(i.k):void 0}(r,t,e);var n=t[e];return r.I||!ne(n)?n:n===tn(r.t,e)?(rn(r),r.o[e]=an(r.A.h,n,r)):n},has:function(r,e){return e in Ce(r)},ownKeys:function(r){return Reflect.ownKeys(Ce(r))},set:function(r,e,t){var n=Ha(Ce(r),e);if(n?.set)return n.set.call(r.k,t),!0;if(!r.P){var i=tn(Ce(r),e),a=i?.[B];if(a&&a.t===t)return r.o[e]=t,r.R[e]=!1,!0;if(Za(t,i)&&(t!==void 0||ut(r.t,e)))return!0;rn(r),Re(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 tn(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,rn(r),Re(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var t=Ce(r),n=Reflect.getOwnPropertyDescriptor(t,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:t[e]}},defineProperty:function(){ee(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){ee(12)}},zt={};Je(Vt,function(r,e){zt[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),zt.deleteProperty=function(r,e){return zt.set.call(this,r,e,void 0)},zt.set=function(r,e,t){return Vt.set.call(this,r[0],e,t,r[0])};var Xl=function(){function r(t){var n=this;this.O=Va,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var u=n;return function(O){var C=this;O===void 0&&(O=l);for(var w=arguments.length,A=Array(w>1?w-1:0),v=1;v<w;v++)A[v-1]=arguments[v];return u.produce(O,function(S){var E;return(E=a).call.apply(E,[C,S].concat(A))})}}var d;if(typeof a!="function"&&ee(6),s!==void 0&&typeof s!="function"&&ee(7),ne(i)){var h=Ba(n),p=an(n,i,void 0),y=!0;try{d=a(p),y=!1}finally{y?_r(h):nn(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return Qo(h,s),en(O,h)},function(O){throw _r(h),O}):(Qo(h,s),en(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===Ya&&(d=void 0),n.D&&dn(d,!0),s){var g=[],b=[];le("Patches").M(i,d,g,b),s(g,b)}return d}ee(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,l,u=n.produce(i,a,function(d,h){s=d,l=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(d){return[d,s,l]}):[u,s,l]},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){ne(t)||ee(8),ge(t)&&(t=Zl(t));var n=Ba(this),i=an(this,t,void 0);return i[B].C=!0,nn(n),i},e.finishDraft=function(t,n){var i=t&&t[B],a=i.A;return Qo(a,n),en(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Va&&ee(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=le("Patches").$;return ge(t)?s(t,n):this.produce(t,function(l){return s(l,n)})},r}(),Q=new Xl,Ql=Q.produce,Ym=Q.produceWithPatches.bind(Q),Jm=Q.setAutoFreeze.bind(Q),Xm=Q.setUseProxies.bind(Q),Qm=Q.applyPatches.bind(Q),ey=Q.createDraft.bind(Q),ty=Q.finishDraft.bind(Q),Lr=Ql;function Ne(r){"@babel/helpers - typeof";return Ne=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},Ne(r)}function hn(r,e){if(Ne(r)!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e||"default");if(Ne(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function mn(r){var e=hn(r,"string");return Ne(e)==="symbol"?e:String(e)}function yn(r,e,t){return e=mn(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Xa(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 kr(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Xa(Object(t),!0).forEach(function(n){yn(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Xa(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function G(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 Qa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),gn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ur={INIT:"@@redux/INIT"+gn(),REPLACE:"@@redux/REPLACE"+gn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+gn()}};function eu(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 bn(r,e,t){var n;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(G(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(G(1));return t(bn)(r,e)}if(typeof r!="function")throw new Error(G(2));var i=r,a=e,s=[],l=s,u=!1;function d(){l===s&&(l=s.slice())}function h(){if(u)throw new Error(G(3));return a}function p(O){if(typeof O!="function")throw new Error(G(4));if(u)throw new Error(G(5));var C=!0;return d(),l.push(O),function(){if(C){if(u)throw new Error(G(6));C=!1,d();var A=l.indexOf(O);l.splice(A,1),s=null}}}function y(O){if(!eu(O))throw new Error(G(7));if(typeof O.type>"u")throw new Error(G(8));if(u)throw new Error(G(9));try{u=!0,a=i(a,O)}finally{u=!1}for(var C=s=l,w=0;w<C.length;w++){var A=C[w];A()}return O}function g(O){if(typeof O!="function")throw new Error(G(10));i=O,y({type:Ur.REPLACE})}function b(){var O,C=p;return O={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(G(11));function v(){A.next&&A.next(h())}v();var S=C(v);return{unsubscribe:S}}},O[Qa]=function(){return this},O}return y({type:Ur.INIT}),n={dispatch:y,subscribe:p,getState:h,replaceReducer:g},n[Qa]=b,n}function tu(r){Object.keys(r).forEach(function(e){var t=r[e],n=t(void 0,{type:Ur.INIT});if(typeof n>"u")throw new Error(G(12));if(typeof t(void 0,{type:Ur.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(G(13))})}function es(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,l;try{tu(t)}catch(u){l=u}return function(d,h){if(d===void 0&&(d={}),l)throw l;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(G(14))}g[O]=A,y=y||A!==w}return y=y||a.length!==Object.keys(d).length,y?g:d}}function pt(){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 ts(){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(G(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(u){return u(s)});return a=pt.apply(void 0,l)(i.dispatch),kr(kr({},i),{},{dispatch:a})}}}function rs(r){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,r):s(l)}}};return e}var os=rs();os.withExtraArgument=rs;var xn=os;var cs=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)}}(),ru=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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return u([d,h])}}function u(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}}},ht=function(r,e){for(var t=0,n=e.length,i=r.length;t<n;t++,i++)r[i]=e[t];return r},ou=Object.defineProperty,nu=Object.defineProperties,iu=Object.getOwnPropertyDescriptors,ns=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,su=Object.prototype.propertyIsEnumerable,is=function(r,e,t){return e in r?ou(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t},Ie=function(r,e){for(var t in e||(e={}))au.call(e,t)&&is(r,t,e[t]);if(ns)for(var n=0,i=ns(e);n<i.length;n++){var t=i[n];su.call(e,t)&&is(r,t,e[t])}return r},vn=function(r,e){return nu(r,iu(e))},cu=function(r,e,t){return new Promise(function(n,i){var a=function(u){try{l(t.next(u))}catch(d){i(d)}},s=function(u){try{l(t.throw(u))}catch(d){i(d)}},l=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(a,s)};l((t=t.apply(r,e)).next())})};var lu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?pt:pt.apply(null,arguments)},xy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function uu(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 du=function(r){cs(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,ht([void 0],t[0].concat(this)))):new(e.bind.apply(e,ht([void 0],t.concat(this))))},e}(Array),fu=function(r){cs(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,ht([void 0],t[0].concat(this)))):new(e.bind.apply(e,ht([void 0],t.concat(this))))},e}(Array);function En(r){return ne(r)?Lr(r,function(){}):r}function pu(r){return typeof r=="boolean"}function hu(){return function(e){return mu(e)}}function mu(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,l=new du;if(t&&(pu(t)?l.push(xn):l.push(xn.withExtraArgument(t.extraArgument))),0){if(i)var u;if(s)var d}return l}var Sn=!0;function ls(r){var e=hu(),t=r||{},n=t.reducer,i=n===void 0?void 0:n,a=t.middleware,s=a===void 0?e():a,l=t.devTools,u=l===void 0?!0:l,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(uu(i))g=es(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),!Sn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Sn&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=ts.apply(void 0,b),C=pt;u&&(C=lu(Ie({trace:!Sn},typeof u=="object"&&u)));var w=new fu(O),A=w;Array.isArray(y)?A=ht([O],y):typeof y=="function"&&(A=y(w));var v=C.apply(void 0,A);return bn(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 Ie(Ie({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 us(r){var e={},t=[],n,i={addCase:function(a,s){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]=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 yu(r){return typeof r=="function"}function gu(r,e,t,n){t===void 0&&(t=[]);var i=typeof e=="function"?us(e):[e,t,n],a=i[0],s=i[1],l=i[2],u;if(yu(r))u=function(){return En(r())};else{var d=En(r);u=function(){return d}}function h(p,y){p===void 0&&(p=u());var g=ht([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=[l]),g.reduce(function(b,O){if(O)if(ge(b)){var C=b,w=O(C,y);return w===void 0?b:w}else{if(ne(b))return Lr(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=u,h}function bu(r,e){return r+"/"+e}function ds(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:En(r.initialState),n=r.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var p=n[h],y=bu(e,h),g,b;"reducer"in p?(g=p.reducer,b=p.prepare):g=p,a[h]=g,s[y]=g,l[h]=b?_e(y,b):_e(y)});function u(){var h=typeof r.extraReducers=="function"?us(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=Ie(Ie({},y),s);return gu(t,function(A){for(var v in w)A.addCase(v,w[v]);for(var S=0,E=b;S<E.length;S++){var I=E[S];A.addMatcher(I.matcher,I.reducer)}C&&A.addDefaultCase(C)})}var d;return{name:e,reducer:function(h,p){return d||(d=u()),d(h,p)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=u()),d.getInitialState()}}}var xu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",vu=function(r){r===void 0&&(r=21);for(var e="",t=r;t--;)e+=xu[Math.random()*64|0];return e},Su=["name","message","stack","code"],On=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),as=function(){function r(e,t){this.payload=e,this.meta=t}return r}(),Ou=function(r){if(typeof r=="object"&&r!==null){for(var e={},t=0,n=Su;t<n.length;t++){var i=n[t];typeof r[i]=="string"&&(e[i]=r[i])}return e}return{message:String(r)}},Ey=function(){function r(e,t,n){var i=_e(e+"/fulfilled",function(h,p,y,g){return{payload:h,meta:vn(Ie({},g||{}),{arg:y,requestId:p,requestStatus:"fulfilled"})}}),a=_e(e+"/pending",function(h,p,y){return{payload:void 0,meta:vn(Ie({},y||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=_e(e+"/rejected",function(h,p,y,g,b){return{payload:g,error:(n&&n.serializeError||Ou)(h||"Rejected"),meta:vn(Ie({},b||{}),{arg:y,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,u=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):vu(),O=new u,C,w=!1;function A(S){C=S,O.abort()}var v=function(){return cu(this,null,function(){var S,E,I,L,D,U,N;return ru(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),L=(S=n?.condition)==null?void 0:S.call(n,h,{getState:y,extra:g}),wu(L)?[4,L]:[3,2];case 1:L=m.sent(),m.label=2;case 2:if(L===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,D=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([D,Promise.resolve(t(h,{dispatch:p,getState:y,extra:g,requestId:b,signal:O.signal,abort:A,rejectWithValue:function(x,R){return new On(x,R)},fulfillWithValue:function(x,R){return new as(x,R)}})).then(function(x){if(x instanceof On)throw x;return x instanceof as?i(x.payload,b,h,x.meta):i(x,b,h)})])];case 3:return I=m.sent(),[3,5];case 4:return U=m.sent(),I=U instanceof On?s(null,b,h,U.payload,U.meta):s(U,b,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(I)&&I.meta.condition,N||p(I),[2,I]}})})}();return Object.assign(v,{abort:A,requestId:b,arg:h,unwrap:function(){return v.then(Eu)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return r.withTypes=function(){return r},r}();function Eu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function wu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var fs="listener",ps="completed",hs="cancelled",wy="task-"+hs,Ay="task-"+ps,Cy=fs+"-"+hs,Ry=fs+"-"+ps;var wn="listenerMiddleware";var Ny=_e(wn+"/add"),Iy=_e(wn+"/removeAll"),_y=_e(wn+"/remove");var ss,Py=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(ss||(ss=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},Au=function(r){return function(e){setTimeout(e,r)}},Ty=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Au(10);qa();window.ftReduxStores||(window.ftReduxStores={});var Xe=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(qe(a))return a;if(i==null)return;let s=ds({...i,reducers:(t=i.reducers)!==null&&t!==void 0?t:{}}),l=ls({reducer:(u,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...d.overwrites}:s.reducer(u,d)});return window.ftReduxStores[i.name]=new r(s,l)}constructor(e,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ht,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...u)=>{let d=l(...u);return this.reduxStore.dispatch(d),d}:u=>{this.setState({[s]:u})}}})}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 Cu(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))qe(e)&&e.clear()}var Nn={};F(Nn,{scrollHelper:()=>Ru});var Cn,Fr=new Map,Rn=class{lock(e,t){if(t){let n=Fr.get(t);if(n==null||n===e)return Fr.set(t,e),t}}release(e,t){t&&Fr.get(t)===e&&Fr.delete(t)}findFirstScrollableParent(e){let t,n=i=>{var a;i.stopPropagation();let s,l;for(let u of i.composedPath()){let d=u,h=this.elementCanScroll(d);if(h&&d.clientHeight&&d.clientHeight<d.scrollHeight){s=d;break}else h&&l==null&&(l=d)}t=(a=s??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),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,l=So(0,(s-n.scrollTop)/(s-a),1),u=this.computeTopOffsetRatio(t?.position,l)*(a-s)+s;n.scrollTo({behavior:t?.behavior,top:u})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Cn=window.FluidTopicsScrollHelper)!==null&&Cn!==void 0?Cn:new Rn;var Ru=window.FluidTopicsScrollHelper;var In={};F(In,{shadowQuerySelector:()=>Nu,shadowQuerySelectorAll:()=>Iu});function Nu(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 Iu(r,e,...t){let n=[...r.querySelectorAll(e)];for(let i of t)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var _n={};F(_n,{SearchPlaceConverter:()=>$r,SearchPlaceQueryParams:()=>$,isSearchPlaceQueryParams:()=>Ds,serializeRequest:()=>Lu});var _u=Zs(ys(),1);var gs;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(gs||(gs={}));var bs;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(bs||(bs={}));var xs;(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"})(xs||(xs={}));var vs;(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"})(vs||(vs={}));var Ss;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Ss||(Ss={}));var Os;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Os||(Os={}));var Es;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Es||(Es={}));var ws;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(ws||(ws={}));var As;(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"})(As||(As={}));var Cs;(function(r){r.ASC="ASC",r.DESC="DESC"})(Cs||(Cs={}));var Rs;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Rs||(Rs={}));var Ns;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Ns||(Ns={}));var ks=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Is;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Is||(Is={}));var _s;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(_s||(_s={}));var Ps;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Ps||(Ps={}));var Kt;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Kt||(Kt={}));var Us=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Ts;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Ts||(Ts={}));var Ls;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(Ls||(Ls={}));var V;(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"})(V||(V={}));var Fs;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Fs||(Fs={}));var qy={[V.PERSONAL_BOOK_SHARE_USER]:[V.PERSONAL_BOOK_USER],[V.HTML_EXPORT_USER]:[V.PERSONAL_BOOK_USER],[V.PDF_EXPORT_USER]:[V.PERSONAL_BOOK_USER],[V.KHUB_ADMIN]:[V.CONTENT_PUBLISHER],[V.ADMIN]:[V.KHUB_ADMIN,V.USERS_ADMIN,V.PORTAL_ADMIN],[V.DEVELOPER]:[V.BETA_USER,V.DEBUG_USER]};function Pu(r){return`"${r}"`}function Tu(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Lu(r,e){return new $r(r,{}).serialize(e)}var $;(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"})($||($={}));var ku=new Set(Object.values($));function Ds(r){return ku.has(r)}var $r=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,l,u,d,h,p;let y=new URLSearchParams({[$.LOCALE]:(t=e.contentLocale)!==null&&t!==void 0?t:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&y.append($.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&y.append($.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append($.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($.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(I=>this.escapeFilters(I)).map(I=>encodeURIComponent(Pu(I))).join("_");return`${A.key}~${E}`}).join("*");y.append($.VALUE_FILTERS,w)}let b=(u=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(w=>w.dateFilter))!==null&&u!==void 0?u:[];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($.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($.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,l,u,d;let h=((t=e.get($.VIRTUAL_FIELD))!==null&&t!==void 0?t:"EVERYWHERE").toUpperCase(),p=((n=e.get($.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),y=(i=e.get($.SCOPE))!==null&&i!==void 0?i:"default",g={};for(let b of e.keys())Ds(b)||(g[b]=e.get(b));return{contentLocale:e.get($.LOCALE)==="all"?void 0:(a=e.get($.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get($.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:ks(h)?h:"EVERYWHERE",sort:(d=(u=this.predefinedSorts[p])!==null&&u!==void 0?u: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,l;let u=[];return e.has($.FILTERS)&&(u=this.parseValueFilters((t=e.get($.FILTERS))!==null&&t!==void 0?t:"")),(n=e.has($.PERIOD))!==null&&n!==void 0&&n&&(u=[...u,...this.parseLegacyPeriodFilter(((i=e.get($.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...u,...this.parseValueFilters((a=e.get($.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get($.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get($.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}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(Tu).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(t=>({key:t[0],dateFilter:{type:Kt[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(Us(e))return[{key:"ft:lastEdition",dateFilter:{type:Kt[e]}}];if(e.startsWith("CUSTOM_")){let[t,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var Pn={};F(Pn,{toFtFormComponent:()=>Uu});var Br=Symbol("elementInternals");function Uu(r,e){class t extends r{static get formAssociated(){return!0}get form(){return this[Br].form}constructor(...i){super(i),this[Br]=this.attachInternals(),this[Br].role=e}setFormValue(i){this[Br].setFormValue(i)}}return t}var Tn={};F(Tn,{DateFormatter:()=>Qe});var Qe=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 Ln,kn,Un,Fn,Fu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Un=(kn=(Ln=window.safari)===null||Ln===void 0?void 0:Ln.pushNotification)===null||kn===void 0?void 0:kn.toString())!==null&&Un!==void 0?Un:"")==="[object SafariRemoteNotification]",Du="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Fn=window.ftGlobals)!==null&&Fn!==void 0?Fn:{lit:so,litDecorators:lo,litRepeat:uo,litClassMap:fo,litStyleMap:po,litUnsafeHTML:ho,wcUtils:{...go,...yo,...xo,...Tn,...vo,...wo,...No,...To,...zo,...Ro,...Go,...Vo,...ka,...Oo,...Yo,...Jo,...Fa,...Xo,...An,...jo,...Nn,...In,..._n,...Pn,isSafari:Fu,isTouchScreen:Du,setVariable:xr}};var Ug={},Ms=j`
|
|
51
|
+
`;var Mu="ft-app-info",Dn=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},$u={session:(r,e)=>{re(r.session,e.payload)||(r.session=e.payload,setTimeout(()=>_.eventBus.dispatchEvent(new Dn(e.payload)),0))}},_=Xe.get({name:Mu,reducers:$u,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var et=class r{static get(e){let{baseUrl:t,apiIntegrationIdentifier:n}=_.getState(),i=e??n;if(t&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(t,i,!0)}static await(e){return new Promise(t=>{let n=r.get(e);if(n)t(n);else{let i=_.subscribe(()=>{n=r.get(e),n&&(i(),t(n))})}})}};var Te=class{constructor(e=!0,t){var n;this.overrideApi=t;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new se,this.cache=e?i.commonCache:new se}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:et.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):et.await()}clearCache(){this.cache.clearAll()}};var $s,Bu=Symbol("clearAfterUnitTest"),Wr=class extends Te{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[$s]=()=>{this.defaultMessages={},this.cache=new se,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=_.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let t=e.name.toLowerCase();this.cache.setFinal(t,e),this.notify(t)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,t){var n;if(e=e.toLowerCase(),Object.keys(t).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...t};re(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var t,n;return this.fetchContext(e),(n=(t=this.cache.getNow(e))===null||t===void 0?void 0:t.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,t){let n=e.toLowerCase();return this.resolveContext(n)[t]}resolveMessage(e,t,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Wt((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(t,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(t){console.error(t)}}subscribe(e,t){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(t),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(t)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(t=>br(0).then(()=>t()).catch(()=>null)))}};$s=Bu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Wr{constructor(){super(async(r,e)=>(await this.awaitApi).getFluidTopicsMessageContext(r,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Wr{constructor(){super(async(r,e)=>(await this.awaitApi).getCustomMessageContext(r,e))}});var Bs=window.FluidTopicsI18nService,Gg=window.FluidTopicsCustomI18nService;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 l=r.length-1;l>=0;l--)(s=r[l])&&(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},H=class extends X{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>et.get(),this.messageContexts=[],this.cache=new se,this.cleanSessionDebouncer=new Ve}render(){return io`
|
|
51
52
|
<slot></slot>
|
|
52
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(
|
|
53
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&_.actions.noCustom(this.noCustom),e.has("editorMode")&&_.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&_.actions.session(this.session),e.has("availableUiLocales")&&_.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(t=>Bs.addContext(t)),e.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};H.elementDefinitions={};H.styles=Ms;Z([k()],H.prototype,"baseUrl",void 0);Z([k()],H.prototype,"apiIntegrationIdentifier",void 0);Z([k()],H.prototype,"uiLocale",void 0);Z([Oe(null)],H.prototype,"availableUiLocales",void 0);Z([Oe(null)],H.prototype,"metadataConfiguration",void 0);Z([k({type:Boolean})],H.prototype,"editorMode",void 0);Z([k({type:Boolean})],H.prototype,"noCustom",void 0);Z([k({type:Boolean})],H.prototype,"openExternalDocumentInNewTab",void 0);Z([k({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],H.prototype,"noCustomComponent",void 0);Z([k({type:Boolean})],H.prototype,"withManualResources",void 0);Z([k({type:Boolean})],H.prototype,"navigatorOnline",void 0);Z([k({type:Boolean})],H.prototype,"forcedOffline",void 0);Z([k({type:Object})],H.prototype,"apiProvider",void 0);Z([Oe([])],H.prototype,"messageContexts",void 0);Z([Oe(void 0)],H.prototype,"session",void 0);var Hr=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 l=r.length-1;l>=0;l--)(s=r[l])&&(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 lb(r){class e extends r{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(_)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(l=>l.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>Qe.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return Hr([k({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Hr([k({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Hr([Nr({store:_.name,selector:t=>{var n,i;return(i=(n=t.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),Hr([Nr({store:_.name})],e.prototype,"uiLocale",void 0),e}var zr=class extends Te{async listMySearches(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var jr=class extends Te{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Wu="ft-user-assets",Vr=Xe.get({name:Wu,initialState:{savedSearches:void 0,bookmarks:void 0}}),Mn=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new jr,this.savedSearchesService=new zr,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=_.getState();re((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Vr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Vr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Vr.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Vr.actions.bookmarks(t)}}},Sb=new Mn;var $n=class{addCommand(e,t=!1){_.commands.add(e,t)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new $n;var Bn=class{highlightHtml(e,t,n){qo(e,t,n)}};window.FluidTopicsHighlightHtmlService=new Bn;var Wn=class{isDate(e){var t,n,i,a;return(a=(i=((n=(t=_.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,t){var n,i,a;return Qe.format(e,(n=t?.locale)!==null&&n!==void 0?n:_.getState().uiLocale,(i=t?.longFormat)!==null&&i!==void 0?i:!1,(a=t?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Wn;Eo("ft-app-context")(H);})();
|
|
53
54
|
/*! Bundled license information:
|
|
54
55
|
|
|
55
56
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|