@fluid-topics/ft-reader-toc 1.1.83 → 1.1.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- "use strict";(()=>{var Sl=Object.defineProperty;var F=(t,e)=>{for(var r in e)Sl(t,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=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(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,L=new Set(b.observedAttributes||[]);m(b,L,S);let W={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:L};this._definitionsByTag.set(x,W),this._definitionsByClass.set(b,W);let re=r.call(n,x);re||(re=u(x),e.call(n,x,re)),this===window.customElements&&(s.set(b,W),W.standInClass=re);let U=this._awaitingUpgrade.get(x);if(U){this._awaitingUpgrade.delete(x);for(let T of U)a.delete(T),y(T,W,!0)}let _=this._whenDefinedPromises.get(x);return _!==void 0&&(_.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(L=>S.resolve=L),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let L=this._awaitingUpgrade.get(b);L||this._awaitingUpgrade.set(b,L=new Set),S?L.add(x):L.delete(x)}};let c;window.HTMLElement=function(){let b=c;if(b)return c=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(t,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=t.prototype;let p=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!p(b)){let S=E[E.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),p(b)||(b=l.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let L=h(S)||window.customElements,W=L._getDefinition(x);return W?y(S,W):a.set(S,L),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let L=x.prototype.setAttribute;L&&(x.prototype.setAttribute=function(U,_){let T=U.toLowerCase();if(b.has(T)){let M=this.getAttribute(T);L.call(this,T,_),S.call(this,T,M,_)}else L.call(this,T,_)});let W=x.prototype.removeAttribute;W&&(x.prototype.removeAttribute=function(U){let _=U.toLowerCase();if(b.has(_)){let T=this.getAttribute(_);W.call(this,_),S.call(this,_,T,null)}else W.call(this,_)});let re=x.prototype.toggleAttribute;re&&(x.prototype.toggleAttribute=function(U,_){let T=U.toLowerCase();if(b.has(T)){let M=this.getAttribute(T);re.call(this,T,_);let ee=this.getAttribute(T);S.call(this,T,M,ee)}else re.call(this,T,_)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===t?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),c=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(L=>{x.hasAttribute(L)&&b.attributeChangedCallback.call(x,L,null,x.getAttribute(L))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let E=[document],N=(x,b,S=void 0)=>{let L=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){E.push(this);let W=L.apply(S||this,arguments);return W!==void 0&&l.set(W,this),E.pop(),W}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let A=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(L){E.push(this),S.set.call(this,L),E.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 x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...U){let _=b.call(this,...U);return x.set(_,this),_},S.forEach(U=>{let _=window.ElementInternals.prototype,T=_[U];_[U]=function(...M){let ee=x.get(this);if(i.get(ee).formAssociated===!0)return T?.call(this,...M);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class L extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class W{constructor(_){let T=new Map;_.forEach((M,ee)=>{let vr=M.getAttribute("name"),Wi=T.get(vr)||[];this[+ee]=M,Wi.push(M),T.set(vr,Wi)}),this.length=_.length,T.forEach((M,ee)=>{M&&(M.length===1?this[ee]=M[0]:this[ee]=new L(M))})}namedItem(_){return this[_]}}let re=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=re.get.call(this,[]),_=[];for(let T of U){let M=i.get(T);(!M||M.formAssociated===!0)&&_.push(T)}return new W(_)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var Tr={};F(Tr,{CSSResult:()=>Ot,LitElement:()=>Ie,ReactiveElement:()=>Ee,_$LE:()=>Vl,_$LH:()=>Hl,adoptStyles:()=>Ho,css:()=>P,defaultConverter:()=>Fo,getCompatibleStyle:()=>to,html:()=>B,isServer:()=>gp,noChange:()=>Fe,notEqual:()=>Ar,nothing:()=>z,render:()=>Lr,supportsAdoptingStyleSheets:()=>eo,svg:()=>Ul,unsafeCSS:()=>lt});var Ro=globalThis,Po=Ro.ShadowRoot&&(Ro.ShadyCSS===void 0||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Bi=Symbol(),zi=new WeakMap,_o=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Bi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Po&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=zi.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&zi.set(r,e))}return e}toString(){return this.cssText}},Ui=t=>new _o(typeof t=="string"?t:t+"",void 0,Bi);var Sr=(t,e)=>{if(Po)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Ro.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},$o=Po?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Ui(r)})(t):t;var{is:Ol,defineProperty:Cl,getOwnPropertyDescriptor:wl,getOwnPropertyNames:El,getOwnPropertySymbols:Nl,getPrototypeOf:Al}=Object,Lo=globalThis,Hi=Lo.trustedTypes,Rl=Hi?Hi.emptyScript:"",_l=Lo.reactiveElementPolyfillSupport,Zt=(t,e)=>t,qt={toAttribute(t,e){switch(e){case Boolean:t=t?Rl:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},To=(t,e)=>!Ol(t,e),Fi={attribute:!0,type:String,converter:qt,reflect:!1,hasChanged:To};Symbol.metadata??=Symbol("metadata"),Lo.litPropertyMetadata??=new WeakMap;var ot=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Fi){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Cl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=wl(this.prototype,e)??{get(){return this[r]},set(s){this[r]=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)??Fi}static _$Ei(){if(this.hasOwnProperty(Zt("elementProperties")))return;let e=Al(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Zt("properties"))){let r=this.properties,n=[...El(r),...Nl(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift($o(i))}else e!==void 0&&r.push($o(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Sr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:qt).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:qt;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??To)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};ot.elementStyles=[],ot.shadowRootOptions={mode:"open"},ot[Zt("elementProperties")]=new Map,ot[Zt("finalized")]=new Map,_l?.({ReactiveElement:ot}),(Lo.reactiveElementVersions??=[]).push("2.0.2");var Cr=globalThis,Io=Cr.trustedTypes,ji=Io?Io.createPolicy("lit-html",{createHTML:t=>t}):void 0,wr="$lit$",Le=`lit$${(Math.random()+"").slice(9)}$`,Er="?"+Le,Pl=`<${Er}>`,it=document,ko=()=>it.createComment(""),Xt=t=>t===null||typeof t!="object"&&typeof t!="function",Yi=Array.isArray,Xi=t=>Yi(t)||typeof t?.[Symbol.iterator]=="function",Or=`[
2
- \f\r]`,Yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vi=/-->/g,Ki=/>/g,rt=RegExp(`>|${Or}(?:([^\\s"'>=/]+)(${Or}*=${Or}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Gi=/'/g,Zi=/"/g,Ji=/^(?:script|style|textarea|title)$/i,Qi=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ea=Qi(1),ta=Qi(2),pe=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),qi=new WeakMap,nt=it.createTreeWalker(it,129);function oa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ji!==void 0?ji.createHTML(e):e}var ra=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Yt;for(let l=0;l<r;l++){let c=t[l],p,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===Yt?h[1]==="!--"?s=Vi:h[1]!==void 0?s=Ki:h[2]!==void 0?(Ji.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=rt):h[3]!==void 0&&(s=rt):s===rt?h[0]===">"?(s=i??Yt,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?rt:h[3]==='"'?Zi:Gi):s===Zi||s===Gi?s=rt:s===Vi||s===Ki?s=Yt:(s=rt,i=void 0);let g=s===rt&&t[l+1].startsWith("/>")?" ":"";a+=s===Yt?c+Pl:u>=0?(n.push(p),c.slice(0,u)+wr+c.slice(u)+Le+g):c+Le+(u===-2?l:g)}return[oa(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Jt=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[p,h]=ra(e,r);if(this.el=t.createElement(p,n),nt.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=nt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(wr)){let m=h[s++],g=i.getAttribute(u).split(Le),y=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Do:y[1]==="?"?Wo:y[1]==="@"?zo:st}),i.removeAttribute(u)}else u.startsWith(Le)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(Ji.test(i.tagName)){let u=i.textContent.split(Le),m=u.length-1;if(m>0){i.textContent=Io?Io.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],ko()),nt.nextNode(),c.push({type:2,index:++a});i.append(u[m],ko())}}}else if(i.nodeType===8)if(i.data===Er)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Le,u+1))!==-1;)c.push({type:7,index:a}),u+=Le.length-1}a++}}static createElement(e,r){let n=it.createElement("template");return n.innerHTML=e,n}};function at(t,e,r=t,n){if(e===pe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Xt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=at(t,i._$AS(t,e.values),i,n)),e}var Mo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??it).importNode(r,!0);nt.currentNode=i;let a=nt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let p;c.type===2?p=new Qt(a,a.nextSibling,this,e):c.type===1?p=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(p=new Bo(a,this,e)),this._$AV.push(p),c=n[++l]}s!==c?.index&&(a=nt.nextNode(),s++)}return nt.currentNode=it,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Qt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=at(this,e,r),Xt(e)?e===Y||e==null||e===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):e!==this._$AH&&e!==pe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Xi(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!==Y&&Xt(this._$AH)?this._$AA.nextSibling.data=e:this.$(it.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Jt.createElement(oa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Mo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=qi.get(e.strings);return r===void 0&&qi.set(e.strings,r=new Jt(e)),r}T(e){Yi(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(ko()),this.k(ko()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Y}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=at(this,e,r,0),s=!Xt(e)||e!==this._$AH&&e!==pe,s&&(this._$AH=e);else{let l=e,c,p;for(e=a[0],c=0;c<a.length-1;c++)p=at(this,l[n+c],r,c),p===pe&&(p=this._$AH[c]),s||=!Xt(p)||p!==this._$AH[c],p===Y?e=Y:e!==Y&&(e+=(p??"")+a[c+1]),this._$AH[c]=p}s&&!i&&this.O(e)}O(e){e===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Do=class extends st{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Y?void 0:e}},Wo=class extends st{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Y)}},zo=class extends st{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=at(this,e,r,0)??Y)===pe)return;let n=this._$AH,i=e===Y&&n!==Y||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==Y&&(n===Y||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)}},Bo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){at(this,e)}},na={j:wr,P:Le,A:Er,C:1,M:ra,L:Mo,R:Xi,V:at,D:Qt,I:st,H:Wo,N:zo,U:Do,B:Bo},$l=Cr.litHtmlPolyfillSupport;$l?.(Jt,Qt),(Cr.litHtmlVersions??=[]).push("3.1.0");var Uo=globalThis,eo=Uo.ShadowRoot&&(Uo.ShadyCSS===void 0||Uo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Nr=Symbol(),ia=new WeakMap,Ot=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Nr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(eo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=ia.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ia.set(r,e))}return e}toString(){return this.cssText}},lt=t=>new Ot(typeof t=="string"?t:t+"",void 0,Nr),P=(t,...e)=>{let r=t.length===1?t[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)+t[a+1],t[0]);return new Ot(r,t,Nr)},Ho=(t,e)=>{if(eo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Uo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},to=eo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return lt(r)})(t):t;var{is:Ll,defineProperty:Tl,getOwnPropertyDescriptor:Il,getOwnPropertyNames:kl,getOwnPropertySymbols:Ml,getPrototypeOf:Dl}=Object,jo=globalThis,aa=jo.trustedTypes,Wl=aa?aa.emptyScript:"",zl=jo.reactiveElementPolyfillSupport,oo=(t,e)=>t,Fo={toAttribute(t,e){switch(e){case Boolean:t=t?Wl:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Ar=(t,e)=>!Ll(t,e),sa={attribute:!0,type:String,converter:Fo,reflect:!1,hasChanged:Ar};Symbol.metadata??=Symbol("metadata"),jo.litPropertyMetadata??=new WeakMap;var Ee=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=sa){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Tl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Il(this.prototype,e)??{get(){return this[r]},set(s){this[r]=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)??sa}static _$Ei(){if(this.hasOwnProperty(oo("elementProperties")))return;let e=Dl(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(oo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(oo("properties"))){let r=this.properties,n=[...kl(r),...Ml(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(to(i))}else e!==void 0&&r.push(to(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ho(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Fo).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Fo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Ar)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ee.elementStyles=[],Ee.shadowRootOptions={mode:"open"},Ee[oo("elementProperties")]=new Map,Ee[oo("finalized")]=new Map,zl?.({ReactiveElement:Ee}),(jo.reactiveElementVersions??=[]).push("2.0.2");var _r=globalThis,Vo=_r.trustedTypes,la=Vo?Vo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pr="$lit$",Te=`lit$${(Math.random()+"").slice(9)}$`,$r="?"+Te,Bl=`<${$r}>`,pt=document,no=()=>pt.createComment(""),io=t=>t===null||typeof t!="object"&&typeof t!="function",ha=Array.isArray,ma=t=>ha(t)||typeof t?.[Symbol.iterator]=="function",Rr=`[
4
- \f\r]`,ro=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ca=/-->/g,da=/>/g,ct=RegExp(`>|${Rr}(?:([^\\s"'>=/]+)(${Rr}*=${Rr}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),pa=/'/g,fa=/"/g,ga=/^(?:script|style|textarea|title)$/i,ya=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),B=ya(1),Ul=ya(2),Fe=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),ua=new WeakMap,dt=pt.createTreeWalker(pt,129);function ba(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return la!==void 0?la.createHTML(e):e}var xa=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=ro;for(let l=0;l<r;l++){let c=t[l],p,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===ro?h[1]==="!--"?s=ca:h[1]!==void 0?s=da:h[2]!==void 0?(ga.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ct):h[3]!==void 0&&(s=ct):s===ct?h[0]===">"?(s=i??ro,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?ct:h[3]==='"'?fa:pa):s===fa||s===pa?s=ct:s===ca||s===da?s=ro:(s=ct,i=void 0);let g=s===ct&&t[l+1].startsWith("/>")?" ":"";a+=s===ro?c+Bl:u>=0?(n.push(p),c.slice(0,u)+Pr+c.slice(u)+Te+g):c+Te+(u===-2?l:g)}return[ba(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},ao=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[p,h]=xa(e,r);if(this.el=t.createElement(p,n),dt.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=dt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Pr)){let m=h[s++],g=i.getAttribute(u).split(Te),y=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Go:y[1]==="?"?Zo:y[1]==="@"?qo:ut}),i.removeAttribute(u)}else u.startsWith(Te)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(ga.test(i.tagName)){let u=i.textContent.split(Te),m=u.length-1;if(m>0){i.textContent=Vo?Vo.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],no()),dt.nextNode(),c.push({type:2,index:++a});i.append(u[m],no())}}}else if(i.nodeType===8)if(i.data===$r)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Te,u+1))!==-1;)c.push({type:7,index:a}),u+=Te.length-1}a++}}static createElement(e,r){let n=pt.createElement("template");return n.innerHTML=e,n}};function ft(t,e,r=t,n){if(e===Fe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=io(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=ft(t,i._$AS(t,e.values),i,n)),e}var Ko=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??pt).importNode(r,!0);dt.currentNode=i;let a=dt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let p;c.type===2?p=new Ct(a,a.nextSibling,this,e):c.type===1?p=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(p=new Yo(a,this,e)),this._$AV.push(p),c=n[++l]}s!==c?.index&&(a=dt.nextNode(),s++)}return dt.currentNode=pt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ft(this,e,r),io(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==Fe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ma(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&&io(this._$AH)?this._$AA.nextSibling.data=e:this.$(pt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ao.createElement(ba(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Ko(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=ua.get(e.strings);return r===void 0&&ua.set(e.strings,r=new ao(e)),r}T(e){ha(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(no()),this.k(no()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ut=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=z}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ft(this,e,r,0),s=!io(e)||e!==this._$AH&&e!==Fe,s&&(this._$AH=e);else{let l=e,c,p;for(e=a[0],c=0;c<a.length-1;c++)p=ft(this,l[n+c],r,c),p===Fe&&(p=this._$AH[c]),s||=!io(p)||p!==this._$AH[c],p===z?e=z:e!==z&&(e+=(p??"")+a[c+1]),this._$AH[c]=p}s&&!i&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Go=class extends ut{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},Zo=class extends ut{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},qo=class extends ut{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ft(this,e,r,0)??z)===Fe)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)}},Yo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ft(this,e)}},Hl={j:Pr,P:Te,A:$r,C:1,M:xa,L:Ko,R:ma,V:ft,D:Ct,I:ut,H:Zo,N:qo,U:Go,B:Yo},Fl=_r.litHtmlPolyfillSupport;Fl?.(ao,Ct),(_r.litHtmlVersions??=[]).push("3.1.0");var Lr=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ct(e.insertBefore(no(),a),a,void 0,r??{})}return i._$AI(t),i};var Ie=class extends Ee{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Lr(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Fe}};Ie._$litElement$=!0,Ie.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ie});var jl=globalThis.litElementPolyfillSupport;jl?.({LitElement:Ie});var Vl={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var gp=!1;var kr={};F(kr,{customElement:()=>Kl,eventOptions:()=>wt,property:()=>O,query:()=>oe,queryAll:()=>ql,queryAssignedElements:()=>Xl,queryAssignedNodes:()=>Ir,queryAsync:()=>Yl,standardProperty:()=>va,state:()=>G});var Kl=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Gl={attribute:!0,type:String,converter:qt,reflect:!1,hasChanged:To},va=(t=Gl,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+n)};function O(t){return(e,r)=>typeof r=="object"?va(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}function G(t){return O({...t,state:!0,attribute:!1})}function wt(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var xe=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function oe(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(p){this[c]=p}}})();return xe(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return xe(r,n,{get(){return a(this)}})}}var Zl;function ql(t){return(e,r)=>xe(e,r,{get(){return(this.renderRoot??(Zl??=document.createDocumentFragment())).querySelectorAll(t)}})}function Yl(t){return(e,r)=>xe(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Xl(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return xe(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function Ir(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return xe(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Mr={};F(Mr,{repeat:()=>Jo});var je={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ve=t=>(...e)=>({_$litDirective$:t,values:e}),Ne=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Jl}=na;var Sa=()=>document.createComment(""),Et=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Sa(),i),s=n.insertBefore(Sa(),i);r=new Jl(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let p=c.nextSibling;n.insertBefore(c,i),c=p}}}return r},Ke=(t,e,r=t)=>(t._$AI(e,r),t),Ql={},Oa=(t,e=Ql)=>t._$AH=e,Ca=t=>t._$AH,Xo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var wa=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Jo=Ve(class extends Ne{constructor(t){if(super(t),t.type!==je.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=Ca(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],p,h,u=0,m=i.length-1,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(l[u]===s[g])c[g]=Ke(i[u],a[g]),u++,g++;else if(l[m]===s[y])c[y]=Ke(i[m],a[y]),m--,y--;else if(l[u]===s[y])c[y]=Ke(i[u],a[y]),Et(t,c[y+1],i[u]),u++,y--;else if(l[m]===s[g])c[g]=Ke(i[m],a[g]),Et(t,i[u],i[m]),m--,g++;else if(p===void 0&&(p=wa(s,g,y),h=wa(l,u,m)),p.has(l[u]))if(p.has(l[m])){let v=h.get(s[g]),E=v!==void 0?i[v]:null;if(E===null){let N=Et(t,i[u]);Ke(N,a[g]),c[g]=N}else c[g]=Ke(E,a[g]),Et(t,i[u],E),i[v]=null;g++}else Xo(i[m]),m--;else Xo(i[u]),u++;for(;g<=y;){let v=Et(t,c[y+1]);Ke(v,a[g]),c[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&Xo(v)}return this.dt=s,Oa(t,c),pe}});var Dr={};F(Dr,{classMap:()=>ke});var ke=Ve(class extends Ne{constructor(t){if(super(t),t.type!==je.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return pe}});var zr={};F(zr,{styleMap:()=>Wr});var Ea="important",ec=" !"+Ea,Wr=Ve(class extends Ne{constructor(t){if(super(t),t.type!==je.ATTRIBUTE||t.name!=="style"||t.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(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(ec);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Ea:""):r[n]=i}}return pe}});var Ur={};F(Ur,{UnsafeHTMLDirective:()=>Nt,unsafeHTML:()=>Br});var Nt=class extends Ne{constructor(e){if(super(e),this.et=Y,e.type!==je.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Y||e==null)return this.vt=void 0,this.et=e;if(e===pe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Nt.directiveName="unsafeHTML",Nt.resultType=1;var Br=Ve(Nt);var Vr={};F(Vr,{CacheRegistry:()=>jr});var Fr={};F(Fr,{CancelablePromise:()=>At,CanceledPromiseError:()=>so,cancelable:()=>Hr});var so=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},At=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new so("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new so("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Hr=t=>new At((e,r)=>t.then(e).catch(r));var jr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof At&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Hr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Gr={};F(Gr,{ClusteringHelper:()=>Kr});var Kr=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.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(p=>t.extractResultMetadata(p,e)).map(p=>p??{key:e,label:l,value:void 0,displayValue:n}).filter(p=>p.value!=s?.value).filter((p,h,u)=>u.findIndex(m=>m.value===p.value)===h).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,h)=>this.compareMetadata(p.metadata.value,h.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(c=>{var p;return((p=t.extractResultMetadata(c,e))===null||p===void 0?void 0:p.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let p=this.countMatchingMetadata(c,a);if(p>l&&(l=p,s=c,p===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Zr={};F(Zr,{Debouncer:()=>fe});var fe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(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 Yr={};F(Yr,{customElement:()=>X,isNumber:()=>Pa,jsonProperty:()=>co,optionalNumberProperty:()=>sc});var qr={};F(qr,{dateReviver:()=>oc,deepEqual:()=>lo,delay:()=>Na,eventPathContainsMatchingElement:()=>nc,flatDeep:()=>Ra,hasChanged:()=>Me,last:()=>ac,minmax:()=>ic,parseDate:()=>_a,waitFor:()=>Aa,waitUntil:()=>tc});var Na=t=>new Promise(e=>setTimeout(e,t));async function tc(t,e=10,r=2e4){await Aa(async()=>await t()||void 0,e,r)}async function Aa(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Na(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ra(t,e){return t.flatMap(r=>[r,...Ra(e(r),e)])}function oc(...t){return function(e,r){return t.includes(e)?_a(r):r}}function _a(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function rc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!lo(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!lo(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!lo(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function lo(t,e){try{return rc(t,e)}catch{return!1}}function Me(t,e){return!lo(t,e)}function nc(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function ic(t,e,r){return Math.min(Math.max(t,e),r)}function ac(t){return t[t.length-1]}var X=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function co(t,e){let r=()=>JSON.parse(JSON.stringify(t));return O({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Me,...e??{}})}function sc(t){return O({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Pa(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Pa(t){return!isNaN(parseFloat(t))}var Nn={};F(Nn,{designSystemVariables:()=>I});var En={};F(En,{DesignSystemFamily:()=>Cn,DesignSystemSize:()=>wn,FtCssVariableFactory:()=>o,badge:()=>fc,banner:()=>pc,breadcrumb:()=>uc,button:()=>w,chart:()=>Nc,checkbox:()=>Rc,chip:()=>cc,collapsible:()=>wc,comboboxMultiSelect:()=>Sc,comboboxSingleSelect:()=>vc,drawer:()=>gc,floatingMenu:()=>xc,foundation:()=>d,link:()=>dc,modal:()=>mc,notice:()=>Ac,notification:()=>$c,pageHeader:()=>hc,popover:()=>Oc,radio:()=>Pc,resolveFamilyClass:()=>Tc,resolveSizeClass:()=>Ic,semantic:()=>f,setVariable:()=>$,switch_:()=>Ec,tabs:()=>Cc,textArea:()=>bc,textInput:()=>yc,toggle:()=>_c,tooltip:()=>Lc,typographies:()=>po,typographyBody1Medium:()=>on,typographyBody1Regular:()=>tn,typographyBody1Semibold:()=>rn,typographyBody2Medium:()=>an,typographyBody2MediumUnderline:()=>$a,typographyBody2Regular:()=>nn,typographyBody2Semibold:()=>sn,typographyCaption1Bold:()=>gn,typographyCaption1Medium:()=>hn,typographyCaption1Semibold:()=>mn,typographyCaption2Bold:()=>xn,typographyCaption2Medium:()=>yn,typographyCaption2Semibold:()=>bn,typographyCaption3Bold:()=>On,typographyCaption3Medium:()=>vn,typographyCaption3Semibold:()=>Sn,typographyDisplay:()=>Xr,typographyLabel1Bold:()=>dn,typographyLabel1Medium:()=>ln,typographyLabel1Semibold:()=>cn,typographyLabel2Bold:()=>un,typographyLabel2Medium:()=>pn,typographyLabel2Semibold:()=>fn,typographyTitle1:()=>Jr,typographyTitle2:()=>Qr,typographyTitle3:()=>en,typographyVariants:()=>lc});var De=t=>typeof t=="string"?lt(t):t,o=class{static create(e,r,n,i){let a=l=>De(l??i),s=P`var(${De(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>P`var(${De(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=P`var(${De(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>P`var(${De(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):De(a??e.lastResortDefaultValue()),i=P`var(${De(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>P`var(${De(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function $(t,e){return De(`${t.name}: ${e}`)}var d={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"),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)")},Xr={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")},Jr={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")},Qr={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")},en={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")},tn={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")},on={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")},rn={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")},nn={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")},an={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")},$a={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")},sn={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")},ln={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")},cn={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")},dn={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")},pn={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")},fn={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")},un={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")},hn={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")},mn={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")},gn={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")},yn={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")},bn={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")},xn={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")},vn={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")},Sn={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")},On={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")},po={display:Xr,"title-1":Jr,"title-2":Qr,"title-3":en,"body-1-regular":tn,"body-1-medium":on,"body-1-semibold":rn,"body-2-regular":nn,"body-2-medium":an,"body-2-medium-underline":$a,"body-2-semibold":sn,"label-1-medium":ln,"label-1-semibold":cn,"label-1-bold":dn,"label-2-medium":pn,"label-2-semibold":fn,"label-2-bold":un,"caption-1-medium":hn,"caption-1-semibold":mn,"caption-1-bold":gn,"caption-2-medium":yn,"caption-2-semibold":bn,"caption-2-bold":xn,"caption-3-medium":vn,"caption-3-semibold":Sn,"caption-3-bold":On},lc=["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.",d.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var w={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:o.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",d.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","",d.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",d.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","",d.spacing2),smallGap:o.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",d.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","",d.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","",d.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","",d.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",d.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","",d.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",d.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","",d.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",d.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","",d.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var cc={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:o.extend("--ft-chip-large-gap","",d.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.extend("--ft-chip-large-border-radius","",d.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",d.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.extend("--ft-chip-medium-border-radius","",d.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:o.extend("--ft-chip-small-gap","",d.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.extend("--ft-chip-small-border-radius","",d.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",d.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 dc={focusOpacity:o.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)};var pc={iconSize:o.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",d.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 fc={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var uc={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",d.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 hc={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",d.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",d.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 mc={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","",d.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",d.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","",d.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:o.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",d.borderRadiusM)};var gc={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",d.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","",d.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",d.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","",d.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)};var yc={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",d.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","",d.opacity40)};var bc={backgroundColor:o.extend("--ft-text-area-background-color","",d.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","",d.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var xc={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",d.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","",d.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","",d.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var vc={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",d.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","",d.opacity40)};var Sc={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",d.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","",d.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var Oc={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",d.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","",d.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",d.shadowElevation02)};var Cc={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",d.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity8),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity0),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity16),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var wc={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",d.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","",d.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",d.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","",d.iconSize3)};var Ec={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:o.extend("--ft-switch-group-gap","",d.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","",d.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",d.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","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",d.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","",d.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",d.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","",d.borderRadiusS)};var Nc={color1Light:o.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",d.colorRed40),color5Base:o.extend("--ft-chart-5-base","",d.colorRed60),color6Light:o.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",d.colorGray50),color10Base:o.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Ac={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:o.extend("--ft-notice-gap","",d.spacing2),iconSize:o.extend("--ft-notice-icon-size","",d.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 Rc={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","",d.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.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","",d.spacing3)};var _c={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",d.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","",d.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",d.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","",d.spacing3)};var Pc={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","",d.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",d.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","",d.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",d.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","",d.spacing3)};var $c={iconSize:o.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",d.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","",d.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",d.spacing8)};var Lc={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",d.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","",d.opacity80),shadow:o.extend("--ft-tooltip-shadow","",d.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",d.spacing05)};var Cn;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Cn||(Cn={}));var wn;(function(t){t.large="large",t.medium="medium",t.small="small"})(wn||(wn={}));function Tc(t){return`design-system--family-${t}`}function Ic(t){return`design-system--size-${t}`}var I={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 Pn={};F(Pn,{FtNotificationEvent:()=>An,PostResizeEvent:()=>_n,PreResizeEvent:()=>Rn});var An=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Rn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},_n=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Hn={};F(Hn,{computeOffsetPosition:()=>Un});var Ta=["top","right","bottom","left"],La=["start","end"],Ln=Ta.reduce((t,e)=>t.concat(e,e+"-"+La[0],e+"-"+La[1]),[]),fo=Math.min,Ge=Math.max,uo=Math.round;var We=t=>({x:t,y:t}),kc={left:"right",right:"left",bottom:"top",top:"bottom"},Mc={start:"end",end:"start"};function Tn(t,e,r){return Ge(t,fo(e,r))}function Qo(t,e){return typeof t=="function"?t(e):t}function Rt(t){return t.split("-")[0]}function Ze(t){return t.split("-")[1]}function In(t){return t==="x"?"y":"x"}function kn(t){return t==="y"?"height":"width"}function er(t){return["top","bottom"].includes(Rt(t))?"y":"x"}function Mn(t){return In(er(t))}function Ia(t,e,r){r===void 0&&(r=!1);let n=Ze(t),i=Mn(t),a=kn(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=$n(s)),[s,$n(s)]}function ka(t){return t.replace(/start|end/g,e=>Mc[e])}function $n(t){return t.replace(/left|right|bottom|top/g,e=>kc[e])}function Dc(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ma(t){return typeof t!="number"?Dc(t):{top:t,right:t,bottom:t,left:t}}function ht(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Da(t,e,r){let{reference:n,floating:i}=t,a=er(e),s=Mn(e),l=kn(s),c=Rt(e),p=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,g;switch(c){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:u};break;case"left":g={x:n.x-i.width,y:u};break;default:g={x:n.x,y:n.y}}switch(Ze(e)){case"start":g[s]-=m*(r&&p?-1:1);break;case"end":g[s]+=m*(r&&p?-1:1);break}return g}var Wa=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:u}=Da(p,n,c),m=n,g={},y=0;for(let v=0;v<l.length;v++){let{name:E,fn:N}=l[v],{x:A,y:x,data:b,reset:S}=await N({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:p,platform:s,elements:{reference:t,floating:e}});if(h=A??h,u=x??u,g={...g,[E]:{...g[E],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(p=S.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):S.rects),{x:h,y:u}=Da(p,m,c)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function Dn(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=Qo(e,t),y=Ma(g),E=l[m?u==="floating"?"reference":"floating":u],N=ht(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(E)))==null||r?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:c})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=ht(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:x,strategy:c}):A);return{top:(N.top-S.top+y.top)/b.y,bottom:(S.bottom-N.bottom+y.bottom)/b.y,left:(N.left-S.left+y.left)/b.x,right:(S.right-N.right+y.right)/b.x}}function Wc(t,e,r){return(t?[...r.filter(i=>Ze(i)===t),...r.filter(i=>Ze(i)!==t)]:r.filter(i=>Rt(i)===i)).filter(i=>t?Ze(i)===t||(e?ka(i)!==i:!1):!0)}var Wn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:p}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:m=Ln,autoAlignment:g=!0,...y}=Qo(t,e),v=u!==void 0||m===Ln?Wc(u||null,g,m):m,E=await Dn(e,y),N=((r=s.autoPlacement)==null?void 0:r.index)||0,A=v[N];if(A==null)return{};let x=Ia(A,a,await(c.isRTL==null?void 0:c.isRTL(p.floating)));if(l!==A)return{reset:{placement:v[0]}};let b=[E[Rt(A)],E[x[0]],E[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:b}],L=v[N+1];if(L)return{data:{index:N+1,overflows:S},reset:{placement:L}};let W=S.map(_=>{let T=Ze(_.placement);return[_.placement,T&&h?_.overflows.slice(0,2).reduce((M,ee)=>M+ee,0):_.overflows[0],_.overflows]}).sort((_,T)=>_[1]-T[1]),U=((i=W.filter(_=>_[2].slice(0,Ze(_[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||W[0][0];return U!==l?{data:{index:N+1,overflows:S},reset:{placement:U}}:{}}}};var zn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:E=>{let{x:N,y:A}=E;return{x:N,y:A}}},...c}=Qo(t,e),p={x:r,y:n},h=await Dn(e,c),u=er(Rt(i)),m=In(u),g=p[m],y=p[u];if(a){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",A=g+h[E],x=g-h[N];g=Tn(A,g,x)}if(s){let E=u==="y"?"top":"left",N=u==="y"?"bottom":"right",A=y+h[E],x=y-h[N];y=Tn(A,y,x)}let v=l.fn({...e,[m]:g,[u]:y});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function ze(t){return Ba(t)?(t.nodeName||"").toLowerCase():"#document"}function ne(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Be(t){var e;return(e=(Ba(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ba(t){return t instanceof Node||t instanceof ne(t).Node}function Ae(t){return t instanceof Element||t instanceof ne(t).Element}function ve(t){return t instanceof HTMLElement||t instanceof ne(t).HTMLElement}function za(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ne(t).ShadowRoot}function _t(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Ua(t){return["table","td","th"].includes(ze(t))}function or(t){let e=rr(),r=ue(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ha(t){let e=mt(t);for(;ve(e)&&!ho(e);){if(or(e))return e;e=mt(e)}return null}function rr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ho(t){return["html","body","#document"].includes(ze(t))}function ue(t){return ne(t).getComputedStyle(t)}function mo(t){return Ae(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function mt(t){if(ze(t)==="html")return t;let e=t.assignedSlot||t.parentNode||za(t)&&t.host||Be(t);return za(e)?e.host:e}function Fa(t){let e=mt(t);return ho(e)?t.ownerDocument?t.ownerDocument.body:t.body:ve(e)&&_t(e)?e:Fa(e)}function tr(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Fa(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=ne(i);return a?e.concat(s,s.visualViewport||[],_t(i)?i:[],s.frameElement&&r?tr(s.frameElement):[]):e.concat(i,tr(i,[],r))}function Ka(t){let e=ue(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ve(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=uo(r)!==a||uo(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Ga(t){return Ae(t)?t:t.contextElement}function Pt(t){let e=Ga(t);if(!ve(e))return We(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ka(e),s=(a?uo(r.width):r.width)/n,l=(a?uo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var zc=We(0);function Za(t){let e=ne(t);return!rr()||!e.visualViewport?zc:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Bc(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ne(t)?!1:e}function go(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Ga(t),s=We(1);e&&(n?Ae(n)&&(s=Pt(n)):s=Pt(t));let l=Bc(a,r,n)?Za(a):We(0),c=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=ne(a),g=n&&Ae(n)?ne(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=Pt(y),E=y.getBoundingClientRect(),N=ue(y),A=E.left+(y.clientLeft+parseFloat(N.paddingLeft))*v.x,x=E.top+(y.clientTop+parseFloat(N.paddingTop))*v.y;c*=v.x,p*=v.y,h*=v.x,u*=v.y,c+=A,p+=x,y=ne(y).frameElement}}return ht({width:h,height:u,x:c,y:p})}function Uc(t){let{rect:e,offsetParent:r,strategy:n}=t,i=ve(r),a=Be(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=We(1),c=We(0);if((i||!i&&n!=="fixed")&&((ze(r)!=="body"||_t(a))&&(s=mo(r)),ve(r))){let p=go(r);l=Pt(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function Hc(t){return Array.from(t.getClientRects())}function qa(t){return go(Be(t)).left+mo(t).scrollLeft}function Fc(t){let e=Be(t),r=mo(t),n=t.ownerDocument.body,i=Ge(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ge(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+qa(t),l=-r.scrollTop;return ue(n).direction==="rtl"&&(s+=Ge(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function jc(t,e){let r=ne(t),n=Be(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let p=rr();(!p||p&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function Vc(t,e){let r=go(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=ve(t)?Pt(t):We(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,p=n*a.y;return{width:s,height:l,x:c,y:p}}function ja(t,e,r){let n;if(e==="viewport")n=jc(t,r);else if(e==="document")n=Fc(Be(t));else if(Ae(e))n=Vc(e,r);else{let i=Za(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return ht(n)}function Ya(t,e){let r=mt(t);return r===e||!Ae(r)||ho(r)?!1:ue(r).position==="fixed"||Ya(r,e)}function Kc(t,e){let r=e.get(t);if(r)return r;let n=tr(t,[],!1).filter(l=>Ae(l)&&ze(l)!=="body"),i=null,a=ue(t).position==="fixed",s=a?mt(t):t;for(;Ae(s)&&!ho(s);){let l=ue(s),c=or(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||_t(s)&&!c&&Ya(t,s))?n=n.filter(h=>h!==s):i=l,s=mt(s)}return e.set(t,n),n}function Gc(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?Kc(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((p,h)=>{let u=ja(e,h,i);return p.top=Ge(u.top,p.top),p.right=fo(u.right,p.right),p.bottom=fo(u.bottom,p.bottom),p.left=Ge(u.left,p.left),p},ja(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Zc(t){return Ka(t)}function qc(t,e,r){let n=ve(e),i=Be(e),a=r==="fixed",s=go(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=We(0);if(n||!n&&!a)if((ze(e)!=="body"||_t(i))&&(l=mo(e)),n){let p=go(e,!0,a,e);c.x=p.x+e.clientLeft,c.y=p.y+e.clientTop}else i&&(c.x=qa(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Va(t,e){return!ve(t)||ue(t).position==="fixed"?null:e?e(t):t.offsetParent}function Xa(t,e){let r=ne(t);if(!ve(t))return r;let n=Va(t,e);for(;n&&Ua(n)&&ue(n).position==="static";)n=Va(n,e);return n&&(ze(n)==="html"||ze(n)==="body"&&ue(n).position==="static"&&!or(n))?r:n||Ha(t)||r}var Yc=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Xa,a=this.getDimensions;return{reference:qc(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Xc(t){return ue(t).direction==="rtl"}var nr={convertOffsetParentRelativeRectToViewportRelativeRect:Uc,getDocumentElement:Be,getClippingRect:Gc,getOffsetParent:Xa,getElementRects:Yc,getClientRects:Hc,getDimensions:Zc,getScale:Pt,isElement:Ae,isRTL:Xc};var Ja=(t,e,r)=>{let n=new Map,i={platform:nr,...r},a={...i.platform,_c:n};return Wa(t,e,{...i,platform:a})};function Qa(t){return Jc(t)}function Bn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Jc(t){for(let e=t;e;e=Bn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Bn(t);e;e=Bn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Un(t,e,r){return Ja(t,e,{platform:{...nr,getOffsetParent:n=>nr.getOffsetParent(n,Qa)},middleware:[zn({crossAxis:!0}),Wn({allowedPlacements:[r]})]})}var jn={};F(jn,{FtLitElement:()=>K});var Fn={};F(Fn,{ScopedRegistryLitElement:()=>yo});var ir=window,Qc=ir.ShadowRoot&&(ir.ShadyCSS===void 0||ir.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Cm=Symbol();var es=(t,e)=>{Qc?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=ir.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var yo=class extends Ie{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return es(n,e.elementStyles),n}};var ar=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},rs,ts=Symbol("constructorPrototype"),os=Symbol("constructorName"),ns=Symbol("exportpartsDebouncer"),K=class extends yo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rs]=new fe(5),this[os]=this.constructor.name,this[ts]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[os]&&Object.setPrototypeOf(this,this[ts])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[ns].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,l;let c=m=>m!=null&&m.trim().length>0,p=e.filter(c).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...g,...y).filter(c).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>p.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};rs=ns;ar([O()],K.prototype,"exportpartsPrefix",void 0);ar([co([])],K.prototype,"exportpartsPrefixes",void 0);ar([O()],K.prototype,"customStylesheet",void 0);ar([G()],K.prototype,"useAdoptedStyleSheets",void 0);var is={};var Gn={};F(Gn,{highlightHtml:()=>od,highlightHtmlColorCssVariable:()=>as,highlightHtmlStyles:()=>td});var gt=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(p=>{t.matches(p,this.exclude)?c():this.onIframeReady(p,h=>{r(p)&&(l++,n(h)),c()},c)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),l=[],c=[],p,h,u=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;u();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>c.push(g),i)}),c.push(p);c.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var bo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new gt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return gt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),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,r,n,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let p=r-s.start,h=(n>s.end?s.end:n)-s.start,u=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=u+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(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let p;for(;(p=e.exec(c.textContent))!==null&&p[s]!=="";){if(!n(p[s],c))continue;let h=p.index;if(s!==0)for(let u=1;u<s;u++)h+=p[u].length;c=this.wrapRangeInTextNode(c,h,h+p[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let p=c.index;if(s!==0)for(let u=1;u<s;u++)p+=c[u].length;let h=p+c[s].length;this.wrapRangeInMappedTextNode(l,p,h,u=>n(c[s],u),(u,m)=>{e.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:p,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,p,h,m=>r(m,l,a.value.substring(p,h),c),m=>{n(m,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=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,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,p,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):c(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=gt.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Vn(t){let e=new bo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var ed=Vn,as=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),td=P`
1
+ "use strict";(()=>{var Rl=Object.defineProperty;var Z=(t,e)=>{for(var r in e)Rl(t,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,c=new WeakMap,l=new WeakMap,s=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" 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 w=S.prototype.attributeChangedCallback,k=new Set(S.observedAttributes||[]);b(S,k,w);let M={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(O,M),this._definitionsByClass.set(S,M);let ie=r.call(n,O);ie||(ie=m(O),e.call(n,O,ie)),this===window.customElements&&(l.set(S,M),M.standInClass=ie);let G=this._awaitingUpgrade.get(O);if(G){this._awaitingUpgrade.delete(O);for(let T of G)c.delete(T),v(T,M,!0)}let $=this._whenDefinedPromises.get(O);return $!==void 0&&($.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){A.push(this),n.upgrade.apply(n,arguments),A.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(k=>w.resolve=k),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,S,w){let k=this._awaitingUpgrade.get(S);k||this._awaitingUpgrade.set(S,k=new Set),w?k.add(O):k.delete(O)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let w=l.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,w),S},window.HTMLElement.prototype=t.prototype;let u=O=>O===document||O instanceof ShadowRoot,y=O=>{let S=O.getRootNode();if(!u(S)){let w=A[A.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),u(S)||(S=s.get(S)?.getRootNode()||document)}return S.customElements},m=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let k=y(w)||window.customElements,M=k._getDefinition(O);return M?v(w,M):c.set(w,k),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):c.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):c.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},b=(O,S,w)=>{if(S.size===0||w===void 0)return;let k=O.prototype.setAttribute;k&&(O.prototype.setAttribute=function(G,$){let T=G.toLowerCase();if(S.has(T)){let B=this.getAttribute(T);k.call(this,T,$),w.call(this,T,B,$)}else k.call(this,T,$)});let M=O.prototype.removeAttribute;M&&(O.prototype.removeAttribute=function(G){let $=G.toLowerCase();if(S.has($)){let T=this.getAttribute($);M.call(this,$),w.call(this,$,T,null)}else M.call(this,$)});let ie=O.prototype.toggleAttribute;ie&&(O.prototype.toggleAttribute=function(G,$){let T=G.toLowerCase();if(S.has(T)){let B=this.getAttribute(T);ie.call(this,T,$);let re=this.getAttribute(T);w.call(this,T,B,re)}else ie.call(this,T,$)})},x=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(O,window.HTMLElement):x(S)},v=(O,S,w=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),d=O;try{new S.elementClass}catch{x(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(k=>{O.hasAttribute(k)&&S.attributeChangedCallback.call(O,k,null,O.getAttribute(k))}),w&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=C.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let A=[document],I=(O,S,w=void 0)=>{let k=(w?Object.getPrototypeOf(w):O.prototype)[S];O.prototype[S]=function(){A.push(this);let M=k.apply(w||this,arguments);return M!==void 0&&s.set(M,this),A.pop(),M}};I(ShadowRoot,"createElement",document),I(ShadowRoot,"importNode",document),I(Element,"insertAdjacentHTML");let P=(O,S)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...w,set(k){A.push(this),w.set.call(this,k),A.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...G){let $=S.call(this,...G);return O.set($,this),$},w.forEach(G=>{let $=window.ElementInternals.prototype,T=$[G];$[G]=function(...B){let re=O.get(this);if(i.get(re).formAssociated===!0)return T?.call(this,...B);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor($){super(...$),this._elements=$}get value(){return this._elements.find($=>$.checked===!0)?.value||""}}class M{constructor($){let T=new Map;$.forEach((B,re)=>{let wr=B.getAttribute("name"),Ha=T.get(wr)||[];this[+re]=B,Ha.push(B),T.set(wr,Ha)}),this.length=$.length,T.forEach((B,re)=>{B&&(B.length===1?this[re]=B[0]:this[re]=new k(B))})}namedItem($){return this[$]}}let ie=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let G=ie.get.call(this,[]),$=[];for(let T of G){let B=i.get(T);(!B||B.formAssociated===!0)&&$.push(T)}return new M($)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(c){console.info(r,n,i,c)}}}var Ur={};Z(Ur,{CSSResult:()=>Nt,LitElement:()=>ze,ReactiveElement:()=>Ae,_$LE:()=>Xl,_$LH:()=>jl,adoptStyles:()=>Zo,css:()=>L,defaultConverter:()=>Vo,getCompatibleStyle:()=>ao,html:()=>F,isServer:()=>Cp,noChange:()=>Ve,notEqual:()=>Lr,nothing:()=>H,render:()=>Tr,supportsAdoptingStyleSheets:()=>no,svg:()=>Vl,unsafeCSS:()=>Te});var _o=globalThis,Wo=_o.ShadowRoot&&(_o.ShadyCSS===void 0||_o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ga=Symbol(),Fa=new WeakMap,$o=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ga)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Wo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Fa.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Fa.set(r,e))}return e}toString(){return this.cssText}},Ka=t=>new $o(typeof t=="string"?t:t+"",void 0,Ga);var Er=(t,e)=>{if(Wo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=_o.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},ko=Wo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Ka(r)})(t):t;var{is:Al,defineProperty:Il,getOwnPropertyDescriptor:Pl,getOwnPropertyNames:Ll,getOwnPropertySymbols:_l,getPrototypeOf:$l}=Object,To=globalThis,Za=To.trustedTypes,Wl=Za?Za.emptyScript:"",kl=To.reactiveElementPolyfillSupport,Jt=(t,e)=>t,Qt={toAttribute(t,e){switch(e){case Boolean:t=t?Wl:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Uo=(t,e)=>!Al(t,e),Va={attribute:!0,type:String,converter:Qt,reflect:!1,hasChanged:Uo};Symbol.metadata??=Symbol("metadata"),To.litPropertyMetadata??=new WeakMap;var ct=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Va){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Il(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:c}=Pl(this.prototype,e)??{get(){return this[r]},set(l){this[r]=l}};return{get(){return i?.call(this)},set(l){let s=i?.call(this);c.call(this,l),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Va}static _$Ei(){if(this.hasOwnProperty(Jt("elementProperties")))return;let e=$l(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Jt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Jt("properties"))){let r=this.properties,n=[...Ll(r),..._l(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(ko(i))}else e!==void 0&&r.push(ko(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Er(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let c=(n.converter?.toAttribute!==void 0?n.converter:Qt).toAttribute(r,n.type);this._$Em=e,c==null?this.removeAttribute(i):this.setAttribute(i,c),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let c=n.getPropertyOptions(i),l=typeof c.converter=="function"?{fromAttribute:c.converter}:c.converter?.fromAttribute!==void 0?c.converter:Qt;this._$Em=i,this[i]=l.fromAttribute(r,c.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,c){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Uo)(i?c:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,c]of this._$Ep)this[i]=c;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,c]of n)c.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],c)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};ct.elementStyles=[],ct.shadowRootOptions={mode:"open"},ct[Jt("elementProperties")]=new Map,ct[Jt("finalized")]=new Map,kl?.({ReactiveElement:ct}),(To.reactiveElementVersions??=[]).push("2.0.2");var Rr=globalThis,zo=Rr.trustedTypes,ja=zo?zo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ar="$lit$",ke=`lit$${(Math.random()+"").slice(9)}$`,Ir="?"+ke,Tl=`<${Ir}>`,dt=document,Bo=()=>dt.createComment(""),to=t=>t===null||typeof t!="object"&&typeof t!="function",ei=Array.isArray,ti=t=>ei(t)||typeof t?.[Symbol.iterator]=="function",Nr=`[
2
+ \f\r]`,eo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ya=/-->/g,qa=/>/g,lt=RegExp(`>|${Nr}(?:([^\\s"'>=/]+)(${Nr}*=${Nr}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Xa=/'/g,Ja=/"/g,oi=/^(?:script|style|textarea|title)$/i,ri=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ni=ri(1),ai=ri(2),he=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),Qa=new WeakMap,st=dt.createTreeWalker(dt,129);function ii(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ja!==void 0?ja.createHTML(e):e}var ci=(t,e)=>{let r=t.length-1,n=[],i,c=e===2?"<svg>":"",l=eo;for(let s=0;s<r;s++){let d=t[s],u,y,m=-1,b=0;for(;b<d.length&&(l.lastIndex=b,y=l.exec(d),y!==null);)b=l.lastIndex,l===eo?y[1]==="!--"?l=Ya:y[1]!==void 0?l=qa:y[2]!==void 0?(oi.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=lt):y[3]!==void 0&&(l=lt):l===lt?y[0]===">"?(l=i??eo,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,u=y[1],l=y[3]===void 0?lt:y[3]==='"'?Ja:Xa):l===Ja||l===Xa?l=lt:l===Ya||l===qa?l=eo:(l=lt,i=void 0);let x=l===lt&&t[s+1].startsWith("/>")?" ":"";c+=l===eo?d+Tl:m>=0?(n.push(u),d.slice(0,m)+Ar+d.slice(m)+ke+x):d+ke+(m===-2?s:x)}return[ii(t,c+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},oo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let c=0,l=0,s=e.length-1,d=this.parts,[u,y]=ci(e,r);if(this.el=t.createElement(u,n),st.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=st.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Ar)){let b=y[l++],x=i.getAttribute(m).split(ke),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:c,name:v[2],strings:x,ctor:v[1]==="."?Mo:v[1]==="?"?Ho:v[1]==="@"?Fo:ft}),i.removeAttribute(m)}else m.startsWith(ke)&&(d.push({type:6,index:c}),i.removeAttribute(m));if(oi.test(i.tagName)){let m=i.textContent.split(ke),b=m.length-1;if(b>0){i.textContent=zo?zo.emptyScript:"";for(let x=0;x<b;x++)i.append(m[x],Bo()),st.nextNode(),d.push({type:2,index:++c});i.append(m[b],Bo())}}}else if(i.nodeType===8)if(i.data===Ir)d.push({type:2,index:c});else{let m=-1;for(;(m=i.data.indexOf(ke,m+1))!==-1;)d.push({type:7,index:c}),m+=ke.length-1}c++}}static createElement(e,r){let n=dt.createElement("template");return n.innerHTML=e,n}};function pt(t,e,r=t,n){if(e===he)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,c=to(e)?void 0:e._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=pt(t,i._$AS(t,e.values),i,n)),e}var Do=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??dt).importNode(r,!0);st.currentNode=i;let c=st.nextNode(),l=0,s=0,d=n[0];for(;d!==void 0;){if(l===d.index){let u;d.type===2?u=new ro(c,c.nextSibling,this,e):d.type===1?u=new d.ctor(c,d.name,d.strings,this,e):d.type===6&&(u=new Go(c,this,e)),this._$AV.push(u),d=n[++s]}l!==d?.index&&(c=st.nextNode(),l++)}return st.currentNode=dt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},ro=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=pt(this,e,r),to(e)?e===Q||e==null||e===""?(this._$AH!==Q&&this._$AR(),this._$AH=Q):e!==this._$AH&&e!==he&&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!==Q&&to(this._$AH)?this._$AA.nextSibling.data=e:this.$(dt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=oo.createElement(ii(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let c=new Do(i,this),l=c.u(this.options);c.p(r),this.$(l),this._$AH=c}}_$AC(e){let r=Qa.get(e.strings);return r===void 0&&Qa.set(e.strings,r=new oo(e)),r}T(e){ei(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let c of e)i===r.length?r.push(n=new t(this.k(Bo()),this.k(Bo()),this,this.options)):n=r[i],n._$AI(c),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,c){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Q}_$AI(e,r=this,n,i){let c=this.strings,l=!1;if(c===void 0)e=pt(this,e,r,0),l=!to(e)||e!==this._$AH&&e!==he,l&&(this._$AH=e);else{let s=e,d,u;for(e=c[0],d=0;d<c.length-1;d++)u=pt(this,s[n+d],r,d),u===he&&(u=this._$AH[d]),l||=!to(u)||u!==this._$AH[d],u===Q?e=Q:e!==Q&&(e+=(u??"")+c[d+1]),this._$AH[d]=u}l&&!i&&this.O(e)}O(e){e===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Mo=class extends ft{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Q?void 0:e}},Ho=class extends ft{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Q)}},Fo=class extends ft{constructor(e,r,n,i,c){super(e,r,n,i,c),this.type=5}_$AI(e,r=this){if((e=pt(this,e,r,0)??Q)===he)return;let n=this._$AH,i=e===Q&&n!==Q||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,c=e!==Q&&(n===Q||i);i&&this.element.removeEventListener(this.name,this,n),c&&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)}},Go=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){pt(this,e)}},li={j:Ar,P:ke,A:Ir,C:1,M:ci,L:Do,R:ti,V:pt,D:ro,I:ft,H:Ho,N:Fo,U:Mo,B:Go},Ul=Rr.litHtmlPolyfillSupport;Ul?.(oo,ro),(Rr.litHtmlVersions??=[]).push("3.1.0");var Ko=globalThis,no=Ko.ShadowRoot&&(Ko.ShadyCSS===void 0||Ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pr=Symbol(),si=new WeakMap,Nt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Pr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(no&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=si.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&si.set(r,e))}return e}toString(){return this.cssText}},Te=t=>new Nt(typeof t=="string"?t:t+"",void 0,Pr),L=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,c)=>n+(l=>{if(l._$cssResult$===!0)return l.cssText;if(typeof l=="number")return l;throw Error("Value passed to 'css' function must be a 'css' function result: "+l+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[c+1],t[0]);return new Nt(r,t,Pr)},Zo=(t,e)=>{if(no)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Ko.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},ao=no?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Te(r)})(t):t;var{is:zl,defineProperty:Bl,getOwnPropertyDescriptor:Dl,getOwnPropertyNames:Ml,getOwnPropertySymbols:Hl,getPrototypeOf:Fl}=Object,jo=globalThis,di=jo.trustedTypes,Gl=di?di.emptyScript:"",Kl=jo.reactiveElementPolyfillSupport,io=(t,e)=>t,Vo={toAttribute(t,e){switch(e){case Boolean:t=t?Gl:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Lr=(t,e)=>!zl(t,e),pi={attribute:!0,type:String,converter:Vo,reflect:!1,hasChanged:Lr};Symbol.metadata??=Symbol("metadata"),jo.litPropertyMetadata??=new WeakMap;var Ae=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=pi){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Bl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:c}=Dl(this.prototype,e)??{get(){return this[r]},set(l){this[r]=l}};return{get(){return i?.call(this)},set(l){let s=i?.call(this);c.call(this,l),this.requestUpdate(e,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??pi}static _$Ei(){if(this.hasOwnProperty(io("elementProperties")))return;let e=Fl(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(io("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(io("properties"))){let r=this.properties,n=[...Ml(r),...Hl(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(ao(i))}else e!==void 0&&r.push(ao(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Zo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let c=(n.converter?.toAttribute!==void 0?n.converter:Vo).toAttribute(r,n.type);this._$Em=e,c==null?this.removeAttribute(i):this.setAttribute(i,c),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let c=n.getPropertyOptions(i),l=typeof c.converter=="function"?{fromAttribute:c.converter}:c.converter?.fromAttribute!==void 0?c.converter:Vo;this._$Em=i,this[i]=l.fromAttribute(r,c.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,c){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Lr)(i?c:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,c]of this._$Ep)this[i]=c;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,c]of n)c.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],c)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ae.elementStyles=[],Ae.shadowRootOptions={mode:"open"},Ae[io("elementProperties")]=new Map,Ae[io("finalized")]=new Map,Kl?.({ReactiveElement:Ae}),(jo.reactiveElementVersions??=[]).push("2.0.2");var $r=globalThis,Yo=$r.trustedTypes,fi=Yo?Yo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wr="$lit$",Ue=`lit$${(Math.random()+"").slice(9)}$`,kr="?"+Ue,Zl=`<${kr}>`,gt=document,lo=()=>gt.createComment(""),so=t=>t===null||typeof t!="object"&&typeof t!="function",bi=Array.isArray,xi=t=>bi(t)||typeof t?.[Symbol.iterator]=="function",_r=`[
4
+ \f\r]`,co=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ui=/-->/g,hi=/>/g,ut=RegExp(`>|${_r}(?:([^\\s"'>=/]+)(${_r}*=${_r}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),gi=/'/g,mi=/"/g,vi=/^(?:script|style|textarea|title)$/i,Si=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),F=Si(1),Vl=Si(2),Ve=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),yi=new WeakMap,ht=gt.createTreeWalker(gt,129);function Oi(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return fi!==void 0?fi.createHTML(e):e}var Ci=(t,e)=>{let r=t.length-1,n=[],i,c=e===2?"<svg>":"",l=co;for(let s=0;s<r;s++){let d=t[s],u,y,m=-1,b=0;for(;b<d.length&&(l.lastIndex=b,y=l.exec(d),y!==null);)b=l.lastIndex,l===co?y[1]==="!--"?l=ui:y[1]!==void 0?l=hi:y[2]!==void 0?(vi.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=ut):y[3]!==void 0&&(l=ut):l===ut?y[0]===">"?(l=i??co,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,u=y[1],l=y[3]===void 0?ut:y[3]==='"'?mi:gi):l===mi||l===gi?l=ut:l===ui||l===hi?l=co:(l=ut,i=void 0);let x=l===ut&&t[s+1].startsWith("/>")?" ":"";c+=l===co?d+Zl:m>=0?(n.push(u),d.slice(0,m)+Wr+d.slice(m)+Ue+x):d+Ue+(m===-2?s:x)}return[Oi(t,c+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},po=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let c=0,l=0,s=e.length-1,d=this.parts,[u,y]=Ci(e,r);if(this.el=t.createElement(u,n),ht.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=ht.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Wr)){let b=y[l++],x=i.getAttribute(m).split(Ue),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:c,name:v[2],strings:x,ctor:v[1]==="."?Xo:v[1]==="?"?Jo:v[1]==="@"?Qo:yt}),i.removeAttribute(m)}else m.startsWith(Ue)&&(d.push({type:6,index:c}),i.removeAttribute(m));if(vi.test(i.tagName)){let m=i.textContent.split(Ue),b=m.length-1;if(b>0){i.textContent=Yo?Yo.emptyScript:"";for(let x=0;x<b;x++)i.append(m[x],lo()),ht.nextNode(),d.push({type:2,index:++c});i.append(m[b],lo())}}}else if(i.nodeType===8)if(i.data===kr)d.push({type:2,index:c});else{let m=-1;for(;(m=i.data.indexOf(Ue,m+1))!==-1;)d.push({type:7,index:c}),m+=Ue.length-1}c++}}static createElement(e,r){let n=gt.createElement("template");return n.innerHTML=e,n}};function mt(t,e,r=t,n){if(e===Ve)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,c=so(e)?void 0:e._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=mt(t,i._$AS(t,e.values),i,n)),e}var qo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??gt).importNode(r,!0);ht.currentNode=i;let c=ht.nextNode(),l=0,s=0,d=n[0];for(;d!==void 0;){if(l===d.index){let u;d.type===2?u=new Rt(c,c.nextSibling,this,e):d.type===1?u=new d.ctor(c,d.name,d.strings,this,e):d.type===6&&(u=new er(c,this,e)),this._$AV.push(u),d=n[++s]}l!==d?.index&&(c=ht.nextNode(),l++)}return ht.currentNode=gt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Rt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=mt(this,e,r),so(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Ve&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):xi(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==H&&so(this._$AH)?this._$AA.nextSibling.data=e:this.$(gt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=po.createElement(Oi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let c=new qo(i,this),l=c.u(this.options);c.p(r),this.$(l),this._$AH=c}}_$AC(e){let r=yi.get(e.strings);return r===void 0&&yi.set(e.strings,r=new po(e)),r}T(e){bi(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let c of e)i===r.length?r.push(n=new t(this.k(lo()),this.k(lo()),this,this.options)):n=r[i],n._$AI(c),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},yt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,c){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(e,r=this,n,i){let c=this.strings,l=!1;if(c===void 0)e=mt(this,e,r,0),l=!so(e)||e!==this._$AH&&e!==Ve,l&&(this._$AH=e);else{let s=e,d,u;for(e=c[0],d=0;d<c.length-1;d++)u=mt(this,s[n+d],r,d),u===Ve&&(u=this._$AH[d]),l||=!so(u)||u!==this._$AH[d],u===H?e=H:e!==H&&(e+=(u??"")+c[d+1]),this._$AH[d]=u}l&&!i&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Xo=class extends yt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},Jo=class extends yt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},Qo=class extends yt{constructor(e,r,n,i,c){super(e,r,n,i,c),this.type=5}_$AI(e,r=this){if((e=mt(this,e,r,0)??H)===Ve)return;let n=this._$AH,i=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,c=e!==H&&(n===H||i);i&&this.element.removeEventListener(this.name,this,n),c&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},er=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){mt(this,e)}},jl={j:Wr,P:Ue,A:kr,C:1,M:Ci,L:qo,R:xi,V:mt,D:Rt,I:yt,H:Jo,N:Qo,U:Xo,B:er},Yl=$r.litHtmlPolyfillSupport;Yl?.(po,Rt),($r.litHtmlVersions??=[]).push("3.1.0");var Tr=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let c=r?.renderBefore??null;n._$litPart$=i=new Rt(e.insertBefore(lo(),c),c,void 0,r??{})}return i._$AI(t),i};var ze=class extends Ae{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Tr(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ve}};ze._$litElement$=!0,ze.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ze});var ql=globalThis.litElementPolyfillSupport;ql?.({LitElement:ze});var Xl={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Cp=!1;var Br={};Z(Br,{customElement:()=>Jl,eventOptions:()=>At,property:()=>E,query:()=>ae,queryAll:()=>ts,queryAssignedElements:()=>rs,queryAssignedNodes:()=>zr,queryAsync:()=>os,standardProperty:()=>wi,state:()=>q});var Jl=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Ql={attribute:!0,type:String,converter:Qt,reflect:!1,hasChanged:Uo},wi=(t=Ql,e,r)=>{let{kind:n,metadata:i}=r,c=globalThis.litPropertyMetadata.get(i);if(c===void 0&&globalThis.litPropertyMetadata.set(i,c=new Map),c.set(r.name,t),n==="accessor"){let{name:l}=r;return{set(s){let d=e.get.call(this);e.set.call(this,s),this.requestUpdate(l,d,t)},init(s){return s!==void 0&&this.C(l,void 0,t),s}}}if(n==="setter"){let{name:l}=r;return function(s){let d=this[l];e.call(this,s),this.requestUpdate(l,d,t)}}throw Error("Unsupported decorator location: "+n)};function E(t){return(e,r)=>typeof r=="object"?wi(t,e,r):((n,i,c)=>{let l=i.hasOwnProperty(c);return i.constructor.createProperty(c,l?{...n,wrapped:!0}:n),l?Object.getOwnPropertyDescriptor(i,c):void 0})(t,e,r)}function q(t){return E({...t,state:!0,attribute:!1})}function At(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Oe=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function ae(t,e){return(r,n,i)=>{let c=l=>l.renderRoot?.querySelector(t)??null;if(e){let{get:l,set:s}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Oe(r,n,{get(){let d=l.call(this);return d===void 0&&(d=c(this),(d!==null||this.hasUpdated)&&s.call(this,d)),d}})}return Oe(r,n,{get(){return c(this)}})}}var es;function ts(t){return(e,r)=>Oe(e,r,{get(){return(this.renderRoot??(es??=document.createDocumentFragment())).querySelectorAll(t)}})}function os(t){return(e,r)=>Oe(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function rs(t){return(e,r)=>{let{slot:n,selector:i}=t??{},c="slot"+(n?`[name=${n}]`:":not([name])");return Oe(e,r,{get(){let l=this.renderRoot?.querySelector(c),s=l?.assignedElements(t)??[];return i===void 0?s:s.filter(d=>d.matches(i))}})}}function zr(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Oe(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Dr={};Z(Dr,{repeat:()=>or});var je={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ye=t=>(...e)=>({_$litDirective$:t,values:e}),Ie=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:ns}=li;var Ei=()=>document.createComment(""),It=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let c=n.insertBefore(Ei(),i),l=n.insertBefore(Ei(),i);r=new ns(c,l,t,t.options)}else{let c=r._$AB.nextSibling,l=r._$AM,s=l!==t;if(s){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==l._$AU&&r._$AP(d)}if(c!==i||s){let d=r._$AA;for(;d!==c;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},qe=(t,e,r=t)=>(t._$AI(e,r),t),as={},Ni=(t,e=as)=>t._$AH=e,Ri=t=>t._$AH,tr=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Ai=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},or=Ye(class extends Ie{constructor(t){if(super(t),t.type!==je.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],c=[],l=0;for(let s of t)i[l]=n?n(s,l):l,c[l]=r(s,l),l++;return{values:c,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=Ri(t),{values:c,keys:l}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=l,c;let s=this.dt??=[],d=[],u,y,m=0,b=i.length-1,x=0,v=c.length-1;for(;m<=b&&x<=v;)if(i[m]===null)m++;else if(i[b]===null)b--;else if(s[m]===l[x])d[x]=qe(i[m],c[x]),m++,x++;else if(s[b]===l[v])d[v]=qe(i[b],c[v]),b--,v--;else if(s[m]===l[v])d[v]=qe(i[m],c[v]),It(t,d[v+1],i[m]),m++,v--;else if(s[b]===l[x])d[x]=qe(i[b],c[x]),It(t,i[m],i[b]),b--,x++;else if(u===void 0&&(u=Ai(l,x,v),y=Ai(s,m,b)),u.has(s[m]))if(u.has(s[b])){let C=y.get(l[x]),A=C!==void 0?i[C]:null;if(A===null){let I=It(t,i[m]);qe(I,c[x]),d[x]=I}else d[x]=qe(A,c[x]),It(t,i[m],A),i[C]=null;x++}else tr(i[b]),b--;else tr(i[m]),m++;for(;x<=v;){let C=It(t,d[v+1]);qe(C,c[x]),d[x++]=C}for(;m<=b;){let C=i[m++];C!==null&&tr(C)}return this.dt=l,Ni(t,d),he}});var Mr={};Z(Mr,{classMap:()=>Be});var Be=Ye(class extends Ie{constructor(t){if(super(t),t.type!==je.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return he}});var Fr={};Z(Fr,{styleMap:()=>Hr});var Ii="important",is=" !"+Ii,Hr=Ye(class extends Ie{constructor(t){if(super(t),t.type!==je.ATTRIBUTE||t.name!=="style"||t.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(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let c=typeof i=="string"&&i.endsWith(is);n.includes("-")||c?r.setProperty(n,c?i.slice(0,-11):i,c?Ii:""):r[n]=i}}return he}});var Kr={};Z(Kr,{UnsafeHTMLDirective:()=>Pt,unsafeHTML:()=>Gr});var Pt=class extends Ie{constructor(e){if(super(e),this.et=Q,e.type!==je.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Q||e==null)return this.vt=void 0,this.et=e;if(e===he)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Pt.directiveName="unsafeHTML",Pt.resultType=1;var Gr=Ye(Pt);var Yr={};Z(Yr,{CacheRegistry:()=>jr});var Vr={};Z(Vr,{CancelablePromise:()=>Lt,CanceledPromiseError:()=>fo,cancelable:()=>Zr});var fo=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Lt=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new fo("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new fo("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Zr=t=>new Lt((e,r)=>t.then(e).catch(r));var jr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Lt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Zr(r());return this.content[e]=i,i.then(c=>(this.content[e]=c,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),c))}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 Xr={};Z(Xr,{ClusteringHelper:()=>qr});var qr=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let c=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(c):t.flattenMetadata(c.find(l=>l.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(c=>{n.push(c.join(" > ")),c.length>2?i.push(`... > ${c[c.length-1]}`):i.push(c.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,c;let l=t.extractResultMetadata(this.selectedResult,e),s=(i=l?.label)!==null&&i!==void 0?i:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:s,value:void 0,displayValue:n}).filter(u=>u.value!=l?.value).filter((u,y,m)=>m.findIndex(b=>b.value===u.value)===y).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,y)=>this.compareMetadata(u.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let c=this.getMetadataDescriptor(n),l=c?.sortRule||"NONE",s=c?.reverseSort||!1;if(l=="ALPHABET"||l=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return s?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==r}),c=[...t.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],l,s=-1;for(let d of n){let u=this.countMatchingMetadata(d,c);if(u>s&&(s=u,l=d,u===c.length))break}return l}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Jr={};Z(Jr,{Debouncer:()=>ge});var ge=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,c=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){i(s);return}c(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var en={};Z(en,{customElement:()=>ee,isNumber:()=>Wi,jsonProperty:()=>ho,optionalNumberProperty:()=>us});var Qr={};Z(Qr,{dateReviver:()=>ls,deepEqual:()=>uo,delay:()=>Pi,eventPathContainsMatchingElement:()=>ds,flatDeep:()=>_i,hasChanged:()=>De,last:()=>fs,minmax:()=>ps,parseDate:()=>$i,waitFor:()=>Li,waitUntil:()=>cs});var Pi=t=>new Promise(e=>setTimeout(e,t));async function cs(t,e=10,r=2e4){await Li(async()=>await t()||void 0,e,r)}async function Li(t,e=10,r=2e4){let n=await t(),i,c;for(i=c=performance.now();n==null&&(!r||c-i<r);)await Pi(e),n=await t(),c=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function _i(t,e){return t.flatMap(r=>[r,..._i(e(r),e)])}function ls(...t){return function(e,r){return t.includes(e)?$i(r):r}}function $i(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function ss(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!uo(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!uo(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var c=i[n];if(!uo(t[c],e[c]))return!1}return!0}return t!==t&&e!==e}function uo(t,e){try{return ss(t,e)}catch{return!1}}function De(t,e){return!uo(t,e)}function ds(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(c=>i.matches(c)))return!0}}return!1}function ps(t,e,r){return Math.min(Math.max(t,e),r)}function fs(t){return t[t.length-1]}var ee=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function ho(t,e){let r=()=>JSON.parse(JSON.stringify(t));return E({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:De,...e??{}})}function us(t){return E({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Wi(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Wi(t){return!isNaN(parseFloat(t))}var Pn={};Z(Pn,{designSystemVariables:()=>U});var In={};Z(In,{DesignSystemFamily:()=>Rn,DesignSystemSize:()=>An,FtCssVariableFactory:()=>o,badge:()=>xs,banner:()=>bs,breadcrumb:()=>vs,button:()=>gs,chart:()=>$s,checkbox:()=>ks,chip:()=>ms,collapsible:()=>Ls,comboboxMultiSelect:()=>Is,comboboxSingleSelect:()=>As,drawer:()=>Cs,floatingMenu:()=>Rs,foundation:()=>f,link:()=>ys,modal:()=>Os,notice:()=>Ws,notification:()=>zs,pageHeader:()=>Ss,popover:()=>Ps,radio:()=>Us,resolveFamilyClass:()=>Ds,resolveSizeClass:()=>Ms,semantic:()=>h,setVariable:()=>W,switch_:()=>_s,tabs:()=>ws,textArea:()=>Ns,textInput:()=>Es,toggle:()=>Ts,tooltip:()=>Bs,typographies:()=>go,typographyBody1Medium:()=>cn,typographyBody1Regular:()=>an,typographyBody1Semibold:()=>ln,typographyBody2Medium:()=>dn,typographyBody2MediumUnderline:()=>ki,typographyBody2Regular:()=>sn,typographyBody2Semibold:()=>pn,typographyCaption1Bold:()=>vn,typographyCaption1Medium:()=>bn,typographyCaption1Semibold:()=>xn,typographyCaption2Bold:()=>Cn,typographyCaption2Medium:()=>Sn,typographyCaption2Semibold:()=>On,typographyCaption3Bold:()=>Nn,typographyCaption3Medium:()=>wn,typographyCaption3Semibold:()=>En,typographyDisplay:()=>tn,typographyLabel1Bold:()=>hn,typographyLabel1Medium:()=>fn,typographyLabel1Semibold:()=>un,typographyLabel2Bold:()=>yn,typographyLabel2Medium:()=>gn,typographyLabel2Semibold:()=>mn,typographyTitle1:()=>on,typographyTitle2:()=>rn,typographyTitle3:()=>nn,typographyVariants:()=>hs});var Me=t=>typeof t=="string"?Te(t):t,o=class{static create(e,r,n,i){let c=s=>Me(s??i),l=L`var(${Me(e)}, ${c(i)})`;return l.name=e,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>L`var(${Me(e)}, ${c(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,r,n,i){let c=s=>n.get(s??i),l=L`var(${Me(e)}, ${c(i)})`;return l.name=e,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>L`var(${Me(e)}, ${c(s)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,r){let n=c=>e.fallbackVariable?e.fallbackVariable.get(c??e.defaultValue):Me(c??e.lastResortDefaultValue()),i=L`var(${Me(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=c=>L`var(${Me(e.name)}, ${n(c)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function W(t,e){return Me(`${t.name}: ${e}`)}var f={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"),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)")},tn={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")},on={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")},rn={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")},nn={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")},an={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")},cn={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")},ln={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")},sn={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")},dn={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")},ki={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")},pn={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")},fn={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")},un={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")},hn={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")},gn={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")},mn={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")},yn={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")},bn={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")},xn={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")},vn={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")},Sn={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")},On={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")},Cn={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")},wn={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")},En={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")},Nn={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")},go={display:tn,"title-1":on,"title-2":rn,"title-3":nn,"body-1-regular":an,"body-1-medium":cn,"body-1-semibold":ln,"body-2-regular":sn,"body-2-medium":dn,"body-2-medium-underline":ki,"body-2-semibold":pn,"label-1-medium":fn,"label-1-semibold":un,"label-1-bold":hn,"label-2-medium":gn,"label-2-semibold":mn,"label-2-bold":yn,"caption-1-medium":bn,"caption-1-semibold":xn,"caption-1-bold":vn,"caption-2-medium":Sn,"caption-2-semibold":On,"caption-2-bold":Cn,"caption-3-medium":wn,"caption-3-semibold":En,"caption-3-bold":Nn},hs=["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 h={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",f.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",f.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",f.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",f.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",f.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",f.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",f.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",f.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",f.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",f.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",f.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",f.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",f.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",f.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",f.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",f.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",f.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",f.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",f.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",f.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",f.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",f.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",f.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",f.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",f.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",f.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",f.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",f.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",f.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",f.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",f.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",f.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",f.colorGray80)};var gs={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",f.spacing4),largeGap:o.extend("--ft-button-large-gap","",f.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",f.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",f.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","",f.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",f.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",f.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",f.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","",f.spacing2),smallGap:o.extend("--ft-button-small-gap","",f.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",f.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",f.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","",f.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","",f.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",h.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",h.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",h.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",h.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",f.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",f.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",f.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",h.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",h.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",h.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",h.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",f.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",f.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",f.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",f.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",h.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",h.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",h.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",f.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",f.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",f.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",f.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",h.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",h.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",h.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",h.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",f.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",f.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",f.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",f.opacity40)};var ms={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",f.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",f.spacing1),largeGap:o.extend("--ft-chip-large-gap","",f.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","",f.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",f.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",f.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",f.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","",f.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",f.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",f.spacing05),smallGap:o.extend("--ft-chip-small-gap","",f.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","",f.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",h.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",h.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",h.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",h.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",h.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",h.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",h.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",h.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",h.borderErrorSubtle)};var ys={focusOpacity:o.extend("--ft-link-focus-opacity","",f.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",h.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",h.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",h.contentInfoPrimary)};var bs={iconSize:o.extend("--ft-banner-icon-size","",f.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",f.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",f.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",f.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",f.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",f.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",f.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",f.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",h.borderInfoSubtle)};var xs={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",f.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",f.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",f.borderRadiusPill),color:o.extend("--ft-badge-color","",h.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",h.contentActionPrimary)};var vs={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",f.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",h.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",h.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",h.contentGlobalSubtle)};var Ss={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",f.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",f.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",f.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",f.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",f.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",f.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",f.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",h.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",h.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",h.contentGlobalSecondary)};var Os={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","",f.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-modal-shadow","",f.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",f.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",f.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",f.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",f.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",h.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",h.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",f.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",f.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",f.spacing6),headerGap:o.extend("--ft-modal-header-gap","",f.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",f.borderRadiusM)};var Cs={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-drawer-shadow","",f.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",f.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",f.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",f.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",h.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",h.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",f.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",f.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",h.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",h.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",h.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",f.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",f.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",f.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","",f.colorGray700)};var ws={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",f.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",f.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",f.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-tabs-off-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",h.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",h.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",f.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",f.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",f.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",f.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",f.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",f.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",f.opacity24),onColor:o.extend("--ft-tabs-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",h.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",h.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",f.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",f.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",f.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",f.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",h.borderActionFocusRing)};var Es={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",h.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",h.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",h.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","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",h.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","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",f.opacity40)};var Ns={backgroundColor:o.extend("--ft-text-area-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",h.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",h.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","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",h.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",h.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","",f.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",f.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",f.borderRadiusM)};var Rs={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",f.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",h.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",h.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",h.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",f.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",f.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",f.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",f.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",f.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",h.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",f.shadowElevation02)};var As={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",f.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",f.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",h.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",h.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",h.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","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",h.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",h.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",f.opacity40)};var Is={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",h.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",h.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",h.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",h.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",h.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","",f.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",f.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",f.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",f.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",f.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",f.borderRadiusM)};var Ps={backgroundColor:o.extend("--ft-popover-background-color","",h.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",f.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",f.spacing6),titleColor:o.extend("--ft-popover-title-color","",h.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",h.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",h.contentActionPrimary),gap:o.extend("--ft-popover-gap","",f.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",f.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",f.shadowElevation02)};var Ls={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",f.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",f.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",h.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",f.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",f.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",f.spacing3),color:o.extend("--ft-collapsible-color","",h.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",h.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",h.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",h.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",f.iconSize3)};var _s={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",f.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",f.spacing1),groupGap:o.extend("--ft-switch-group-gap","",f.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",h.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",h.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",f.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",f.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",f.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",f.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",f.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-switch-off-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",f.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",f.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",f.opacity40),onColor:o.extend("--ft-switch-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",h.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",f.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",f.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",h.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",f.borderRadiusS)};var $s={color1Light:o.extend("--ft-chart-1-light","for area color charts",f.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",f.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",f.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",f.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",f.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",f.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",f.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",f.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",f.colorRed40),color5Base:o.extend("--ft-chart-5-base","",f.colorRed60),color6Light:o.extend("--ft-chart-6-light","",f.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",f.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",f.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",f.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",f.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",f.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",f.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",f.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",f.colorGray50),color10Base:o.extend("--ft-chart-10-base","",f.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",f.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",f.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",f.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",f.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",f.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",f.colorBrand200)};var Ws={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",f.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",f.borderRadiusS),gap:o.extend("--ft-notice-gap","",f.spacing2),iconSize:o.extend("--ft-notice-icon-size","",f.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",h.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",h.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",h.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",h.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",h.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",h.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",h.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",h.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",h.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",h.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",h.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",h.contentSuccessIconOnly)};var ks={color:o.extend("--ft-checkbox-color","",h.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",h.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",h.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",h.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",f.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",f.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",f.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",f.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",f.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",f.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",f.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",f.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",f.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",h.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","",f.spacing3)};var Ts={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",f.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",f.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",f.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",f.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",h.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",f.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",f.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",f.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",h.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",h.contentActionPrimary),color:o.extend("--ft-toggle-color","",h.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",h.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",f.spacing3)};var Us={color:o.extend("--ft-radio-color","",h.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",h.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",h.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",f.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",f.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",f.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",f.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",h.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",h.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",f.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",f.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",f.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",h.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","",f.spacing3)};var zs={iconSize:o.extend("--ft-notification-icon-size","",f.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",f.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",f.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",f.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",h.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",h.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",h.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",h.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",h.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",f.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",f.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",f.spacing8)};var Bs={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",f.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",f.borderRadiusS),color:o.extend("--ft-tooltip-color","",h.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",h.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",f.opacity80),shadow:o.extend("--ft-tooltip-shadow","",f.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",f.spacing05)};var Rn;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Rn||(Rn={}));var An;(function(t){t.large="large",t.medium="medium",t.small="small"})(An||(An={}));function Ds(t){return`design-system--family-${t}`}function Ms(t){return`design-system--size-${t}`}var U={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 Wn={};Z(Wn,{FtNotificationEvent:()=>Ln,PostResizeEvent:()=>$n,PreResizeEvent:()=>_n});var Ln=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},_n=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},$n=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Zn={};Z(Zn,{computeOffsetPosition:()=>Kn});var Ui=["top","right","bottom","left"],Ti=["start","end"],Tn=Ui.reduce((t,e)=>t.concat(e,e+"-"+Ti[0],e+"-"+Ti[1]),[]),mo=Math.min,Xe=Math.max,yo=Math.round;var He=t=>({x:t,y:t}),Hs={left:"right",right:"left",bottom:"top",top:"bottom"},Fs={start:"end",end:"start"};function Un(t,e,r){return Xe(t,mo(e,r))}function rr(t,e){return typeof t=="function"?t(e):t}function _t(t){return t.split("-")[0]}function Je(t){return t.split("-")[1]}function zn(t){return t==="x"?"y":"x"}function Bn(t){return t==="y"?"height":"width"}function nr(t){return["top","bottom"].includes(_t(t))?"y":"x"}function Dn(t){return zn(nr(t))}function zi(t,e,r){r===void 0&&(r=!1);let n=Je(t),i=Dn(t),c=Bn(i),l=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[c]>e.floating[c]&&(l=kn(l)),[l,kn(l)]}function Bi(t){return t.replace(/start|end/g,e=>Fs[e])}function kn(t){return t.replace(/left|right|bottom|top/g,e=>Hs[e])}function Gs(t){return{top:0,right:0,bottom:0,left:0,...t}}function Di(t){return typeof t!="number"?Gs(t):{top:t,right:t,bottom:t,left:t}}function bt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Mi(t,e,r){let{reference:n,floating:i}=t,c=nr(e),l=Dn(e),s=Bn(l),d=_t(e),u=c==="y",y=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,b=n[s]/2-i[s]/2,x;switch(d){case"top":x={x:y,y:n.y-i.height};break;case"bottom":x={x:y,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:m};break;case"left":x={x:n.x-i.width,y:m};break;default:x={x:n.x,y:n.y}}switch(Je(e)){case"start":x[l]-=b*(r&&u?-1:1);break;case"end":x[l]+=b*(r&&u?-1:1);break}return x}var Hi=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:c=[],platform:l}=r,s=c.filter(Boolean),d=await(l.isRTL==null?void 0:l.isRTL(e)),u=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:y,y:m}=Mi(u,n,d),b=n,x={},v=0;for(let C=0;C<s.length;C++){let{name:A,fn:I}=s[C],{x:P,y:O,data:S,reset:w}=await I({x:y,y:m,initialPlacement:n,placement:b,strategy:i,middlewareData:x,rects:u,platform:l,elements:{reference:t,floating:e}});if(y=P??y,m=O??m,x={...x,[A]:{...x[A],...S}},w&&v<=50){v++,typeof w=="object"&&(w.placement&&(b=w.placement),w.rects&&(u=w.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:y,y:m}=Mi(u,b,d)),C=-1;continue}}return{x:y,y:m,placement:b,strategy:i,middlewareData:x}};async function Mn(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:c,rects:l,elements:s,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:b=!1,padding:x=0}=rr(e,t),v=Di(x),A=s[b?m==="floating"?"reference":"floating":m],I=bt(await c.getClippingRect({element:(r=await(c.isElement==null?void 0:c.isElement(A)))==null||r?A:A.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(s.floating)),boundary:u,rootBoundary:y,strategy:d})),P=m==="floating"?{...l.floating,x:n,y:i}:l.reference,O=await(c.getOffsetParent==null?void 0:c.getOffsetParent(s.floating)),S=await(c.isElement==null?void 0:c.isElement(O))?await(c.getScale==null?void 0:c.getScale(O))||{x:1,y:1}:{x:1,y:1},w=bt(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:O,strategy:d}):P);return{top:(I.top-w.top+v.top)/S.y,bottom:(w.bottom-I.bottom+v.bottom)/S.y,left:(I.left-w.left+v.left)/S.x,right:(w.right-I.right+v.right)/S.x}}function Ks(t,e,r){return(t?[...r.filter(i=>Je(i)===t),...r.filter(i=>Je(i)!==t)]:r.filter(i=>_t(i)===i)).filter(i=>t?Je(i)===t||(e?Bi(i)!==i:!1):!0)}var Hn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:c,middlewareData:l,placement:s,platform:d,elements:u}=e,{crossAxis:y=!1,alignment:m,allowedPlacements:b=Tn,autoAlignment:x=!0,...v}=rr(t,e),C=m!==void 0||b===Tn?Ks(m||null,x,b):b,A=await Mn(e,v),I=((r=l.autoPlacement)==null?void 0:r.index)||0,P=C[I];if(P==null)return{};let O=zi(P,c,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(s!==P)return{reset:{placement:C[0]}};let S=[A[_t(P)],A[O[0]],A[O[1]]],w=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:S}],k=C[I+1];if(k)return{data:{index:I+1,overflows:w},reset:{placement:k}};let M=w.map($=>{let T=Je($.placement);return[$.placement,T&&y?$.overflows.slice(0,2).reduce((B,re)=>B+re,0):$.overflows[0],$.overflows]}).sort(($,T)=>$[1]-T[1]),G=((i=M.filter($=>$[2].slice(0,Je($[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||M[0][0];return G!==s?{data:{index:I+1,overflows:w},reset:{placement:G}}:{}}}};var Fn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:c=!0,crossAxis:l=!1,limiter:s={fn:A=>{let{x:I,y:P}=A;return{x:I,y:P}}},...d}=rr(t,e),u={x:r,y:n},y=await Mn(e,d),m=nr(_t(i)),b=zn(m),x=u[b],v=u[m];if(c){let A=b==="y"?"top":"left",I=b==="y"?"bottom":"right",P=x+y[A],O=x-y[I];x=Un(P,x,O)}if(l){let A=m==="y"?"top":"left",I=m==="y"?"bottom":"right",P=v+y[A],O=v-y[I];v=Un(P,v,O)}let C=s.fn({...e,[b]:x,[m]:v});return{...C,data:{x:C.x-r,y:C.y-n}}}}};function Fe(t){return Gi(t)?(t.nodeName||"").toLowerCase():"#document"}function ce(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ge(t){var e;return(e=(Gi(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gi(t){return t instanceof Node||t instanceof ce(t).Node}function Pe(t){return t instanceof Element||t instanceof ce(t).Element}function Ce(t){return t instanceof HTMLElement||t instanceof ce(t).HTMLElement}function Fi(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ce(t).ShadowRoot}function $t(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=me(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Ki(t){return["table","td","th"].includes(Fe(t))}function ir(t){let e=cr(),r=me(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Zi(t){let e=xt(t);for(;Ce(e)&&!bo(e);){if(ir(e))return e;e=xt(e)}return null}function cr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function bo(t){return["html","body","#document"].includes(Fe(t))}function me(t){return ce(t).getComputedStyle(t)}function xo(t){return Pe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xt(t){if(Fe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Fi(t)&&t.host||Ge(t);return Fi(e)?e.host:e}function Vi(t){let e=xt(t);return bo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ce(e)&&$t(e)?e:Vi(e)}function ar(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Vi(t),c=i===((n=t.ownerDocument)==null?void 0:n.body),l=ce(i);return c?e.concat(l,l.visualViewport||[],$t(i)?i:[],l.frameElement&&r?ar(l.frameElement):[]):e.concat(i,ar(i,[],r))}function qi(t){let e=me(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ce(t),c=i?t.offsetWidth:r,l=i?t.offsetHeight:n,s=yo(r)!==c||yo(n)!==l;return s&&(r=c,n=l),{width:r,height:n,$:s}}function Xi(t){return Pe(t)?t:t.contextElement}function Wt(t){let e=Xi(t);if(!Ce(e))return He(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:c}=qi(e),l=(c?yo(r.width):r.width)/n,s=(c?yo(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}var Zs=He(0);function Ji(t){let e=ce(t);return!cr()||!e.visualViewport?Zs:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Vs(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ce(t)?!1:e}function vo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),c=Xi(t),l=He(1);e&&(n?Pe(n)&&(l=Wt(n)):l=Wt(t));let s=Vs(c,r,n)?Ji(c):He(0),d=(i.left+s.x)/l.x,u=(i.top+s.y)/l.y,y=i.width/l.x,m=i.height/l.y;if(c){let b=ce(c),x=n&&Pe(n)?ce(n):n,v=b.frameElement;for(;v&&n&&x!==b;){let C=Wt(v),A=v.getBoundingClientRect(),I=me(v),P=A.left+(v.clientLeft+parseFloat(I.paddingLeft))*C.x,O=A.top+(v.clientTop+parseFloat(I.paddingTop))*C.y;d*=C.x,u*=C.y,y*=C.x,m*=C.y,d+=P,u+=O,v=ce(v).frameElement}}return bt({width:y,height:m,x:d,y:u})}function js(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ce(r),c=Ge(r);if(r===c)return e;let l={scrollLeft:0,scrollTop:0},s=He(1),d=He(0);if((i||!i&&n!=="fixed")&&((Fe(r)!=="body"||$t(c))&&(l=xo(r)),Ce(r))){let u=vo(r);s=Wt(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-l.scrollLeft*s.x+d.x,y:e.y*s.y-l.scrollTop*s.y+d.y}}function Ys(t){return Array.from(t.getClientRects())}function Qi(t){return vo(Ge(t)).left+xo(t).scrollLeft}function qs(t){let e=Ge(t),r=xo(t),n=t.ownerDocument.body,i=Xe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),c=Xe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+Qi(t),s=-r.scrollTop;return me(n).direction==="rtl"&&(l+=Xe(e.clientWidth,n.clientWidth)-i),{width:i,height:c,x:l,y:s}}function Xs(t,e){let r=ce(t),n=Ge(t),i=r.visualViewport,c=n.clientWidth,l=n.clientHeight,s=0,d=0;if(i){c=i.width,l=i.height;let u=cr();(!u||u&&e==="fixed")&&(s=i.offsetLeft,d=i.offsetTop)}return{width:c,height:l,x:s,y:d}}function Js(t,e){let r=vo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,c=Ce(t)?Wt(t):He(1),l=t.clientWidth*c.x,s=t.clientHeight*c.y,d=i*c.x,u=n*c.y;return{width:l,height:s,x:d,y:u}}function ji(t,e,r){let n;if(e==="viewport")n=Xs(t,r);else if(e==="document")n=qs(Ge(t));else if(Pe(e))n=Js(e,r);else{let i=Ji(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return bt(n)}function ec(t,e){let r=xt(t);return r===e||!Pe(r)||bo(r)?!1:me(r).position==="fixed"||ec(r,e)}function Qs(t,e){let r=e.get(t);if(r)return r;let n=ar(t,[],!1).filter(s=>Pe(s)&&Fe(s)!=="body"),i=null,c=me(t).position==="fixed",l=c?xt(t):t;for(;Pe(l)&&!bo(l);){let s=me(l),d=ir(l);!d&&s.position==="fixed"&&(i=null),(c?!d&&!i:!d&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||$t(l)&&!d&&ec(t,l))?n=n.filter(y=>y!==l):i=s,l=xt(l)}return e.set(t,n),n}function ed(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,l=[...r==="clippingAncestors"?Qs(e,this._c):[].concat(r),n],s=l[0],d=l.reduce((u,y)=>{let m=ji(e,y,i);return u.top=Xe(m.top,u.top),u.right=mo(m.right,u.right),u.bottom=mo(m.bottom,u.bottom),u.left=Xe(m.left,u.left),u},ji(e,s,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function td(t){return qi(t)}function od(t,e,r){let n=Ce(e),i=Ge(e),c=r==="fixed",l=vo(t,!0,c,e),s={scrollLeft:0,scrollTop:0},d=He(0);if(n||!n&&!c)if((Fe(e)!=="body"||$t(i))&&(s=xo(e)),n){let u=vo(e,!0,c,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=Qi(i));return{x:l.left+s.scrollLeft-d.x,y:l.top+s.scrollTop-d.y,width:l.width,height:l.height}}function Yi(t,e){return!Ce(t)||me(t).position==="fixed"?null:e?e(t):t.offsetParent}function tc(t,e){let r=ce(t);if(!Ce(t))return r;let n=Yi(t,e);for(;n&&Ki(n)&&me(n).position==="static";)n=Yi(n,e);return n&&(Fe(n)==="html"||Fe(n)==="body"&&me(n).position==="static"&&!ir(n))?r:n||Zi(t)||r}var rd=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||tc,c=this.getDimensions;return{reference:od(e,await i(r),n),floating:{x:0,y:0,...await c(r)}}};function nd(t){return me(t).direction==="rtl"}var lr={convertOffsetParentRelativeRectToViewportRelativeRect:js,getDocumentElement:Ge,getClippingRect:ed,getOffsetParent:tc,getElementRects:rd,getClientRects:Ys,getDimensions:td,getScale:Wt,isElement:Pe,isRTL:nd};var oc=(t,e,r)=>{let n=new Map,i={platform:lr,...r},c={...i.platform,_c:n};return Hi(t,e,{...i,platform:c})};function rc(t){return ad(t)}function Gn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ad(t){for(let e=t;e;e=Gn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Gn(t);e;e=Gn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Kn(t,e,r){return oc(t,e,{platform:{...lr,getOffsetParent:n=>lr.getOffsetParent(n,rc)},middleware:[Fn({crossAxis:!0}),Hn({allowedPlacements:[r]})]})}var jn={};Z(jn,{FtLitElement:()=>Y});var Vn={};Z(Vn,{ScopedRegistryLitElement:()=>So});var sr=window,id=sr.ShadowRoot&&(sr.ShadyCSS===void 0||sr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pg=Symbol();var nc=(t,e)=>{id?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=sr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var So=class extends ze{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,c])=>e.registry.define(i,c)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return nc(n,e.elementStyles),n}};var dr=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},cc,ac=Symbol("constructorPrototype"),ic=Symbol("constructorName"),lc=Symbol("exportpartsDebouncer"),Y=class extends So{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[cc]=new ge(5),this[ic]=this.constructor.name,this[ac]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ic]&&Object.setPrototypeOf(this,this[ac])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(c=>c.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(c){console.error(c,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let c=document.createElement("style");c.classList.add("ft-lit-element--custom-stylesheet"),c.innerHTML=this.customStylesheet,this.shadowRoot.append(c)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[lc].run(()=>{var i,c;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((c=this.exportpartsPrefixes)===null||c===void 0?void 0:c.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,c,l,s;let d=b=>b!=null&&b.trim().length>0,u=e.filter(d).map(b=>b.trim());if(u.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let b of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(c=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&c!==void 0?c:[],v=(s=(l=b.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(C=>C.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...x,...v).filter(d).map(C=>C.trim()).forEach(C=>y.add(C))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(b=>u.map(x=>`${b}:${x}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};cc=lc;dr([E()],Y.prototype,"exportpartsPrefix",void 0);dr([ho([])],Y.prototype,"exportpartsPrefixes",void 0);dr([E()],Y.prototype,"customStylesheet",void 0);dr([q()],Y.prototype,"useAdoptedStyleSheets",void 0);var sc={};var Xn={};Z(Xn,{highlightHtml:()=>sd,highlightHtmlColorCssVariable:()=>dc,highlightHtmlStyles:()=>ld});var vt=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let c=!1;return n.every(l=>i.call(e,l)?(c=!0,!1):!0),c}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(c=>c.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let c=e.contentWindow;if(i=c.document,!c||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,c=null,l=()=>{if(!i){i=!0,clearTimeout(c);try{this.isIframeBlank(e)||(e.removeEventListener("load",l),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",l),c=setTimeout(l,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let c=e.querySelectorAll("iframe"),l=c.length,s=0;c=Array.prototype.slice.call(c);let d=()=>{--l<=0&&i(s)};l||d(),c.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,y=>{r(u)&&(s++,n(y)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_PRECEDING;if(i&c)if(r!==null){let l=r.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_FOLLOWING;if(l&s)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let c=!1,l=!1;return i.forEach((s,d)=>{s.val===n&&(c=d,l=s.handled)}),this.compareNodeIframe(e,r,n)?(c===!1&&!l?i.push({val:n,handled:!0}):c!==!1&&!l&&(i[c].handled=!0),!0):(c===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(c=>{c.handled||this.getIframeContents(c.val,l=>{this.createInstanceOnIframe(l).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,c){let l=this.createIterator(r,e,i),s=[],d=[],u,y,m=()=>({prevNode:y,node:u}=this.getIteratorNode(l),u);for(;m();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(u,y,b,s),b=>{this.createInstanceOnIframe(b).forEachNode(e,x=>d.push(x),i)}),d.push(u);d.forEach(b=>{n(b)}),this.iframes&&this.handleOpenIframes(s,e,n,i),c()}forEachNode(e,r,n,i=()=>{}){let c=this.getContexts(),l=c.length;l||i(),c.forEach(s=>{let d=()=>{this.iterateThroughNodes(e,s,r,n,()=>{--l<=0&&i()})};this.iframes?this.waitForIframes(s,d):d()})}};var Oo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new vt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let c in r)if(r.hasOwnProperty(c)){let l=r[c],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(l):this.escapeStr(l);s!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(s)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let c=i.charAt(n+1);return/[(|)\\]/.test(c)||c===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(c=>{n.every(l=>{if(l.indexOf(c)!==-1){if(i.indexOf(l)>-1)return!1;e=e.replace(new RegExp(`[${l}]`,`gm${r}`),`[${l}]`),i.push(l)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,c=typeof n=="string"?[]:n.limiters,l="";switch(c.forEach(s=>{l+=`|${this.escapeStr(s)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return l="\\s"+(l||this.escapeStr(r)),`()([^${l}]*${e}[^${l}]*)`;case"exactly":return`(^|\\s${l})(${e})(?=$|\\s${l})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,c)=>i.start-c.start).forEach(i=>{let{start:c,end:l,valid:s}=this.callNoMatchOnInvalidRanges(i,n);s&&(i.start=c,i.length=l-c,r.push(i),n=l)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,c=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?c=!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:c}}checkWhitespaceRanges(e,r,n){let i,c=!0,l=n.length,s=r-l,d=parseInt(e.start,10)-s;return d=d>l?l:d,i=d+parseInt(e.length,10),i>l&&(i=l,this.log(`End range automatically set to the max value of ${l}`)),d<0||i-d<0||d>l||i>l?(c=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(c=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:c}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return vt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",c=e.splitText(r),l=c.splitText(n-r),s=document.createElement(i);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=c.textContent,c.parentNode.replaceChild(s,c),l}wrapRangeInMappedTextNode(e,r,n,i,c){e.nodes.every((l,s)=>{let d=e.nodes[s+1];if(typeof d>"u"||d.start>r){if(!i(l.node))return!1;let u=r-l.start,y=(n>l.end?l.end:n)-l.start,m=e.value.substr(0,l.start),b=e.value.substr(y+l.start);if(l.node=this.wrapRangeInTextNode(l.node,u,y),e.value=m+b,e.nodes.forEach((x,v)=>{v>=s&&(e.nodes[v].start>0&&v!==s&&(e.nodes[v].start-=y),e.nodes[v].end-=y)}),n-=y,c(l.node.previousSibling,l.start),n>l.end)r=l.end;else return!1}return!0})}wrapMatches(e,r,n,i,c){let l=r===0?0:r+1;this.getTextNodes(s=>{s.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[l]!=="";){if(!n(u[l],d))continue;let y=u.index;if(l!==0)for(let m=1;m<l;m++)y+=u[m].length;d=this.wrapRangeInTextNode(d,y,y+u[l].length),i(d.previousSibling),e.lastIndex=0}}),c()})}wrapMatchesAcrossElements(e,r,n,i,c){let l=r===0?0:r+1;this.getTextNodes(s=>{let d;for(;(d=e.exec(s.value))!==null&&d[l]!=="";){let u=d.index;if(l!==0)for(let m=1;m<l;m++)u+=d[m].length;let y=u+d[l].length;this.wrapRangeInMappedTextNode(s,u,y,m=>n(d[l],m),(m,b)=>{e.lastIndex=b,i(m)})}c()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(c=>{let l=c.value.length;e.forEach((s,d)=>{let{start:u,end:y,valid:m}=this.checkWhitespaceRanges(s,l,c.value);m&&this.wrapRangeInMappedTextNode(c,u,y,b=>r(b,s,c.value.substring(u,y),d),b=>{n(b,s)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",c=l=>{n++,this.opt.each(l)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(l,s)=>this.opt.filter(s,l,n),c,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:c,length:l}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",d=u=>{let y=new RegExp(this.createRegExp(u),`gm${s}`),m=0;this.log(`Searching with expression "${y}"`),this[i](y,1,(b,x)=>this.opt.filter(x,u,n,m),b=>{m++,n++,this.opt.each(b)},()=>{m===0&&this.opt.noMatch(u),c[l-1]===u?this.opt.done(n):d(c[c.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),l===0?this.opt.done(n):d(c[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(c,l,s,d)=>this.opt.filter(c,l,s,d),(c,l)=>{n++,this.opt.each(c,l)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=vt.matches(n,r),c=this.matchesExclude(n);return!i||c?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Yn(t){let e=new Oo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var cd=Yn,dc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ld=L`
7
7
  .highlight-html-match {
8
- background: ${as};
8
+ background: ${dc};
9
9
  }
10
- `,Kn={className:"highlight-html-match"};function od(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new ed(t);i.unmark(Kn),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...Kn,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Kn,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var Zn={};F(Zn,{noTextSelect:()=>xo,safariEllipsisFix:()=>vo,wordWrap:()=>rd});var xo=P`
10
+ `,qn={className:"highlight-html-match"};function sd(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new cd(t);i.unmark(qn),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...qn,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(l=>i.mark(l.replace(/"/g,""),{...qn,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var Jn={};Z(Jn,{noTextSelect:()=>Co,safariEllipsisFix:()=>wo,wordWrap:()=>dd});var Co=L`
11
11
  .ft-no-text-select {
12
12
  -webkit-touch-callout: none;
13
13
  -webkit-user-select: none;
@@ -16,7 +16,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
18
  }
19
- `,rd=P`
19
+ `,dd=L`
20
20
  .ft-word-wrap {
21
21
  white-space: normal;
22
22
  word-wrap: break-word;
@@ -28,7 +28,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,vo=P`
31
+ `,wo=L`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,8 +39,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `;var ss={};var qn={};F(qn,{ParametrizedLabelResolver:()=>$t});var $t=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,p)=>this.formatValue(s,p))),a}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Oi={};F(Oi,{FtCommandQueue:()=>Oo,FtLitElementRedux:()=>Ye,FtReduxStore:()=>Si,clearAllStores:()=>Hd,isFtReduxStore:()=>yt,redux:()=>So,reduxEventListener:()=>id,reduxReactive:()=>nd});var nd=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},So=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Me,attribute:!1,...e};O(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},id=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Oo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function yt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ls,cs,ds,sr=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),bt=Symbol("internalStores"),Ye=class extends K{constructor(){super(...arguments),this[ls]=new Map,this[cs]=new Map,this[ds]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[bt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[bt].get(e)}addStore(e,r){var n;r=(n=r??(yt(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[bt].delete(r)}setupStore(e,r){this[bt].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[bt].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[qe].has(e.store):this[qe].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[qe].set(e,r.subscribe(()=>this.updateFromStores())),yt(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[sr].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[qe].forEach((e,r)=>this.unsubscribeFromStore(r)),this[sr].forEach(e=>e()),this[sr]=[]}unsubscribeFromStore(e){this[qe].has(e)&&this[qe].get(e)(),this[qe].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ls=qe,cs=bt,ds=sr;Ye.reduxProperties=new Map;Ye.reduxReactiveProperties=new Set;Ye.reduxEventListeners=new Map;function be(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ue(t){return!!t&&!!t[j]}function Se(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===ud}(t)||Array.isArray(t)||!!t[ys]||!!(!((e=t.constructor)===null||e===void 0)&&e[ys])||ni(t)||ii(t))}function xt(t,e,r){r===void 0&&(r=!1),It(t)===0?(r?Object.keys:Tt)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function It(t){var e=t[j];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ni(t)?2:ii(t)?3:0}function Lt(t,e){return It(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ad(t,e){return It(t)===2?t.get(e):t[e]}function bs(t,e,r){var n=It(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function xs(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ni(t){return pd&&t instanceof Map}function ii(t){return fd&&t instanceof Set}function Xe(t){return t.o||t.t}function ai(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Os(t);delete e[j];for(var r=Tt(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function si(t,e){return e===void 0&&(e=!1),li(t)||Ue(t)||!Se(t)||(It(t)>1&&(t.set=t.add=t.clear=t.delete=sd),Object.freeze(t),e&&xt(t,function(r,n){return si(n,!0)},!0)),t}function sd(){be(2)}function li(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Re(t){var e=ri[t];return e||be(18,t),e}function ld(t,e){ri[t]||(ri[t]=e)}function ei(){return wo}function Yn(t,e){e&&(Re("Patches"),t.u=[],t.s=[],t.v=e)}function lr(t){ti(t),t.p.forEach(cd),t.p=null}function ti(t){t===wo&&(wo=t.l)}function ps(t){return wo={p:[],l:wo,h:t,m:!0,_:0}}function cd(t){var e=t[j];e.i===0||e.i===1?e.j():e.g=!0}function Xn(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Re("ES5").S(e,t,n),n?(r[j].P&&(lr(e),be(4)),Se(t)&&(t=cr(e,t),e.l||dr(e,t)),e.u&&Re("Patches").M(r[j].t,t,e.u,e.s)):t=cr(e,r,[]),lr(e),e.u&&e.v(e.u,e.s),t!==Ss?t:void 0}function cr(t,e,r){if(li(e))return e;var n=e[j];if(!n)return xt(e,function(l,c){return fs(t,n,e,l,c,r)},!0),e;if(n.A!==t)return e;if(!n.P)return dr(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ai(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),xt(a,function(l,c){return fs(t,n,i,l,c,r,s)}),dr(t,i,!1),r&&t.u&&Re("Patches").N(n,r,t.u,t.s)}return n.o}function fs(t,e,r,n,i,a,s){if(Ue(i)){var l=cr(t,i,a&&e&&e.i!==3&&!Lt(e.R,n)?a.concat(n):void 0);if(bs(r,n,l),!Ue(l))return;t.m=!1}else s&&r.add(i);if(Se(i)&&!li(i)){if(!t.h.D&&t._<1)return;cr(t,i),e&&e.A.l||dr(t,i)}}function dr(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&si(e,r)}function Jn(t,e){var r=t[j];return(r?Xe(r):t)[e]}function us(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Je(t){t.P||(t.P=!0,t.l&&Je(t.l))}function Qn(t){t.o||(t.o=ai(t.t))}function oi(t,e,r){var n=ni(e)?Re("MapSet").F(e,r):ii(e)?Re("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:ei(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,p=Eo;s&&(c=[l],p=Co);var h=Proxy.revocable(c,p),u=h.revoke,m=h.proxy;return l.k=m,l.j=u,m}(e,r):Re("ES5").J(e,r);return(r?r.A:ei()).p.push(n),n}function dd(t){return Ue(t)||be(22,t),function e(r){if(!Se(r))return r;var n,i=r[j],a=It(r);if(i){if(!i.P&&(i.i<4||!Re("ES5").K(i)))return i.t;i.I=!0,n=hs(r,a),i.I=!1}else n=hs(r,a);return xt(n,function(s,l){i&&ad(i.t,s)===l||bs(n,s,e(l))}),a===3?new Set(n):n}(t)}function hs(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ai(t)}function vs(){function t(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var p=this[j];return Eo.get(p,s)},set:function(p){var h=this[j];Eo.set(h,s,p)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][j];if(!c.P)switch(c.i){case 5:n(c)&&Je(c);break;case 4:r(c)&&Je(c)}}}function r(s){for(var l=s.t,c=s.k,p=Tt(c),h=p.length-1;h>=0;h--){var u=p[h];if(u!==j){var m=l[u];if(m===void 0&&!Lt(l,u))return!0;var g=c[u],y=g&&g[j];if(y?y.t!==m:!xs(g,m))return!0}}var v=!!l[j];return p.length!==Tt(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&be(3,JSON.stringify(Xe(s)))}var a={};ld("ES5",{J:function(s,l){var c=Array.isArray(s),p=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,t(y,!0));return g}var v=Os(m);delete v[j];for(var E=Tt(v),N=0;N<E.length;N++){var A=E[N];v[A]=t(A,u||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(c,s),h={i:c?5:4,A:l?l.A:ei(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,j,{value:h,writable:!0}),p},S:function(s,l,c){c?Ue(l)&&l[j].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var u=h[j];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)xt(g,function(b){b!==j&&(m[b]!==void 0||Lt(m,b)?y[b]||p(g[b]):(y[b]=!0,Je(u)))}),xt(m,function(b){g[b]!==void 0||Lt(g,b)||(y[b]=!1,Je(u))});else if(v===5){if(n(u)&&(Je(u),y.length=!0),g.length<m.length)for(var E=g.length;E<m.length;E++)y[E]=!1;else for(var N=m.length;N<g.length;N++)y[N]=!0;for(var A=Math.min(g.length,m.length),x=0;x<A;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&p(g[x])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var ms,wo,ci=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pd=typeof Map<"u",fd=typeof Set<"u",gs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ss=ci?Symbol.for("immer-nothing"):((ms={})["immer-nothing"]=!0,ms),ys=ci?Symbol.for("immer-draftable"):"__$immer_draftable",j=ci?Symbol.for("immer-state"):"__$immer_state";var ud=""+Object.prototype.constructor,Tt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Os=Object.getOwnPropertyDescriptors||function(t){var e={};return Tt(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ri={},Eo={get:function(t,e){if(e===j)return t;var r=Xe(t);if(!Lt(r,e))return function(i,a,s){var l,c=us(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Se(n)?n:n===Jn(t.t,e)?(Qn(t),t.o[e]=oi(t.A.h,n,t)):n},has:function(t,e){return e in Xe(t)},ownKeys:function(t){return Reflect.ownKeys(Xe(t))},set:function(t,e,r){var n=us(Xe(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Jn(Xe(t),e),a=i?.[j];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(xs(r,i)&&(r!==void 0||Lt(t.t,e)))return!0;Qn(t),Je(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Jn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Qn(t),Je(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Xe(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){be(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){be(12)}},Co={};xt(Eo,function(t,e){Co[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Co.deleteProperty=function(t,e){return Co.set.call(this,t,e,void 0)},Co.set=function(t,e,r){return Eo.set.call(this,t[0],e,r,t[0])};var hd=function(){function t(r){var n=this;this.O=gs,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(v){var E=this;v===void 0&&(v=l);for(var N=arguments.length,A=Array(N>1?N-1:0),x=1;x<N;x++)A[x-1]=arguments[x];return c.produce(v,function(b){var S;return(S=a).call.apply(S,[E,b].concat(A))})}}var p;if(typeof a!="function"&&be(6),s!==void 0&&typeof s!="function"&&be(7),Se(i)){var h=ps(n),u=oi(n,i,void 0),m=!0;try{p=a(u),m=!1}finally{m?lr(h):ti(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return Yn(h,s),Xn(v,h)},function(v){throw lr(h),v}):(Yn(h,s),Xn(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Ss&&(p=void 0),n.D&&si(p,!0),s){var g=[],y=[];Re("Patches").M(i,p,g,y),s(g,y)}return p}be(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(p,function(g){return i.apply(void 0,[g].concat(u))})};var s,l,c=n.produce(i,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(p){return[p,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Se(r)||be(8),Ue(r)&&(r=dd(r));var n=ps(this),i=oi(this,r,void 0);return i[j].C=!0,ti(n),i},e.finishDraft=function(r,n){var i=r&&r[j],a=i.A;return Yn(a,n),Xn(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!gs&&be(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Re("Patches").$;return Ue(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),he=new hd,md=he.produce,Zm=he.produceWithPatches.bind(he),qm=he.setAutoFreeze.bind(he),Ym=he.setUseProxies.bind(he),Xm=he.applyPatches.bind(he),Jm=he.createDraft.bind(he),Qm=he.finishDraft.bind(he),pr=md;function Qe(t){"@babel/helpers - typeof";return Qe=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},Qe(t)}function di(t,e){if(Qe(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Qe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function pi(t){var e=di(t,"string");return Qe(e)==="symbol"?e:String(e)}function fi(t,e,r){return e=pi(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Cs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function fr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Cs(Object(r),!0).forEach(function(n){fi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Cs(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function te(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var ws=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ui=function(){return Math.random().toString(36).substring(7).split("").join(".")},ur={INIT:"@@redux/INIT"+ui(),REPLACE:"@@redux/REPLACE"+ui(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ui()}};function gd(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function hi(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(te(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(te(1));return r(hi)(t,e)}if(typeof t!="function")throw new Error(te(2));var i=t,a=e,s=[],l=s,c=!1;function p(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(te(3));return a}function u(v){if(typeof v!="function")throw new Error(te(4));if(c)throw new Error(te(5));var E=!0;return p(),l.push(v),function(){if(E){if(c)throw new Error(te(6));E=!1,p();var A=l.indexOf(v);l.splice(A,1),s=null}}}function m(v){if(!gd(v))throw new Error(te(7));if(typeof v.type>"u")throw new Error(te(8));if(c)throw new Error(te(9));try{c=!0,a=i(a,v)}finally{c=!1}for(var E=s=l,N=0;N<E.length;N++){var A=E[N];A()}return v}function g(v){if(typeof v!="function")throw new Error(te(10));i=v,m({type:ur.REPLACE})}function y(){var v,E=u;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(te(11));function x(){A.next&&A.next(h())}x();var b=E(x);return{unsubscribe:b}}},v[ws]=function(){return this},v}return m({type:ur.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[ws]=y,n}function yd(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:ur.INIT});if(typeof n>"u")throw new Error(te(12));if(typeof r(void 0,{type:ur.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(te(13))})}function Es(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{yd(r)}catch(c){l=c}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var u;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],E=r[v],N=p[v],A=E(N,h);if(typeof A>"u"){var x=h&&h.type;throw new Error(te(14))}g[v]=A,m=m||A!==N}return m=m||a.length!==Object.keys(p).length,m?g:p}}function kt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Ns(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(te(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=kt.apply(void 0,l)(i.dispatch),fr(fr({},i),{},{dispatch:a})}}}function As(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var Rs=As();Rs.withExtraArgument=As;var mi=Rs;var Ts=function(){var t=function(e,r){return t=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])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),bd=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return c([p,h])}}function c(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,i=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){r.label=p[1];break}if(p[0]===6&&r.label<a[1]){r.label=a[1],a=p;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(p);break}a[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Mt=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},xd=Object.defineProperty,vd=Object.defineProperties,Sd=Object.getOwnPropertyDescriptors,_s=Object.getOwnPropertySymbols,Od=Object.prototype.hasOwnProperty,Cd=Object.prototype.propertyIsEnumerable,Ps=function(t,e,r){return e in t?xd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},et=function(t,e){for(var r in e||(e={}))Od.call(e,r)&&Ps(t,r,e[r]);if(_s)for(var n=0,i=_s(e);n<i.length;n++){var r=i[n];Cd.call(e,r)&&Ps(t,r,e[r])}return t},gi=function(t,e){return vd(t,Sd(e))},wd=function(t,e,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(p){i(p)}},s=function(c){try{l(r.throw(c))}catch(p){i(p)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(t,e)).next())})};var Ed=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?kt:kt.apply(null,arguments)},yg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Nd(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Ad=function(t){Ts(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Mt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Mt([void 0],r.concat(this))))},e}(Array),Rd=function(t){Ts(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Mt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Mt([void 0],r.concat(this))))},e}(Array);function xi(t){return Se(t)?pr(t,function(){}):t}function _d(t){return typeof t=="boolean"}function Pd(){return function(e){return $d(e)}}function $d(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new Ad;if(r&&(_d(r)?l.push(mi):l.push(mi.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var p}return l}var yi=!0;function Is(t){var e=Pd(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,c=l===void 0?!0:l,p=r.preloadedState,h=p===void 0?void 0:p,u=r.enhancers,m=u===void 0?void 0:u,g;if(typeof i=="function")g=i;else if(Nd(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 y=s;if(typeof y=="function"&&(y=y(e),!yi&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!yi&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Ns.apply(void 0,y),E=kt;c&&(E=Ed(et({trace:!yi},typeof c=="object"&&c)));var N=new Rd(v),A=N;Array.isArray(m)?A=Mt([v],m):typeof m=="function"&&(A=m(N));var x=E.apply(void 0,A);return hi(g,h,x)}function tt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return et(et({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function ks(t){var e={},r=[],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 r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Ld(t){return typeof t=="function"}function Td(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?ks(e):[e,r,n],a=i[0],s=i[1],l=i[2],c;if(Ld(t))c=function(){return xi(t())};else{var p=xi(t);c=function(){return p}}function h(u,m){u===void 0&&(u=c());var g=Mt([a[m.type]],s.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[l]),g.reduce(function(y,v){if(v)if(Ue(y)){var E=y,N=v(E,m);return N===void 0?y:N}else{if(Se(y))return pr(y,function(A){return v(A,m)});var N=v(y,m);if(N===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return y},u)}return h.getInitialState=c,h}function Id(t,e){return t+"/"+e}function Ms(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:xi(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var u=n[h],m=Id(e,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,l[h]=y?tt(m,y):tt(m)});function c(){var h=typeof t.extraReducers=="function"?ks(t.extraReducers):[t.extraReducers],u=h[0],m=u===void 0?{}:u,g=h[1],y=g===void 0?[]:g,v=h[2],E=v===void 0?void 0:v,N=et(et({},m),s);return Td(r,function(A){for(var x in N)A.addCase(x,N[x]);for(var b=0,S=y;b<S.length;b++){var L=S[b];A.addMatcher(L.matcher,L.reducer)}E&&A.addDefaultCase(E)})}var p;return{name:e,reducer:function(h,u){return p||(p=c()),p(h,u)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=c()),p.getInitialState()}}}var kd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Md=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=kd[Math.random()*64|0];return e},Dd=["name","message","stack","code"],bi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),$s=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Wd=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Dd;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Sg=function(){function t(e,r,n){var i=tt(e+"/fulfilled",function(h,u,m,g){return{payload:h,meta:gi(et({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=tt(e+"/pending",function(h,u,m){return{payload:void 0,meta:gi(et({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=tt(e+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||Wd)(h||"Rejected"),meta:gi(et({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(u,m,g){var y=n?.idGenerator?n.idGenerator(h):Md(),v=new c,E,N=!1;function A(b){E=b,v.abort()}var x=function(){return wd(this,null,function(){var b,S,L,W,re,U,_;return bd(this,function(T){switch(T.label){case 0:return T.trys.push([0,4,,5]),W=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),Bd(W)?[4,W]:[3,2];case 1:W=T.sent(),T.label=2;case 2:if(W===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,re=new Promise(function(M,ee){return v.signal.addEventListener("abort",function(){return ee({name:"AbortError",message:E||"Aborted"})})}),u(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([re,Promise.resolve(r(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:A,rejectWithValue:function(M,ee){return new bi(M,ee)},fulfillWithValue:function(M,ee){return new $s(M,ee)}})).then(function(M){if(M instanceof bi)throw M;return M instanceof $s?i(M.payload,y,h,M.meta):i(M,y,h)})])];case 3:return L=T.sent(),[3,5];case 4:return U=T.sent(),L=U instanceof bi?s(null,y,h,U.payload,U.meta):s(U,y,h),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&s.match(L)&&L.meta.condition,_||u(L),[2,L]}})})}();return Object.assign(x,{abort:A,requestId:y,arg:h,unwrap:function(){return x.then(zd)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function zd(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Bd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ds="listener",Ws="completed",zs="cancelled",Og="task-"+zs,Cg="task-"+Ws,wg=Ds+"-"+zs,Eg=Ds+"-"+Ws;var vi="listenerMiddleware";var Ng=tt(vi+"/add"),Ag=tt(vi+"/removeAll"),Rg=tt(vi+"/remove");var Ls,_g=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ls||(Ls=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Ud=function(t){return function(e){setTimeout(e,t)}},Pg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ud(10);vs();window.ftReduxStores||(window.ftReduxStores={});var Si=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(yt(a))return a;if(i==null)return;let s=Ms({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Is({reducer:(c,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...p.overwrites}:s.reducer(c,p)});return window.ftReduxStores[i.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Oo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let p=l(...c);return this.reduxStore.dispatch(p),p}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Hd(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))yt(e)&&e.clear()}var Ci={};F(Ci,{serializeRequest:()=>jd});function Fd(t){return`"${t}"`}function jd(t,e){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,p=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+p)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(p=>{let h=p.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(Fd(u))).join("_");return`${p.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Ei={};F(Ei,{toFtFormComponent:()=>wi});var hr=Symbol("elementInternals");function wi(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[hr].form}constructor(...i){super(i),this[hr]=this.attachInternals(),this[hr].role=e}setFormValue(i){this[hr].setFormValue(i)}}return r}var mr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Ni,Ai,Ri,_i,Pi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ri=(Ai=(Ni=window.safari)===null||Ni===void 0?void 0:Ni.pushNotification)===null||Ai===void 0?void 0:Ai.toString())!==null&&Ri!==void 0?Ri:"")==="[object SafariRemoteNotification]",Vd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(_i=window.ftGlobals)!==null&&_i!==void 0?_i:{lit:Tr,litDecorators:kr,litRepeat:Mr,litClassMap:Dr,litStyleMap:zr,litUnsafeHTML:Ur,wcUtils:{...Vr,...Fr,...Gr,...mr,...Zr,...Yr,...Nn,...Pn,...Hn,...En,...jn,...is,...qr,...Gn,...Zn,...ss,...qn,...Oi,...Fn,...Ci,...Ei,isSafari:Pi,isTouchScreen:Vd}};var Bs;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Bs||(Bs={}));var Kd=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Li=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},$i=Symbol("registerInterval");function Gd(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[$i]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[$i]):this.dispatchEvent(new Li)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=$i,Kd([G()],r.prototype,"stateManager",void 0),r}var Dt=class extends Gd(Ye){};var Hs=Symbol.for(""),Zd=t=>{if(t?.r===Hs)return t?._$litStatic$},Ti=t=>({_$litStatic$:t,r:Hs});var Us=new Map,Fs=t=>(e,...r)=>{let n=r.length,i,a,s=[],l=[],c,p=0,h=!1;for(;p<n;){for(c=e[p];p<n&&(a=r[p],(i=Zd(a))!==void 0);)c+=i+e[++p],h=!0;p!==n&&l.push(a),s.push(c),p++}if(p===n&&s.push(e[n]),h){let u=s.join("$$lit$$");(e=Us.get(u))===void 0&&(s.raw=s,Us.set(u,e=s)),r=l}return t(e,...r)},Ii=Fs(ea),Oy=Fs(ta);var vt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(vt||(vt={}));function js(t){let e=po[t];return P`
43
- .ft-typography--${lt(t)} {
42
+ `;var pc={};var Qn={};Z(Qn,{ParametrizedLabelResolver:()=>kt});var kt=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let c=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((l,s)=>c=c.replace(new RegExp(`\\{${s}([^}]*)\\}`,"g"),(d,u)=>this.formatValue(l,u))),c}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Na={};Z(Na,{FtCommandQueue:()=>No,FtLitElementRedux:()=>et,FtReduxStore:()=>Ea,clearAllStores:()=>Yd,isFtReduxStore:()=>St,redux:()=>Eo,reduxEventListener:()=>fd,reduxReactive:()=>pd});var pd=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Eo=t=>{let e=t??{};return(r,n)=>{var i;let c={hasChanged:De,attribute:!1,...e};E(c)(r,n);let l=r.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:s=>s[n],store:e.store})}},fd=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var No=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function St(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var fc,uc,hc,pr=Symbol("internalReduxEventsUnsubscribers"),Qe=Symbol("internalStoresUnsubscribers"),Ot=Symbol("internalStores"),et=class extends Y{constructor(){super(...arguments),this[fc]=new Map,this[uc]=new Map,this[hc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Ot].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ot].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ot].get(e)}addStore(e,r){var n;r=(n=r??(St(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Ot].delete(r)}setupStore(e,r){this[Ot].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ot].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Qe].has(e.store):this[Qe].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Qe].set(e,r.subscribe(()=>this.updateFromStores())),St(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,c)=>{if(typeof this[c]=="function"&&(!i.store||r.name===i.store)){let l=s=>this[c](s);r.eventBus.addEventListener(i.eventName,l),this[pr].push(()=>r.eventBus.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Qe].forEach((e,r)=>this.unsubscribeFromStore(r)),this[pr].forEach(e=>e()),this[pr]=[]}unsubscribeFromStore(e){this[Qe].has(e)&&this[Qe].get(e)(),this[Qe].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};fc=Qe,uc=Ot,hc=pr;et.reduxProperties=new Map;et.reduxReactiveProperties=new Set;et.reduxEventListeners=new Map;function Se(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,c;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ke(t){return!!t&&!!t[V]}function we(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===vd}(t)||Array.isArray(t)||!!t[Sc]||!!(!((e=t.constructor)===null||e===void 0)&&e[Sc])||la(t)||sa(t))}function Ct(t,e,r){r===void 0&&(r=!1),zt(t)===0?(r?Object.keys:Ut)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function zt(t){var e=t[V];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:la(t)?2:sa(t)?3:0}function Tt(t,e){return zt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ud(t,e){return zt(t)===2?t.get(e):t[e]}function Oc(t,e,r){var n=zt(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Cc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function la(t){return bd&&t instanceof Map}function sa(t){return xd&&t instanceof Set}function tt(t){return t.o||t.t}function da(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Nc(t);delete e[V];for(var r=Ut(e),n=0;n<r.length;n++){var i=r[n],c=e[i];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(e[i]={configurable:!0,writable:!0,enumerable:c.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function pa(t,e){return e===void 0&&(e=!1),fa(t)||Ke(t)||!we(t)||(zt(t)>1&&(t.set=t.add=t.clear=t.delete=hd),Object.freeze(t),e&&Ct(t,function(r,n){return pa(n,!0)},!0)),t}function hd(){Se(2)}function fa(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Le(t){var e=ca[t];return e||Se(18,t),e}function gd(t,e){ca[t]||(ca[t]=e)}function na(){return Ao}function ea(t,e){e&&(Le("Patches"),t.u=[],t.s=[],t.v=e)}function fr(t){aa(t),t.p.forEach(md),t.p=null}function aa(t){t===Ao&&(Ao=t.l)}function gc(t){return Ao={p:[],l:Ao,h:t,m:!0,_:0}}function md(t){var e=t[V];e.i===0||e.i===1?e.j():e.g=!0}function ta(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Le("ES5").S(e,t,n),n?(r[V].P&&(fr(e),Se(4)),we(t)&&(t=ur(e,t),e.l||hr(e,t)),e.u&&Le("Patches").M(r[V].t,t,e.u,e.s)):t=ur(e,r,[]),fr(e),e.u&&e.v(e.u,e.s),t!==Ec?t:void 0}function ur(t,e,r){if(fa(e))return e;var n=e[V];if(!n)return Ct(e,function(s,d){return mc(t,n,e,s,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return hr(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=da(n.k):n.o,c=i,l=!1;n.i===3&&(c=new Set(i),i.clear(),l=!0),Ct(c,function(s,d){return mc(t,n,i,s,d,r,l)}),hr(t,i,!1),r&&t.u&&Le("Patches").N(n,r,t.u,t.s)}return n.o}function mc(t,e,r,n,i,c,l){if(Ke(i)){var s=ur(t,i,c&&e&&e.i!==3&&!Tt(e.R,n)?c.concat(n):void 0);if(Oc(r,n,s),!Ke(s))return;t.m=!1}else l&&r.add(i);if(we(i)&&!fa(i)){if(!t.h.D&&t._<1)return;ur(t,i),e&&e.A.l||hr(t,i)}}function hr(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&pa(e,r)}function oa(t,e){var r=t[V];return(r?tt(r):t)[e]}function yc(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function ot(t){t.P||(t.P=!0,t.l&&ot(t.l))}function ra(t){t.o||(t.o=da(t.t))}function ia(t,e,r){var n=la(e)?Le("MapSet").F(e,r):sa(e)?Le("MapSet").T(e,r):t.O?function(i,c){var l=Array.isArray(i),s={i:l?1:0,A:c?c.A:na(),P:!1,I:!1,R:{},l:c,t:i,k:null,o:null,j:null,C:!1},d=s,u=Io;l&&(d=[s],u=Ro);var y=Proxy.revocable(d,u),m=y.revoke,b=y.proxy;return s.k=b,s.j=m,b}(e,r):Le("ES5").J(e,r);return(r?r.A:na()).p.push(n),n}function yd(t){return Ke(t)||Se(22,t),function e(r){if(!we(r))return r;var n,i=r[V],c=zt(r);if(i){if(!i.P&&(i.i<4||!Le("ES5").K(i)))return i.t;i.I=!0,n=bc(r,c),i.I=!1}else n=bc(r,c);return Ct(n,function(l,s){i&&ud(i.t,l)===s||Oc(n,l,e(s))}),c===3?new Set(n):n}(t)}function bc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return da(t)}function wc(){function t(l,s){var d=c[l];return d?d.enumerable=s:c[l]=d={configurable:!0,enumerable:s,get:function(){var u=this[V];return Io.get(u,l)},set:function(u){var y=this[V];Io.set(y,l,u)}},d}function e(l){for(var s=l.length-1;s>=0;s--){var d=l[s][V];if(!d.P)switch(d.i){case 5:n(d)&&ot(d);break;case 4:r(d)&&ot(d)}}}function r(l){for(var s=l.t,d=l.k,u=Ut(d),y=u.length-1;y>=0;y--){var m=u[y];if(m!==V){var b=s[m];if(b===void 0&&!Tt(s,m))return!0;var x=d[m],v=x&&x[V];if(v?v.t!==b:!Cc(x,b))return!0}}var C=!!s[V];return u.length!==Ut(s).length+(C?0:1)}function n(l){var s=l.k;if(s.length!==l.t.length)return!0;var d=Object.getOwnPropertyDescriptor(s,s.length-1);if(d&&!d.get)return!0;for(var u=0;u<s.length;u++)if(!s.hasOwnProperty(u))return!0;return!1}function i(l){l.g&&Se(3,JSON.stringify(tt(l)))}var c={};gd("ES5",{J:function(l,s){var d=Array.isArray(l),u=function(m,b){if(m){for(var x=Array(b.length),v=0;v<b.length;v++)Object.defineProperty(x,""+v,t(v,!0));return x}var C=Nc(b);delete C[V];for(var A=Ut(C),I=0;I<A.length;I++){var P=A[I];C[P]=t(P,m||!!C[P].enumerable)}return Object.create(Object.getPrototypeOf(b),C)}(d,l),y={i:d?5:4,A:s?s.A:na(),P:!1,I:!1,R:{},l:s,t:l,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,V,{value:y,writable:!0}),u},S:function(l,s,d){d?Ke(s)&&s[V].A===l&&e(l.p):(l.u&&function u(y){if(y&&typeof y=="object"){var m=y[V];if(m){var b=m.t,x=m.k,v=m.R,C=m.i;if(C===4)Ct(x,function(S){S!==V&&(b[S]!==void 0||Tt(b,S)?v[S]||u(x[S]):(v[S]=!0,ot(m)))}),Ct(b,function(S){x[S]!==void 0||Tt(x,S)||(v[S]=!1,ot(m))});else if(C===5){if(n(m)&&(ot(m),v.length=!0),x.length<b.length)for(var A=x.length;A<b.length;A++)v[A]=!1;else for(var I=b.length;I<x.length;I++)v[I]=!0;for(var P=Math.min(x.length,b.length),O=0;O<P;O++)x.hasOwnProperty(O)||(v[O]=!0),v[O]===void 0&&u(x[O])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var xc,Ao,ua=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",bd=typeof Map<"u",xd=typeof Set<"u",vc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ec=ua?Symbol.for("immer-nothing"):((xc={})["immer-nothing"]=!0,xc),Sc=ua?Symbol.for("immer-draftable"):"__$immer_draftable",V=ua?Symbol.for("immer-state"):"__$immer_state";var vd=""+Object.prototype.constructor,Ut=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Nc=Object.getOwnPropertyDescriptors||function(t){var e={};return Ut(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ca={},Io={get:function(t,e){if(e===V)return t;var r=tt(t);if(!Tt(r,e))return function(i,c,l){var s,d=yc(c,l);return d?"value"in d?d.value:(s=d.get)===null||s===void 0?void 0:s.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!we(n)?n:n===oa(t.t,e)?(ra(t),t.o[e]=ia(t.A.h,n,t)):n},has:function(t,e){return e in tt(t)},ownKeys:function(t){return Reflect.ownKeys(tt(t))},set:function(t,e,r){var n=yc(tt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=oa(tt(t),e),c=i?.[V];if(c&&c.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Cc(r,i)&&(r!==void 0||Tt(t.t,e)))return!0;ra(t),ot(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return oa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ra(t),ot(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=tt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Se(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Se(12)}},Ro={};Ct(Io,function(t,e){Ro[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ro.deleteProperty=function(t,e){return Ro.set.call(this,t,e,void 0)},Ro.set=function(t,e,r){return Io.set.call(this,t[0],e,r,t[0])};var Sd=function(){function t(r){var n=this;this.O=vc,this.D=!0,this.produce=function(i,c,l){if(typeof i=="function"&&typeof c!="function"){var s=c;c=i;var d=n;return function(C){var A=this;C===void 0&&(C=s);for(var I=arguments.length,P=Array(I>1?I-1:0),O=1;O<I;O++)P[O-1]=arguments[O];return d.produce(C,function(S){var w;return(w=c).call.apply(w,[A,S].concat(P))})}}var u;if(typeof c!="function"&&Se(6),l!==void 0&&typeof l!="function"&&Se(7),we(i)){var y=gc(n),m=ia(n,i,void 0),b=!0;try{u=c(m),b=!1}finally{b?fr(y):aa(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return ea(y,l),ta(C,y)},function(C){throw fr(y),C}):(ea(y,l),ta(u,y))}if(!i||typeof i!="object"){if((u=c(i))===void 0&&(u=i),u===Ec&&(u=void 0),n.D&&pa(u,!0),l){var x=[],v=[];Le("Patches").M(i,u,x,v),l(x,v)}return u}Se(21,i)},this.produceWithPatches=function(i,c){if(typeof i=="function")return function(u){for(var y=arguments.length,m=Array(y>1?y-1:0),b=1;b<y;b++)m[b-1]=arguments[b];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(m))})};var l,s,d=n.produce(i,c,function(u,y){l=u,s=y});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,l,s]}):[d,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){we(r)||Se(8),Ke(r)&&(r=yd(r));var n=gc(this),i=ia(this,r,void 0);return i[V].C=!0,aa(n),i},e.finishDraft=function(r,n){var i=r&&r[V],c=i.A;return ea(c,n),ta(void 0,c)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!vc&&Se(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var c=n[i];if(c.path.length===0&&c.op==="replace"){r=c.value;break}}i>-1&&(n=n.slice(i+1));var l=Le("Patches").$;return Ke(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},t}(),ye=new Sd,Od=ye.produce,tm=ye.produceWithPatches.bind(ye),om=ye.setAutoFreeze.bind(ye),rm=ye.setUseProxies.bind(ye),nm=ye.applyPatches.bind(ye),am=ye.createDraft.bind(ye),im=ye.finishDraft.bind(ye),gr=Od;function rt(t){"@babel/helpers - typeof";return rt=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},rt(t)}function ha(t,e){if(rt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(rt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ga(t){var e=ha(t,"string");return rt(e)==="symbol"?e:String(e)}function ma(t,e,r){return e=ga(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function mr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Rc(Object(r),!0).forEach(function(n){ma(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ne(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ac=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ya=function(){return Math.random().toString(36).substring(7).split("").join(".")},yr={INIT:"@@redux/INIT"+ya(),REPLACE:"@@redux/REPLACE"+ya(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ya()}};function Cd(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function ba(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ne(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ne(1));return r(ba)(t,e)}if(typeof t!="function")throw new Error(ne(2));var i=t,c=e,l=[],s=l,d=!1;function u(){s===l&&(s=l.slice())}function y(){if(d)throw new Error(ne(3));return c}function m(C){if(typeof C!="function")throw new Error(ne(4));if(d)throw new Error(ne(5));var A=!0;return u(),s.push(C),function(){if(A){if(d)throw new Error(ne(6));A=!1,u();var P=s.indexOf(C);s.splice(P,1),l=null}}}function b(C){if(!Cd(C))throw new Error(ne(7));if(typeof C.type>"u")throw new Error(ne(8));if(d)throw new Error(ne(9));try{d=!0,c=i(c,C)}finally{d=!1}for(var A=l=s,I=0;I<A.length;I++){var P=A[I];P()}return C}function x(C){if(typeof C!="function")throw new Error(ne(10));i=C,b({type:yr.REPLACE})}function v(){var C,A=m;return C={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(ne(11));function O(){P.next&&P.next(y())}O();var S=A(O);return{unsubscribe:S}}},C[Ac]=function(){return this},C}return b({type:yr.INIT}),n={dispatch:b,subscribe:m,getState:y,replaceReducer:x},n[Ac]=v,n}function wd(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:yr.INIT});if(typeof n>"u")throw new Error(ne(12));if(typeof r(void 0,{type:yr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ne(13))})}function Ic(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var c=Object.keys(r),l,s;try{wd(r)}catch(d){s=d}return function(u,y){if(u===void 0&&(u={}),s)throw s;if(0)var m;for(var b=!1,x={},v=0;v<c.length;v++){var C=c[v],A=r[C],I=u[C],P=A(I,y);if(typeof P>"u"){var O=y&&y.type;throw new Error(ne(14))}x[C]=P,b=b||P!==I}return b=b||c.length!==Object.keys(u).length,b?x:u}}function Bt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Pc(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),c=function(){throw new Error(ne(15))},l={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},s=e.map(function(d){return d(l)});return c=Bt.apply(void 0,s)(i.dispatch),mr(mr({},i),{},{dispatch:c})}}}function Lc(t){var e=function(n){var i=n.dispatch,c=n.getState;return function(l){return function(s){return typeof s=="function"?s(i,c,t):l(s)}}};return e}var _c=Lc();_c.withExtraArgument=Lc;var xa=_c;var Uc=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(n[c]=i[c])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ed=function(t,e){var r={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},n,i,c,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(u){return function(y){return d([u,y])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(c=u[0]&2?i.return:u[0]?i.throw||((c=i.return)&&c.call(i),0):i.next)&&!(c=c.call(i,u[1])).done)return c;switch(i=0,c&&(u=[u[0]&2,c.value]),u[0]){case 0:case 1:c=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(c=r.trys,!(c=c.length>0&&c[c.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!c||u[1]>c[0]&&u[1]<c[3])){r.label=u[1];break}if(u[0]===6&&r.label<c[1]){r.label=c[1],c=u;break}if(c&&r.label<c[2]){r.label=c[2],r.ops.push(u);break}c[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(y){u=[6,y],i=0}finally{n=c=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Dt=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Nd=Object.defineProperty,Rd=Object.defineProperties,Ad=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertySymbols,Id=Object.prototype.hasOwnProperty,Pd=Object.prototype.propertyIsEnumerable,Wc=function(t,e,r){return e in t?Nd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},nt=function(t,e){for(var r in e||(e={}))Id.call(e,r)&&Wc(t,r,e[r]);if($c)for(var n=0,i=$c(e);n<i.length;n++){var r=i[n];Pd.call(e,r)&&Wc(t,r,e[r])}return t},va=function(t,e){return Rd(t,Ad(e))},Ld=function(t,e,r){return new Promise(function(n,i){var c=function(d){try{s(r.next(d))}catch(u){i(u)}},l=function(d){try{s(r.throw(d))}catch(u){i(u)}},s=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(c,l)};s((r=r.apply(t,e)).next())})};var _d=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Bt:Bt.apply(null,arguments)},wm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function $d(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Wd=function(t){Uc(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Dt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Dt([void 0],r.concat(this))))},e}(Array),kd=function(t){Uc(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Dt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Dt([void 0],r.concat(this))))},e}(Array);function Ca(t){return we(t)?gr(t,function(){}):t}function Td(t){return typeof t=="boolean"}function Ud(){return function(e){return zd(e)}}function zd(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,c=t.serializableCheck,l=c===void 0?!0:c,s=new Wd;if(r&&(Td(r)?s.push(xa):s.push(xa.withExtraArgument(r.extraArgument))),0){if(i)var d;if(l)var u}return s}var Sa=!0;function zc(t){var e=Ud(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,c=r.middleware,l=c===void 0?e():c,s=r.devTools,d=s===void 0?!0:s,u=r.preloadedState,y=u===void 0?void 0:u,m=r.enhancers,b=m===void 0?void 0:m,x;if(typeof i=="function")x=i;else if($d(i))x=Ic(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 v=l;if(typeof v=="function"&&(v=v(e),!Sa&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Sa&&v.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Pc.apply(void 0,v),A=Bt;d&&(A=_d(nt({trace:!Sa},typeof d=="object"&&d)));var I=new kd(C),P=I;Array.isArray(b)?P=Dt([C],b):typeof b=="function"&&(P=b(I));var O=A.apply(void 0,P);return ba(x,y,O)}function at(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var c=e.apply(void 0,n);if(!c)throw new Error("prepareAction did not return an object");return nt(nt({type:t,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Bc(t){var e={},r=[],n,i={addCase:function(c,l){var s=typeof c=="string"?c:c.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=l,i},addMatcher:function(c,l){return r.push({matcher:c,reducer:l}),i},addDefaultCase:function(c){return n=c,i}};return t(i),[e,r,n]}function Bd(t){return typeof t=="function"}function Dd(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Bc(e):[e,r,n],c=i[0],l=i[1],s=i[2],d;if(Bd(t))d=function(){return Ca(t())};else{var u=Ca(t);d=function(){return u}}function y(m,b){m===void 0&&(m=d());var x=Dt([c[b.type]],l.filter(function(v){var C=v.matcher;return C(b)}).map(function(v){var C=v.reducer;return C}));return x.filter(function(v){return!!v}).length===0&&(x=[s]),x.reduce(function(v,C){if(C)if(Ke(v)){var A=v,I=C(A,b);return I===void 0?v:I}else{if(we(v))return gr(v,function(P){return C(P,b)});var I=C(v,b);if(I===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return v},m)}return y.getInitialState=d,y}function Md(t,e){return t+"/"+e}function Dc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Ca(t.initialState),n=t.reducers||{},i=Object.keys(n),c={},l={},s={};i.forEach(function(y){var m=n[y],b=Md(e,y),x,v;"reducer"in m?(x=m.reducer,v=m.prepare):x=m,c[y]=x,l[b]=x,s[y]=v?at(b,v):at(b)});function d(){var y=typeof t.extraReducers=="function"?Bc(t.extraReducers):[t.extraReducers],m=y[0],b=m===void 0?{}:m,x=y[1],v=x===void 0?[]:x,C=y[2],A=C===void 0?void 0:C,I=nt(nt({},b),l);return Dd(r,function(P){for(var O in I)P.addCase(O,I[O]);for(var S=0,w=v;S<w.length;S++){var k=w[S];P.addMatcher(k.matcher,k.reducer)}A&&P.addDefaultCase(A)})}var u;return{name:e,reducer:function(y,m){return u||(u=d()),u(y,m)},actions:s,caseReducers:c,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Hd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Fd=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Hd[Math.random()*64|0];return e},Gd=["name","message","stack","code"],Oa=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),kc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Kd=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Gd;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Am=function(){function t(e,r,n){var i=at(e+"/fulfilled",function(y,m,b,x){return{payload:y,meta:va(nt({},x||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),c=at(e+"/pending",function(y,m,b){return{payload:void 0,meta:va(nt({},b||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),l=at(e+"/rejected",function(y,m,b,x,v){return{payload:x,error:(n&&n.serializeError||Kd)(y||"Rejected"),meta:va(nt({},v||{}),{arg:b,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),s=!1,d=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function u(y){return function(m,b,x){var v=n?.idGenerator?n.idGenerator(y):Fd(),C=new d,A,I=!1;function P(S){A=S,C.abort()}var O=function(){return Ld(this,null,function(){var S,w,k,M,ie,G,$;return Ed(this,function(T){switch(T.label){case 0:return T.trys.push([0,4,,5]),M=(S=n?.condition)==null?void 0:S.call(n,y,{getState:b,extra:x}),Vd(M)?[4,M]:[3,2];case 1:M=T.sent(),T.label=2;case 2:if(M===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,ie=new Promise(function(B,re){return C.signal.addEventListener("abort",function(){return re({name:"AbortError",message:A||"Aborted"})})}),m(c(v,y,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:v,arg:y},{getState:b,extra:x}))),[4,Promise.race([ie,Promise.resolve(r(y,{dispatch:m,getState:b,extra:x,requestId:v,signal:C.signal,abort:P,rejectWithValue:function(B,re){return new Oa(B,re)},fulfillWithValue:function(B,re){return new kc(B,re)}})).then(function(B){if(B instanceof Oa)throw B;return B instanceof kc?i(B.payload,v,y,B.meta):i(B,v,y)})])];case 3:return k=T.sent(),[3,5];case 4:return G=T.sent(),k=G instanceof Oa?l(null,v,y,G.payload,G.meta):l(G,v,y),[3,5];case 5:return $=n&&!n.dispatchConditionRejection&&l.match(k)&&k.meta.condition,$||m(k),[2,k]}})})}();return Object.assign(O,{abort:P,requestId:v,arg:y,unwrap:function(){return O.then(Zd)}})}}return Object.assign(u,{pending:c,rejected:l,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Zd(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Vd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Mc="listener",Hc="completed",Fc="cancelled",Im="task-"+Fc,Pm="task-"+Hc,Lm=Mc+"-"+Fc,_m=Mc+"-"+Hc;var wa="listenerMiddleware";var $m=at(wa+"/add"),Wm=at(wa+"/removeAll"),km=at(wa+"/remove");var Tc,Tm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Tc||(Tc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},jd=function(t){return function(e){setTimeout(e,t)}},Um=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:jd(10);wc();window.ftReduxStores||(window.ftReduxStores={});var Ea=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,c=window.ftReduxStores[n];if(St(c))return c;if(i==null)return;let l=Dc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=zc({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:l.reducer(d,u)});return window.ftReduxStores[i.name]=new t(l,s)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new No,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,c)=>{let l=i,s=n[l];return s?(...d)=>{let u=s(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[l]: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 Yd(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))St(e)&&e.clear()}var Ra={};Z(Ra,{serializeRequest:()=>Xd});function qd(t){return`"${t}"`}function Xd(t,e){var r,n,i,c;let l=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&l.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&l.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&l.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let d=e.periodFilter.period,u=d?`_${d.from}_${d.to}`:"";l.append("period",e.periodFilter.periodType.toLowerCase()+u)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&l.append("sort","last_update"),((c=e.filters)===null||c===void 0?void 0:c.length)>0){let d=e.filters.map(u=>{let y=u.values.map(m=>m.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(m=>encodeURIComponent(qd(m))).join("_");return`${u.key}~${y}`}).join("*");l.append("filters",d)}return new URL(`${t.replace(/\/+$/,"")}/search?${l.toString()}`).href}var Ia={};Z(Ia,{toFtFormComponent:()=>Aa});var br=Symbol("elementInternals");function Aa(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[br].form}constructor(...i){super(i),this[br]=this.attachInternals(),this[br].role=e}setFormValue(i){this[br].setFormValue(i)}}return r}var xr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Pa,La,_a,$a,Wa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((_a=(La=(Pa=window.safari)===null||Pa===void 0?void 0:Pa.pushNotification)===null||La===void 0?void 0:La.toString())!==null&&_a!==void 0?_a:"")==="[object SafariRemoteNotification]",Jd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=($a=window.ftGlobals)!==null&&$a!==void 0?$a:{lit:Ur,litDecorators:Br,litRepeat:Dr,litClassMap:Mr,litStyleMap:Fr,litUnsafeHTML:Kr,wcUtils:{...Yr,...Vr,...Xr,...xr,...Jr,...en,...Pn,...Wn,...Zn,...In,...jn,...sc,...Qr,...Xn,...Jn,...pc,...Qn,...Na,...Vn,...Ra,...Ia,isSafari:Wa,isTouchScreen:Jd}};var Gc;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Gc||(Gc={}));var Qd=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},Ta=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ka=Symbol("registerInterval");function ep(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[ka]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ka]):this.dispatchEvent(new Ta)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ka,Qd([q()],r.prototype,"stateManager",void 0),r}var Mt=class extends ep(et){};var Zc=Symbol.for(""),tp=t=>{if(t?.r===Zc)return t?._$litStatic$},Ua=t=>({_$litStatic$:t,r:Zc});var Kc=new Map,Vc=t=>(e,...r)=>{let n=r.length,i,c,l=[],s=[],d,u=0,y=!1;for(;u<n;){for(d=e[u];u<n&&(c=r[u],(i=tp(c))!==void 0);)d+=i+e[++u],y=!0;u!==n&&s.push(c),l.push(d),u++}if(u===n&&l.push(e[n]),y){let m=l.join("$$lit$$");(e=Kc.get(m))===void 0&&(l.raw=l,Kc.set(m,e=l)),r=s}return t(e,...r)},za=Vc(ni),Iy=Vc(ai);var wt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(wt||(wt={}));function jc(t){let e=go[t];return L`
43
+ .ft-typography--${Te(t)} {
44
44
  font-family: ${e.fontFamily};
45
45
  font-size: ${e.fontSize};
46
46
  font-weight: ${e.fontWeight};
@@ -48,45 +48,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
48
48
  line-height: ${e.lineHeight};
49
49
  text-transform: ${e.textCase};
50
50
  }
51
- `}var Vs=o.extend("--ft-typography-font-family","",I.titleFont),He=o.extend("--ft-typography-font-family","",I.contentFont),R={fontFamily:He,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Wt={fontFamily:o.extend("--ft-typography-title-font-family","",Vs),fontSize:o.extend("--ft-typography-title-font-size","",R.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",R.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",R.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",R.textTransform,"inherit")},zt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Vs),fontSize:o.extend("--ft-typography-title-dense-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",R.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",R.textTransform,"inherit")},Bt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",He),fontSize:o.extend("--ft-typography-subtitle1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",R.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",R.textTransform,"inherit")},Ut={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",He),fontSize:o.extend("--ft-typography-subtitle2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",R.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",R.textTransform,"inherit")},Ht={fontFamily:o.extend("--ft-typography-body1-font-family","",He),fontSize:o.extend("--ft-typography-body1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",R.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",R.textTransform,"inherit")},Ft={fontFamily:o.extend("--ft-typography-body2-font-family","",He),fontSize:o.extend("--ft-typography-body2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",R.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",R.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",R.textTransform,"inherit")},jt={fontFamily:o.extend("--ft-typography-caption-font-family","",He),fontSize:o.extend("--ft-typography-caption-font-size","",R.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",R.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",R.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",R.textTransform,"inherit")},Vt={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",He),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",R.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",R.textTransform,"inherit")},Kt={fontFamily:o.extend("--ft-typography-overline-font-family","",He),fontSize:o.extend("--ft-typography-overline-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",R.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",R.textTransform,"uppercase")},_e={fontFamily:o.extend("--ft-typography-button-font-family","",He),fontSize:o.extend("--ft-typography-button-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",R.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",R.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",R.textTransform,"uppercase")},Ks=P`
51
+ `}var Yc=o.extend("--ft-typography-font-family","",U.titleFont),Ze=o.extend("--ft-typography-font-family","",U.contentFont),_={fontFamily:Ze,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ht={fontFamily:o.extend("--ft-typography-title-font-family","",Yc),fontSize:o.extend("--ft-typography-title-font-size","",_.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",_.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",_.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",_.textTransform,"inherit")},Ft={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Yc),fontSize:o.extend("--ft-typography-title-dense-font-size","",_.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",_.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",_.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",_.textTransform,"inherit")},Gt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Ze),fontSize:o.extend("--ft-typography-subtitle1-font-size","",_.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",_.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",_.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",_.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",_.textTransform,"inherit")},Kt={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Ze),fontSize:o.extend("--ft-typography-subtitle2-font-size","",_.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",_.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",_.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",_.textTransform,"inherit")},Zt={fontFamily:o.extend("--ft-typography-body1-font-family","",Ze),fontSize:o.extend("--ft-typography-body1-font-size","",_.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",_.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",_.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",_.textTransform,"inherit")},Vt={fontFamily:o.extend("--ft-typography-body2-font-family","",Ze),fontSize:o.extend("--ft-typography-body2-font-size","",_.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",_.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",_.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",_.textTransform,"inherit")},jt={fontFamily:o.extend("--ft-typography-caption-font-family","",Ze),fontSize:o.extend("--ft-typography-caption-font-size","",_.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",_.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",_.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",_.textTransform,"inherit")},Yt={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Ze),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",_.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",_.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",_.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",_.textTransform,"inherit")},qt={fontFamily:o.extend("--ft-typography-overline-font-family","",Ze),fontSize:o.extend("--ft-typography-overline-font-size","",_.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",_.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",_.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",_.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",_.textTransform,"uppercase")},_e={fontFamily:o.extend("--ft-typography-button-font-family","",Ze),fontSize:o.extend("--ft-typography-button-font-size","",_.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",_.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",_.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",_.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",_.textTransform,"uppercase")},qc=L`
52
52
  .ft-typography--title {
53
- font-family: ${Wt.fontFamily};
54
- font-size: ${Wt.fontSize};
55
- font-weight: ${Wt.fontWeight};
56
- letter-spacing: ${Wt.letterSpacing};
57
- line-height: ${Wt.lineHeight};
58
- text-transform: ${Wt.textTransform};
59
- }
60
- `,Gs=P`
61
- .ft-typography--title-dense {
62
- font-family: ${zt.fontFamily};
63
- font-size: ${zt.fontSize};
64
- font-weight: ${zt.fontWeight};
65
- letter-spacing: ${zt.letterSpacing};
66
- line-height: ${zt.lineHeight};
67
- text-transform: ${zt.textTransform};
68
- }
69
- `,Zs=P`
70
- .ft-typography--subtitle1 {
71
- font-family: ${Bt.fontFamily};
72
- font-size: ${Bt.fontSize};
73
- font-weight: ${Bt.fontWeight};
74
- letter-spacing: ${Bt.letterSpacing};
75
- line-height: ${Bt.lineHeight};
76
- text-transform: ${Bt.textTransform};
77
- }
78
- `,qs=P`
79
- .ft-typography--subtitle2 {
80
- font-family: ${Ut.fontFamily};
81
- font-size: ${Ut.fontSize};
82
- font-weight: ${Ut.fontWeight};
83
- letter-spacing: ${Ut.letterSpacing};
84
- line-height: ${Ut.lineHeight};
85
- text-transform: ${Ut.textTransform};
86
- }
87
-
88
- `,Ys=P`
89
- .ft-typography--body1 {
90
53
  font-family: ${Ht.fontFamily};
91
54
  font-size: ${Ht.fontSize};
92
55
  font-weight: ${Ht.fontWeight};
@@ -94,8 +57,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
94
57
  line-height: ${Ht.lineHeight};
95
58
  text-transform: ${Ht.textTransform};
96
59
  }
97
- `,Xs=P`
98
- .ft-typography--body2 {
60
+ `,Xc=L`
61
+ .ft-typography--title-dense {
99
62
  font-family: ${Ft.fontFamily};
100
63
  font-size: ${Ft.fontSize};
101
64
  font-weight: ${Ft.fontWeight};
@@ -103,7 +66,44 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
103
66
  line-height: ${Ft.lineHeight};
104
67
  text-transform: ${Ft.textTransform};
105
68
  }
106
- `,Js=P`
69
+ `,Jc=L`
70
+ .ft-typography--subtitle1 {
71
+ font-family: ${Gt.fontFamily};
72
+ font-size: ${Gt.fontSize};
73
+ font-weight: ${Gt.fontWeight};
74
+ letter-spacing: ${Gt.letterSpacing};
75
+ line-height: ${Gt.lineHeight};
76
+ text-transform: ${Gt.textTransform};
77
+ }
78
+ `,Qc=L`
79
+ .ft-typography--subtitle2 {
80
+ font-family: ${Kt.fontFamily};
81
+ font-size: ${Kt.fontSize};
82
+ font-weight: ${Kt.fontWeight};
83
+ letter-spacing: ${Kt.letterSpacing};
84
+ line-height: ${Kt.lineHeight};
85
+ text-transform: ${Kt.textTransform};
86
+ }
87
+
88
+ `,el=L`
89
+ .ft-typography--body1 {
90
+ font-family: ${Zt.fontFamily};
91
+ font-size: ${Zt.fontSize};
92
+ font-weight: ${Zt.fontWeight};
93
+ letter-spacing: ${Zt.letterSpacing};
94
+ line-height: ${Zt.lineHeight};
95
+ text-transform: ${Zt.textTransform};
96
+ }
97
+ `,tl=L`
98
+ .ft-typography--body2 {
99
+ font-family: ${Vt.fontFamily};
100
+ font-size: ${Vt.fontSize};
101
+ font-weight: ${Vt.fontWeight};
102
+ letter-spacing: ${Vt.letterSpacing};
103
+ line-height: ${Vt.lineHeight};
104
+ text-transform: ${Vt.textTransform};
105
+ }
106
+ `,ol=L`
107
107
  .ft-typography--caption {
108
108
  font-family: ${jt.fontFamily};
109
109
  font-size: ${jt.fontSize};
@@ -112,25 +112,25 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
112
112
  line-height: ${jt.lineHeight};
113
113
  text-transform: ${jt.textTransform};
114
114
  }
115
- `,Qs=P`
115
+ `,rl=L`
116
116
  .ft-typography--breadcrumb {
117
- font-family: ${Vt.fontFamily};
118
- font-size: ${Vt.fontSize};
119
- font-weight: ${Vt.fontWeight};
120
- letter-spacing: ${Vt.letterSpacing};
121
- line-height: ${Vt.lineHeight};
122
- text-transform: ${Vt.textTransform};
123
- }
124
- `,el=P`
117
+ font-family: ${Yt.fontFamily};
118
+ font-size: ${Yt.fontSize};
119
+ font-weight: ${Yt.fontWeight};
120
+ letter-spacing: ${Yt.letterSpacing};
121
+ line-height: ${Yt.lineHeight};
122
+ text-transform: ${Yt.textTransform};
123
+ }
124
+ `,nl=L`
125
125
  .ft-typography--overline {
126
- font-family: ${Kt.fontFamily};
127
- font-size: ${Kt.fontSize};
128
- font-weight: ${Kt.fontWeight};
129
- letter-spacing: ${Kt.letterSpacing};
130
- line-height: ${Kt.lineHeight};
131
- text-transform: ${Kt.textTransform};
132
- }
133
- `,tl=P`
126
+ font-family: ${qt.fontFamily};
127
+ font-size: ${qt.fontSize};
128
+ font-weight: ${qt.fontWeight};
129
+ letter-spacing: ${qt.letterSpacing};
130
+ line-height: ${qt.lineHeight};
131
+ text-transform: ${qt.textTransform};
132
+ }
133
+ `,al=L`
134
134
  .ft-typography--button {
135
135
  font-family: ${_e.fontFamily};
136
136
  font-size: ${_e.fontSize};
@@ -139,38 +139,38 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
139
139
  line-height: ${_e.lineHeight};
140
140
  text-transform: ${_e.textTransform};
141
141
  }
142
- `,ol=P`
142
+ `,il=L`
143
143
  .ft-typography {
144
144
  vertical-align: inherit;
145
145
  }
146
- `,rl=[Object.keys(po).map(t=>js(t))];var nl=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},me=class extends K{constructor(){super(...arguments),this.variant=vt.body1}render(){return this.element?Ii`
147
- <${Ti(this.element)}
146
+ `,cl=[Object.keys(go).map(t=>jc(t))];var ll=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},be=class extends Y{constructor(){super(...arguments),this.variant=wt.body1}render(){return this.element?za`
147
+ <${Ua(this.element)}
148
148
  part="text"
149
149
  class="ft-typography ft-typography--${this.variant}">
150
150
  <slot></slot>
151
- </${Ti(this.element)}>
152
- `:Ii`
151
+ </${Ua(this.element)}>
152
+ `:za`
153
153
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
154
- `}};me.styles=[Ks,Gs,Zs,qs,Ys,Xs,Js,Qs,el,tl,ol,...rl];nl([O()],me.prototype,"element",void 0);nl([O()],me.prototype,"variant",void 0);X("ft-typography")(me);var qd={outlineColor:o.extend("--ft-reader-internal-link-outline-color","",I.colorPrimary)},il=P`
154
+ `}};be.styles=[qc,Xc,Jc,Qc,el,tl,ol,rl,nl,al,il,...cl];ll([E()],be.prototype,"element",void 0);ll([E()],be.prototype,"variant",void 0);ee("ft-typography")(be);var op={outlineColor:o.extend("--ft-reader-internal-link-outline-color","",U.colorPrimary)},sl=L`
155
155
  :host {
156
156
  display: contents;
157
157
  }
158
158
 
159
159
  a:focus {
160
- outline-color: ${qd.outlineColor};
160
+ outline-color: ${op.outlineColor};
161
161
  }
162
162
 
163
163
  .ft-reader-link--remove-style {
164
164
  text-decoration: none;
165
165
  color: inherit;
166
166
  }
167
- `;var gr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Oe=class extends Dt{constructor(){super(...arguments),this.removeStyle=!1}render(){var e;let r=ke({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return B`
167
+ `;var vr=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},Ee=class extends Mt{constructor(){super(...arguments),this.removeStyle=!1}render(){var e;let r=Be({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return F`
168
168
  <a class=${r}
169
169
  href="${(e=this.service)===null||e===void 0?void 0:e.getLink(this.tocId,this.pageNumber,this.section)}"
170
170
  @click=${n=>this.onLinkClick(n)}>
171
171
  <slot></slot>
172
172
  </a>
173
- `}onLinkClick(e){var r;!e.ctrlKey&&!e.metaKey&&(e.stopPropagation(),e.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(r=this.stateManager)===null||r===void 0||r.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};Oe.styles=il;gr([O()],Oe.prototype,"tocId",void 0);gr([O()],Oe.prototype,"section",void 0);gr([O({type:Number})],Oe.prototype,"pageNumber",void 0);gr([O({type:Boolean})],Oe.prototype,"removeStyle",void 0);X("ft-reader-internal-link")(Oe);var yr;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(yr||(yr={}));var C;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(C||(C={}));var Tb=new Map([...["abw"].map(t=>[t,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]);var Ib={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var ie={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},al=P`
173
+ `}onLinkClick(e){var r;!e.ctrlKey&&!e.metaKey&&(e.stopPropagation(),e.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(r=this.stateManager)===null||r===void 0||r.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};Ee.styles=sl;vr([E()],Ee.prototype,"tocId",void 0);vr([E()],Ee.prototype,"section",void 0);vr([E({type:Number})],Ee.prototype,"pageNumber",void 0);vr([E({type:Boolean})],Ee.prototype,"removeStyle",void 0);ee("ft-reader-internal-link")(Ee);var Sr;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Sr||(Sr={}));var N;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(N||(N={}));var Db=new Map([...["abw"].map(t=>[t,N.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,N.AUDIO]),...["avi"].map(t=>[t,N.AVI]),...["chm","xhs"].map(t=>[t,N.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,N.CODE]),...["csv"].map(t=>[t,N.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,N.DITA]),...["epub"].map(t=>[t,N.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,N.EXCEL]),...["flac"].map(t=>[t,N.FLAC]),...["gif"].map(t=>[t,N.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,N.GZIP]),...["html","htm","xhtml"].map(t=>[t,N.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,N.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,N.JPEG]),...["json"].map(t=>[t,N.JSON]),...["m4a","m4p"].map(t=>[t,N.M4A]),...["mov","qt"].map(t=>[t,N.MOV]),...["mp3"].map(t=>[t,N.MP3]),...["mp4","m4v"].map(t=>[t,N.MP4]),...["ogg","oga"].map(t=>[t,N.OGG]),...["pdf","ps"].map(t=>[t,N.PDF]),...["png"].map(t=>[t,N.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,N.POWERPOINT]),...["rar"].map(t=>[t,N.RAR]),...["stp"].map(t=>[t,N.STP]),...["txt","rtf","md","mdown"].map(t=>[t,N.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,N.VIDEO]),...["wav"].map(t=>[t,N.WAV]),...["wma"].map(t=>[t,N.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,N.WORD]),...["xml","xsl","rdf"].map(t=>[t,N.XML]),...["yaml","yml","x-yaml"].map(t=>[t,N.YAML]),...["zip"].map(t=>[t,N.ZIP])]);var Mb={[N.ABW]:"#91ABC6",[N.AUDIO]:"#1795E3",[N.AVI]:"#E63324",[N.CHM]:"#71C3EB",[N.CODE]:"#71C3EB",[N.CSV]:"#1F7345",[N.DITA]:"#71C3EB",[N.EPUB]:"#85B926",[N.EXCEL]:"#1F7345",[N.FLAC]:"#1795E3",[N.GIF]:"#59B031",[N.GZIP]:"#F8AB36",[N.HTML]:"#71C3EB",[N.IMAGE]:"#59B031",[N.JPEG]:"#59B031",[N.JSON]:"#71C3EB",[N.M4A]:"#1795E3",[N.MOV]:"#E63324",[N.MP3]:"#1795E3",[N.MP4]:"#E63324",[N.OGG]:"#1795E3",[N.PDF]:"#E44948",[N.PNG]:"#59B031",[N.POWERPOINT]:"#B54A2B",[N.RAR]:"#F8AB36",[N.STP]:"#3764B1",[N.TEXT]:"#3162AB",[N.UNKNOWN]:"#999999",[N.VIDEO]:"#E63324",[N.WAV]:"#1795E3",[N.WMA]:"#1795E3",[N.WORD]:"#3162AB",[N.XML]:"#71C3EB",[N.YAML]:"#71C3EB",[N.ZIP]:"#F8AB36"};var le={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},dl=L`
174
174
  :host, i.ft-icon {
175
175
  display: inline-flex;
176
176
  align-items: center;
@@ -179,14 +179,14 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
179
179
  }
180
180
 
181
181
  :host {
182
- width: ${ie.size};
183
- height: ${ie.size};
182
+ width: ${le.size};
183
+ height: ${le.size};
184
184
  }
185
185
 
186
186
  i.ft-icon {
187
187
  width: 100%;
188
188
  height: 100%;
189
- font-size: ${ie.size};
189
+ font-size: ${le.size};
190
190
  line-height: 1;
191
191
  font-weight: normal;
192
192
  text-transform: none;
@@ -197,33 +197,33 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
197
197
  text-rendering: auto;
198
198
  -webkit-font-smoothing: antialiased;
199
199
  -moz-osx-font-smoothing: grayscale;
200
- vertical-align: ${ie.verticalAlign};
200
+ vertical-align: ${le.verticalAlign};
201
201
  }
202
202
 
203
203
  i.ft-icon.ft-icon--fluid-topics {
204
- font-family: ${ie.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
204
+ font-family: ${le.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
205
205
 
206
206
  /* Ugly fix because font is broken */
207
- font-size: calc(0.75 * ${ie.size});
208
- line-height: ${ie.size};
207
+ font-size: calc(0.75 * ${le.size});
208
+ line-height: ${le.size};
209
209
  position: relative;
210
210
  top: -4%;
211
211
  justify-content: center;
212
212
  }
213
213
 
214
214
  .ft-icon--file-format {
215
- font-family: ${ie.fileFormatFontFamily}, ft-mime, sans-serif;
215
+ font-family: ${le.fileFormatFontFamily}, ft-mime, sans-serif;
216
216
  }
217
217
 
218
218
  .ft-icon--material {
219
- font-family: ${ie.materialFontFamily}, "Material Icons", sans-serif;
219
+ font-family: ${le.materialFontFamily}, "Material Icons", sans-serif;
220
220
  }
221
- `;var Ce;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ce||(Ce={}));var br=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ae=class extends K{constructor(){super(...arguments),this.resolvedIcon=z}render(){let e=this.variant&&Object.values(Ce).includes(this.variant)?this.variant:Ce.fluid_topics,r=e!==Ce.material||!!this.value;return B`
221
+ `;var Ne;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ne||(Ne={}));var Or=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},se=class extends Y{constructor(){super(...arguments),this.resolvedIcon=H}render(){let e=this.variant&&Object.values(Ne).includes(this.variant)?this.variant:Ne.fluid_topics,r=e!==Ne.material||!!this.value;return F`
222
222
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
223
- ${Br(this.resolvedIcon)}
223
+ ${Gr(this.resolvedIcon)}
224
224
  <slot ?hidden=${r}></slot>
225
225
  </i>
226
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Ce.file_format:this.resolvedIcon=(e=C[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ce.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(r=yr[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ae.elementDefinitions={};ae.styles=al;br([O()],ae.prototype,"variant",void 0);br([O()],ae.prototype,"value",void 0);br([G()],ae.prototype,"resolvedIcon",void 0);br([oe("slot")],ae.prototype,"slottedContent",void 0);X("ft-icon")(ae);var sl=o.extend("--ft-ripple-color","",I.colorContent),D={color:sl,backgroundColor:o.extend("--ft-ripple-background-color","",sl),opacityContentOnSurfacePressed:o.external(I.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(I.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(I.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(I.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},ll=o.extend("--ft-ripple-color","",I.colorPrimary),cl={color:ll,backgroundColor:o.extend("--ft-ripple-background-color","",ll)},dl=o.extend("--ft-ripple-color","",I.colorSecondary),pl={color:dl,backgroundColor:o.extend("--ft-ripple-background-color","",dl)},fl=P`
226
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Ne.file_format:this.resolvedIcon=(e=N[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ne.material:this.resolvedIcon=this.value||H;break;default:this.resolvedIcon=(r=Sr[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};se.elementDefinitions={};se.styles=dl;Or([E()],se.prototype,"variant",void 0);Or([E()],se.prototype,"value",void 0);Or([q()],se.prototype,"resolvedIcon",void 0);Or([ae("slot")],se.prototype,"slottedContent",void 0);ee("ft-icon")(se);var pl=o.extend("--ft-ripple-color","",U.colorContent),D={color:pl,backgroundColor:o.extend("--ft-ripple-background-color","",pl),opacityContentOnSurfacePressed:o.external(U.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(U.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(U.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(U.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},fl=o.extend("--ft-ripple-color","",U.colorPrimary),ul={color:fl,backgroundColor:o.extend("--ft-ripple-background-color","",fl)},hl=o.extend("--ft-ripple-color","",U.colorSecondary),gl={color:hl,backgroundColor:o.extend("--ft-ripple-background-color","",hl)},ml=L`
227
227
  :host {
228
228
  display: contents;
229
229
  }
@@ -278,19 +278,19 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
278
278
  }
279
279
 
280
280
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
281
- background-color: ${pl.backgroundColor};
281
+ background-color: ${gl.backgroundColor};
282
282
  }
283
283
 
284
284
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
285
- background-color: ${pl.color};
285
+ background-color: ${gl.color};
286
286
  }
287
287
 
288
288
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
289
- background-color: ${cl.backgroundColor};
289
+ background-color: ${ul.backgroundColor};
290
290
  }
291
291
 
292
292
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
293
- background-color: ${cl.color};
293
+ background-color: ${ul.color};
294
294
  }
295
295
 
296
296
  .ft-ripple .ft-ripple--background {
@@ -335,7 +335,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
335
335
  opacity: ${D.opacityContentOnSurfacePressed};
336
336
  transform: translate(-50%, -50%) scale(1);
337
337
  }
338
- `;var se={color:o.extend("--ft-loader-color","",I.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},ul=P`
338
+ `;var de={color:o.extend("--ft-loader-color","",U.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},yl=L`
339
339
  :host {
340
340
  line-height: 0;
341
341
  }
@@ -344,8 +344,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
344
344
  display: inline-block;
345
345
  position: relative;
346
346
 
347
- width: ${se.size};
348
- height: ${se.size};
347
+ width: ${de.size};
348
+ height: ${de.size};
349
349
  }
350
350
 
351
351
  .ft-loader div {
@@ -354,7 +354,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
354
354
  width: 25%;
355
355
  height: 25%;
356
356
  border-radius: 50%;
357
- background: ${se.color};
357
+ background: ${de.color};
358
358
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
359
359
  }
360
360
 
@@ -401,10 +401,10 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
401
401
  transform: translate(0, 0);
402
402
  }
403
403
  100% {
404
- transform: translate(calc(0.35 * ${se.size}), 0);
404
+ transform: translate(calc(0.35 * ${de.size}), 0);
405
405
  }
406
406
  }
407
- `;var hl=o.extend("--ft-button-color","",I.colorPrimary),V={backgroundColor:o.extend("--ft-button-background-color","",I.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",I.borderRadiusL),color:hl,fontSize:o.extend("--ft-button-font-size","",_e.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",hl),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(I.colorOpacityDisabled,"Design system")},ml=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",I.colorOnPrimary)),ki={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",I.colorPrimary)),color:ml,rippleColor:o.extend("--ft-button-primary-ripple-color","",ml)},Pe={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",I.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},gl=[P`
407
+ `;var bl=o.extend("--ft-button-color","",U.colorPrimary),j={backgroundColor:o.extend("--ft-button-background-color","",U.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",U.borderRadiusL),color:bl,fontSize:o.extend("--ft-button-font-size","",_e.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",bl),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(U.colorOpacityDisabled,"Design system")},xl=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",U.colorOnPrimary)),Ba={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",U.colorPrimary)),color:xl,rippleColor:o.extend("--ft-button-primary-ripple-color","",xl)},$e={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",U.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},vl=[L`
408
408
  :host {
409
409
  display: inline-block;
410
410
  max-width: 100%;
@@ -415,7 +415,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
415
415
  box-shadow: 0px 0px 0px transparent;
416
416
  border: 0px solid transparent;
417
417
  text-shadow: 0px 0px 0px transparent;
418
- font-size: ${V.fontSize};
418
+ font-size: ${j.fontSize};
419
419
  }
420
420
 
421
421
  button:hover {
@@ -444,31 +444,31 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
444
444
  border: none;
445
445
  pointer-events: auto;
446
446
 
447
- --ft-button-internal-line-height: max(calc(${V.fontSize} + 2px), ${V.iconSize});
448
- --ft-button-internal-color: ${V.color};
449
- ${$(ie.size,V.iconSize)};
450
- ${$(D.color,V.rippleColor)};
447
+ --ft-button-internal-line-height: max(calc(${j.fontSize} + 2px), ${j.iconSize});
448
+ --ft-button-internal-color: ${j.color};
449
+ ${W(le.size,j.iconSize)};
450
+ ${W(D.color,j.rippleColor)};
451
451
 
452
- border-radius: ${V.borderRadius};
453
- padding: ${V.verticalPadding} ${V.horizontalPadding};
454
- background-color: ${V.backgroundColor};
452
+ border-radius: ${j.borderRadius};
453
+ padding: ${j.verticalPadding} ${j.horizontalPadding};
454
+ background-color: ${j.backgroundColor};
455
455
  color: var(--ft-button-internal-color);
456
456
  -webkit-mask-image: radial-gradient(white, black);
457
457
  }
458
458
 
459
459
  .ft-button.ft-button--outlined {
460
460
  border: 1px solid var(--ft-button-internal-color);
461
- padding: calc(${V.verticalPadding} - 1px) calc(${V.horizontalPadding} - 1px);
461
+ padding: calc(${j.verticalPadding} - 1px) calc(${j.horizontalPadding} - 1px);
462
462
  }
463
463
 
464
464
  .ft-button.ft-button--dense {
465
- padding: ${Pe.verticalPadding} ${Pe.horizontalPadding};
466
- border-radius: ${Pe.borderRadius};
467
- gap: ${Pe.iconPadding};
465
+ padding: ${$e.verticalPadding} ${$e.horizontalPadding};
466
+ border-radius: ${$e.borderRadius};
467
+ gap: ${$e.iconPadding};
468
468
  }
469
469
 
470
470
  .ft-button.ft-button--dense.ft-button--outlined {
471
- padding: calc(${Pe.verticalPadding} - 1px) calc(${Pe.horizontalPadding} - 1px);
471
+ padding: calc(${$e.verticalPadding} - 1px) calc(${$e.horizontalPadding} - 1px);
472
472
  }
473
473
 
474
474
  .ft-button:not([disabled]):hover {
@@ -476,22 +476,22 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
476
476
  }
477
477
 
478
478
  .ft-button--round {
479
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${V.verticalPadding});
479
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${j.verticalPadding});
480
480
  }
481
481
 
482
482
  .ft-button--round.ft-button--dense {
483
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Pe.verticalPadding});
483
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$e.verticalPadding});
484
484
  }
485
485
 
486
486
  .ft-button[disabled] {
487
487
  filter: grayscale(1);
488
- opacity: ${V.opacityDisabled};
488
+ opacity: ${j.opacityDisabled};
489
489
  }
490
490
 
491
491
  .ft-button.ft-button--primary {
492
- background-color: ${ki.backgroundColor};
493
- --ft-button-internal-color: ${ki.color};
494
- ${$(D.color,ki.rippleColor)};
492
+ background-color: ${Ba.backgroundColor};
493
+ --ft-button-internal-color: ${Ba.color};
494
+ ${W(D.color,Ba.rippleColor)};
495
495
  }
496
496
 
497
497
  .ft-button:focus {
@@ -504,13 +504,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
504
504
  white-space: nowrap;
505
505
  text-overflow: ellipsis;
506
506
  display: block;
507
- margin: 0 ${V.iconPadding};
508
- ${$(_e.fontSize,"1em")};
509
- ${$(_e.lineHeight,"var(--ft-button-internal-line-height)")};
507
+ margin: 0 ${j.iconPadding};
508
+ ${W(_e.fontSize,"1em")};
509
+ ${W(_e.lineHeight,"var(--ft-button-internal-line-height)")};
510
510
  }
511
511
 
512
512
  .ft-button--dense .ft-button--label {
513
- margin: 0 ${Pe.iconPadding};
513
+ margin: 0 ${$e.iconPadding};
514
514
  }
515
515
 
516
516
  .ft-button--label[hidden] {
@@ -523,13 +523,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
523
523
  }
524
524
 
525
525
  .ft-button--label[hidden] + [part="icon"] {
526
- margin: 0 calc(${V.horizontalPadding} * -1);
527
- padding: 0 ${V.verticalPadding};
526
+ margin: 0 calc(${j.horizontalPadding} * -1);
527
+ padding: 0 ${j.verticalPadding};
528
528
  }
529
529
 
530
530
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
531
- margin: 0 calc(${Pe.horizontalPadding} * -1);
532
- padding: 0 ${Pe.verticalPadding};
531
+ margin: 0 calc(${$e.horizontalPadding} * -1);
532
+ padding: 0 ${$e.verticalPadding};
533
533
  }
534
534
 
535
535
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -537,21 +537,21 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
537
537
  }
538
538
 
539
539
  ft-loader {
540
- ${$(se.size,V.iconSize)};
541
- ${$(se.color,"var(--ft-button-internal-color)")};
540
+ ${W(de.size,j.iconSize)};
541
+ ${W(de.color,"var(--ft-button-internal-color)")};
542
542
  }
543
- `,xo];var le=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Z=class extends K{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new fe(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new fe(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return B`
543
+ `,Co];var pe=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},X=class extends Y{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ge(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ge(10),this.moveRipple=e=>{var r,n;let{x:i,y:c}=this.getCoordinates(e),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-l.x:l.width/2),this.originY=Math.round(c!=null?c-l.y:l.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return F`
544
544
  <style>
545
545
  .ft-ripple .ft-ripple--effect {
546
546
  left: ${this.originX}px;
547
547
  top: ${this.originY}px;
548
548
  }
549
549
  </style>
550
- <div class="${ke(e)}">
550
+ <div class="${Be(e)}">
551
551
  <div class="ft-ripple--background"></div>
552
552
  <div class="ft-ripple--effect"></div>
553
553
  </div>
554
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(c)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Z.elementDefinitions={};Z.styles=fl;le([O({type:Boolean})],Z.prototype,"primary",void 0);le([O({type:Boolean})],Z.prototype,"secondary",void 0);le([O({type:Boolean})],Z.prototype,"unbounded",void 0);le([O({type:Boolean})],Z.prototype,"activated",void 0);le([O({type:Boolean})],Z.prototype,"selected",void 0);le([O({type:Boolean})],Z.prototype,"disabled",void 0);le([G()],Z.prototype,"hovered",void 0);le([G()],Z.prototype,"focused",void 0);le([G()],Z.prototype,"pressed",void 0);le([G()],Z.prototype,"rippling",void 0);le([G()],Z.prototype,"originX",void 0);le([G()],Z.prototype,"originY",void 0);le([oe(".ft-ripple")],Z.prototype,"ripple",void 0);le([oe(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0);X("ft-ripple")(Z);var Gt={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(I.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},yl=P`
554
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...s)=>d=>{s.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),c=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},l={passive:!0};e.addEventListener("mouseover",this.startHover,l),e.addEventListener("mousemove",this.moveRipple,l),e.addEventListener("mouseleave",this.endHover,l),e.addEventListener("mousedown",n,l),e.addEventListener("touchstart",i,l),e.addEventListener("touchmove",this.moveRipple,l),e.addEventListener("keydown",c,l),e.addEventListener("focus",this.startFocus,l),e.addEventListener("blur",this.endFocus,l),e.addEventListener("focusin",this.startFocus,l),e.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,l),e.removeEventListener("mousemove",this.moveRipple,l),e.removeEventListener("mouseleave",this.endHover,l),e.removeEventListener("mousedown",n,l),e.removeEventListener("touchstart",i,l),e.removeEventListener("touchmove",this.moveRipple,l),e.removeEventListener("keydown",c,l),e.removeEventListener("focus",this.startFocus,l),e.removeEventListener("blur",this.endFocus,l),e.removeEventListener("focusin",this.startFocus,l),e.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,c;return r.x!=null?{x:i,y:c}=r:n.touches!=null&&(i=n.touches[0].clientX,c=n.touches[0].clientY),{x:i,y:c}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};X.elementDefinitions={};X.styles=ml;pe([E({type:Boolean})],X.prototype,"primary",void 0);pe([E({type:Boolean})],X.prototype,"secondary",void 0);pe([E({type:Boolean})],X.prototype,"unbounded",void 0);pe([E({type:Boolean})],X.prototype,"activated",void 0);pe([E({type:Boolean})],X.prototype,"selected",void 0);pe([E({type:Boolean})],X.prototype,"disabled",void 0);pe([q()],X.prototype,"hovered",void 0);pe([q()],X.prototype,"focused",void 0);pe([q()],X.prototype,"pressed",void 0);pe([q()],X.prototype,"rippling",void 0);pe([q()],X.prototype,"originX",void 0);pe([q()],X.prototype,"originY",void 0);pe([ae(".ft-ripple")],X.prototype,"ripple",void 0);pe([ae(".ft-ripple--effect")],X.prototype,"rippleEffect",void 0);ee("ft-ripple")(X);var Xt={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(U.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Sl=L`
555
555
  .ft-tooltip--container {
556
556
  display: block;
557
557
  }
@@ -566,21 +566,21 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
566
566
  box-sizing: border-box;
567
567
  overflow: hidden;
568
568
  width: max-content;
569
- max-width: ${Gt.maxWidth};
569
+ max-width: ${Xt.maxWidth};
570
570
  text-align: center;
571
- padding: ${Gt.distance};
572
- z-index: ${Gt.zIndex};
571
+ padding: ${Xt.distance};
572
+ z-index: ${Xt.zIndex};
573
573
  }
574
574
 
575
575
  .ft-tooltip--content {
576
576
  padding: 4px 8px;
577
- border-radius: ${Gt.borderRadiusS};
578
- background-color: ${Gt.backgroundColor};
579
- color: ${Gt.color};
577
+ border-radius: ${Xt.borderRadiusS};
578
+ background-color: ${Xt.backgroundColor};
579
+ color: ${Xt.color};
580
580
  position: relative;
581
581
  word-break: break-word;
582
582
  }
583
- `;var ce=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},q=class extends K{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new fe,this.revealDebouncer=new fe}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return B`
583
+ `;var fe=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},J=class extends Y{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ge,this.revealDebouncer=new ge}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return F`
584
584
  <div part="container"
585
585
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
586
586
  @mouseenter=${this.onHover}
@@ -598,40 +598,41 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
598
598
  </div>
599
599
  </div>
600
600
  </div>
601
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Un(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};q.elementDefinitions={"ft-typography":me};q.styles=yl;ce([O()],q.prototype,"text",void 0);ce([O({type:Boolean})],q.prototype,"manual",void 0);ce([O({type:Boolean})],q.prototype,"inline",void 0);ce([O({type:Number})],q.prototype,"delay",void 0);ce([O()],q.prototype,"position",void 0);ce([Ir()],q.prototype,"slotNodes",void 0);ce([oe(".ft-tooltip--container")],q.prototype,"container",void 0);ce([oe(".ft-tooltip")],q.prototype,"tooltip",void 0);ce([oe(".ft-tooltip--content")],q.prototype,"tooltipContent",void 0);ce([G()],q.prototype,"visible",void 0);ce([wt({passive:!0})],q.prototype,"onTouch",null);ce([wt({passive:!0})],q.prototype,"onHover",null);ce([wt({passive:!0})],q.prototype,"onOut",null);ce([wt({passive:!0})],q.prototype,"onClick",null);X("ft-tooltip")(q);var St=class extends K{render(){return B`
601
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Kn(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};J.elementDefinitions={"ft-typography":be};J.styles=Sl;fe([E()],J.prototype,"text",void 0);fe([E({type:Boolean})],J.prototype,"manual",void 0);fe([E({type:Boolean})],J.prototype,"inline",void 0);fe([E({type:Number})],J.prototype,"delay",void 0);fe([E()],J.prototype,"position",void 0);fe([zr()],J.prototype,"slotNodes",void 0);fe([ae(".ft-tooltip--container")],J.prototype,"container",void 0);fe([ae(".ft-tooltip")],J.prototype,"tooltip",void 0);fe([ae(".ft-tooltip--content")],J.prototype,"tooltipContent",void 0);fe([q()],J.prototype,"visible",void 0);fe([At({passive:!0})],J.prototype,"onTouch",null);fe([At({passive:!0})],J.prototype,"onHover",null);fe([At({passive:!0})],J.prototype,"onOut",null);fe([At({passive:!0})],J.prototype,"onClick",null);ee("ft-tooltip")(J);var Et=class extends Y{render(){return F`
602
602
  <div class="ft-loader">
603
603
  <div></div>
604
604
  <div></div>
605
605
  <div></div>
606
606
  <div></div>
607
607
  </div>
608
- `}};St.styles=ul;X("ft-loader")(St);var ge=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},J=class extends wi(K,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(B`
608
+ `}};Et.styles=yl;ee("ft-loader")(Et);var xe=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},te=class extends Aa(Y,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(F`
609
609
  <button part="button"
610
- class="${ke(this.buttonClasses)}"
610
+ class="${Be(this.buttonClasses)}"
611
611
  aria-label="${this.getLabel()}"
612
612
  ?disabled=${this.isDisabled()}>
613
613
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
614
614
  <ft-typography part="label"
615
615
  variant=${this.typographyVariant}
616
616
  element="span"
617
- class="ft-button--label ${Pi?"ft-safari-ellipsis-fix":""}"
617
+ class="ft-button--label ${Wa?"ft-safari-ellipsis-fix":""}"
618
618
  ?hidden=${!this.hasTextContent()}>
619
619
  <slot @slotchange=${this.onSlotchange}></slot>
620
620
  </ft-typography>
621
621
  ${this.resolveIcon()}
622
622
  </button>
623
- `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?B`
623
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?F`
624
624
  <ft-tooltip part="tooltip"
625
625
  text="${this.getLabel()}"
626
626
  position="${this.tooltipPosition}">
627
627
  ${e}
628
628
  </ft-tooltip>
629
- `:e}resolveIcon(){return this.loading?B`
630
- <ft-loader part="loader icon"></ft-loader> `:this.icon?B`
629
+ `:e}resolveIcon(){return this.loading?F`
630
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?F`
631
631
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
632
- `:B`
632
+ `:F`
633
633
  <slot part="icon" name="icon"></slot>
634
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};J.elementDefinitions={"ft-ripple":Z,"ft-tooltip":q,"ft-typography":me,"ft-icon":ae,"ft-loader":St};ge([O({type:String,reflect:!0})],J.prototype,"role",void 0);ge([O()],J.prototype,"type",void 0);ge([O({type:Boolean})],J.prototype,"disabled",void 0);ge([O()],J.prototype,"label",void 0);ge([O()],J.prototype,"icon",void 0);ge([O()],J.prototype,"iconVariant",void 0);ge([O({type:Boolean})],J.prototype,"trailingIcon",void 0);ge([O({type:Boolean})],J.prototype,"loading",void 0);ge([O()],J.prototype,"tooltipPosition",void 0);ge([O({type:Boolean})],J.prototype,"hideTooltip",void 0);ge([O({type:Boolean})],J.prototype,"forceTooltip",void 0);ge([oe(".ft-button")],J.prototype,"button",void 0);ge([oe(".ft-button--label slot")],J.prototype,"slottedContent",void 0);var xr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},we=class extends J{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};we.styles=[vo,gl];xr([O({type:Boolean})],we.prototype,"primary",void 0);xr([O({type:Boolean})],we.prototype,"outlined",void 0);xr([O({type:Boolean})],we.prototype,"dense",void 0);xr([O({type:Boolean})],we.prototype,"round",void 0);var bl=[P`
634
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};te.elementDefinitions={"ft-ripple":X,"ft-tooltip":J,"ft-typography":be,"ft-icon":se,"ft-loader":Et};xe([E({type:String,reflect:!0})],te.prototype,"role",void 0);xe([E()],te.prototype,"type",void 0);xe([E({type:Boolean})],te.prototype,"disabled",void 0);xe([E()],te.prototype,"label",void 0);xe([E()],te.prototype,"icon",void 0);xe([E()],te.prototype,"iconVariant",void 0);xe([E({type:Boolean})],te.prototype,"trailingIcon",void 0);xe([E({type:Boolean})],te.prototype,"loading",void 0);xe([E()],te.prototype,"tooltipPosition",void 0);xe([E({type:Boolean})],te.prototype,"hideTooltip",void 0);xe([E({type:Boolean})],te.prototype,"forceTooltip",void 0);xe([ae(".ft-button")],te.prototype,"button",void 0);xe([ae(".ft-button--label slot")],te.prototype,"slottedContent",void 0);var Cr=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},Re=class extends te{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Re.styles=[wo,vl];Cr([E({type:Boolean})],Re.prototype,"primary",void 0);Cr([E({type:Boolean})],Re.prototype,"outlined",void 0);Cr([E({type:Boolean})],Re.prototype,"dense",void 0);Cr([E({type:Boolean})],Re.prototype,"round",void 0);var it=t=>typeof t=="string"?Te(t):t,a=class{static create(e,r,n,i){let c=s=>it(s??i),l=L`var(${it(e)}, ${c(i)})`;return l.name=e,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>L`var(${it(e)}, ${c(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,r,n,i){let c=s=>n.get(s??i),l=L`var(${it(e)}, ${c(i)})`;return l.name=e,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>L`var(${it(e)}, ${c(s)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,r){let n=c=>e.fallbackVariable?e.fallbackVariable.get(c??e.defaultValue):it(c??e.lastResortDefaultValue()),i=L`var(${it(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=c=>L`var(${it(e.name)}, ${n(c)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var p={colorWhite:a.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:a.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:a.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:a.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:a.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:a.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:a.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:a.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:a.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:a.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:a.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:a.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:a.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:a.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:a.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:a.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:a.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:a.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:a.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:a.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:a.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:a.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:a.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:a.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:a.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:a.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:a.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:a.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:a.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:a.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:a.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:a.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:a.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:a.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:a.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:a.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:a.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:a.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:a.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:a.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:a.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:a.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:a.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:a.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:a.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:a.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:a.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:a.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:a.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:a.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:a.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:a.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:a.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:a.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:a.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:a.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:a.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:a.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:a.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:a.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:a.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:a.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:a.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:a.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:a.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:a.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:a.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:a.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:a.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:a.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:a.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:a.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:a.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:a.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:a.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:a.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:a.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:a.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:a.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:a.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:a.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:a.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:a.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:a.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:a.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:a.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:a.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:a.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:a.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:a.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:a.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:a.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:a.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:a.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:a.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:a.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:a.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:a.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:a.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:a.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:a.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:a.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:a.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:a.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:a.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:a.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:a.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:a.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:a.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:a.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:a.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:a.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:a.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:a.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:a.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:a.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:a.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:a.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:a.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:a.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:a.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:a.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:a.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:a.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:a.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:a.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:a.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:a.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:a.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:a.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:a.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:a.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:a.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:a.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:a.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:a.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:a.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:a.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:a.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:a.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:a.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:a.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:a.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:a.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:a.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:a.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:a.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:a.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:a.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:a.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:a.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:a.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:a.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:a.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:a.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:a.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:a.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:a.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:a.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:a.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:a.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:a.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:a.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:a.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:a.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:a.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:a.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:a.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:a.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:a.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:a.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:a.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:a.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:a.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:a.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:a.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:a.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:a.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:a.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:a.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:a.create("--ft-opacity-0","","NUMBER","0"),opacity8:a.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:a.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:a.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:a.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:a.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:a.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:a.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:a.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:a.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:a.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:a.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:a.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:a.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:a.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)")},Cx={fontFamily:a.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:a.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-display-textCase","","UNKNOWN","none")},wx={fontFamily:a.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:a.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ex={fontFamily:a.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:a.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Nx={fontFamily:a.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:a.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:a.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Rx={fontFamily:a.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ax={fontFamily:a.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ix={fontFamily:a.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Px={fontFamily:a.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Lx={fontFamily:a.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},_x={fontFamily:a.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:a.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:a.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},$x={fontFamily:a.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Wx={fontFamily:a.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},kx={fontFamily:a.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Tx={fontFamily:a.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ux={fontFamily:a.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},zx={fontFamily:a.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Bx={fontFamily:a.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Dx={fontFamily:a.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Mx={fontFamily:a.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Hx={fontFamily:a.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Fx={fontFamily:a.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Gx={fontFamily:a.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Kx={fontFamily:a.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Zx={fontFamily:a.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Vx={fontFamily:a.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},jx={fontFamily:a.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")};var g={backgroundActionPrimary:a.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:a.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:a.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:a.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:a.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:a.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:a.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:a.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:a.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:a.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:a.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:a.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:a.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:a.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:a.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:a.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:a.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:a.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:a.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
635
+ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:a.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:a.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:a.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:a.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:a.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:a.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:a.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:a.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:a.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:a.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:a.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:a.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:a.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:a.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var R={largeHeight:a.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:a.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:a.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:a.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:a.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:a.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:a.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:a.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:a.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:a.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:a.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:a.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:a.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:a.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:a.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:a.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:a.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:a.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:a.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:a.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:a.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:a.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:a.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:a.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:a.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:a.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:a.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:a.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:a.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:a.extend("--ft-button-primary-background-color","",g.backgroundActionPrimary),primaryColor:a.extend("--ft-button-primary-color","",g.contentGlobalOnColor),primaryIconColor:a.extend("--ft-button-primary-icon-color","",g.contentGlobalOnColor),primaryStateLayerColor:a.extend("--ft-button-primary-state-layer-color","",g.contentGlobalOnColor),primaryHoverStateLayerOpacity:a.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:a.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:a.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:a.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-button-focus-focus-ring-color","",g.borderActionFocusRing),tertiaryBackgroundColor:a.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:a.extend("--ft-button-tertiary-color","",g.contentActionPrimary),tertiaryIconColor:a.extend("--ft-button-tertiary-icon-color","",g.contentActionPrimary),tertiaryStateLayerColor:a.extend("--ft-button-tertiary-state-layer-color","",g.contentActionPrimary),tertiaryHoverStateLayerOpacity:a.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:a.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:a.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:a.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:a.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:a.extend("--ft-button-secondary-color","",g.contentActionPrimary),secondaryIconColor:a.extend("--ft-button-secondary-icon-color","",g.contentActionPrimary),secondaryStateLayerColor:a.extend("--ft-button-secondary-state-layer-color","",g.contentActionPrimary),secondaryHoverStateLayerOpacity:a.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:a.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:a.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:a.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:a.extend("--ft-button-secondary-border-color","",g.borderActionPrimary),neutralBackgroundColor:a.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:a.extend("--ft-button-neutral-icon-color","",g.contentGlobalSecondary),neutralColor:a.extend("--ft-button-neutral-color","",g.contentGlobalSecondary),neutralStateLayerColor:a.extend("--ft-button-neutral-state-layer-color","",g.contentGlobalSecondary),neutralHoverStateLayerOpacity:a.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:a.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:a.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:a.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var iv={largeMinHeight:a.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:a.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:a.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:a.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:a.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:a.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:a.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:a.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:a.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:a.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:a.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:a.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:a.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:a.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:a.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:a.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:a.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:a.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:a.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:a.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:a.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:a.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:a.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:a.extend("--ft-chip-neutral-background-color","",g.backgroundGlobalOnSurface),neutralColor:a.extend("--ft-chip-neutral-color","",g.contentGlobalSecondary),neutralIconColor:a.extend("--ft-chip-neutral-icon-color","",g.contentGlobalSecondary),neutralBorderColor:a.extend("--ft-chip-neutral-border-color","",g.borderGlobalSubtle),infoBackgroundColor:a.extend("--ft-chip-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-chip-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-chip-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-chip-info-border-color","",g.borderInfoSubtle),successBackgroundColor:a.extend("--ft-chip-success-background-color","",g.backgroundSuccessSubtle),successColor:a.extend("--ft-chip-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-chip-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:a.extend("--ft-chip-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-chip-warning-background-color","",g.backgroundWarningSubtle),warningColor:a.extend("--ft-chip-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-chip-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:a.extend("--ft-chip-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-chip-error-background-color","",g.backgroundErrorSubtle),errorColor:a.extend("--ft-chip-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-chip-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:a.extend("--ft-chip-error-border-color","",g.borderErrorSubtle)};var pv={focusOpacity:a.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:a.extend("--ft-link-focus-focus-ring-color","",g.borderActionFocusRing),brandColor:a.extend("--ft-link-brand-color","",g.contentActionPrimary),infoColor:a.extend("--ft-link-info-color","",g.contentInfoPrimary)};var mv={iconSize:a.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:a.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:a.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:a.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:a.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:a.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:a.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:a.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:a.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:a.extend("--ft-banner-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-banner-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-banner-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-banner-info-border-color","",g.borderInfoSubtle)};var Sv={horizontalPadding:a.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:a.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:a.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:a.extend("--ft-badge-color","",g.contentGlobalOnColor),backgroundColor:a.extend("--ft-badge-background-color","",g.contentActionPrimary)};var Nv={horizontalGap:a.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:a.extend("--ft-breadcrumb-current-color","",g.contentGlobalPrimary),previousNonClickableColor:a.extend("--ft-breadcrumb-previous-non-clickable-color","",g.contentGlobalSecondary),iconColor:a.extend("--ft-breadcrumb-icon-color","",g.contentGlobalSubtle)};var Lv={horizontalPadding:a.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:a.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:a.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:a.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:a.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:a.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:a.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:a.extend("--ft-page-header-bottom-border-color","",g.borderGlobalSubtle),titleColor:a.extend("--ft-page-header-title-color","",g.contentGlobalPrimary),subtitleColor:a.extend("--ft-page-header-subtitle-color","",g.contentGlobalSecondary)};var Tv={smallContainerWidth:a.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:a.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:a.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:a.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:a.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:a.extend("--ft-modal-body-color","",g.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:a.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:a.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:a.extend("--ft-modal-header-background-color","",g.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-modal-header-border-color","",g.borderGlobalSubtle),headerColor:a.extend("--ft-modal-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-modal-header-trailing-icon-color","",g.contentGlobalSecondary),headerVerticalPadding:a.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:a.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:a.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:a.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:a.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:a.extend("--ft-modal-border-radius","",p.borderRadiusM)};var Mv={overlayOpacity:a.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:a.extend("--ft-drawer-body-color","",g.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:a.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:a.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:a.extend("--ft-drawer-header-background-color","",g.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-drawer-header-border-color","",g.borderGlobalSubtle),headerColor:a.extend("--ft-drawer-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-drawer-header-trailing-icon-color","",g.contentGlobalSecondary),headerHeight:a.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:a.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:a.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:a.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:a.extend("--ft-drawer-buttons-bar-background-color","",g.backgroundGlobalOnSurface),buttonsBarBorderColor:a.extend("--ft-drawer-buttons-bar-border-color","",g.borderGlobalSubtle),buttonsBarColor:a.extend("--ft-drawer-buttons-bar-color","",g.contentGlobalPrimary),buttonsBarHorizontalPadding:a.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:a.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:a.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:a.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:a.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:a.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:a.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:a.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:a.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var Zv={fieldHorizontalPadding:a.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-input-content-value-color","",g.contentGlobalPrimary),trailingIconColor:a.extend("--ft-text-input-trailing-icon-color","",g.contentGlobalSubtle),labelColor:a.extend("--ft-text-input-label-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-input-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-input-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-input-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-input-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-input-error-helper-icon-color","",g.contentErrorIconOnly),warningBorderWidth:a.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:a.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-text-input-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var Xv={backgroundColor:a.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-area-content-value-color","",g.contentGlobalPrimary),labelColor:a.extend("--ft-text-area-label-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-area-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-area-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-area-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-area-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-area-error-helper-icon-color","",g.contentErrorIconOnly),focusFocusRingColor:a.extend("--ft-text-area-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:a.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:a.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:a.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:a.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var oS={height:a.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:a.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:a.extend("--ft-floating-menu-off-icon-color","",g.contentGlobalPrimary),offColor:a.extend("--ft-floating-menu-off-color","",g.contentGlobalPrimary),onColor:a.extend("--ft-floating-menu-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-floating-menu-on-state-layer-color","",g.contentActionPrimary),gap:a.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:a.extend("--ft-floating-menu-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:a.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:a.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:a.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:a.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:a.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:a.extend("--ft-floating-menu-background-color","",g.backgroundGlobalOnSurface)};var cS={fieldHorizontalPadding:a.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:a.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:a.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-single-select-label-color","",g.contentGlobalSubtle),contentValueColor:a.extend("--ft-combobox-single-select-content-value-color","",g.contentGlobalPrimary),trailingIconColor:a.extend("--ft-combobox-single-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-single-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-single-select-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-combobox-single-select-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-single-select-error-helper-text-color","",g.contentErrorPrimary),warningBorderWidth:a.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-single-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-single-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-single-select-warning-helper-icon-color","",g.contentWarningIconOnly),focusOutlineWidth:a.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-single-select-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var fS={backgroundColor:a.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-multi-select-label-color","",g.contentGlobalSubtle),trailingIconColor:a.extend("--ft-combobox-multi-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-multi-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-multi-select-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:a.extend("--ft-combobox-multi-select-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-multi-select-error-helper-text-color","",g.contentErrorPrimary),errorHelperIcon:a.extend("--ft-combobox-multi-select-error-helper-icon","",g.contentErrorIconOnly),errorBorderWidth:a.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-multi-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-multi-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-multi-select-warning-helper-icon-color","",g.contentWarningIconOnly),warningBorderWidth:a.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-multi-select-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:a.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:a.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:a.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:a.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:a.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:a.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:a.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var yS={backgroundColor:a.extend("--ft-popover-background-color","",g.backgroundGlobalOnSurface),horizontalPadding:a.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:a.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:a.extend("--ft-popover-title-color","",g.contentGlobalPrimary),bodyColor:a.extend("--ft-popover-body-color","",g.contentGlobalSecondary),linkColor:a.extend("--ft-popover-link-color","",g.contentActionPrimary),gap:a.extend("--ft-popover-gap","",p.spacing3),borderRadius:a.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:a.extend("--ft-popover-shadow","",p.shadowElevation02)};var OS={topLeftBorderRadius:a.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:a.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:a.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:a.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:a.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:a.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:a.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:a.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-tabs-off-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-tabs-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:a.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:a.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:a.extend("--ft-tabs-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-tabs-on-state-layer-color","",g.contentActionPrimary),iconOnlyHorizontalPadding:a.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:a.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:a.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:a.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:a.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-tabs-focus-focus-ring-color","",g.borderActionFocusRing)};var RS={hoverStateLayerOpacity:a.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:a.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:a.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:a.extend("--ft-collapsible-focus-focus-ring-color","",g.borderActionFocusRing),activeStateLayerOpacity:a.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:a.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:a.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:a.extend("--ft-collapsible-color","",g.contentGlobalPrimary),stateLayerColor:a.extend("--ft-collapsible-state-layer-color","",g.contentGlobalPrimary),backgroundColor:a.extend("--ft-collapsible-background-color","",g.backgroundGlobalOnSurface),borderColor:a.extend("--ft-collapsible-border-color","",g.borderGlobalSubtle),iconSize:a.extend("--ft-collapsible-icon-size","",p.iconSize3)};var _S={groupHorizontalPadding:a.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:a.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:a.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:a.extend("--ft-switch-group-background-color","",g.backgroundGlobalSurface),groupBorderColor:a.extend("--ft-switch-group-border-color","",g.borderGlobalSubtle),groupBorderRadius:a.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:a.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:a.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:a.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:a.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:a.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-switch-off-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-switch-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:a.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:a.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:a.extend("--ft-switch-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-switch-on-state-layer-color","",g.contentActionPrimary),iconHorizontalPadding:a.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:a.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:a.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-switch-focus-focus-ring-color","",g.borderActionFocusRing),optionBorderRadius:a.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var TS={color1Light:a.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:a.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:a.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:a.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:a.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:a.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:a.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:a.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:a.extend("--ft-chart-5-light","",p.colorRed40),color5Base:a.extend("--ft-chart-5-base","",p.colorRed60),color6Light:a.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:a.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:a.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:a.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:a.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:a.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:a.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:a.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:a.extend("--ft-chart-10-light","",p.colorGray50),color10Base:a.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:a.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:a.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:a.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:a.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:a.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:a.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var MS={borderWidth:a.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:a.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:a.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:a.extend("--ft-notice-gap","",p.spacing2),iconSize:a.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:a.extend("--ft-notice-info-background-color","",g.backgroundInfoSubtle),infoBorderColor:a.extend("--ft-notice-info-border-color","",g.borderInfoSubtle),infoColor:a.extend("--ft-notice-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-notice-info-icon-color","",g.contentInfoIconOnly),warningBackgroundColor:a.extend("--ft-notice-warning-background-color","",g.backgroundWarningSubtle),warningBorderColor:a.extend("--ft-notice-warning-border-color","",g.borderWarningSubtle),warningColor:a.extend("--ft-notice-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-notice-warning-icon-color","",g.contentWarningIconOnly),errorBackgroundColor:a.extend("--ft-notice-error-background-color","",g.backgroundErrorSubtle),errorBorderColor:a.extend("--ft-notice-error-border-color","",g.borderErrorSubtle),errorColor:a.extend("--ft-notice-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-notice-error-icon-color","",g.contentErrorIconOnly),successBackgroundColor:a.extend("--ft-notice-success-background-color","",g.backgroundSuccessSubtle),successBorderColor:a.extend("--ft-notice-success-border-color","",g.borderSuccessSubtle),successColor:a.extend("--ft-notice-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-notice-success-icon-color","",g.contentSuccessIconOnly)};var ZS={color:a.extend("--ft-checkbox-color","",g.contentGlobalPrimary),checkedBackgroundColor:a.extend("--ft-checkbox-checked-background-color","",g.contentActionPrimary),checkedStateLayerColor:a.extend("--ft-checkbox-checked-state-layer-color","",g.contentActionPrimary),checkedIconColor:a.extend("--ft-checkbox-checked-icon-color","",g.contentGlobalOnColor),checkedHoverStateLayerOpacity:a.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:a.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:a.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:a.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:a.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:a.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:a.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:a.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:a.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:a.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-checkbox-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-checkbox-gap","",p.spacing3)};var XS={offHoverStateLayerOpacity:a.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:a.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:a.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:a.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:a.extend("--ft-toggle-off-background-color","",g.contentGlobalSubtle),offIconColor:a.extend("--ft-toggle-off-icon-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-toggle-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:a.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:a.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:a.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:a.extend("--ft-toggle-on-background-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-toggle-on-state-layer-color","",g.contentActionPrimary),onIconColor:a.extend("--ft-toggle-on-icon-color","",g.contentActionPrimary),color:a.extend("--ft-toggle-color","",g.contentGlobalPrimary),focusFocusRingColor:a.extend("--ft-toggle-focus-focus-ring-color","",g.borderActionFocusRing),gap:a.extend("--ft-toggle-gap","",p.spacing3)};var oO={color:a.extend("--ft-radio-color","",g.contentGlobalPrimary),selectedRadioColor:a.extend("--ft-radio-selected-radio-color","",g.contentActionPrimary),selectedStateLayerColor:a.extend("--ft-radio-selected-state-layer-color","",g.contentActionPrimary),selectedHoverStateLayerOpacity:a.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:a.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:a.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:a.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:a.extend("--ft-radio-unselected-state-layer-color","",g.borderInputPrimary),unselectedBorderColor:a.extend("--ft-radio-unselected-border-color","",g.borderInputPrimary),unselectedHoverStateLayerOpacity:a.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:a.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:a.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:a.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-radio-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-radio-gap","",p.spacing3)};var cO={iconSize:a.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:a.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:a.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:a.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:a.extend("--ft-notification-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-notification-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-notification-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-notification-info-border-color","",g.borderInfoSubtle),successBackgroundColor:a.extend("--ft-notification-success-background-color","",g.backgroundSuccessSubtle),successColor:a.extend("--ft-notification-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-notification-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:a.extend("--ft-notification-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-notification-warning-background-color","",g.backgroundWarningSubtle),warningColor:a.extend("--ft-notification-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-notification-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:a.extend("--ft-notification-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-notification-error-background-color","",g.backgroundErrorSubtle),errorColor:a.extend("--ft-notification-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-notification-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:a.extend("--ft-notification-error-border-color","",g.borderErrorSubtle),borderRadius:a.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:a.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:a.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:a.extend("--ft-notification-trailing-gap","",p.spacing8)};var fO={horizontalPadding:a.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:a.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:a.extend("--ft-tooltip-color","",g.contentGlobalOnColor),backgroundColor:a.extend("--ft-tooltip-background-color","",g.contentGlobalPrimary),backgroundOpacity:a.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:a.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:a.create("--ft-tooltip-max-width","","SIZE","256px"),gap:a.extend("--ft-tooltip-gap","",p.spacing05)};var Ol;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ol||(Ol={}));var Cl;(function(t){t.large="large",t.medium="medium",t.small="small"})(Cl||(Cl={}));var wl=[L`
635
636
  :host {
636
637
  display: inline-block;
637
638
  max-width: 100%;
@@ -681,7 +682,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
681
682
  }
682
683
 
683
684
  .ft-button:focus-visible {
684
- outline-color: ${w.focusFocusRingColor};
685
+ outline-color: ${R.focusFocusRingColor};
685
686
  outline-style: solid;
686
687
  }
687
688
 
@@ -710,146 +711,146 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
710
711
  /** Primary styles **/
711
712
 
712
713
  .ft-button--primary {
713
- ${$(se.color,w.primaryIconColor)};
714
+ ${W(de.color,R.primaryIconColor)};
714
715
 
715
- ${$(D.color,w.primaryStateLayerColor)};
716
- ${$(D.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
717
- ${$(D.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
718
- ${$(D.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
719
- ${$(D.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
716
+ ${W(D.color,R.primaryStateLayerColor)};
717
+ ${W(D.opacityContentOnSurfaceHover,R.primaryHoverStateLayerOpacity)};
718
+ ${W(D.opacityContentOnSurfaceFocused,R.primaryFocusStateLayerOpacity)};
719
+ ${W(D.opacityContentOnSurfaceSelected,R.primaryActiveStateLayerOpacity)};
720
+ ${W(D.opacityContentOnSurfacePressed,R.primaryActiveStateLayerOpacity)};
720
721
 
721
- background-color: ${w.primaryBackgroundColor};
722
- color: ${w.primaryColor};
722
+ background-color: ${R.primaryBackgroundColor};
723
+ color: ${R.primaryColor};
723
724
  border-style: none;
724
725
  }
725
726
 
726
727
  .ft-button--primary[disabled] {
727
- opacity: ${w.primaryDisabledComponentOpacity};
728
+ opacity: ${R.primaryDisabledComponentOpacity};
728
729
  }
729
730
 
730
731
  .ft-button--primary ft-icon {
731
- color: ${w.primaryIconColor};
732
+ color: ${R.primaryIconColor};
732
733
  }
733
734
 
734
735
  /** Secondary styles **/
735
736
 
736
737
  .ft-button--secondary {
737
- ${$(se.color,w.secondaryIconColor)};
738
+ ${W(de.color,R.secondaryIconColor)};
738
739
 
739
- ${$(D.color,w.secondaryStateLayerColor)};
740
- ${$(D.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
741
- ${$(D.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
742
- ${$(D.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
743
- ${$(D.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
740
+ ${W(D.color,R.secondaryStateLayerColor)};
741
+ ${W(D.opacityContentOnSurfaceHover,R.secondaryHoverStateLayerOpacity)};
742
+ ${W(D.opacityContentOnSurfaceFocused,R.secondaryFocusStateLayerOpacity)};
743
+ ${W(D.opacityContentOnSurfaceSelected,R.secondaryActiveStateLayerOpacity)};
744
+ ${W(D.opacityContentOnSurfacePressed,R.secondaryActiveStateLayerOpacity)};
744
745
 
745
- background-color: ${w.secondaryBackgroundColor};
746
- color: ${w.secondaryColor};
747
- border-color: ${w.secondaryBorderColor};
746
+ background-color: ${R.secondaryBackgroundColor};
747
+ color: ${R.secondaryColor};
748
+ border-color: ${R.secondaryBorderColor};
748
749
  border-style: solid;
749
750
  }
750
751
 
751
752
  .ft-button--secondary[disabled] {
752
- opacity: ${w.secondaryDisabledComponentOpacity};
753
+ opacity: ${R.secondaryDisabledComponentOpacity};
753
754
  }
754
755
 
755
756
  .ft-button--secondary ft-icon {
756
- color: ${w.secondaryIconColor};
757
+ color: ${R.secondaryIconColor};
757
758
  }
758
759
 
759
760
  /** Tertiary styles **/
760
761
 
761
762
  .ft-button--tertiary {
762
- ${$(se.color,w.tertiaryIconColor)};
763
+ ${W(de.color,R.tertiaryIconColor)};
763
764
 
764
- ${$(D.color,w.tertiaryStateLayerColor)};
765
- ${$(D.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
766
- ${$(D.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
767
- ${$(D.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
768
- ${$(D.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
765
+ ${W(D.color,R.tertiaryStateLayerColor)};
766
+ ${W(D.opacityContentOnSurfaceHover,R.tertiaryHoverStateLayerOpacity)};
767
+ ${W(D.opacityContentOnSurfaceFocused,R.tertiaryFocusStateLayerOpacity)};
768
+ ${W(D.opacityContentOnSurfaceSelected,R.tertiaryActiveStateLayerOpacity)};
769
+ ${W(D.opacityContentOnSurfacePressed,R.tertiaryActiveStateLayerOpacity)};
769
770
 
770
- background-color: ${w.tertiaryBackgroundColor};
771
- color: ${w.tertiaryColor};
771
+ background-color: ${R.tertiaryBackgroundColor};
772
+ color: ${R.tertiaryColor};
772
773
  border-style: none;
773
774
  }
774
775
 
775
776
  .ft-button--tertiary[disabled] {
776
- opacity: ${w.tertiaryDisabledComponentOpacity};
777
+ opacity: ${R.tertiaryDisabledComponentOpacity};
777
778
  }
778
779
 
779
780
  .ft-button--tertiary ft-icon {
780
- color: ${w.tertiaryIconColor};
781
+ color: ${R.tertiaryIconColor};
781
782
  }
782
783
 
783
784
  /** Neutral styles **/
784
785
 
785
786
  .ft-button--neutral {
786
- ${$(se.color,w.neutralIconColor)};
787
+ ${W(de.color,R.neutralIconColor)};
787
788
 
788
- ${$(D.backgroundColor,w.neutralStateLayerColor)};
789
- ${$(D.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
790
- ${$(D.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
791
- ${$(D.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
792
- ${$(D.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
789
+ ${W(D.backgroundColor,R.neutralStateLayerColor)};
790
+ ${W(D.opacityContentOnSurfaceHover,R.neutralHoverStateLayerOpacity)};
791
+ ${W(D.opacityContentOnSurfaceFocused,R.neutralFocusStateLayerOpacity)};
792
+ ${W(D.opacityContentOnSurfaceSelected,R.neutralActiveStateLayerOpacity)};
793
+ ${W(D.opacityContentOnSurfacePressed,R.neutralActiveStateLayerOpacity)};
793
794
 
794
- background-color: ${w.neutralBackgroundColor};
795
- color: ${w.neutralColor};
795
+ background-color: ${R.neutralBackgroundColor};
796
+ color: ${R.neutralColor};
796
797
  border-style: none;
797
798
  }
798
799
 
799
800
  .ft-button--neutral[disabled] {
800
- opacity: ${w.neutralDisabledComponentOpacity};
801
+ opacity: ${R.neutralDisabledComponentOpacity};
801
802
  }
802
803
 
803
804
  .ft-button--neutral ft-icon {
804
- color: ${w.neutralIconColor};
805
+ color: ${R.neutralIconColor};
805
806
  }
806
807
 
807
808
  /** Large styles **/
808
809
 
809
810
  .ft-button--large {
810
- ${$(ie.size,w.largeIconSize)};
811
- ${$(se.size,w.largeIconSize)};
812
-
813
- height: ${w.largeHeight};
814
- padding: 0 ${w.largeHorizontalPadding};
815
- gap: ${w.largeGap};
816
- border-radius: ${w.largeBorderRadius};
817
- border-width: ${w.largeBorderWidth};
811
+ ${W(le.size,R.largeIconSize)};
812
+ ${W(de.size,R.largeIconSize)};
813
+
814
+ height: ${R.largeHeight};
815
+ padding: 0 ${R.largeHorizontalPadding};
816
+ gap: ${R.largeGap};
817
+ border-radius: ${R.largeBorderRadius};
818
+ border-width: ${R.largeBorderWidth};
818
819
  }
819
820
 
820
821
  .ft-button--large:focus-visible {
821
- outline-width: ${w.largeFocusOutlineWidth};
822
- outline-offset: ${w.largeFocusOutlineOffset};
822
+ outline-width: ${R.largeFocusOutlineWidth};
823
+ outline-offset: ${R.largeFocusOutlineOffset};
823
824
  }
824
825
 
825
826
  .ft-button--large.ft-button--icon-only {
826
- width: ${w.largeIconOnlyWidth};
827
+ width: ${R.largeIconOnlyWidth};
827
828
  padding: unset;
828
829
  }
829
830
 
830
831
  /** Small styles **/
831
832
 
832
833
  .ft-button--small {
833
- ${$(ie.size,w.smallIconSize)};
834
- ${$(se.size,w.smallIconSize)};
835
-
836
- height: ${w.smallHeight};
837
- padding: 0 ${w.smallHorizontalPadding};
838
- gap: ${w.smallGap};
839
- border-radius: ${w.smallBorderRadius};
840
- border-width: ${w.smallBorderWidth};
834
+ ${W(le.size,R.smallIconSize)};
835
+ ${W(de.size,R.smallIconSize)};
836
+
837
+ height: ${R.smallHeight};
838
+ padding: 0 ${R.smallHorizontalPadding};
839
+ gap: ${R.smallGap};
840
+ border-radius: ${R.smallBorderRadius};
841
+ border-width: ${R.smallBorderWidth};
841
842
  }
842
843
 
843
844
  .ft-button--small:focus-visible {
844
- outline-width: ${w.smallFocusOutlineWidth};
845
- outline-offset: ${w.smallFocusOutlineOffset};
845
+ outline-width: ${R.smallFocusOutlineWidth};
846
+ outline-offset: ${R.smallFocusOutlineOffset};
846
847
  }
847
848
 
848
849
  .ft-button--small.ft-button--icon-only {
849
- width: ${w.smallIconOnlyWidth};
850
+ width: ${R.smallIconOnlyWidth};
850
851
  padding: unset;
851
852
  }
852
- `,xo];var No=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},$e=class extends J{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?vt.caption1medium:vt.body2medium}};$e.styles=[vo,bl];No([O({type:Boolean})],$e.prototype,"primary",void 0);No([O({type:Boolean})],$e.prototype,"secondary",void 0);No([O({type:Boolean})],$e.prototype,"tertiary",void 0);No([O({type:Boolean})],$e.prototype,"neutral",void 0);No([O({type:Boolean})],$e.prototype,"small",void 0);X("ft-button")(we);X("ftds-button")($e);var de;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(de||(de={}));var xl=P`
853
+ `,Co];var Po=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},We=class extends te{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?wt.caption1medium:wt.body2medium}};We.styles=[wo,wl];Po([E({type:Boolean})],We.prototype,"primary",void 0);Po([E({type:Boolean})],We.prototype,"secondary",void 0);Po([E({type:Boolean})],We.prototype,"tertiary",void 0);Po([E({type:Boolean})],We.prototype,"neutral",void 0);Po([E({type:Boolean})],We.prototype,"small",void 0);ee("ft-button")(Re);ee("ftds-button")(We);var ue;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(ue||(ue={}));var El=L`
853
854
  .ft-size-watcher--pixel {
854
855
  width: 0;
855
856
  height: 0;
@@ -868,48 +869,48 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
868
869
  .ft-size-watcher--local .ft-size-watcher--watcher {
869
870
  width: 100%;
870
871
  }
871
- `;var Ao=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Mi=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},ye=class extends K{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=de.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new fe}render(){return B`
872
+ `;var Lo=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},Da=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},ve=class extends Y{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=ue.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ge}render(){return F`
872
873
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
873
874
  <div class="ft-size-watcher--watcher"></div>
874
875
  </div>
875
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=de.S:this.size<976?this.category=de.M:this.size<1024?this.category=de.L:this.size<1440?this.category=de.XL:this.category=de.XXL,this.dispatchEvent(new Mi(this.size,this.category)))},this.debounceTimeout)}};ye.elementDefinitions={};ye.styles=xl;Ao([O({type:Number})],ye.prototype,"debounceTimeout",void 0);Ao([O({type:Boolean})],ye.prototype,"local",void 0);Ao([O({type:Number,reflect:!0})],ye.prototype,"size",void 0);Ao([O({type:String,reflect:!0})],ye.prototype,"category",void 0);Ao([oe(".ft-size-watcher--watcher")],ye.prototype,"watcher",void 0);X("ft-size-watcher")(ye);var Di={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var Q={tabulationSize:o.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:o.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:o.extend("--ft-reader-toc-text-color","",I.colorOnSurface),hoverColor:o.extend("--ft-reader-toc-hover-color","",I.colorPrimary),highlightedTextColor:o.extend("--ft-reader-toc-highlighted-text-color","",I.colorPrimary),highlightedFontWeight:o.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:o.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:o.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:o.create("--ft-reader-toc-tree-node-icon-color","","COLOR",I.colorPrimary),leafNodeIconColor:o.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",I.colorPrimary),nodeButtonBackgroundColor:o.create("--ft-reader-toc-node-button-background-color","","COLOR",I.colorSurface),expandCollapseAllButtonColor:o.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",I.colorPrimary),expandCollapseAllButtonBackgroundColor:o.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",I.colorSurface)},vl=P`
876
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=ue.S:this.size<976?this.category=ue.M:this.size<1024?this.category=ue.L:this.size<1440?this.category=ue.XL:this.category=ue.XXL,this.dispatchEvent(new Da(this.size,this.category)))},this.debounceTimeout)}};ve.elementDefinitions={};ve.styles=El;Lo([E({type:Number})],ve.prototype,"debounceTimeout",void 0);Lo([E({type:Boolean})],ve.prototype,"local",void 0);Lo([E({type:Number,reflect:!0})],ve.prototype,"size",void 0);Lo([E({type:String,reflect:!0})],ve.prototype,"category",void 0);Lo([ae(".ft-size-watcher--watcher")],ve.prototype,"watcher",void 0);ee("ft-size-watcher")(ve);var Ma={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var oe={tabulationSize:o.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:o.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:o.extend("--ft-reader-toc-text-color","",U.colorOnSurface),hoverColor:o.extend("--ft-reader-toc-hover-color","",U.colorPrimary),highlightedTextColor:o.extend("--ft-reader-toc-highlighted-text-color","",U.colorPrimary),highlightedFontWeight:o.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:o.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:o.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:o.create("--ft-reader-toc-tree-node-icon-color","","COLOR",U.colorPrimary),leafNodeIconColor:o.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",U.colorPrimary),nodeButtonBackgroundColor:o.create("--ft-reader-toc-node-button-background-color","","COLOR",U.colorSurface),expandCollapseAllButtonColor:o.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",U.colorPrimary),expandCollapseAllButtonBackgroundColor:o.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",U.colorSurface)},Nl=L`
876
877
  .ft-reader-toc {
877
- color: ${Q.textColor};
878
+ color: ${oe.textColor};
878
879
  }
879
880
 
880
881
  .ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
881
- background-color: ${Q.highlightedBackgroundColor};
882
- color: ${Q.highlightedTextColor};
883
- ${$(R.fontWeight,Q.highlightedFontWeight)}
882
+ background-color: ${oe.highlightedBackgroundColor};
883
+ color: ${oe.highlightedTextColor};
884
+ ${W(_.fontWeight,oe.highlightedFontWeight)}
884
885
  }
885
886
 
886
887
  .ft-reader-toc--link-container {
887
888
  display: flex;
888
889
  gap: 4px;
889
- padding: ${Q.verticalSpacing} 4px; /* left padding is override on inline style */
890
+ padding: ${oe.verticalSpacing} 4px; /* left padding is override on inline style */
890
891
  align-items: center;
891
892
  }
892
893
 
893
894
  .ft-reader-toc--link-container ft-reader-internal-link:hover {
894
- color: ${Q.hoverColor};
895
+ color: ${oe.hoverColor};
895
896
  }
896
897
 
897
898
  ft-button {
898
- ${$(V.iconSize,Q.iconFontSize)};
899
+ ${W(j.iconSize,oe.iconFontSize)};
899
900
  }
900
901
 
901
902
  [part="leaf-node-icon"] {
902
- color: ${Q.leafNodeIconColor};
903
+ color: ${oe.leafNodeIconColor};
903
904
  }
904
905
 
905
906
  .ft-reader-toc--tree-node-button {
906
- ${$(V.color,Q.treeNodeIconColor)};
907
- ${$(V.backgroundColor,Q.nodeButtonBackgroundColor)};
907
+ ${W(j.color,oe.treeNodeIconColor)};
908
+ ${W(j.backgroundColor,oe.nodeButtonBackgroundColor)};
908
909
  }
909
910
 
910
911
  .ft-reader-toc--expand-collapse-all-button {
911
- ${$(V.color,Q.expandCollapseAllButtonColor)};
912
- ${$(V.backgroundColor,Q.expandCollapseAllButtonBackgroundColor)};
912
+ ${W(j.color,oe.expandCollapseAllButtonColor)};
913
+ ${W(j.backgroundColor,oe.expandCollapseAllButtonBackgroundColor)};
913
914
  }
914
915
 
915
916
  .ft-reader-toc--toggle-container {
@@ -917,11 +918,11 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
917
918
  }
918
919
 
919
920
  .ft-reader-toc-mobile .ft-reader-toc--toggle-container {
920
- width: calc(${Q.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
921
+ width: calc(${oe.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
921
922
  }
922
923
 
923
924
  .ft-reader-toc-desktop .ft-reader-toc--toggle-container {
924
- width: calc(${Q.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
925
+ width: calc(${oe.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
925
926
  }
926
927
 
927
928
  .ft-reader-toc-expanded .ft-reader-toc--toggle-container {
@@ -929,11 +930,11 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
929
930
  }
930
931
 
931
932
  .ft-reader-toc-mobile .ft-reader-toc--leaf-node-icon {
932
- width: calc(${Q.iconFontSize} + 12px);
933
+ width: calc(${oe.iconFontSize} + 12px);
933
934
  }
934
935
 
935
936
  .ft-reader-toc-desktop .ft-reader-toc--leaf-node-icon {
936
- width: calc(${Q.iconFontSize} + 4px);
937
+ width: calc(${oe.iconFontSize} + 4px);
937
938
  }
938
939
 
939
940
  .ft-reader-toc-expand-collapse-all-container {
@@ -952,13 +953,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
952
953
  .ft-reader-toc-expand-collapse-all-justify ft-button {
953
954
  flex-grow: 1;
954
955
  }
955
- `;var H=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},k=class extends Dt{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=Ce.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=Ce.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.empty=!0,this.labels={},this.labelResolver=new $t(Di,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=de.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return this.scope==="current-page"}update(e){var r,n,i;super.update(e),e.has("toc")&&(this.nodesToExpandExist=((r=this.toc)!==null&&r!==void 0?r:[]).some(a=>a.children.length>0)),e.has("labels")&&(this.labelResolver=new $t(Di,this.labels)),e.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((n=this.highlightedTocIds)!==null&&n!==void 0?n:[])),this.empty=((i=this.toc)!==null&&i!==void 0?i:[]).length===0}render(){var e;let r={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===de.S,"ft-reader-toc-desktop":this.viewportSize!==de.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return B`
956
- <div class=${ke(r)}>
956
+ `;var K=function(t,e,r,n){var i=arguments.length,c=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,r,c):l(e,r))||c);return i>3&&c&&Object.defineProperty(e,r,c),c},z=class extends Mt{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=Ne.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=Ne.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.empty=!0,this.labels={},this.labelResolver=new kt(Ma,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=ue.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return this.scope==="current-page"}update(e){var r,n,i;super.update(e),e.has("toc")&&(this.nodesToExpandExist=((r=this.toc)!==null&&r!==void 0?r:[]).some(c=>c.children.length>0)),e.has("labels")&&(this.labelResolver=new kt(Ma,this.labels)),e.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((n=this.highlightedTocIds)!==null&&n!==void 0?n:[])),this.empty=((i=this.toc)!==null&&i!==void 0?i:[]).length===0}render(){var e;let r={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===ue.S,"ft-reader-toc-desktop":this.viewportSize!==ue.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return F`
957
+ <div class=${Be(r)}>
957
958
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
958
959
  ${this.renderExpandCollapseAll()}
959
- ${Jo((e=this.toc)!==null&&e!==void 0?e:[],n=>n.tocId,n=>this.renderNode(n))}
960
+ ${or((e=this.toc)!==null&&e!==void 0?e:[],n=>n.tocId,n=>this.renderNode(n))}
960
961
  </div>
961
- `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?B`
962
+ `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?F`
962
963
  <div part="expand-collapse-all-container"
963
964
  class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
964
965
  <ft-button
@@ -974,29 +975,29 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
974
975
  ${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
975
976
  </ft-button>
976
977
  </div>
977
- `:z}renderNode(e){var r,n,i;let a=(r=this.highlightedTocIds)===null||r===void 0?void 0:r.includes(e.tocId),s=this.expanded||this.manuallyExpandedNodes.has(e.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(e.tocId))&&!this.manuallyCollapsedNodes.has(e.tocId),l=e.children.length>0,c=this.isCurrentPageToc?((i=(n=this.currentPage)===null||n===void 0?void 0:n.breadcrumb.length)!==null&&i!==void 0?i:0)+1:0,p=e.depth-1-c,h={"padding-left":`calc( ${Q.tabulationSize} * ${p} + 4px)`};return B`
978
- <div class="ft-reader-toc--node ${a?"ft-reader-toc--node-highlighted":""}">
979
- <div class="ft-reader-toc--link-container" data-depth="${e.depth}" style=${Wr(h)}>
980
- ${this.nodesToExpandExist&&!this.expanded?B`
978
+ `:H}renderNode(e){var r,n,i;let c=(r=this.highlightedTocIds)===null||r===void 0?void 0:r.includes(e.tocId),l=this.expanded||this.manuallyExpandedNodes.has(e.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(e.tocId))&&!this.manuallyCollapsedNodes.has(e.tocId),s=e.children.length>0,d=this.isCurrentPageToc?((i=(n=this.currentPage)===null||n===void 0?void 0:n.breadcrumb.length)!==null&&i!==void 0?i:0)+1:0,u=e.depth-1-d,y={"padding-left":`calc( ${oe.tabulationSize} * ${u} + 4px)`};return F`
979
+ <div class="ft-reader-toc--node ${c?"ft-reader-toc--node-highlighted":""}">
980
+ <div class="ft-reader-toc--link-container" data-depth="${e.depth}" style=${Hr(y)}>
981
+ ${this.nodesToExpandExist&&!this.expanded?F`
981
982
  <div class="ft-reader-toc--toggle-container">
982
- ${l?B`
983
+ ${s?F`
983
984
  <ft-button
984
985
  part="expand-collapse-node"
985
986
  class="ft-reader-toc--tree-node-button"
986
987
  round hideTooltip
987
- ?dense=${this.viewportSize!==de.S}
988
- label="${this.labelResolver.resolve(s?"collapse":"expand",e.title)}"
988
+ ?dense=${this.viewportSize!==ue.S}
989
+ label="${this.labelResolver.resolve(l?"collapse":"expand",e.title)}"
989
990
  .iconVariant="${this.iconVariant}"
990
- icon="${s?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
991
- @click=${()=>this.manuallyToggle(e.tocId,s)}
991
+ icon="${l?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
992
+ @click=${()=>this.manuallyToggle(e.tocId,l)}
992
993
  data-expand-node="${e.tocId}"
993
994
  aria-controls="${e.tocId}-children"
994
- aria-expanded="${s}"
995
+ aria-expanded="${l}"
995
996
  >
996
997
  </ft-button>
997
998
  `:this.getLeafNodeIcon()}
998
999
  </div>
999
- `:l?z:this.getLeafNodeIcon()}
1000
+ `:s?H:this.getLeafNodeIcon()}
1000
1001
  <ft-reader-internal-link
1001
1002
  part="node-link"
1002
1003
  tocId="${e.tocId}"
@@ -1004,15 +1005,15 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1004
1005
  <ft-typography part="node-label" variant="body2">${e.title}</ft-typography>
1005
1006
  </ft-reader-internal-link>
1006
1007
  </div>
1007
- ${l?B`
1008
+ ${s?F`
1008
1009
  <div class="ft-reader-toc--node-children" id="${e.tocId}-children"
1009
- ?hidden=${!s}>
1010
- ${s?Jo(e.children,u=>u.tocId,u=>this.renderNode(u)):z}
1010
+ ?hidden=${!l}>
1011
+ ${l?or(e.children,m=>m.tocId,m=>this.renderNode(m)):H}
1011
1012
  </div>
1012
- `:z}
1013
+ `:H}
1013
1014
  </div>
1014
- `}buildAutomaticallyExpandedNodes(e){var r,n;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let a of e){let s=a;for(;s&&!i.has(s);)i.add(s),this.manuallyCollapsedNodes.delete(s),s=(n=(r=this.service)===null||r===void 0?void 0:r.getTocNodeNow(s))===null||n===void 0?void 0:n.parentTocId}return i}manuallyToggle(e,r){r?(this.manuallyCollapsedNodes.add(e),this.manuallyExpandedNodes.delete(e)):(this.manuallyExpandedNodes.add(e),this.manuallyCollapsedNodes.delete(e)),this.requestUpdate()}onViewportSizeChange(e){this.viewportSize=e.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return B`
1015
- <ft-icon class="ft-reader-toc--leaf-node-icon" part="leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}};k.elementDefinitions={"ft-button":we,"ft-icon":ae,"ft-reader-internal-link":Oe,"ft-size-watcher":ye,"ft-typography":me};k.styles=vl;H([O({type:Boolean})],k.prototype,"expanded",void 0);H([O()],k.prototype,"iconVariant",void 0);H([O()],k.prototype,"collapseIcon",void 0);H([O()],k.prototype,"expandIcon",void 0);H([O()],k.prototype,"leafNodeIconVariant",void 0);H([O()],k.prototype,"leafNodeIcon",void 0);H([O({type:Boolean})],k.prototype,"expandCollapseAll",void 0);H([O({type:Boolean})],k.prototype,"expandCollapseAllHideLabel",void 0);H([O({type:Boolean})],k.prototype,"expandCollapseAllTrailingIcon",void 0);H([O()],k.prototype,"expandCollapseAllAlignment",void 0);H([O({type:Boolean})],k.prototype,"expandCollapseAllHideIcon",void 0);H([O()],k.prototype,"expandCollapseAllIconVariant",void 0);H([O()],k.prototype,"collapseAllIcon",void 0);H([O()],k.prototype,"expandAllIcon",void 0);H([O({type:Boolean})],k.prototype,"autoCollapse",void 0);H([O()],k.prototype,"scope",void 0);H([O({type:Boolean,reflect:!0})],k.prototype,"empty",void 0);H([co({})],k.prototype,"labels",void 0);H([So({selector:(t,e)=>{var r,n,i;return e.isCurrentPageToc?!((r=t.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc?(n=t.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((i=t.paginationConfiguration)===null||i===void 0)&&i.splitCurrentPageToc?t.pagesToc:t.toc}})],k.prototype,"toc",void 0);H([So()],k.prototype,"currentPage",void 0);H([So({selector:(t,e)=>{var r,n;return!((r=t.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc&&!e.isCurrentPageToc?[(n=t.currentPage)===null||n===void 0?void 0:n.rootTocId]:t.visibleTopics}})],k.prototype,"highlightedTocIds",void 0);H([G({hasChanged:Me})],k.prototype,"automaticallyExpandedNodes",void 0);H([G({hasChanged:Me})],k.prototype,"manuallyExpandedNodes",void 0);H([G({hasChanged:Me})],k.prototype,"manuallyCollapsedNodes",void 0);H([G()],k.prototype,"expandAll",void 0);H([G()],k.prototype,"viewportSize",void 0);X("ft-reader-toc")(k);})();
1015
+ `}buildAutomaticallyExpandedNodes(e){var r,n;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let c of e){let l=c;for(;l&&!i.has(l);)i.add(l),this.manuallyCollapsedNodes.delete(l),l=(n=(r=this.service)===null||r===void 0?void 0:r.getTocNodeNow(l))===null||n===void 0?void 0:n.parentTocId}return i}manuallyToggle(e,r){r?(this.manuallyCollapsedNodes.add(e),this.manuallyExpandedNodes.delete(e)):(this.manuallyExpandedNodes.add(e),this.manuallyCollapsedNodes.delete(e)),this.requestUpdate()}onViewportSizeChange(e){this.viewportSize=e.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return F`
1016
+ <ft-icon class="ft-reader-toc--leaf-node-icon" part="leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}};z.elementDefinitions={"ft-button":Re,"ft-icon":se,"ft-reader-internal-link":Ee,"ft-size-watcher":ve,"ft-typography":be};z.styles=Nl;K([E({type:Boolean})],z.prototype,"expanded",void 0);K([E()],z.prototype,"iconVariant",void 0);K([E()],z.prototype,"collapseIcon",void 0);K([E()],z.prototype,"expandIcon",void 0);K([E()],z.prototype,"leafNodeIconVariant",void 0);K([E()],z.prototype,"leafNodeIcon",void 0);K([E({type:Boolean})],z.prototype,"expandCollapseAll",void 0);K([E({type:Boolean})],z.prototype,"expandCollapseAllHideLabel",void 0);K([E({type:Boolean})],z.prototype,"expandCollapseAllTrailingIcon",void 0);K([E()],z.prototype,"expandCollapseAllAlignment",void 0);K([E({type:Boolean})],z.prototype,"expandCollapseAllHideIcon",void 0);K([E()],z.prototype,"expandCollapseAllIconVariant",void 0);K([E()],z.prototype,"collapseAllIcon",void 0);K([E()],z.prototype,"expandAllIcon",void 0);K([E({type:Boolean})],z.prototype,"autoCollapse",void 0);K([E()],z.prototype,"scope",void 0);K([E({type:Boolean,reflect:!0})],z.prototype,"empty",void 0);K([ho({})],z.prototype,"labels",void 0);K([Eo({selector:(t,e)=>{var r,n,i;return e.isCurrentPageToc?!((r=t.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc?(n=t.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((i=t.paginationConfiguration)===null||i===void 0)&&i.splitCurrentPageToc?t.pagesToc:t.toc}})],z.prototype,"toc",void 0);K([Eo()],z.prototype,"currentPage",void 0);K([Eo({selector:(t,e)=>{var r,n;return!((r=t.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc&&!e.isCurrentPageToc?[(n=t.currentPage)===null||n===void 0?void 0:n.rootTocId]:t.visibleTopics}})],z.prototype,"highlightedTocIds",void 0);K([q({hasChanged:De})],z.prototype,"automaticallyExpandedNodes",void 0);K([q({hasChanged:De})],z.prototype,"manuallyExpandedNodes",void 0);K([q({hasChanged:De})],z.prototype,"manuallyCollapsedNodes",void 0);K([q()],z.prototype,"expandAll",void 0);K([q()],z.prototype,"viewportSize",void 0);ee("ft-reader-toc")(z);})();
1016
1017
  /*! Bundled license information:
1017
1018
 
1018
1019
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: