@fluid-topics/ft-file-drop 1.1.82 → 1.1.83

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 mc=Object.defineProperty;var U=(e,t)=>{for(var o in t)mc(e,o,{get:t[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,L=new Set(b.observedAttributes||[]);m(b,L,S);let D={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,D),this._definitionsByClass.set(b,D);let ot=o.call(n,x);ot||(ot=u(x),t.call(n,x,ot)),this===window.customElements&&(s.set(b,D),D.standInClass=ot);let W=this._awaitingUpgrade.get(x);if(W){this._awaitingUpgrade.delete(x);for(let T of W)a.delete(T),y(T,D,!0)}let P=this._whenDefinedPromises.get(x);return P!==void 0&&(P.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 l;window.HTMLElement=function(){let b=l;if(b)return l=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(e,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=e.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let S=E[E.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),d(b)||(b=c.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let L=h(S)||window.customElements,D=L._getDefinition(x);return D?y(S,D):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(W,P){let T=W.toLowerCase();if(b.has(T)){let M=this.getAttribute(T);L.call(this,T,P),S.call(this,T,M,P)}else L.call(this,T,P)});let D=x.prototype.removeAttribute;D&&(x.prototype.removeAttribute=function(W){let P=W.toLowerCase();if(b.has(P)){let T=this.getAttribute(P);D.call(this,P),S.call(this,P,T,null)}else D.call(this,P)});let ot=x.prototype.toggleAttribute;ot&&(x.prototype.toggleAttribute=function(W,P){let T=W.toLowerCase();if(b.has(T)){let M=this.getAttribute(T);ot.call(this,T,P);let J=this.getAttribute(T);S.call(this,T,M,J)}else ot.call(this,T,P)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),l=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(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 D=L.apply(S||this,arguments);return D!==void 0&&c.set(D,this),E.pop(),D}};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(...W){let P=b.call(this,...W);return x.set(P,this),P},S.forEach(W=>{let P=window.ElementInternals.prototype,T=P[W];P[W]=function(...M){let J=x.get(this);if(i.get(J).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(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class D{constructor(P){let T=new Map;P.forEach((M,J)=>{let uo=M.getAttribute("name"),Pi=T.get(uo)||[];this[+J]=M,Pi.push(M),T.set(uo,Pi)}),this.length=P.length,T.forEach((M,J)=>{M&&(M.length===1?this[J]=M[0]:this[J]=new L(M))})}namedItem(P){return this[P]}}let ot=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=ot.get.call(this,[]),P=[];for(let T of W){let M=i.get(T);(!M||M.formAssociated===!0)&&P.push(T)}return new D(P)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var No={};U(No,{CSSResult:()=>Oe,LitElement:()=>It,ReactiveElement:()=>Ct,_$LE:()=>Uc,_$LH:()=>Mc,adoptStyles:()=>Mr,css:()=>_,defaultConverter:()=>Dr,getCompatibleStyle:()=>tr,html:()=>G,isServer:()=>pd,noChange:()=>Ht,notEqual:()=>vo,nothing:()=>F,render:()=>Eo,supportsAdoptingStyleSheets:()=>Qe,svg:()=>kc,unsafeCSS:()=>Lt});var Or=globalThis,wr=Or.ShadowRoot&&(Or.ShadyCSS===void 0||Or.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Li=Symbol(),_i=new WeakMap,Cr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Li)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(wr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=_i.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&_i.set(o,t))}return t}toString(){return this.cssText}},Ti=e=>new Cr(typeof e=="string"?e:e+"",void 0,Li);var ho=(e,t)=>{if(wr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Or.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Er=wr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Ti(o)})(e):e;var{is:gc,defineProperty:yc,getOwnPropertyDescriptor:bc,getOwnPropertyNames:xc,getOwnPropertySymbols:vc,getPrototypeOf:Sc}=Object,Nr=globalThis,Ii=Nr.trustedTypes,Oc=Ii?Ii.emptyScript:"",Cc=Nr.reactiveElementPolyfillSupport,Ge=(e,t)=>e,Ze={toAttribute(e,t){switch(t){case Boolean:e=e?Oc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Ar=(e,t)=>!gc(e,t),ki={attribute:!0,type:String,converter:Ze,reflect:!1,hasChanged:Ar};Symbol.metadata??=Symbol("metadata"),Nr.litPropertyMetadata??=new WeakMap;var re=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=ki){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&yc(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=bc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ki}static _$Ei(){if(this.hasOwnProperty(Ge("elementProperties")))return;let t=Sc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ge("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ge("properties"))){let o=this.properties,n=[...xc(o),...vc(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Er(i))}else t!==void 0&&o.push(Er(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ho(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ze).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);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:Ze;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Ar)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!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 t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[Ge("elementProperties")]=new Map,re[Ge("finalized")]=new Map,Cc?.({ReactiveElement:re}),(Nr.reactiveElementVersions??=[]).push("2.0.2");var go=globalThis,Rr=go.trustedTypes,Mi=Rr?Rr.createPolicy("lit-html",{createHTML:e=>e}):void 0,yo="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,bo="?"+_t,wc=`<${bo}>`,ie=document,$r=()=>ie.createComment(""),Ye=e=>e===null||typeof e!="object"&&typeof e!="function",Hi=Array.isArray,Fi=e=>Hi(e)||typeof e?.[Symbol.iterator]=="function",mo=`[
2
- \f\r]`,qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Di=/-->/g,Wi=/>/g,oe=RegExp(`>|${mo}(?:([^\\s"'>=/]+)(${mo}*=${mo}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ui=/'/g,zi=/"/g,ji=/^(?:script|style|textarea|title)$/i,Vi=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ki=Vi(1),Gi=Vi(2),lt=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Bi=new WeakMap,ne=ie.createTreeWalker(ie,129);function Zi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Mi!==void 0?Mi.createHTML(t):t}var qi=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=qe;for(let c=0;c<o;c++){let l=e[c],d,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===qe?h[1]==="!--"?s=Di:h[1]!==void 0?s=Wi:h[2]!==void 0?(ji.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=oe):h[3]!==void 0&&(s=oe):s===oe?h[0]===">"?(s=i??qe,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?oe:h[3]==='"'?zi:Ui):s===zi||s===Ui?s=oe:s===Di||s===Wi?s=qe:(s=oe,i=void 0);let g=s===oe&&e[c+1].startsWith("/>")?" ":"";a+=s===qe?l+wc:u>=0?(n.push(d),l.slice(0,u)+yo+l.slice(u)+_t+g):l+_t+(u===-2?c:g)}return[Zi(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Xe=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,l=this.parts,[d,h]=qi(t,o);if(this.el=e.createElement(d,n),ne.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ne.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(yo)){let m=h[s++],g=i.getAttribute(u).split(_t),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?_r:y[1]==="?"?Lr:y[1]==="@"?Tr:se}),i.removeAttribute(u)}else u.startsWith(_t)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(ji.test(i.tagName)){let u=i.textContent.split(_t),m=u.length-1;if(m>0){i.textContent=Rr?Rr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],$r()),ne.nextNode(),l.push({type:2,index:++a});i.append(u[m],$r())}}}else if(i.nodeType===8)if(i.data===bo)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(_t,u+1))!==-1;)l.push({type:7,index:a}),u+=_t.length-1}a++}}static createElement(t,o){let n=ie.createElement("template");return n.innerHTML=t,n}};function ae(e,t,o=e,n){if(t===lt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Ye(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=ae(e,i._$AS(e,t.values),i,n)),t}var Pr=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ie).importNode(o,!0);ne.currentNode=i;let a=ne.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Je(a,a.nextSibling,this,t):l.type===1?d=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(d=new Ir(a,this,t)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=ne.nextNode(),s++)}return ne.currentNode=ie,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Je=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ae(this,t,o),Ye(t)?t===K||t==null||t===""?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==lt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Fi(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==K&&Ye(this._$AH)?this._$AA.nextSibling.data=t:this.$(ie.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Xe.createElement(Zi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Pr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Bi.get(t.strings);return o===void 0&&Bi.set(t.strings,o=new Xe(t)),o}T(t){Hi(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k($r()),this.k($r()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},se=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=K}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ae(this,t,o,0),s=!Ye(t)||t!==this._$AH&&t!==lt,s&&(this._$AH=t);else{let c=t,l,d;for(t=a[0],l=0;l<a.length-1;l++)d=ae(this,c[n+l],o,l),d===lt&&(d=this._$AH[l]),s||=!Ye(d)||d!==this._$AH[l],d===K?t=K:t!==K&&(t+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(t)}O(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},_r=class extends se{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===K?void 0:t}},Lr=class extends se{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==K)}},Tr=class extends se{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=ae(this,t,o,0)??K)===lt)return;let n=this._$AH,i=t===K&&n!==K||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==K&&(n===K||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Ir=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}},Yi={j:yo,P:_t,A:bo,C:1,M:qi,L:Pr,R:Fi,V:ae,D:Je,I:se,H:Lr,N:Tr,U:_r,B:Ir},Ec=go.litHtmlPolyfillSupport;Ec?.(Xe,Je),(go.litHtmlVersions??=[]).push("3.1.0");var kr=globalThis,Qe=kr.ShadowRoot&&(kr.ShadyCSS===void 0||kr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xo=Symbol(),Xi=new WeakMap,Oe=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==xo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Qe&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Xi.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Xi.set(o,t))}return t}toString(){return this.cssText}},Lt=e=>new Oe(typeof e=="string"?e:e+"",void 0,xo),_=(e,...t)=>{let o=e.length===1?e[0]:t.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)+e[a+1],e[0]);return new Oe(o,e,xo)},Mr=(e,t)=>{if(Qe)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=kr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},tr=Qe?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Lt(o)})(e):e;var{is:Nc,defineProperty:Ac,getOwnPropertyDescriptor:Rc,getOwnPropertyNames:$c,getOwnPropertySymbols:Pc,getPrototypeOf:_c}=Object,Wr=globalThis,Ji=Wr.trustedTypes,Lc=Ji?Ji.emptyScript:"",Tc=Wr.reactiveElementPolyfillSupport,er=(e,t)=>e,Dr={toAttribute(e,t){switch(t){case Boolean:e=e?Lc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},vo=(e,t)=>!Nc(e,t),Qi={attribute:!0,type:String,converter:Dr,reflect:!1,hasChanged:vo};Symbol.metadata??=Symbol("metadata"),Wr.litPropertyMetadata??=new WeakMap;var Ct=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Qi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Ac(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Rc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Qi}static _$Ei(){if(this.hasOwnProperty(er("elementProperties")))return;let t=_c(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(er("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(er("properties"))){let o=this.properties,n=[...$c(o),...Pc(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(tr(i))}else t!==void 0&&o.push(tr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Dr).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);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:Dr;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??vo)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!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 t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Ct.elementStyles=[],Ct.shadowRootOptions={mode:"open"},Ct[er("elementProperties")]=new Map,Ct[er("finalized")]=new Map,Tc?.({ReactiveElement:Ct}),(Wr.reactiveElementVersions??=[]).push("2.0.2");var Oo=globalThis,Ur=Oo.trustedTypes,ta=Ur?Ur.createPolicy("lit-html",{createHTML:e=>e}):void 0,Co="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,wo="?"+Tt,Ic=`<${wo}>`,pe=document,or=()=>pe.createComment(""),nr=e=>e===null||typeof e!="object"&&typeof e!="function",aa=Array.isArray,sa=e=>aa(e)||typeof e?.[Symbol.iterator]=="function",So=`[
4
- \f\r]`,rr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ea=/-->/g,ra=/>/g,ce=RegExp(`>|${So}(?:([^\\s"'>=/]+)(${So}*=${So}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),oa=/'/g,na=/"/g,ca=/^(?:script|style|textarea|title)$/i,la=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),G=la(1),kc=la(2),Ht=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),ia=new WeakMap,le=pe.createTreeWalker(pe,129);function pa(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ta!==void 0?ta.createHTML(t):t}var da=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=rr;for(let c=0;c<o;c++){let l=e[c],d,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===rr?h[1]==="!--"?s=ea:h[1]!==void 0?s=ra:h[2]!==void 0?(ca.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ce):h[3]!==void 0&&(s=ce):s===ce?h[0]===">"?(s=i??rr,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?ce:h[3]==='"'?na:oa):s===na||s===oa?s=ce:s===ea||s===ra?s=rr:(s=ce,i=void 0);let g=s===ce&&e[c+1].startsWith("/>")?" ":"";a+=s===rr?l+Ic:u>=0?(n.push(d),l.slice(0,u)+Co+l.slice(u)+Tt+g):l+Tt+(u===-2?c:g)}return[pa(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},ir=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,l=this.parts,[d,h]=da(t,o);if(this.el=e.createElement(d,n),le.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=le.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Co)){let m=h[s++],g=i.getAttribute(u).split(Tt),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Br:y[1]==="?"?Hr:y[1]==="@"?Fr:fe}),i.removeAttribute(u)}else u.startsWith(Tt)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(ca.test(i.tagName)){let u=i.textContent.split(Tt),m=u.length-1;if(m>0){i.textContent=Ur?Ur.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],or()),le.nextNode(),l.push({type:2,index:++a});i.append(u[m],or())}}}else if(i.nodeType===8)if(i.data===wo)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Tt,u+1))!==-1;)l.push({type:7,index:a}),u+=Tt.length-1}a++}}static createElement(t,o){let n=pe.createElement("template");return n.innerHTML=t,n}};function de(e,t,o=e,n){if(t===Ht)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=nr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=de(e,i._$AS(e,t.values),i,n)),t}var zr=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??pe).importNode(o,!0);le.currentNode=i;let a=le.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Ce(a,a.nextSibling,this,t):l.type===1?d=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(d=new jr(a,this,t)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=le.nextNode(),s++)}return le.currentNode=pe,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Ce=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=de(this,t,o),nr(t)?t===F||t==null||t===""?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==Ht&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):sa(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==F&&nr(this._$AH)?this._$AA.nextSibling.data=t:this.$(pe.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ir.createElement(pa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new zr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=ia.get(t.strings);return o===void 0&&ia.set(t.strings,o=new ir(t)),o}T(t){aa(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(or()),this.k(or()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=F}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=de(this,t,o,0),s=!nr(t)||t!==this._$AH&&t!==Ht,s&&(this._$AH=t);else{let c=t,l,d;for(t=a[0],l=0;l<a.length-1;l++)d=de(this,c[n+l],o,l),d===Ht&&(d=this._$AH[l]),s||=!nr(d)||d!==this._$AH[l],d===F?t=F:t!==F&&(t+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(t)}O(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Br=class extends fe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===F?void 0:t}},Hr=class extends fe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}},Fr=class extends fe{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=de(this,t,o,0)??F)===Ht)return;let n=this._$AH,i=t===F&&n!==F||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==F&&(n===F||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},jr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){de(this,t)}},Mc={j:Co,P:Tt,A:wo,C:1,M:da,L:zr,R:sa,V:de,D:Ce,I:fe,H:Hr,N:Fr,U:Br,B:jr},Dc=Oo.litHtmlPolyfillSupport;Dc?.(ir,Ce),(Oo.litHtmlVersions??=[]).push("3.1.0");var Eo=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Ce(t.insertBefore(or(),a),a,void 0,o??{})}return i._$AI(e),i};var It=class extends Ct{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Eo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ht}};It._$litElement$=!0,It.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:It});var Wc=globalThis.litElementPolyfillSupport;Wc?.({LitElement:It});var Uc={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var pd=!1;var Ro={};U(Ro,{customElement:()=>zc,eventOptions:()=>we,property:()=>C,query:()=>rt,queryAll:()=>Fc,queryAssignedElements:()=>Vc,queryAssignedNodes:()=>Ao,queryAsync:()=>jc,standardProperty:()=>fa,state:()=>et});var zc=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Bc={attribute:!0,type:String,converter:Ze,reflect:!1,hasChanged:Ar},fa=(e=Bc,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(c){let l=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,l,e)},init(c){return c!==void 0&&this.C(s,void 0,e),c}}}if(n==="setter"){let{name:s}=o;return function(c){let l=this[s];t.call(this,c),this.requestUpdate(s,l,e)}}throw Error("Unsupported decorator location: "+n)};function C(e){return(t,o)=>typeof o=="object"?fa(e,t,o):((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})(e,t,o)}function et(e){return C({...e,state:!0,attribute:!1})}function we(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var yt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function rt(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let l=Symbol();return{get(){return this[l]},set(d){this[l]=d}}})();return yt(o,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return yt(o,n,{get(){return a(this)}})}}var Hc;function Fc(e){return(t,o)=>yt(t,o,{get(){return(this.renderRoot??(Hc??=document.createDocumentFragment())).querySelectorAll(e)}})}function jc(e){return(t,o)=>yt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Vc(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(e)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function Ao(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var $o={};U($o,{repeat:()=>Zc});var Ft={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},jt=e=>(...t)=>({_$litDirective$:e,values:t}),wt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:Kc}=Yi;var ua=()=>document.createComment(""),Ee=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(ua(),i),s=n.insertBefore(ua(),i);o=new Kc(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==e;if(c){let l;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(l=e._$AU)!==s._$AU&&o._$AP(l)}if(a!==i||c){let l=o._$AA;for(;l!==a;){let d=l.nextSibling;n.insertBefore(l,i),l=d}}}return o},Vt=(e,t,o=e)=>(e._$AI(t,o),e),Gc={},ha=(e,t=Gc)=>e._$AH=t,ma=e=>e._$AH,Vr=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var ga=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Zc=jt(class extends wt{constructor(e){if(super(e),e.type!==Ft.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let c of e)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=ma(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],d,h,u=0,m=i.length-1,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[g])l[g]=Vt(i[u],a[g]),u++,g++;else if(c[m]===s[y])l[y]=Vt(i[m],a[y]),m--,y--;else if(c[u]===s[y])l[y]=Vt(i[u],a[y]),Ee(e,l[y+1],i[u]),u++,y--;else if(c[m]===s[g])l[g]=Vt(i[m],a[g]),Ee(e,i[u],i[m]),m--,g++;else if(d===void 0&&(d=ga(s,g,y),h=ga(c,u,m)),d.has(c[u]))if(d.has(c[m])){let v=h.get(s[g]),E=v!==void 0?i[v]:null;if(E===null){let N=Ee(e,i[u]);Vt(N,a[g]),l[g]=N}else l[g]=Vt(E,a[g]),Ee(e,i[u],E),i[v]=null;g++}else Vr(i[m]),m--;else Vr(i[u]),u++;for(;g<=y;){let v=Ee(e,l[y+1]);Vt(v,a[g]),l[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&Vr(v)}return this.dt=s,ha(e,l),lt}});var Po={};U(Po,{classMap:()=>kt});var kt=jt(class extends wt{constructor(e){if(super(e),e.type!==Ft.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return lt}});var _o={};U(_o,{styleMap:()=>Yc});var ya="important",qc=" !"+ya,Yc=jt(class extends wt{constructor(e){if(super(e),e.type!==Ft.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(qc);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?ya:""):o[n]=i}}return lt}});var To={};U(To,{UnsafeHTMLDirective:()=>Ne,unsafeHTML:()=>Lo});var Ne=class extends wt{constructor(t){if(super(t),this.et=K,t.type!==Ft.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||t==null)return this.vt=void 0,this.et=t;if(t===lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ne.directiveName="unsafeHTML",Ne.resultType=1;var Lo=jt(Ne);var Do={};U(Do,{CacheRegistry:()=>Mo});var ko={};U(ko,{CancelablePromise:()=>Ae,CanceledPromiseError:()=>ar,cancelable:()=>Io});var ar=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Ae=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new ar("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new ar("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Io=e=>new Ae((t,o)=>e.then(t).catch(o));var Mo=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Ae&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=Io(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Uo={};U(Uo,{ClusteringHelper:()=>Wo});var Wo=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,o){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata;return o==null?e.flattenMetadata(a):e.flattenMetadata(a.find(s=>s.key===o))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let o=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!o))if(o){let n=[],i=[];return t.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,o,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(t))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>e.extractResultMetadata(d,t)).map(d=>d??{key:t,label:c,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,u)=>u.findIndex(m=>m.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(t,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=t.localeCompare(o,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(l=>{var d;return((d=e.extractResultMetadata(l,t))===null||d===void 0?void 0:d.value)==o}),a=[...e.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==t)],s,c=-1;for(let l of n){let d=this.countMatchingMetadata(l,a);if(d>c&&(c=d,s=l,d===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata(t).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var zo={};U(zo,{Debouncer:()=>bt});var bt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Fo={};U(Fo,{customElement:()=>Y,isNumber:()=>Oa,jsonProperty:()=>Ho,optionalNumberProperty:()=>ol});var Bo={};U(Bo,{dateReviver:()=>Jc,deepEqual:()=>Kt,delay:()=>ba,eventPathContainsMatchingElement:()=>tl,flatDeep:()=>va,last:()=>rl,minmax:()=>el,parseDate:()=>Sa,waitFor:()=>xa,waitUntil:()=>Xc});var ba=e=>new Promise(t=>setTimeout(t,e));async function Xc(e,t=10,o=2e4){await xa(async()=>await e()||void 0,t,o)}async function xa(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await ba(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function va(e,t){return e.flatMap(o=>[o,...va(t(o),t)])}function Jc(...e){return function(t,o){return e.includes(t)?Sa(o):o}}function Sa(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function Qc(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Kt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Kt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!Kt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Kt(e,t){try{return Qc(e,t)}catch{return!1}}function tl(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function el(e,t,o){return Math.min(Math.max(e,t),o)}function rl(e){return e[e.length-1]}var Y=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ho(e,t){let o=()=>JSON.parse(JSON.stringify(e));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!Kt(n,i),...t??{}})}function ol(e){return C({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Oa(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Oa(e){return!isNaN(parseFloat(e))}var xn={};U(xn,{designSystemVariables:()=>I});var bn={};U(bn,{DesignSystemFamily:()=>gn,DesignSystemSize:()=>yn,FtCssVariableFactory:()=>r,badge:()=>cl,banner:()=>sl,breadcrumb:()=>ll,button:()=>w,chart:()=>Ol,checkbox:()=>wl,chip:()=>il,collapsible:()=>vl,comboboxMultiSelect:()=>yl,comboboxSingleSelect:()=>gl,drawer:()=>fl,floatingMenu:()=>ml,foundation:()=>p,link:()=>al,modal:()=>dl,notice:()=>Cl,notification:()=>Al,pageHeader:()=>pl,popover:()=>bl,radio:()=>Nl,resolveFamilyClass:()=>$l,resolveSizeClass:()=>Pl,semantic:()=>f,setVariable:()=>R,switch_:()=>Sl,tabs:()=>xl,textArea:()=>hl,textInput:()=>ul,toggle:()=>El,tooltip:()=>Rl,typographies:()=>sr,typographyBody1Medium:()=>qo,typographyBody1Regular:()=>Zo,typographyBody1Semibold:()=>Yo,typographyBody2Medium:()=>Jo,typographyBody2MediumUnderline:()=>Ca,typographyBody2Regular:()=>Xo,typographyBody2Semibold:()=>Qo,typographyCaption1Bold:()=>ln,typographyCaption1Medium:()=>sn,typographyCaption1Semibold:()=>cn,typographyCaption2Bold:()=>fn,typographyCaption2Medium:()=>pn,typographyCaption2Semibold:()=>dn,typographyCaption3Bold:()=>mn,typographyCaption3Medium:()=>un,typographyCaption3Semibold:()=>hn,typographyDisplay:()=>jo,typographyLabel1Bold:()=>rn,typographyLabel1Medium:()=>tn,typographyLabel1Semibold:()=>en,typographyLabel2Bold:()=>an,typographyLabel2Medium:()=>on,typographyLabel2Semibold:()=>nn,typographyTitle1:()=>Vo,typographyTitle2:()=>Ko,typographyTitle3:()=>Go,typographyVariants:()=>nl});var Mt=e=>typeof e=="string"?Lt(e):e,r=class{static create(t,o,n,i){let a=c=>Mt(c??i),s=_`var(${Mt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>_`var(${Mt(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=_`var(${Mt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>_`var(${Mt(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Mt(a??t.lastResortDefaultValue()),i=_`var(${Mt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>_`var(${Mt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function R(e,t){return Mt(`${e.name}: ${t}`)}var p={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},jo={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Vo={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ko={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Go={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Zo={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},qo={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Yo={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Xo={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Jo={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ca={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Qo={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},tn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},en={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},rn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},on={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},nn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},an={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},sn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},cn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ln={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},pn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},dn={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},fn={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},un={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},hn={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},mn={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},sr={display:jo,"title-1":Vo,"title-2":Ko,"title-3":Go,"body-1-regular":Zo,"body-1-medium":qo,"body-1-semibold":Yo,"body-2-regular":Xo,"body-2-medium":Jo,"body-2-medium-underline":Ca,"body-2-semibold":Qo,"label-1-medium":tn,"label-1-semibold":en,"label-1-bold":rn,"label-2-medium":on,"label-2-semibold":nn,"label-2-bold":an,"caption-1-medium":sn,"caption-1-semibold":cn,"caption-1-bold":ln,"caption-2-medium":pn,"caption-2-semibold":dn,"caption-2-bold":fn,"caption-3-medium":un,"caption-3-semibold":hn,"caption-3-bold":mn},nl=["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:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var w={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:r.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:r.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var il={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:r.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:r.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var al={focusOpacity:r.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",f.contentInfoPrimary)};var sl={iconSize:r.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var cl={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:r.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",f.contentActionPrimary)};var ll={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var pl={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var dl={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:r.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",p.borderRadiusM)};var fl={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var ul={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var hl={backgroundColor:r.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var ml={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var gl={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var yl={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var bl={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",p.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",p.shadowElevation02)};var xl={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var vl={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:r.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",p.iconSize3)};var Sl={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:r.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:r.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var Ol={color1Light:r.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",p.colorRed40),color5Base:r.extend("--ft-chart-5-base","",p.colorRed60),color6Light:r.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",p.colorGray50),color10Base:r.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var Cl={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:r.extend("--ft-notice-gap","",p.spacing2),iconSize:r.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var wl={color:r.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",p.spacing3)};var El={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:r.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",p.spacing3)};var Nl={color:r.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",p.spacing3)};var Al={iconSize:r.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",p.spacing8)};var Rl={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:r.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:r.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",p.spacing05)};var gn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(gn||(gn={}));var yn;(function(e){e.large="large",e.medium="medium",e.small="small"})(yn||(yn={}));function $l(e){return`design-system--family-${e}`}function Pl(e){return`design-system--size-${e}`}var I={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Cn={};U(Cn,{FtNotificationEvent:()=>vn,PostResizeEvent:()=>On,PreResizeEvent:()=>Sn});var vn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Sn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},On=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var kn={};U(kn,{computeOffsetPosition:()=>In});var Ea=["top","right","bottom","left"],wa=["start","end"],En=Ea.reduce((e,t)=>e.concat(t,t+"-"+wa[0],t+"-"+wa[1]),[]),cr=Math.min,Gt=Math.max,lr=Math.round;var Dt=e=>({x:e,y:e}),_l={left:"right",right:"left",bottom:"top",top:"bottom"},Ll={start:"end",end:"start"};function Nn(e,t,o){return Gt(e,cr(t,o))}function Kr(e,t){return typeof e=="function"?e(t):e}function Re(e){return e.split("-")[0]}function Zt(e){return e.split("-")[1]}function An(e){return e==="x"?"y":"x"}function Rn(e){return e==="y"?"height":"width"}function Gr(e){return["top","bottom"].includes(Re(e))?"y":"x"}function $n(e){return An(Gr(e))}function Na(e,t,o){o===void 0&&(o=!1);let n=Zt(e),i=$n(e),a=Rn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=wn(s)),[s,wn(s)]}function Aa(e){return e.replace(/start|end/g,t=>Ll[t])}function wn(e){return e.replace(/left|right|bottom|top/g,t=>_l[t])}function Tl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ra(e){return typeof e!="number"?Tl(e):{top:e,right:e,bottom:e,left:e}}function ue(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function $a(e,t,o){let{reference:n,floating:i}=e,a=Gr(t),s=$n(t),c=Rn(s),l=Re(t),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,g;switch(l){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:u};break;case"left":g={x:n.x-i.width,y:u};break;default:g={x:n.x,y:n.y}}switch(Zt(t)){case"start":g[s]-=m*(o&&d?-1:1);break;case"end":g[s]+=m*(o&&d?-1:1);break}return g}var Pa=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=$a(d,n,l),m=n,g={},y=0;for(let v=0;v<c.length;v++){let{name:E,fn:N}=c[v],{x:A,y:x,data:b,reset:S}=await N({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:e,floating:t}});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&&(d=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:h,y:u}=$a(d,m,l)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function Pn(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=Kr(t,e),y=Ra(g),E=c[m?u==="floating"?"reference":"floating":u],N=ue(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(E)))==null||o?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:l})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=ue(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:x,strategy:l}):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 Il(e,t,o){return(e?[...o.filter(i=>Zt(i)===e),...o.filter(i=>Zt(i)!==e)]:o.filter(i=>Re(i)===i)).filter(i=>e?Zt(i)===e||(t?Aa(i)!==i:!1):!0)}var _n=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=En,autoAlignment:g=!0,...y}=Kr(e,t),v=u!==void 0||m===En?Il(u||null,g,m):m,E=await Pn(t,y),N=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[N];if(A==null)return{};let x=Na(A,a,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(c!==A)return{reset:{placement:v[0]}};let b=[E[Re(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 D=S.map(P=>{let T=Zt(P.placement);return[P.placement,T&&h?P.overflows.slice(0,2).reduce((M,J)=>M+J,0):P.overflows[0],P.overflows]}).sort((P,T)=>P[1]-T[1]),W=((i=D.filter(P=>P[2].slice(0,Zt(P[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||D[0][0];return W!==c?{data:{index:N+1,overflows:S},reset:{placement:W}}:{}}}};var Ln=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:E=>{let{x:N,y:A}=E;return{x:N,y:A}}},...l}=Kr(e,t),d={x:o,y:n},h=await Pn(t,l),u=Gr(Re(i)),m=An(u),g=d[m],y=d[u];if(a){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",A=g+h[E],x=g-h[N];g=Nn(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=Nn(A,y,x)}let v=c.fn({...t,[m]:g,[u]:y});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function Wt(e){return La(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ut(e){var t;return(t=(La(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function La(e){return e instanceof Node||e instanceof nt(e).Node}function Et(e){return e instanceof Element||e instanceof nt(e).Element}function xt(e){return e instanceof HTMLElement||e instanceof nt(e).HTMLElement}function _a(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function $e(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Ta(e){return["table","td","th"].includes(Wt(e))}function qr(e){let t=Yr(),o=pt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Ia(e){let t=he(e);for(;xt(t)&&!pr(t);){if(qr(t))return t;t=he(t)}return null}function Yr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pr(e){return["html","body","#document"].includes(Wt(e))}function pt(e){return nt(e).getComputedStyle(e)}function dr(e){return Et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function he(e){if(Wt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||_a(e)&&e.host||Ut(e);return _a(t)?t.host:t}function ka(e){let t=he(e);return pr(t)?e.ownerDocument?e.ownerDocument.body:e.body:xt(t)&&$e(t)?t:ka(t)}function Zr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=ka(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=nt(i);return a?t.concat(s,s.visualViewport||[],$e(i)?i:[],s.frameElement&&o?Zr(s.frameElement):[]):t.concat(i,Zr(i,[],o))}function Wa(e){let t=pt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=xt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,c=lr(o)!==a||lr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Ua(e){return Et(e)?e:e.contextElement}function Pe(e){let t=Ua(e);if(!xt(t))return Dt(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Wa(t),s=(a?lr(o.width):o.width)/n,c=(a?lr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var kl=Dt(0);function za(e){let t=nt(e);return!Yr()||!t.visualViewport?kl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ml(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==nt(e)?!1:t}function fr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Ua(e),s=Dt(1);t&&(n?Et(n)&&(s=Pe(n)):s=Pe(e));let c=Ml(a,o,n)?za(a):Dt(0),l=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=nt(a),g=n&&Et(n)?nt(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=Pe(y),E=y.getBoundingClientRect(),N=pt(y),A=E.left+(y.clientLeft+parseFloat(N.paddingLeft))*v.x,x=E.top+(y.clientTop+parseFloat(N.paddingTop))*v.y;l*=v.x,d*=v.y,h*=v.x,u*=v.y,l+=A,d+=x,y=nt(y).frameElement}}return ue({width:h,height:u,x:l,y:d})}function Dl(e){let{rect:t,offsetParent:o,strategy:n}=e,i=xt(o),a=Ut(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},c=Dt(1),l=Dt(0);if((i||!i&&n!=="fixed")&&((Wt(o)!=="body"||$e(a))&&(s=dr(o)),xt(o))){let d=fr(o);c=Pe(o),l.x=d.x+o.clientLeft,l.y=d.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+l.x,y:t.y*c.y-s.scrollTop*c.y+l.y}}function Wl(e){return Array.from(e.getClientRects())}function Ba(e){return fr(Ut(e)).left+dr(e).scrollLeft}function Ul(e){let t=Ut(e),o=dr(e),n=e.ownerDocument.body,i=Gt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Gt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ba(e),c=-o.scrollTop;return pt(n).direction==="rtl"&&(s+=Gt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function zl(e,t){let o=nt(e),n=Ut(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let d=Yr();(!d||d&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function Bl(e,t){let o=fr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=xt(e)?Pe(e):Dt(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,l=i*a.x,d=n*a.y;return{width:s,height:c,x:l,y:d}}function Ma(e,t,o){let n;if(t==="viewport")n=zl(e,o);else if(t==="document")n=Ul(Ut(e));else if(Et(t))n=Bl(t,o);else{let i=za(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return ue(n)}function Ha(e,t){let o=he(e);return o===t||!Et(o)||pr(o)?!1:pt(o).position==="fixed"||Ha(o,t)}function Hl(e,t){let o=t.get(e);if(o)return o;let n=Zr(e,[],!1).filter(c=>Et(c)&&Wt(c)!=="body"),i=null,a=pt(e).position==="fixed",s=a?he(e):e;for(;Et(s)&&!pr(s);){let c=pt(s),l=qr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||$e(s)&&!l&&Ha(e,s))?n=n.filter(h=>h!==s):i=c,s=he(s)}return t.set(e,n),n}function Fl(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Hl(t,this._c):[].concat(o),n],c=s[0],l=s.reduce((d,h)=>{let u=Ma(t,h,i);return d.top=Gt(u.top,d.top),d.right=cr(u.right,d.right),d.bottom=cr(u.bottom,d.bottom),d.left=Gt(u.left,d.left),d},Ma(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function jl(e){return Wa(e)}function Vl(e,t,o){let n=xt(t),i=Ut(t),a=o==="fixed",s=fr(e,!0,a,t),c={scrollLeft:0,scrollTop:0},l=Dt(0);if(n||!n&&!a)if((Wt(t)!=="body"||$e(i))&&(c=dr(t)),n){let d=fr(t,!0,a,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else i&&(l.x=Ba(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function Da(e,t){return!xt(e)||pt(e).position==="fixed"?null:t?t(e):e.offsetParent}function Fa(e,t){let o=nt(e);if(!xt(e))return o;let n=Da(e,t);for(;n&&Ta(n)&&pt(n).position==="static";)n=Da(n,t);return n&&(Wt(n)==="html"||Wt(n)==="body"&&pt(n).position==="static"&&!qr(n))?o:n||Ia(e)||o}var Kl=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||Fa,a=this.getDimensions;return{reference:Vl(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Gl(e){return pt(e).direction==="rtl"}var Xr={convertOffsetParentRelativeRectToViewportRelativeRect:Dl,getDocumentElement:Ut,getClippingRect:Fl,getOffsetParent:Fa,getElementRects:Kl,getClientRects:Wl,getDimensions:jl,getScale:Pe,isElement:Et,isRTL:Gl};var ja=(e,t,o)=>{let n=new Map,i={platform:Xr,...o},a={...i.platform,_c:n};return Pa(e,t,{...i,platform:a})};function Va(e){return Zl(e)}function Tn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Zl(e){for(let t=e;t;t=Tn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Tn(e);t;t=Tn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function In(e,t,o){return ja(e,t,{platform:{...Xr,getOffsetParent:n=>Xr.getOffsetParent(n,Va)},middleware:[Ln({crossAxis:!0}),_n({allowedPlacements:[o]})]})}var Wn={};U(Wn,{FtLitElement:()=>z});var Mn={};U(Mn,{ScopedRegistryLitElement:()=>ur});var Jr=window,ql=Jr.ShadowRoot&&(Jr.ShadyCSS===void 0||Jr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ym=Symbol();var Ka=(e,t)=>{ql?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Jr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var ur=class extends It{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ka(n,t.elementStyles),n}};var Dn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},qa,Ga=Symbol("constructorPrototype"),Za=Symbol("constructorName"),Ya=Symbol("exportpartsDebouncer"),z=class extends ur{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[qa]=new bt(5),this[Za]=this.constructor.name,this[Ga]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Za]&&Object.setPrototypeOf(this,this[Ga])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),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 t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ya].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(t){var o,n,i,a,s,c;let l=m=>m!=null&&m.trim().length>0,d=t.filter(l).map(m=>m.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...y).filter(l).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};qa=Ya;Dn([C()],z.prototype,"exportpartsPrefix",void 0);Dn([Ho([])],z.prototype,"exportpartsPrefixes",void 0);Dn([C()],z.prototype,"customStylesheet",void 0);var Xa={};var Bn={};U(Bn,{highlightHtml:()=>Jl,highlightHtmlColorCssVariable:()=>Ja,highlightHtmlStyles:()=>Xl});var me=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(d=>{e.matches(d,this.exclude)?l():this.onIframeReady(d,h=>{o(d)&&(c++,n(h)),l()},l)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(t,o,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(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),c=[],l=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(d,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(t,g=>l.push(g),i)}),l.push(d);l.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(t,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var hr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){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},t)}get opt(){return this._opt}get iterator(){return new me(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=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 t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,c=o-s,l=parseInt(t.start,10)-c;return l=l>s?s:l,i=l+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return me.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,c)=>{let l=t.nodes[c+1];if(typeof l>"u"||l.start>o){if(!i(s.node))return!1;let d=o-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),t.value=u+m,t.nodes.forEach((g,y)=>{y>=c&&(t.nodes[y].start>0&&y!==c&&(t.nodes[y].start-=h),t.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let d;for(;(d=t.exec(l.textContent))!==null&&d[s]!=="";){if(!n(d[s],l))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;l=this.wrapRangeInTextNode(l,h,h+d[s].length),i(l.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let l;for(;(l=t.exec(c.value))!==null&&l[s]!=="";){let d=l.index;if(s!==0)for(let u=1;u<s;u++)d+=l[u].length;let h=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,h,u=>n(l[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((c,l)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>o(m,c,a.value.substring(d,h),l),m=>{n(m,c)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",l=d=>{let h=new RegExp(this.createRegExp(d),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):l(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=me.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Un(e){let t=new hr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var Yl=Un,Ja=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Xl=_`
1
+ "use strict";(()=>{var gc=Object.defineProperty;var z=(e,t)=>{for(var o in t)gc(e,o,{get:t[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,L=new Set(b.observedAttributes||[]);m(b,L,S);let D={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,D),this._definitionsByClass.set(b,D);let ot=o.call(n,x);ot||(ot=u(x),t.call(n,x,ot)),this===window.customElements&&(s.set(b,D),D.standInClass=ot);let W=this._awaitingUpgrade.get(x);if(W){this._awaitingUpgrade.delete(x);for(let T of W)a.delete(T),y(T,D,!0)}let P=this._whenDefinedPromises.get(x);return P!==void 0&&(P.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 p;window.HTMLElement=function(){let b=p;if(b)return p=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(e,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=e.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let S=E[E.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),d(b)||(b=c.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let L=h(S)||window.customElements,D=L._getDefinition(x);return D?y(S,D):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(W,P){let T=W.toLowerCase();if(b.has(T)){let M=this.getAttribute(T);L.call(this,T,P),S.call(this,T,M,P)}else L.call(this,T,P)});let D=x.prototype.removeAttribute;D&&(x.prototype.removeAttribute=function(W){let P=W.toLowerCase();if(b.has(P)){let T=this.getAttribute(P);D.call(this,P),S.call(this,P,T,null)}else D.call(this,P)});let ot=x.prototype.toggleAttribute;ot&&(x.prototype.toggleAttribute=function(W,P){let T=W.toLowerCase();if(b.has(T)){let M=this.getAttribute(T);ot.call(this,T,P);let Q=this.getAttribute(T);S.call(this,T,M,Q)}else ot.call(this,T,P)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),p=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 D=L.apply(S||this,arguments);return D!==void 0&&c.set(D,this),E.pop(),D}};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(...W){let P=b.call(this,...W);return x.set(P,this),P},S.forEach(W=>{let P=window.ElementInternals.prototype,T=P[W];P[W]=function(...M){let Q=x.get(this);if(i.get(Q).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(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class D{constructor(P){let T=new Map;P.forEach((M,Q)=>{let mo=M.getAttribute("name"),_i=T.get(mo)||[];this[+Q]=M,_i.push(M),T.set(mo,_i)}),this.length=P.length,T.forEach((M,Q)=>{M&&(M.length===1?this[Q]=M[0]:this[Q]=new L(M))})}namedItem(P){return this[P]}}let ot=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=ot.get.call(this,[]),P=[];for(let T of W){let M=i.get(T);(!M||M.formAssociated===!0)&&P.push(T)}return new D(P)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Ro={};z(Ro,{CSSResult:()=>Se,LitElement:()=>It,ReactiveElement:()=>Ct,_$LE:()=>zc,_$LH:()=>Dc,adoptStyles:()=>Dr,css:()=>_,defaultConverter:()=>Wr,getCompatibleStyle:()=>Qe,html:()=>G,isServer:()=>dd,noChange:()=>Ht,notEqual:()=>Oo,nothing:()=>F,render:()=>Ao,supportsAdoptingStyleSheets:()=>Je,svg:()=>Mc,unsafeCSS:()=>Lt});var Cr=globalThis,Er=Cr.ShadowRoot&&(Cr.ShadyCSS===void 0||Cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ti=Symbol(),Li=new WeakMap,wr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Ti)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Er&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Li.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Li.set(o,t))}return t}toString(){return this.cssText}},Ii=e=>new wr(typeof e=="string"?e:e+"",void 0,Ti);var go=(e,t)=>{if(Er)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Cr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Nr=Er?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Ii(o)})(e):e;var{is:yc,defineProperty:bc,getOwnPropertyDescriptor:xc,getOwnPropertyNames:vc,getOwnPropertySymbols:Sc,getPrototypeOf:Oc}=Object,Ar=globalThis,ki=Ar.trustedTypes,Cc=ki?ki.emptyScript:"",wc=Ar.reactiveElementPolyfillSupport,Ke=(e,t)=>e,Ge={toAttribute(e,t){switch(t){case Boolean:e=e?Cc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Rr=(e,t)=>!yc(e,t),Mi={attribute:!0,type:String,converter:Ge,reflect:!1,hasChanged:Rr};Symbol.metadata??=Symbol("metadata"),Ar.litPropertyMetadata??=new WeakMap;var ee=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Mi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&bc(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=xc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Mi}static _$Ei(){if(this.hasOwnProperty(Ke("elementProperties")))return;let t=Oc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ke("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ke("properties"))){let o=this.properties,n=[...vc(o),...Sc(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Nr(i))}else t!==void 0&&o.push(Nr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return go(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ge).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);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:Ge;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Rr)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!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 t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};ee.elementStyles=[],ee.shadowRootOptions={mode:"open"},ee[Ke("elementProperties")]=new Map,ee[Ke("finalized")]=new Map,wc?.({ReactiveElement:ee}),(Ar.reactiveElementVersions??=[]).push("2.0.2");var bo=globalThis,$r=bo.trustedTypes,Di=$r?$r.createPolicy("lit-html",{createHTML:e=>e}):void 0,xo="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,vo="?"+_t,Ec=`<${vo}>`,ne=document,Pr=()=>ne.createComment(""),qe=e=>e===null||typeof e!="object"&&typeof e!="function",Fi=Array.isArray,ji=e=>Fi(e)||typeof e?.[Symbol.iterator]=="function",yo=`[
2
+ \f\r]`,Ze=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wi=/-->/g,Ui=/>/g,re=RegExp(`>|${yo}(?:([^\\s"'>=/]+)(${yo}*=${yo}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),zi=/'/g,Bi=/"/g,Vi=/^(?:script|style|textarea|title)$/i,Ki=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Gi=Ki(1),Zi=Ki(2),lt=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Hi=new WeakMap,oe=ne.createTreeWalker(ne,129);function qi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Di!==void 0?Di.createHTML(t):t}var Yi=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Ze;for(let c=0;c<o;c++){let p=e[c],d,h,u=-1,m=0;for(;m<p.length&&(s.lastIndex=m,h=s.exec(p),h!==null);)m=s.lastIndex,s===Ze?h[1]==="!--"?s=Wi:h[1]!==void 0?s=Ui:h[2]!==void 0?(Vi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=re):h[3]!==void 0&&(s=re):s===re?h[0]===">"?(s=i??Ze,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?re:h[3]==='"'?Bi:zi):s===Bi||s===zi?s=re:s===Wi||s===Ui?s=Ze:(s=re,i=void 0);let g=s===re&&e[c+1].startsWith("/>")?" ":"";a+=s===Ze?p+Ec:u>=0?(n.push(d),p.slice(0,u)+xo+p.slice(u)+_t+g):p+_t+(u===-2?c:g)}return[qi(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Ye=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,p=this.parts,[d,h]=Yi(t,o);if(this.el=e.createElement(d,n),oe.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=oe.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(xo)){let m=h[s++],g=i.getAttribute(u).split(_t),y=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Lr:y[1]==="?"?Tr:y[1]==="@"?Ir:ae}),i.removeAttribute(u)}else u.startsWith(_t)&&(p.push({type:6,index:a}),i.removeAttribute(u));if(Vi.test(i.tagName)){let u=i.textContent.split(_t),m=u.length-1;if(m>0){i.textContent=$r?$r.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],Pr()),oe.nextNode(),p.push({type:2,index:++a});i.append(u[m],Pr())}}}else if(i.nodeType===8)if(i.data===vo)p.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(_t,u+1))!==-1;)p.push({type:7,index:a}),u+=_t.length-1}a++}}static createElement(t,o){let n=ne.createElement("template");return n.innerHTML=t,n}};function ie(e,t,o=e,n){if(t===lt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=qe(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=ie(e,i._$AS(e,t.values),i,n)),t}var _r=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ne).importNode(o,!0);oe.currentNode=i;let a=oe.nextNode(),s=0,c=0,p=n[0];for(;p!==void 0;){if(s===p.index){let d;p.type===2?d=new Xe(a,a.nextSibling,this,t):p.type===1?d=new p.ctor(a,p.name,p.strings,this,t):p.type===6&&(d=new kr(a,this,t)),this._$AV.push(d),p=n[++c]}s!==p?.index&&(a=oe.nextNode(),s++)}return oe.currentNode=ne,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Xe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ie(this,t,o),qe(t)?t===K||t==null||t===""?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==lt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ji(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==K&&qe(this._$AH)?this._$AA.nextSibling.data=t:this.$(ne.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Ye.createElement(qi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new _r(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Hi.get(t.strings);return o===void 0&&Hi.set(t.strings,o=new Ye(t)),o}T(t){Fi(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Pr()),this.k(Pr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=K}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ie(this,t,o,0),s=!qe(t)||t!==this._$AH&&t!==lt,s&&(this._$AH=t);else{let c=t,p,d;for(t=a[0],p=0;p<a.length-1;p++)d=ie(this,c[n+p],o,p),d===lt&&(d=this._$AH[p]),s||=!qe(d)||d!==this._$AH[p],d===K?t=K:t!==K&&(t+=(d??"")+a[p+1]),this._$AH[p]=d}s&&!i&&this.O(t)}O(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Lr=class extends ae{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===K?void 0:t}},Tr=class extends ae{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==K)}},Ir=class extends ae{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=ie(this,t,o,0)??K)===lt)return;let n=this._$AH,i=t===K&&n!==K||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==K&&(n===K||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},kr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ie(this,t)}},Xi={j:xo,P:_t,A:vo,C:1,M:Yi,L:_r,R:ji,V:ie,D:Xe,I:ae,H:Tr,N:Ir,U:Lr,B:kr},Nc=bo.litHtmlPolyfillSupport;Nc?.(Ye,Xe),(bo.litHtmlVersions??=[]).push("3.1.0");var Mr=globalThis,Je=Mr.ShadowRoot&&(Mr.ShadyCSS===void 0||Mr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,So=Symbol(),Ji=new WeakMap,Se=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==So)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Je&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ji.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ji.set(o,t))}return t}toString(){return this.cssText}},Lt=e=>new Se(typeof e=="string"?e:e+"",void 0,So),_=(e,...t)=>{let o=e.length===1?e[0]:t.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)+e[a+1],e[0]);return new Se(o,e,So)},Dr=(e,t)=>{if(Je)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Mr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Qe=Je?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Lt(o)})(e):e;var{is:Ac,defineProperty:Rc,getOwnPropertyDescriptor:$c,getOwnPropertyNames:Pc,getOwnPropertySymbols:_c,getPrototypeOf:Lc}=Object,Ur=globalThis,Qi=Ur.trustedTypes,Tc=Qi?Qi.emptyScript:"",Ic=Ur.reactiveElementPolyfillSupport,tr=(e,t)=>e,Wr={toAttribute(e,t){switch(t){case Boolean:e=e?Tc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Oo=(e,t)=>!Ac(e,t),ta={attribute:!0,type:String,converter:Wr,reflect:!1,hasChanged:Oo};Symbol.metadata??=Symbol("metadata"),Ur.litPropertyMetadata??=new WeakMap;var Ct=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=ta){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Rc(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=$c(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ta}static _$Ei(){if(this.hasOwnProperty(tr("elementProperties")))return;let t=Lc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(tr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tr("properties"))){let o=this.properties,n=[...Pc(o),..._c(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Qe(i))}else t!==void 0&&o.push(Qe(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Dr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Wr).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);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:Wr;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Oo)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!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 t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Ct.elementStyles=[],Ct.shadowRootOptions={mode:"open"},Ct[tr("elementProperties")]=new Map,Ct[tr("finalized")]=new Map,Ic?.({ReactiveElement:Ct}),(Ur.reactiveElementVersions??=[]).push("2.0.2");var wo=globalThis,zr=wo.trustedTypes,ea=zr?zr.createPolicy("lit-html",{createHTML:e=>e}):void 0,Eo="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,No="?"+Tt,kc=`<${No}>`,le=document,rr=()=>le.createComment(""),or=e=>e===null||typeof e!="object"&&typeof e!="function",sa=Array.isArray,ca=e=>sa(e)||typeof e?.[Symbol.iterator]=="function",Co=`[
4
+ \f\r]`,er=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ra=/-->/g,oa=/>/g,se=RegExp(`>|${Co}(?:([^\\s"'>=/]+)(${Co}*=${Co}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),na=/'/g,ia=/"/g,la=/^(?:script|style|textarea|title)$/i,pa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),G=pa(1),Mc=pa(2),Ht=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),aa=new WeakMap,ce=le.createTreeWalker(le,129);function da(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ea!==void 0?ea.createHTML(t):t}var fa=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=er;for(let c=0;c<o;c++){let p=e[c],d,h,u=-1,m=0;for(;m<p.length&&(s.lastIndex=m,h=s.exec(p),h!==null);)m=s.lastIndex,s===er?h[1]==="!--"?s=ra:h[1]!==void 0?s=oa:h[2]!==void 0?(la.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=se):h[3]!==void 0&&(s=se):s===se?h[0]===">"?(s=i??er,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?se:h[3]==='"'?ia:na):s===ia||s===na?s=se:s===ra||s===oa?s=er:(s=se,i=void 0);let g=s===se&&e[c+1].startsWith("/>")?" ":"";a+=s===er?p+kc:u>=0?(n.push(d),p.slice(0,u)+Eo+p.slice(u)+Tt+g):p+Tt+(u===-2?c:g)}return[da(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},nr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,p=this.parts,[d,h]=fa(t,o);if(this.el=e.createElement(d,n),ce.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ce.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Eo)){let m=h[s++],g=i.getAttribute(u).split(Tt),y=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Hr:y[1]==="?"?Fr:y[1]==="@"?jr:de}),i.removeAttribute(u)}else u.startsWith(Tt)&&(p.push({type:6,index:a}),i.removeAttribute(u));if(la.test(i.tagName)){let u=i.textContent.split(Tt),m=u.length-1;if(m>0){i.textContent=zr?zr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],rr()),ce.nextNode(),p.push({type:2,index:++a});i.append(u[m],rr())}}}else if(i.nodeType===8)if(i.data===No)p.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Tt,u+1))!==-1;)p.push({type:7,index:a}),u+=Tt.length-1}a++}}static createElement(t,o){let n=le.createElement("template");return n.innerHTML=t,n}};function pe(e,t,o=e,n){if(t===Ht)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=or(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=pe(e,i._$AS(e,t.values),i,n)),t}var Br=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??le).importNode(o,!0);ce.currentNode=i;let a=ce.nextNode(),s=0,c=0,p=n[0];for(;p!==void 0;){if(s===p.index){let d;p.type===2?d=new Oe(a,a.nextSibling,this,t):p.type===1?d=new p.ctor(a,p.name,p.strings,this,t):p.type===6&&(d=new Vr(a,this,t)),this._$AV.push(d),p=n[++c]}s!==p?.index&&(a=ce.nextNode(),s++)}return ce.currentNode=le,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Oe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=pe(this,t,o),or(t)?t===F||t==null||t===""?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==Ht&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ca(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==F&&or(this._$AH)?this._$AA.nextSibling.data=t:this.$(le.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=nr.createElement(da(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Br(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=aa.get(t.strings);return o===void 0&&aa.set(t.strings,o=new nr(t)),o}T(t){sa(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(rr()),this.k(rr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},de=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=F}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=pe(this,t,o,0),s=!or(t)||t!==this._$AH&&t!==Ht,s&&(this._$AH=t);else{let c=t,p,d;for(t=a[0],p=0;p<a.length-1;p++)d=pe(this,c[n+p],o,p),d===Ht&&(d=this._$AH[p]),s||=!or(d)||d!==this._$AH[p],d===F?t=F:t!==F&&(t+=(d??"")+a[p+1]),this._$AH[p]=d}s&&!i&&this.O(t)}O(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Hr=class extends de{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===F?void 0:t}},Fr=class extends de{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}},jr=class extends de{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=pe(this,t,o,0)??F)===Ht)return;let n=this._$AH,i=t===F&&n!==F||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==F&&(n===F||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Vr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){pe(this,t)}},Dc={j:Eo,P:Tt,A:No,C:1,M:fa,L:Br,R:ca,V:pe,D:Oe,I:de,H:Fr,N:jr,U:Hr,B:Vr},Wc=wo.litHtmlPolyfillSupport;Wc?.(nr,Oe),(wo.litHtmlVersions??=[]).push("3.1.0");var Ao=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Oe(t.insertBefore(rr(),a),a,void 0,o??{})}return i._$AI(e),i};var It=class extends Ct{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ao(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ht}};It._$litElement$=!0,It.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:It});var Uc=globalThis.litElementPolyfillSupport;Uc?.({LitElement:It});var zc={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var dd=!1;var Po={};z(Po,{customElement:()=>Bc,eventOptions:()=>Ce,property:()=>C,query:()=>rt,queryAll:()=>jc,queryAssignedElements:()=>Kc,queryAssignedNodes:()=>$o,queryAsync:()=>Vc,standardProperty:()=>ua,state:()=>J});var Bc=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Hc={attribute:!0,type:String,converter:Ge,reflect:!1,hasChanged:Rr},ua=(e=Hc,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(c){let p=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,p,e)},init(c){return c!==void 0&&this.C(s,void 0,e),c}}}if(n==="setter"){let{name:s}=o;return function(c){let p=this[s];t.call(this,c),this.requestUpdate(s,p,e)}}throw Error("Unsupported decorator location: "+n)};function C(e){return(t,o)=>typeof o=="object"?ua(e,t,o):((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})(e,t,o)}function J(e){return C({...e,state:!0,attribute:!1})}function Ce(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var yt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function rt(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let p=Symbol();return{get(){return this[p]},set(d){this[p]=d}}})();return yt(o,n,{get(){let p=s.call(this);return p===void 0&&(p=a(this),(p!==null||this.hasUpdated)&&c.call(this,p)),p}})}return yt(o,n,{get(){return a(this)}})}}var Fc;function jc(e){return(t,o)=>yt(t,o,{get(){return(this.renderRoot??(Fc??=document.createDocumentFragment())).querySelectorAll(e)}})}function Vc(e){return(t,o)=>yt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Kc(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(e)??[];return i===void 0?c:c.filter(p=>p.matches(i))}})}}function $o(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var _o={};z(_o,{repeat:()=>qc});var Ft={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},jt=e=>(...t)=>({_$litDirective$:e,values:t}),wt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:Gc}=Xi;var ha=()=>document.createComment(""),we=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(ha(),i),s=n.insertBefore(ha(),i);o=new Gc(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==e;if(c){let p;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(p=e._$AU)!==s._$AU&&o._$AP(p)}if(a!==i||c){let p=o._$AA;for(;p!==a;){let d=p.nextSibling;n.insertBefore(p,i),p=d}}}return o},Vt=(e,t,o=e)=>(e._$AI(t,o),e),Zc={},ma=(e,t=Zc)=>e._$AH=t,ga=e=>e._$AH,Kr=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var ya=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},qc=jt(class extends wt{constructor(e){if(super(e),e.type!==Ft.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let c of e)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=ga(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],p=[],d,h,u=0,m=i.length-1,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[g])p[g]=Vt(i[u],a[g]),u++,g++;else if(c[m]===s[y])p[y]=Vt(i[m],a[y]),m--,y--;else if(c[u]===s[y])p[y]=Vt(i[u],a[y]),we(e,p[y+1],i[u]),u++,y--;else if(c[m]===s[g])p[g]=Vt(i[m],a[g]),we(e,i[u],i[m]),m--,g++;else if(d===void 0&&(d=ya(s,g,y),h=ya(c,u,m)),d.has(c[u]))if(d.has(c[m])){let v=h.get(s[g]),E=v!==void 0?i[v]:null;if(E===null){let N=we(e,i[u]);Vt(N,a[g]),p[g]=N}else p[g]=Vt(E,a[g]),we(e,i[u],E),i[v]=null;g++}else Kr(i[m]),m--;else Kr(i[u]),u++;for(;g<=y;){let v=we(e,p[y+1]);Vt(v,a[g]),p[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&Kr(v)}return this.dt=s,ma(e,p),lt}});var Lo={};z(Lo,{classMap:()=>kt});var kt=jt(class extends wt{constructor(e){if(super(e),e.type!==Ft.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return lt}});var To={};z(To,{styleMap:()=>Xc});var ba="important",Yc=" !"+ba,Xc=jt(class extends wt{constructor(e){if(super(e),e.type!==Ft.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Yc);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?ba:""):o[n]=i}}return lt}});var ko={};z(ko,{UnsafeHTMLDirective:()=>Ee,unsafeHTML:()=>Io});var Ee=class extends wt{constructor(t){if(super(t),this.et=K,t.type!==Ft.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||t==null)return this.vt=void 0,this.et=t;if(t===lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ee.directiveName="unsafeHTML",Ee.resultType=1;var Io=jt(Ee);var Uo={};z(Uo,{CacheRegistry:()=>Wo});var Do={};z(Do,{CancelablePromise:()=>Ne,CanceledPromiseError:()=>ir,cancelable:()=>Mo});var ir=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Ne=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new ir("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new ir("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Mo=e=>new Ne((t,o)=>e.then(t).catch(o));var Wo=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Ne&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=Mo(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Bo={};z(Bo,{ClusteringHelper:()=>zo});var zo=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,o){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata;return o==null?e.flattenMetadata(a):e.flattenMetadata(a.find(s=>s.key===o))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let o=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!o))if(o){let n=[],i=[];return t.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,o,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(t))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>e.extractResultMetadata(d,t)).map(d=>d??{key:t,label:c,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,u)=>u.findIndex(m=>m.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(t,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let p=t.localeCompare(o,i,{numeric:!0});return c?p*-1:p}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(p=>{var d;return((d=e.extractResultMetadata(p,t))===null||d===void 0?void 0:d.value)==o}),a=[...e.extractResultMetadata(this.selectedResult).filter(p=>this.clusteringMetadata.has(p.key)).filter(p=>p.key!==t)],s,c=-1;for(let p of n){let d=this.countMatchingMetadata(p,a);if(d>c&&(c=d,s=p,d===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata(t).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var Ho={};z(Ho,{Debouncer:()=>bt});var bt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Vo={};z(Vo,{customElement:()=>Y,isNumber:()=>Ca,jsonProperty:()=>jo,optionalNumberProperty:()=>nl});var Fo={};z(Fo,{dateReviver:()=>Qc,deepEqual:()=>ar,delay:()=>xa,eventPathContainsMatchingElement:()=>el,flatDeep:()=>Sa,hasChanged:()=>sr,last:()=>ol,minmax:()=>rl,parseDate:()=>Oa,waitFor:()=>va,waitUntil:()=>Jc});var xa=e=>new Promise(t=>setTimeout(t,e));async function Jc(e,t=10,o=2e4){await va(async()=>await e()||void 0,t,o)}async function va(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await xa(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Sa(e,t){return e.flatMap(o=>[o,...Sa(t(o),t)])}function Qc(...e){return function(t,o){return e.includes(t)?Oa(o):o}}function Oa(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function tl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!ar(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!ar(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!ar(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function ar(e,t){try{return tl(e,t)}catch{return!1}}function sr(e,t){return!ar(e,t)}function el(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function rl(e,t,o){return Math.min(Math.max(e,t),o)}function ol(e){return e[e.length-1]}var Y=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function jo(e,t){let o=()=>JSON.parse(JSON.stringify(e));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:sr,...t??{}})}function nl(e){return C({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Ca(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Ca(e){return!isNaN(parseFloat(e))}var Sn={};z(Sn,{designSystemVariables:()=>I});var vn={};z(vn,{DesignSystemFamily:()=>bn,DesignSystemSize:()=>xn,FtCssVariableFactory:()=>r,badge:()=>ll,banner:()=>cl,breadcrumb:()=>pl,button:()=>w,chart:()=>Cl,checkbox:()=>El,chip:()=>al,collapsible:()=>Sl,comboboxMultiSelect:()=>bl,comboboxSingleSelect:()=>yl,drawer:()=>ul,floatingMenu:()=>gl,foundation:()=>l,link:()=>sl,modal:()=>fl,notice:()=>wl,notification:()=>Rl,pageHeader:()=>dl,popover:()=>xl,radio:()=>Al,resolveFamilyClass:()=>Pl,resolveSizeClass:()=>_l,semantic:()=>f,setVariable:()=>R,switch_:()=>Ol,tabs:()=>vl,textArea:()=>ml,textInput:()=>hl,toggle:()=>Nl,tooltip:()=>$l,typographies:()=>cr,typographyBody1Medium:()=>Xo,typographyBody1Regular:()=>Yo,typographyBody1Semibold:()=>Jo,typographyBody2Medium:()=>tn,typographyBody2MediumUnderline:()=>wa,typographyBody2Regular:()=>Qo,typographyBody2Semibold:()=>en,typographyCaption1Bold:()=>dn,typographyCaption1Medium:()=>ln,typographyCaption1Semibold:()=>pn,typographyCaption2Bold:()=>hn,typographyCaption2Medium:()=>fn,typographyCaption2Semibold:()=>un,typographyCaption3Bold:()=>yn,typographyCaption3Medium:()=>mn,typographyCaption3Semibold:()=>gn,typographyDisplay:()=>Ko,typographyLabel1Bold:()=>nn,typographyLabel1Medium:()=>rn,typographyLabel1Semibold:()=>on,typographyLabel2Bold:()=>cn,typographyLabel2Medium:()=>an,typographyLabel2Semibold:()=>sn,typographyTitle1:()=>Go,typographyTitle2:()=>Zo,typographyTitle3:()=>qo,typographyVariants:()=>il});var Mt=e=>typeof e=="string"?Lt(e):e,r=class{static create(t,o,n,i){let a=c=>Mt(c??i),s=_`var(${Mt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>_`var(${Mt(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=_`var(${Mt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>_`var(${Mt(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Mt(a??t.lastResortDefaultValue()),i=_`var(${Mt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>_`var(${Mt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function R(e,t){return Mt(`${e.name}: ${t}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ko={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Go={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Zo={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},qo={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Yo={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Xo={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Jo={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Qo={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},tn={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},wa={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},en={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},rn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},on={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},nn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},an={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},sn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},cn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ln={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},pn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},dn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},fn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},un={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},hn={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},mn={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},gn={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},yn={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},cr={display:Ko,"title-1":Go,"title-2":Zo,"title-3":qo,"body-1-regular":Yo,"body-1-medium":Xo,"body-1-semibold":Jo,"body-2-regular":Qo,"body-2-medium":tn,"body-2-medium-underline":wa,"body-2-semibold":en,"label-1-medium":rn,"label-1-semibold":on,"label-1-bold":nn,"label-2-medium":an,"label-2-semibold":sn,"label-2-bold":cn,"caption-1-medium":ln,"caption-1-semibold":pn,"caption-1-bold":dn,"caption-2-medium":fn,"caption-2-semibold":un,"caption-2-bold":hn,"caption-3-medium":mn,"caption-3-semibold":gn,"caption-3-bold":yn},il=["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:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var w={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var al={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var sl={focusOpacity:r.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",f.contentInfoPrimary)};var cl={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var ll={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",f.contentActionPrimary)};var pl={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var dl={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var fl={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var ul={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var hl={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var ml={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var gl={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var yl={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var bl={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var xl={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02)};var vl={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Sl={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Ol={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Cl={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var wl={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var El={color:r.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var Nl={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:r.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Al={color:r.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Rl={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var $l={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var bn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(bn||(bn={}));var xn;(function(e){e.large="large",e.medium="medium",e.small="small"})(xn||(xn={}));function Pl(e){return`design-system--family-${e}`}function _l(e){return`design-system--size-${e}`}var I={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var En={};z(En,{FtNotificationEvent:()=>On,PostResizeEvent:()=>wn,PreResizeEvent:()=>Cn});var On=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Cn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},wn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Dn={};z(Dn,{computeOffsetPosition:()=>Mn});var Na=["top","right","bottom","left"],Ea=["start","end"],An=Na.reduce((e,t)=>e.concat(t,t+"-"+Ea[0],t+"-"+Ea[1]),[]),lr=Math.min,Kt=Math.max,pr=Math.round;var Dt=e=>({x:e,y:e}),Ll={left:"right",right:"left",bottom:"top",top:"bottom"},Tl={start:"end",end:"start"};function Rn(e,t,o){return Kt(e,lr(t,o))}function Gr(e,t){return typeof e=="function"?e(t):e}function Ae(e){return e.split("-")[0]}function Gt(e){return e.split("-")[1]}function $n(e){return e==="x"?"y":"x"}function Pn(e){return e==="y"?"height":"width"}function Zr(e){return["top","bottom"].includes(Ae(e))?"y":"x"}function _n(e){return $n(Zr(e))}function Aa(e,t,o){o===void 0&&(o=!1);let n=Gt(e),i=_n(e),a=Pn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Nn(s)),[s,Nn(s)]}function Ra(e){return e.replace(/start|end/g,t=>Tl[t])}function Nn(e){return e.replace(/left|right|bottom|top/g,t=>Ll[t])}function Il(e){return{top:0,right:0,bottom:0,left:0,...e}}function $a(e){return typeof e!="number"?Il(e):{top:e,right:e,bottom:e,left:e}}function fe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Pa(e,t,o){let{reference:n,floating:i}=e,a=Zr(t),s=_n(t),c=Pn(s),p=Ae(t),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,g;switch(p){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(Gt(t)){case"start":g[s]-=m*(o&&d?-1:1);break;case"end":g[s]+=m*(o&&d?-1:1);break}return g}var _a=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=Pa(d,n,p),m=n,g={},y=0;for(let v=0;v<c.length;v++){let{name:E,fn:N}=c[v],{x:A,y:x,data:b,reset:S}=await N({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:e,floating:t}});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&&(d=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:h,y:u}=Pa(d,m,p)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function Ln(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:p}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=Gr(t,e),y=$a(g),E=c[m?u==="floating"?"reference":"floating":u],N=fe(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(E)))==null||o?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:p})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=fe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:x,strategy:p}):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 kl(e,t,o){return(e?[...o.filter(i=>Gt(i)===e),...o.filter(i=>Gt(i)!==e)]:o.filter(i=>Ae(i)===i)).filter(i=>e?Gt(i)===e||(t?Ra(i)!==i:!1):!0)}var Tn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:p,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=An,autoAlignment:g=!0,...y}=Gr(e,t),v=u!==void 0||m===An?kl(u||null,g,m):m,E=await Ln(t,y),N=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[N];if(A==null)return{};let x=Aa(A,a,await(p.isRTL==null?void 0:p.isRTL(d.floating)));if(c!==A)return{reset:{placement:v[0]}};let b=[E[Ae(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 D=S.map(P=>{let T=Gt(P.placement);return[P.placement,T&&h?P.overflows.slice(0,2).reduce((M,Q)=>M+Q,0):P.overflows[0],P.overflows]}).sort((P,T)=>P[1]-T[1]),W=((i=D.filter(P=>P[2].slice(0,Gt(P[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||D[0][0];return W!==c?{data:{index:N+1,overflows:S},reset:{placement:W}}:{}}}};var In=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:E=>{let{x:N,y:A}=E;return{x:N,y:A}}},...p}=Gr(e,t),d={x:o,y:n},h=await Ln(t,p),u=Zr(Ae(i)),m=$n(u),g=d[m],y=d[u];if(a){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",A=g+h[E],x=g-h[N];g=Rn(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=Rn(A,y,x)}let v=c.fn({...t,[m]:g,[u]:y});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function Wt(e){return Ta(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ut(e){var t;return(t=(Ta(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ta(e){return e instanceof Node||e instanceof nt(e).Node}function Et(e){return e instanceof Element||e instanceof nt(e).Element}function xt(e){return e instanceof HTMLElement||e instanceof nt(e).HTMLElement}function La(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function Re(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Ia(e){return["table","td","th"].includes(Wt(e))}function Yr(e){let t=Xr(),o=pt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ka(e){let t=ue(e);for(;xt(t)&&!dr(t);){if(Yr(t))return t;t=ue(t)}return null}function Xr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function dr(e){return["html","body","#document"].includes(Wt(e))}function pt(e){return nt(e).getComputedStyle(e)}function fr(e){return Et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ue(e){if(Wt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||La(e)&&e.host||Ut(e);return La(t)?t.host:t}function Ma(e){let t=ue(e);return dr(t)?e.ownerDocument?e.ownerDocument.body:e.body:xt(t)&&Re(t)?t:Ma(t)}function qr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Ma(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=nt(i);return a?t.concat(s,s.visualViewport||[],Re(i)?i:[],s.frameElement&&o?qr(s.frameElement):[]):t.concat(i,qr(i,[],o))}function Ua(e){let t=pt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=xt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,c=pr(o)!==a||pr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function za(e){return Et(e)?e:e.contextElement}function $e(e){let t=za(e);if(!xt(t))return Dt(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Ua(t),s=(a?pr(o.width):o.width)/n,c=(a?pr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Ml=Dt(0);function Ba(e){let t=nt(e);return!Xr()||!t.visualViewport?Ml:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Dl(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==nt(e)?!1:t}function ur(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=za(e),s=Dt(1);t&&(n?Et(n)&&(s=$e(n)):s=$e(e));let c=Dl(a,o,n)?Ba(a):Dt(0),p=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=nt(a),g=n&&Et(n)?nt(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=$e(y),E=y.getBoundingClientRect(),N=pt(y),A=E.left+(y.clientLeft+parseFloat(N.paddingLeft))*v.x,x=E.top+(y.clientTop+parseFloat(N.paddingTop))*v.y;p*=v.x,d*=v.y,h*=v.x,u*=v.y,p+=A,d+=x,y=nt(y).frameElement}}return fe({width:h,height:u,x:p,y:d})}function Wl(e){let{rect:t,offsetParent:o,strategy:n}=e,i=xt(o),a=Ut(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},c=Dt(1),p=Dt(0);if((i||!i&&n!=="fixed")&&((Wt(o)!=="body"||Re(a))&&(s=fr(o)),xt(o))){let d=ur(o);c=$e(o),p.x=d.x+o.clientLeft,p.y=d.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+p.x,y:t.y*c.y-s.scrollTop*c.y+p.y}}function Ul(e){return Array.from(e.getClientRects())}function Ha(e){return ur(Ut(e)).left+fr(e).scrollLeft}function zl(e){let t=Ut(e),o=fr(e),n=e.ownerDocument.body,i=Kt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Kt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ha(e),c=-o.scrollTop;return pt(n).direction==="rtl"&&(s+=Kt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Bl(e,t){let o=nt(e),n=Ut(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,p=0;if(i){a=i.width,s=i.height;let d=Xr();(!d||d&&t==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:c,y:p}}function Hl(e,t){let o=ur(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=xt(e)?$e(e):Dt(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,p=i*a.x,d=n*a.y;return{width:s,height:c,x:p,y:d}}function Da(e,t,o){let n;if(t==="viewport")n=Bl(e,o);else if(t==="document")n=zl(Ut(e));else if(Et(t))n=Hl(t,o);else{let i=Ba(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return fe(n)}function Fa(e,t){let o=ue(e);return o===t||!Et(o)||dr(o)?!1:pt(o).position==="fixed"||Fa(o,t)}function Fl(e,t){let o=t.get(e);if(o)return o;let n=qr(e,[],!1).filter(c=>Et(c)&&Wt(c)!=="body"),i=null,a=pt(e).position==="fixed",s=a?ue(e):e;for(;Et(s)&&!dr(s);){let c=pt(s),p=Yr(s);!p&&c.position==="fixed"&&(i=null),(a?!p&&!i:!p&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Re(s)&&!p&&Fa(e,s))?n=n.filter(h=>h!==s):i=c,s=ue(s)}return t.set(e,n),n}function jl(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Fl(t,this._c):[].concat(o),n],c=s[0],p=s.reduce((d,h)=>{let u=Da(t,h,i);return d.top=Kt(u.top,d.top),d.right=lr(u.right,d.right),d.bottom=lr(u.bottom,d.bottom),d.left=Kt(u.left,d.left),d},Da(t,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Vl(e){return Ua(e)}function Kl(e,t,o){let n=xt(t),i=Ut(t),a=o==="fixed",s=ur(e,!0,a,t),c={scrollLeft:0,scrollTop:0},p=Dt(0);if(n||!n&&!a)if((Wt(t)!=="body"||Re(i))&&(c=fr(t)),n){let d=ur(t,!0,a,t);p.x=d.x+t.clientLeft,p.y=d.y+t.clientTop}else i&&(p.x=Ha(i));return{x:s.left+c.scrollLeft-p.x,y:s.top+c.scrollTop-p.y,width:s.width,height:s.height}}function Wa(e,t){return!xt(e)||pt(e).position==="fixed"?null:t?t(e):e.offsetParent}function ja(e,t){let o=nt(e);if(!xt(e))return o;let n=Wa(e,t);for(;n&&Ia(n)&&pt(n).position==="static";)n=Wa(n,t);return n&&(Wt(n)==="html"||Wt(n)==="body"&&pt(n).position==="static"&&!Yr(n))?o:n||ka(e)||o}var Gl=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||ja,a=this.getDimensions;return{reference:Kl(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Zl(e){return pt(e).direction==="rtl"}var Jr={convertOffsetParentRelativeRectToViewportRelativeRect:Wl,getDocumentElement:Ut,getClippingRect:jl,getOffsetParent:ja,getElementRects:Gl,getClientRects:Ul,getDimensions:Vl,getScale:$e,isElement:Et,isRTL:Zl};var Va=(e,t,o)=>{let n=new Map,i={platform:Jr,...o},a={...i.platform,_c:n};return _a(e,t,{...i,platform:a})};function Ka(e){return ql(e)}function kn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function ql(e){for(let t=e;t;t=kn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=kn(e);t;t=kn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Mn(e,t,o){return Va(e,t,{platform:{...Jr,getOffsetParent:n=>Jr.getOffsetParent(n,Ka)},middleware:[In({crossAxis:!0}),Tn({allowedPlacements:[o]})]})}var Un={};z(Un,{FtLitElement:()=>U});var Wn={};z(Wn,{ScopedRegistryLitElement:()=>hr});var Qr=window,Yl=Qr.ShadowRoot&&(Qr.ShadyCSS===void 0||Qr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bm=Symbol();var Ga=(e,t)=>{Yl?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Qr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var hr=class extends It{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ga(n,t.elementStyles),n}};var to=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ya,Za=Symbol("constructorPrototype"),qa=Symbol("constructorName"),Xa=Symbol("exportpartsDebouncer"),U=class extends hr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ya]=new bt(5),this[qa]=this.constructor.name,this[Za]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[qa]&&Object.setPrototypeOf(this,this[Za])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.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 t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Xa].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(t){var o,n,i,a,s,c;let p=m=>m!=null&&m.trim().length>0,d=t.filter(p).map(m=>m.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...y).filter(p).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Ya=Xa;to([C()],U.prototype,"exportpartsPrefix",void 0);to([jo([])],U.prototype,"exportpartsPrefixes",void 0);to([C()],U.prototype,"customStylesheet",void 0);to([J()],U.prototype,"useAdoptedStyleSheets",void 0);var Ja={};var Hn={};z(Hn,{highlightHtml:()=>Ql,highlightHtmlColorCssVariable:()=>Qa,highlightHtmlStyles:()=>Jl});var he=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let p=()=>{--s<=0&&i(c)};s||p(),a.forEach(d=>{e.matches(d,this.exclude)?p():this.onIframeReady(d,h=>{o(d)&&(c++,n(h)),p()},p)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((c,p)=>{c.val===n&&(a=p,s=c.handled)}),this.compareNodeIframe(t,o,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(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),c=[],p=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(d,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(t,g=>p.push(g),i)}),p.push(d);p.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let p=()=>{this.iterateThroughNodes(t,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,p):p()})}};var mr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){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},t)}get opt(){return this._opt}get iterator(){return new he(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),p=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&p!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(p)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(p)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=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 t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,c=o-s,p=parseInt(t.start,10)-c;return p=p>s?s:p,i=p+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),p<0||i-p<0||p>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(p,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:p,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return he.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,c)=>{let p=t.nodes[c+1];if(typeof p>"u"||p.start>o){if(!i(s.node))return!1;let d=o-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),t.value=u+m,t.nodes.forEach((g,y)=>{y>=c&&(t.nodes[y].start>0&&y!==c&&(t.nodes[y].start-=h),t.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(p=>{p=p.node;let d;for(;(d=t.exec(p.textContent))!==null&&d[s]!=="";){if(!n(d[s],p))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;p=this.wrapRangeInTextNode(p,h,h+d[s].length),i(p.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let p;for(;(p=t.exec(c.value))!==null&&p[s]!=="";){let d=p.index;if(s!==0)for(let u=1;u<s;u++)d+=p[u].length;let h=d+p[s].length;this.wrapRangeInMappedTextNode(c,d,h,u=>n(p[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((c,p)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>o(m,c,a.value.substring(d,h),p),m=>{n(m,c)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",p=d=>{let h=new RegExp(this.createRegExp(d),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):p(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):p(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,p)=>this.opt.filter(a,s,c,p),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=he.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function zn(e){let t=new mr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var Xl=zn,Qa=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Jl=_`
7
7
  .highlight-html-match {
8
- background: ${Ja};
8
+ background: ${Qa};
9
9
  }
10
- `,zn={className:"highlight-html-match"};function Jl(e,t){var o;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new Yl(e);i.unmark(zn),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...zn,separateWordSearch:!0}),((o=t.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...zn,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var Hn={};U(Hn,{noTextSelect:()=>ge,safariEllipsisFix:()=>mr,wordWrap:()=>Ql});var ge=_`
10
+ `,Bn={className:"highlight-html-match"};function Ql(e,t){var o;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new Xl(e);i.unmark(Bn),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...Bn,separateWordSearch:!0}),((o=t.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Bn,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var Fn={};z(Fn,{noTextSelect:()=>me,safariEllipsisFix:()=>gr,wordWrap:()=>tp});var me=_`
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.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
18
  }
19
- `,Ql=_`
19
+ `,tp=_`
20
20
  .ft-word-wrap {
21
21
  white-space: normal;
22
22
  word-wrap: break-word;
@@ -28,7 +28,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,mr=_`
31
+ `,gr=_`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,7 +39,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `;var Qa={};var jn={};U(jn,{ParametrizedLabelResolver:()=>Fn});var Fn=class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return o.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):t??""}formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var yi={};U(yi,{FtCommandQueue:()=>gr,FtLitElementRedux:()=>_e,FtReduxStore:()=>gi,clearAllStores:()=>Up,isFtReduxStore:()=>ye,redux:()=>ep,reduxEventListener:()=>rp,reduxReactive:()=>tp});var tp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},ep=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:(c,l)=>!Kt(c,l),attribute:!1,...t};C(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:c=>c[n],store:t.store})}},rp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var gr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function ye(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var ts,es,rs,Qr=Symbol("internalReduxEventsUnsubscribers"),qt=Symbol("internalStoresUnsubscribers"),be=Symbol("internalStores"),_e=class extends z{constructor(){super(...arguments),this[ts]=new Map,this[es]=new Map,this[rs]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[be].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[be].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[be].get(t)}addStore(t,o){var n;o=(n=o??(ye(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[be].delete(o)}setupStore(t,o){this[be].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[be].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[qt].has(t.store):this[qt].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[qt].set(t,o.subscribe(()=>this.updateFromStores())),ye(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Qr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[Qr].forEach(t=>t()),this[Qr]=[]}unsubscribeFromStore(t){this[qt].has(t)&&this[qt].get(t)(),this[qt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ts=qt,es=be,rs=Qr;_e.reduxProperties=new Map;_e.reduxReactiveProperties=new Set;_e.reduxEventListeners=new Map;function mt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function zt(e){return!!e&&!!e[B]}function vt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===pp}(e)||Array.isArray(e)||!!e[ls]||!!(!((t=e.constructor)===null||t===void 0)&&t[ls])||Qn(e)||ti(e))}function xe(e,t,o){o===void 0&&(o=!1),Ie(e)===0?(o?Object.keys:Te)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Ie(e){var t=e[B];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Qn(e)?2:ti(e)?3:0}function Le(e,t){return Ie(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function op(e,t){return Ie(e)===2?e.get(t):e[t]}function ps(e,t,o){var n=Ie(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ds(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Qn(e){return cp&&e instanceof Map}function ti(e){return lp&&e instanceof Set}function Yt(e){return e.o||e.t}function ei(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=hs(e);delete t[B];for(var o=Te(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function ri(e,t){return t===void 0&&(t=!1),oi(e)||zt(e)||!vt(e)||(Ie(e)>1&&(e.set=e.add=e.clear=e.delete=np),Object.freeze(e),t&&xe(e,function(o,n){return ri(n,!0)},!0)),e}function np(){mt(2)}function oi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Nt(e){var t=Jn[e];return t||mt(18,e),t}function ip(e,t){Jn[e]||(Jn[e]=t)}function qn(){return br}function Vn(e,t){t&&(Nt("Patches"),e.u=[],e.s=[],e.v=t)}function to(e){Yn(e),e.p.forEach(ap),e.p=null}function Yn(e){e===br&&(br=e.l)}function os(e){return br={p:[],l:br,h:e,m:!0,_:0}}function ap(e){var t=e[B];t.i===0||t.i===1?t.j():t.g=!0}function Kn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Nt("ES5").S(t,e,n),n?(o[B].P&&(to(t),mt(4)),vt(e)&&(e=eo(t,e),t.l||ro(t,e)),t.u&&Nt("Patches").M(o[B].t,e,t.u,t.s)):e=eo(t,o,[]),to(t),t.u&&t.v(t.u,t.s),e!==us?e:void 0}function eo(e,t,o){if(oi(t))return t;var n=t[B];if(!n)return xe(t,function(c,l){return ns(e,n,t,c,l,o)},!0),t;if(n.A!==e)return t;if(!n.P)return ro(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ei(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),xe(a,function(c,l){return ns(e,n,i,c,l,o,s)}),ro(e,i,!1),o&&e.u&&Nt("Patches").N(n,o,e.u,e.s)}return n.o}function ns(e,t,o,n,i,a,s){if(zt(i)){var c=eo(e,i,a&&t&&t.i!==3&&!Le(t.R,n)?a.concat(n):void 0);if(ps(o,n,c),!zt(c))return;e.m=!1}else s&&o.add(i);if(vt(i)&&!oi(i)){if(!e.h.D&&e._<1)return;eo(e,i),t&&t.A.l||ro(e,i)}}function ro(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&ri(t,o)}function Gn(e,t){var o=e[B];return(o?Yt(o):e)[t]}function is(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Xt(e){e.P||(e.P=!0,e.l&&Xt(e.l))}function Zn(e){e.o||(e.o=ei(e.t))}function Xn(e,t,o){var n=Qn(t)?Nt("MapSet").F(t,o):ti(t)?Nt("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:qn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,d=xr;s&&(l=[c],d=yr);var h=Proxy.revocable(l,d),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(t,o):Nt("ES5").J(t,o);return(o?o.A:qn()).p.push(n),n}function sp(e){return zt(e)||mt(22,e),function t(o){if(!vt(o))return o;var n,i=o[B],a=Ie(o);if(i){if(!i.P&&(i.i<4||!Nt("ES5").K(i)))return i.t;i.I=!0,n=as(o,a),i.I=!1}else n=as(o,a);return xe(n,function(s,c){i&&op(i.t,s)===c||ps(n,s,t(c))}),a===3?new Set(n):n}(e)}function as(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ei(e)}function fs(){function e(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var d=this[B];return xr.get(d,s)},set:function(d){var h=this[B];xr.set(h,s,d)}},l}function t(s){for(var c=s.length-1;c>=0;c--){var l=s[c][B];if(!l.P)switch(l.i){case 5:n(l)&&Xt(l);break;case 4:o(l)&&Xt(l)}}}function o(s){for(var c=s.t,l=s.k,d=Te(l),h=d.length-1;h>=0;h--){var u=d[h];if(u!==B){var m=c[u];if(m===void 0&&!Le(c,u))return!0;var g=l[u],y=g&&g[B];if(y?y.t!==m:!ds(g,m))return!0}}var v=!!c[B];return d.length!==Te(c).length+(v?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var d=0;d<c.length;d++)if(!c.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&mt(3,JSON.stringify(Yt(s)))}var a={};ip("ES5",{J:function(s,c){var l=Array.isArray(s),d=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,e(y,!0));return g}var v=hs(m);delete v[B];for(var E=Te(v),N=0;N<E.length;N++){var A=E[N];v[A]=e(A,u||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(l,s),h={i:l?5:4,A:c?c.A:qn(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,B,{value:h,writable:!0}),d},S:function(s,c,l){l?zt(c)&&c[B].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[B];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)xe(g,function(b){b!==B&&(m[b]!==void 0||Le(m,b)?y[b]||d(g[b]):(y[b]=!0,Xt(u)))}),xe(m,function(b){g[b]!==void 0||Le(g,b)||(y[b]=!1,Xt(u))});else if(v===5){if(n(u)&&(Xt(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&&d(g[x])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ss,br,ni=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",cp=typeof Map<"u",lp=typeof Set<"u",cs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",us=ni?Symbol.for("immer-nothing"):((ss={})["immer-nothing"]=!0,ss),ls=ni?Symbol.for("immer-draftable"):"__$immer_draftable",B=ni?Symbol.for("immer-state"):"__$immer_state";var pp=""+Object.prototype.constructor,Te=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,hs=Object.getOwnPropertyDescriptors||function(e){var t={};return Te(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},Jn={},xr={get:function(e,t){if(t===B)return e;var o=Yt(e);if(!Le(o,t))return function(i,a,s){var c,l=is(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!vt(n)?n:n===Gn(e.t,t)?(Zn(e),e.o[t]=Xn(e.A.h,n,e)):n},has:function(e,t){return t in Yt(e)},ownKeys:function(e){return Reflect.ownKeys(Yt(e))},set:function(e,t,o){var n=is(Yt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=Gn(Yt(e),t),a=i?.[B];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ds(o,i)&&(o!==void 0||Le(e.t,t)))return!0;Zn(e),Xt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Gn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Zn(e),Xt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Yt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){mt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){mt(12)}},yr={};xe(xr,function(e,t){yr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),yr.deleteProperty=function(e,t){return yr.set.call(this,e,t,void 0)},yr.set=function(e,t,o){return xr.set.call(this,e[0],t,o,e[0])};var dp=function(){function e(o){var n=this;this.O=cs,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(v){var E=this;v===void 0&&(v=c);for(var N=arguments.length,A=Array(N>1?N-1:0),x=1;x<N;x++)A[x-1]=arguments[x];return l.produce(v,function(b){var S;return(S=a).call.apply(S,[E,b].concat(A))})}}var d;if(typeof a!="function"&&mt(6),s!==void 0&&typeof s!="function"&&mt(7),vt(i)){var h=os(n),u=Xn(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?to(h):Yn(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return Vn(h,s),Kn(v,h)},function(v){throw to(h),v}):(Vn(h,s),Kn(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===us&&(d=void 0),n.D&&ri(d,!0),s){var g=[],y=[];Nt("Patches").M(i,d,g,y),s(g,y)}return d}mt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){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(d,function(g){return i.apply(void 0,[g].concat(u))})};var s,c,l=n.produce(i,a,function(d,h){s=d,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return[d,s,c]}):[l,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){vt(o)||mt(8),zt(o)&&(o=sp(o));var n=os(this),i=Xn(this,o,void 0);return i[B].C=!0,Yn(n),i},t.finishDraft=function(o,n){var i=o&&o[B],a=i.A;return Vn(a,n),Kn(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!cs&&mt(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Nt("Patches").$;return zt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},e}(),dt=new dp,fp=dt.produce,Hm=dt.produceWithPatches.bind(dt),Fm=dt.setAutoFreeze.bind(dt),jm=dt.setUseProxies.bind(dt),Vm=dt.applyPatches.bind(dt),Km=dt.createDraft.bind(dt),Gm=dt.finishDraft.bind(dt),oo=fp;function Jt(e){"@babel/helpers - typeof";return Jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jt(e)}function ii(e,t){if(Jt(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Jt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ai(e){var t=ii(e,"string");return Jt(t)==="symbol"?t:String(t)}function si(e,t,o){return t=ai(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ms(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function no(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?ms(Object(o),!0).forEach(function(n){si(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ms(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Q(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var gs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ci=function(){return Math.random().toString(36).substring(7).split("").join(".")},io={INIT:"@@redux/INIT"+ci(),REPLACE:"@@redux/REPLACE"+ci(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ci()}};function up(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function li(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Q(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Q(1));return o(li)(e,t)}if(typeof e!="function")throw new Error(Q(2));var i=e,a=t,s=[],c=s,l=!1;function d(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(Q(3));return a}function u(v){if(typeof v!="function")throw new Error(Q(4));if(l)throw new Error(Q(5));var E=!0;return d(),c.push(v),function(){if(E){if(l)throw new Error(Q(6));E=!1,d();var A=c.indexOf(v);c.splice(A,1),s=null}}}function m(v){if(!up(v))throw new Error(Q(7));if(typeof v.type>"u")throw new Error(Q(8));if(l)throw new Error(Q(9));try{l=!0,a=i(a,v)}finally{l=!1}for(var E=s=c,N=0;N<E.length;N++){var A=E[N];A()}return v}function g(v){if(typeof v!="function")throw new Error(Q(10));i=v,m({type:io.REPLACE})}function y(){var v,E=u;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(Q(11));function x(){A.next&&A.next(h())}x();var b=E(x);return{unsubscribe:b}}},v[gs]=function(){return this},v}return m({type:io.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[gs]=y,n}function hp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:io.INIT});if(typeof n>"u")throw new Error(Q(12));if(typeof o(void 0,{type:io.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Q(13))})}function ys(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,c;try{hp(o)}catch(l){c=l}return function(d,h){if(d===void 0&&(d={}),c)throw c;if(0)var u;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],E=o[v],N=d[v],A=E(N,h);if(typeof A>"u"){var x=h&&h.type;throw new Error(Q(14))}g[v]=A,m=m||A!==N}return m=m||a.length!==Object.keys(d).length,m?g:d}}function ke(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function bs(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Q(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(l){return l(s)});return a=ke.apply(void 0,c)(i.dispatch),no(no({},i),{},{dispatch:a})}}}function xs(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,e):s(c)}}};return t}var vs=xs();vs.withExtraArgument=xs;var pi=vs;var Es=function(){var e=function(t,o){return e=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])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),mp=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return l([d,h])}}function l(d){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return o.label++,{value:d[1],done:!1};case 5:o.label++,i=d[1],d=[0];continue;case 7:d=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){o.label=d[1];break}if(d[0]===6&&o.label<a[1]){o.label=a[1],a=d;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(d);break}a[2]&&o.ops.pop(),o.trys.pop();continue}d=t.call(e,o)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Me=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},gp=Object.defineProperty,yp=Object.defineProperties,bp=Object.getOwnPropertyDescriptors,Ss=Object.getOwnPropertySymbols,xp=Object.prototype.hasOwnProperty,vp=Object.prototype.propertyIsEnumerable,Os=function(e,t,o){return t in e?gp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Qt=function(e,t){for(var o in t||(t={}))xp.call(t,o)&&Os(e,o,t[o]);if(Ss)for(var n=0,i=Ss(t);n<i.length;n++){var o=i[n];vp.call(t,o)&&Os(e,o,t[o])}return e},di=function(e,t){return yp(e,bp(t))},Sp=function(e,t,o){return new Promise(function(n,i){var a=function(l){try{c(o.next(l))}catch(d){i(d)}},s=function(l){try{c(o.throw(l))}catch(d){i(d)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((o=o.apply(e,t)).next())})};var Op=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ke:ke.apply(null,arguments)},dg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Cp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var wp=function(e){Es(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Me([void 0],o[0].concat(this)))):new(t.bind.apply(t,Me([void 0],o.concat(this))))},t}(Array),Ep=function(e){Es(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Me([void 0],o[0].concat(this)))):new(t.bind.apply(t,Me([void 0],o.concat(this))))},t}(Array);function hi(e){return vt(e)?oo(e,function(){}):e}function Np(e){return typeof e=="boolean"}function Ap(){return function(t){return Rp(t)}}function Rp(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,c=new wp;if(o&&(Np(o)?c.push(pi):c.push(pi.withExtraArgument(o.extraArgument))),0){if(i)var l;if(s)var d}return c}var fi=!0;function Ns(e){var t=Ap(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,c=o.devTools,l=c===void 0?!0:c,d=o.preloadedState,h=d===void 0?void 0:d,u=o.enhancers,m=u===void 0?void 0:u,g;if(typeof i=="function")g=i;else if(Cp(i))g=ys(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(t),!fi&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!fi&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=bs.apply(void 0,y),E=ke;l&&(E=Op(Qt({trace:!fi},typeof l=="object"&&l)));var N=new Ep(v),A=N;Array.isArray(m)?A=Me([v],m):typeof m=="function"&&(A=m(N));var x=E.apply(void 0,A);return li(g,h,x)}function te(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Qt(Qt({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function As(e){var t={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function $p(e){return typeof e=="function"}function Pp(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?As(t):[t,o,n],a=i[0],s=i[1],c=i[2],l;if($p(e))l=function(){return hi(e())};else{var d=hi(e);l=function(){return d}}function h(u,m){u===void 0&&(u=l());var g=Me([a[m.type]],s.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[c]),g.reduce(function(y,v){if(v)if(zt(y)){var E=y,N=v(E,m);return N===void 0?y:N}else{if(vt(y))return oo(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=l,h}function _p(e,t){return e+"/"+t}function Rs(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:hi(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=_p(t,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,c[h]=y?te(m,y):te(m)});function l(){var h=typeof e.extraReducers=="function"?As(e.extraReducers):[e.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=Qt(Qt({},m),s);return Pp(o,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 d;return{name:t,reducer:function(h,u){return d||(d=l()),d(h,u)},actions:c,caseReducers:a,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var Lp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Tp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Lp[Math.random()*64|0];return t},Ip=["name","message","stack","code"],ui=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Cs=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),kp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Ip;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},mg=function(){function e(t,o,n){var i=te(t+"/fulfilled",function(h,u,m,g){return{payload:h,meta:di(Qt({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=te(t+"/pending",function(h,u,m){return{payload:void 0,meta:di(Qt({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=te(t+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||kp)(h||"Rejected"),meta:di(Qt({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,g){var y=n?.idGenerator?n.idGenerator(h):Tp(),v=new l,E,N=!1;function A(b){E=b,v.abort()}var x=function(){return Sp(this,null,function(){var b,S,L,D,ot,W,P;return mp(this,function(T){switch(T.label){case 0:return T.trys.push([0,4,,5]),D=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),Dp(D)?[4,D]:[3,2];case 1:D=T.sent(),T.label=2;case 2:if(D===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,ot=new Promise(function(M,J){return v.signal.addEventListener("abort",function(){return J({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([ot,Promise.resolve(o(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:A,rejectWithValue:function(M,J){return new ui(M,J)},fulfillWithValue:function(M,J){return new Cs(M,J)}})).then(function(M){if(M instanceof ui)throw M;return M instanceof Cs?i(M.payload,y,h,M.meta):i(M,y,h)})])];case 3:return L=T.sent(),[3,5];case 4:return W=T.sent(),L=W instanceof ui?s(null,y,h,W.payload,W.meta):s(W,y,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(L)&&L.meta.condition,P||u(L),[2,L]}})})}();return Object.assign(x,{abort:A,requestId:y,arg:h,unwrap:function(){return x.then(Mp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Mp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Dp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var $s="listener",Ps="completed",_s="cancelled",gg="task-"+_s,yg="task-"+Ps,bg=$s+"-"+_s,xg=$s+"-"+Ps;var mi="listenerMiddleware";var vg=te(mi+"/add"),Sg=te(mi+"/removeAll"),Og=te(mi+"/remove");var ws,Cg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(ws||(ws=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Wp=function(e){return function(t){setTimeout(t,e)}},wg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Wp(10);fs();window.ftReduxStores||(window.ftReduxStores={});var gi=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(ye(a))return a;if(i==null)return;let s=Rs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Ns({reducer:(l,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...d.overwrites}:s.reducer(l,d)});return window.ftReduxStores[i.name]=new e(s,c)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new gr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let d=c(...l);return this.reduxStore.dispatch(d),d}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Up(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))ye(t)&&t.clear()}var bi={};U(bi,{serializeRequest:()=>Bp});function zp(e){return`"${e}"`}function Bp(e,t){var o,n,i,a;let s=new URLSearchParams({"content-lang":(o=t.contentLocale)!==null&&o!==void 0?o:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let l=t.periodFilter.period,d=l?`_${l.from}_${l.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let l=t.filters.map(d=>{let h=d.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(zp(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",l)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var vi={};U(vi,{toFtFormComponent:()=>xi});var ao=Symbol("elementInternals");function xi(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[ao].form}constructor(...i){super(i),this[ao]=this.attachInternals(),this[ao].role=t}setFormValue(i){this[ao].setFormValue(i)}}return o}var so=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var Si,Oi,Ci,wi,vr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ci=(Oi=(Si=window.safari)===null||Si===void 0?void 0:Si.pushNotification)===null||Oi===void 0?void 0:Oi.toString())!==null&&Ci!==void 0?Ci:"")==="[object SafariRemoteNotification]",Hp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(wi=window.ftGlobals)!==null&&wi!==void 0?wi:{lit:No,litDecorators:Ro,litRepeat:$o,litClassMap:Po,litStyleMap:_o,litUnsafeHTML:To,wcUtils:{...Do,...ko,...Uo,...so,...zo,...Fo,...xn,...Cn,...kn,...bn,...Wn,...Xa,...Bo,...Bn,...Hn,...Qa,...jn,...yi,...Mn,...bi,...vi,isSafari:vr,isTouchScreen:Hp}};function Ls(e,t,o){if(e.length==0)return!0;let n=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"|"),i=new RegExp(n),a=t.includes(".")?"."+t.split(".").pop():void 0;return a&&i.test(a)?!0:i.test(o)}var Ts=r.extend("--ft-ripple-color","",I.colorContent),k={color:Ts,backgroundColor:r.extend("--ft-ripple-background-color","",Ts),opacityContentOnSurfacePressed:r.external(I.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(I.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(I.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(I.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},Is=r.extend("--ft-ripple-color","",I.colorPrimary),ks={color:Is,backgroundColor:r.extend("--ft-ripple-background-color","",Is)},Ms=r.extend("--ft-ripple-color","",I.colorSecondary),Ds={color:Ms,backgroundColor:r.extend("--ft-ripple-background-color","",Ms)},Ws=_`
42
+ `;var ts={};var Vn={};z(Vn,{ParametrizedLabelResolver:()=>jn});var jn=class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return o.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(p,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):t??""}formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var bi={};z(bi,{FtCommandQueue:()=>yr,FtLitElementRedux:()=>Pe,FtReduxStore:()=>yi,clearAllStores:()=>zp,isFtReduxStore:()=>ge,redux:()=>rp,reduxEventListener:()=>op,reduxReactive:()=>ep});var ep=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},rp=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:sr,attribute:!1,...t};C(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:c=>c[n],store:t.store})}},op=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var yr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function ge(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var es,rs,os,eo=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),ye=Symbol("internalStores"),Pe=class extends U{constructor(){super(...arguments),this[es]=new Map,this[rs]=new Map,this[os]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ye].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[ye].get(t)}addStore(t,o){var n;o=(n=o??(ge(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[ye].delete(o)}setupStore(t,o){this[ye].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ye].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[Zt].has(t.store):this[Zt].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[Zt].set(t,o.subscribe(()=>this.updateFromStores())),ge(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[eo].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[eo].forEach(t=>t()),this[eo]=[]}unsubscribeFromStore(t){this[Zt].has(t)&&this[Zt].get(t)(),this[Zt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};es=Zt,rs=ye,os=eo;Pe.reduxProperties=new Map;Pe.reduxReactiveProperties=new Set;Pe.reduxEventListeners=new Map;function mt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function zt(e){return!!e&&!!e[B]}function vt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===dp}(e)||Array.isArray(e)||!!e[ps]||!!(!((t=e.constructor)===null||t===void 0)&&t[ps])||ti(e)||ei(e))}function be(e,t,o){o===void 0&&(o=!1),Te(e)===0?(o?Object.keys:Le)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Te(e){var t=e[B];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ti(e)?2:ei(e)?3:0}function _e(e,t){return Te(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function np(e,t){return Te(e)===2?e.get(t):e[t]}function ds(e,t,o){var n=Te(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function fs(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ti(e){return lp&&e instanceof Map}function ei(e){return pp&&e instanceof Set}function qt(e){return e.o||e.t}function ri(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ms(e);delete t[B];for(var o=Le(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function oi(e,t){return t===void 0&&(t=!1),ni(e)||zt(e)||!vt(e)||(Te(e)>1&&(e.set=e.add=e.clear=e.delete=ip),Object.freeze(e),t&&be(e,function(o,n){return oi(n,!0)},!0)),e}function ip(){mt(2)}function ni(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Nt(e){var t=Qn[e];return t||mt(18,e),t}function ap(e,t){Qn[e]||(Qn[e]=t)}function Yn(){return xr}function Kn(e,t){t&&(Nt("Patches"),e.u=[],e.s=[],e.v=t)}function ro(e){Xn(e),e.p.forEach(sp),e.p=null}function Xn(e){e===xr&&(xr=e.l)}function ns(e){return xr={p:[],l:xr,h:e,m:!0,_:0}}function sp(e){var t=e[B];t.i===0||t.i===1?t.j():t.g=!0}function Gn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Nt("ES5").S(t,e,n),n?(o[B].P&&(ro(t),mt(4)),vt(e)&&(e=oo(t,e),t.l||no(t,e)),t.u&&Nt("Patches").M(o[B].t,e,t.u,t.s)):e=oo(t,o,[]),ro(t),t.u&&t.v(t.u,t.s),e!==hs?e:void 0}function oo(e,t,o){if(ni(t))return t;var n=t[B];if(!n)return be(t,function(c,p){return is(e,n,t,c,p,o)},!0),t;if(n.A!==e)return t;if(!n.P)return no(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ri(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),be(a,function(c,p){return is(e,n,i,c,p,o,s)}),no(e,i,!1),o&&e.u&&Nt("Patches").N(n,o,e.u,e.s)}return n.o}function is(e,t,o,n,i,a,s){if(zt(i)){var c=oo(e,i,a&&t&&t.i!==3&&!_e(t.R,n)?a.concat(n):void 0);if(ds(o,n,c),!zt(c))return;e.m=!1}else s&&o.add(i);if(vt(i)&&!ni(i)){if(!e.h.D&&e._<1)return;oo(e,i),t&&t.A.l||no(e,i)}}function no(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&oi(t,o)}function Zn(e,t){var o=e[B];return(o?qt(o):e)[t]}function as(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Yt(e){e.P||(e.P=!0,e.l&&Yt(e.l))}function qn(e){e.o||(e.o=ri(e.t))}function Jn(e,t,o){var n=ti(t)?Nt("MapSet").F(t,o):ei(t)?Nt("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Yn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,d=vr;s&&(p=[c],d=br);var h=Proxy.revocable(p,d),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(t,o):Nt("ES5").J(t,o);return(o?o.A:Yn()).p.push(n),n}function cp(e){return zt(e)||mt(22,e),function t(o){if(!vt(o))return o;var n,i=o[B],a=Te(o);if(i){if(!i.P&&(i.i<4||!Nt("ES5").K(i)))return i.t;i.I=!0,n=ss(o,a),i.I=!1}else n=ss(o,a);return be(n,function(s,c){i&&np(i.t,s)===c||ds(n,s,t(c))}),a===3?new Set(n):n}(e)}function ss(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ri(e)}function us(){function e(s,c){var p=a[s];return p?p.enumerable=c:a[s]=p={configurable:!0,enumerable:c,get:function(){var d=this[B];return vr.get(d,s)},set:function(d){var h=this[B];vr.set(h,s,d)}},p}function t(s){for(var c=s.length-1;c>=0;c--){var p=s[c][B];if(!p.P)switch(p.i){case 5:n(p)&&Yt(p);break;case 4:o(p)&&Yt(p)}}}function o(s){for(var c=s.t,p=s.k,d=Le(p),h=d.length-1;h>=0;h--){var u=d[h];if(u!==B){var m=c[u];if(m===void 0&&!_e(c,u))return!0;var g=p[u],y=g&&g[B];if(y?y.t!==m:!fs(g,m))return!0}}var v=!!c[B];return d.length!==Le(c).length+(v?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var d=0;d<c.length;d++)if(!c.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&mt(3,JSON.stringify(qt(s)))}var a={};ap("ES5",{J:function(s,c){var p=Array.isArray(s),d=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,e(y,!0));return g}var v=ms(m);delete v[B];for(var E=Le(v),N=0;N<E.length;N++){var A=E[N];v[A]=e(A,u||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(p,s),h={i:p?5:4,A:c?c.A:Yn(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,B,{value:h,writable:!0}),d},S:function(s,c,p){p?zt(c)&&c[B].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[B];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)be(g,function(b){b!==B&&(m[b]!==void 0||_e(m,b)?y[b]||d(g[b]):(y[b]=!0,Yt(u)))}),be(m,function(b){g[b]!==void 0||_e(g,b)||(y[b]=!1,Yt(u))});else if(v===5){if(n(u)&&(Yt(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&&d(g[x])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var cs,xr,ii=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",lp=typeof Map<"u",pp=typeof Set<"u",ls=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hs=ii?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),ps=ii?Symbol.for("immer-draftable"):"__$immer_draftable",B=ii?Symbol.for("immer-state"):"__$immer_state";var dp=""+Object.prototype.constructor,Le=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ms=Object.getOwnPropertyDescriptors||function(e){var t={};return Le(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},Qn={},vr={get:function(e,t){if(t===B)return e;var o=qt(e);if(!_e(o,t))return function(i,a,s){var c,p=as(a,s);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!vt(n)?n:n===Zn(e.t,t)?(qn(e),e.o[t]=Jn(e.A.h,n,e)):n},has:function(e,t){return t in qt(e)},ownKeys:function(e){return Reflect.ownKeys(qt(e))},set:function(e,t,o){var n=as(qt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=Zn(qt(e),t),a=i?.[B];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(fs(o,i)&&(o!==void 0||_e(e.t,t)))return!0;qn(e),Yt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Zn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,qn(e),Yt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=qt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){mt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){mt(12)}},br={};be(vr,function(e,t){br[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),br.deleteProperty=function(e,t){return br.set.call(this,e,t,void 0)},br.set=function(e,t,o){return vr.set.call(this,e[0],t,o,e[0])};var fp=function(){function e(o){var n=this;this.O=ls,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(v){var E=this;v===void 0&&(v=c);for(var N=arguments.length,A=Array(N>1?N-1:0),x=1;x<N;x++)A[x-1]=arguments[x];return p.produce(v,function(b){var S;return(S=a).call.apply(S,[E,b].concat(A))})}}var d;if(typeof a!="function"&&mt(6),s!==void 0&&typeof s!="function"&&mt(7),vt(i)){var h=ns(n),u=Jn(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?ro(h):Xn(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return Kn(h,s),Gn(v,h)},function(v){throw ro(h),v}):(Kn(h,s),Gn(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===hs&&(d=void 0),n.D&&oi(d,!0),s){var g=[],y=[];Nt("Patches").M(i,d,g,y),s(g,y)}return d}mt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){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(d,function(g){return i.apply(void 0,[g].concat(u))})};var s,c,p=n.produce(i,a,function(d,h){s=d,c=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(d){return[d,s,c]}):[p,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){vt(o)||mt(8),zt(o)&&(o=cp(o));var n=ns(this),i=Jn(this,o,void 0);return i[B].C=!0,Xn(n),i},t.finishDraft=function(o,n){var i=o&&o[B],a=i.A;return Kn(a,n),Gn(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ls&&mt(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Nt("Patches").$;return zt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},e}(),dt=new fp,up=dt.produce,Fm=dt.produceWithPatches.bind(dt),jm=dt.setAutoFreeze.bind(dt),Vm=dt.setUseProxies.bind(dt),Km=dt.applyPatches.bind(dt),Gm=dt.createDraft.bind(dt),Zm=dt.finishDraft.bind(dt),io=up;function Xt(e){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xt(e)}function ai(e,t){if(Xt(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Xt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function si(e){var t=ai(e,"string");return Xt(t)==="symbol"?t:String(t)}function ci(e,t,o){return t=si(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function gs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function ao(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?gs(Object(o),!0).forEach(function(n){ci(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):gs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function tt(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ys=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),li=function(){return Math.random().toString(36).substring(7).split("").join(".")},so={INIT:"@@redux/INIT"+li(),REPLACE:"@@redux/REPLACE"+li(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+li()}};function hp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function pi(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(tt(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(tt(1));return o(pi)(e,t)}if(typeof e!="function")throw new Error(tt(2));var i=e,a=t,s=[],c=s,p=!1;function d(){c===s&&(c=s.slice())}function h(){if(p)throw new Error(tt(3));return a}function u(v){if(typeof v!="function")throw new Error(tt(4));if(p)throw new Error(tt(5));var E=!0;return d(),c.push(v),function(){if(E){if(p)throw new Error(tt(6));E=!1,d();var A=c.indexOf(v);c.splice(A,1),s=null}}}function m(v){if(!hp(v))throw new Error(tt(7));if(typeof v.type>"u")throw new Error(tt(8));if(p)throw new Error(tt(9));try{p=!0,a=i(a,v)}finally{p=!1}for(var E=s=c,N=0;N<E.length;N++){var A=E[N];A()}return v}function g(v){if(typeof v!="function")throw new Error(tt(10));i=v,m({type:so.REPLACE})}function y(){var v,E=u;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(tt(11));function x(){A.next&&A.next(h())}x();var b=E(x);return{unsubscribe:b}}},v[ys]=function(){return this},v}return m({type:so.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[ys]=y,n}function mp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:so.INIT});if(typeof n>"u")throw new Error(tt(12));if(typeof o(void 0,{type:so.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(tt(13))})}function bs(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,c;try{mp(o)}catch(p){c=p}return function(d,h){if(d===void 0&&(d={}),c)throw c;if(0)var u;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],E=o[v],N=d[v],A=E(N,h);if(typeof A>"u"){var x=h&&h.type;throw new Error(tt(14))}g[v]=A,m=m||A!==N}return m=m||a.length!==Object.keys(d).length,m?g:d}}function Ie(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function xs(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(tt(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(p){return p(s)});return a=Ie.apply(void 0,c)(i.dispatch),ao(ao({},i),{},{dispatch:a})}}}function vs(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,e):s(c)}}};return t}var Ss=vs();Ss.withExtraArgument=vs;var di=Ss;var Ns=function(){var e=function(t,o){return e=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])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),gp=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return p([d,h])}}function p(d){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return o.label++,{value:d[1],done:!1};case 5:o.label++,i=d[1],d=[0];continue;case 7:d=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){o.label=d[1];break}if(d[0]===6&&o.label<a[1]){o.label=a[1],a=d;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(d);break}a[2]&&o.ops.pop(),o.trys.pop();continue}d=t.call(e,o)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},ke=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},yp=Object.defineProperty,bp=Object.defineProperties,xp=Object.getOwnPropertyDescriptors,Os=Object.getOwnPropertySymbols,vp=Object.prototype.hasOwnProperty,Sp=Object.prototype.propertyIsEnumerable,Cs=function(e,t,o){return t in e?yp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Jt=function(e,t){for(var o in t||(t={}))vp.call(t,o)&&Cs(e,o,t[o]);if(Os)for(var n=0,i=Os(t);n<i.length;n++){var o=i[n];Sp.call(t,o)&&Cs(e,o,t[o])}return e},fi=function(e,t){return bp(e,xp(t))},Op=function(e,t,o){return new Promise(function(n,i){var a=function(p){try{c(o.next(p))}catch(d){i(d)}},s=function(p){try{c(o.throw(p))}catch(d){i(d)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,s)};c((o=o.apply(e,t)).next())})};var Cp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ie:Ie.apply(null,arguments)},fg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function wp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Ep=function(e){Ns(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,ke([void 0],o[0].concat(this)))):new(t.bind.apply(t,ke([void 0],o.concat(this))))},t}(Array),Np=function(e){Ns(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,ke([void 0],o[0].concat(this)))):new(t.bind.apply(t,ke([void 0],o.concat(this))))},t}(Array);function mi(e){return vt(e)?io(e,function(){}):e}function Ap(e){return typeof e=="boolean"}function Rp(){return function(t){return $p(t)}}function $p(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,c=new Ep;if(o&&(Ap(o)?c.push(di):c.push(di.withExtraArgument(o.extraArgument))),0){if(i)var p;if(s)var d}return c}var ui=!0;function As(e){var t=Rp(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,c=o.devTools,p=c===void 0?!0:c,d=o.preloadedState,h=d===void 0?void 0:d,u=o.enhancers,m=u===void 0?void 0:u,g;if(typeof i=="function")g=i;else if(wp(i))g=bs(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(t),!ui&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ui&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=xs.apply(void 0,y),E=Ie;p&&(E=Cp(Jt({trace:!ui},typeof p=="object"&&p)));var N=new Np(v),A=N;Array.isArray(m)?A=ke([v],m):typeof m=="function"&&(A=m(N));var x=E.apply(void 0,A);return pi(g,h,x)}function Qt(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Jt(Jt({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Rs(e){var t={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function Pp(e){return typeof e=="function"}function _p(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Rs(t):[t,o,n],a=i[0],s=i[1],c=i[2],p;if(Pp(e))p=function(){return mi(e())};else{var d=mi(e);p=function(){return d}}function h(u,m){u===void 0&&(u=p());var g=ke([a[m.type]],s.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[c]),g.reduce(function(y,v){if(v)if(zt(y)){var E=y,N=v(E,m);return N===void 0?y:N}else{if(vt(y))return io(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=p,h}function Lp(e,t){return e+"/"+t}function $s(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:mi(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=Lp(t,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,c[h]=y?Qt(m,y):Qt(m)});function p(){var h=typeof e.extraReducers=="function"?Rs(e.extraReducers):[e.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=Jt(Jt({},m),s);return _p(o,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 d;return{name:t,reducer:function(h,u){return d||(d=p()),d(h,u)},actions:c,caseReducers:a,getInitialState:function(){return d||(d=p()),d.getInitialState()}}}var Tp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ip=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Tp[Math.random()*64|0];return t},kp=["name","message","stack","code"],hi=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),ws=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Mp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=kp;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},gg=function(){function e(t,o,n){var i=Qt(t+"/fulfilled",function(h,u,m,g){return{payload:h,meta:fi(Jt({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=Qt(t+"/pending",function(h,u,m){return{payload:void 0,meta:fi(Jt({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Qt(t+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||Mp)(h||"Rejected"),meta:fi(Jt({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,g){var y=n?.idGenerator?n.idGenerator(h):Ip(),v=new p,E,N=!1;function A(b){E=b,v.abort()}var x=function(){return Op(this,null,function(){var b,S,L,D,ot,W,P;return gp(this,function(T){switch(T.label){case 0:return T.trys.push([0,4,,5]),D=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),Wp(D)?[4,D]:[3,2];case 1:D=T.sent(),T.label=2;case 2:if(D===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,ot=new Promise(function(M,Q){return v.signal.addEventListener("abort",function(){return Q({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([ot,Promise.resolve(o(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:A,rejectWithValue:function(M,Q){return new hi(M,Q)},fulfillWithValue:function(M,Q){return new ws(M,Q)}})).then(function(M){if(M instanceof hi)throw M;return M instanceof ws?i(M.payload,y,h,M.meta):i(M,y,h)})])];case 3:return L=T.sent(),[3,5];case 4:return W=T.sent(),L=W instanceof hi?s(null,y,h,W.payload,W.meta):s(W,y,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(L)&&L.meta.condition,P||u(L),[2,L]}})})}();return Object.assign(x,{abort:A,requestId:y,arg:h,unwrap:function(){return x.then(Dp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Dp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Wp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ps="listener",_s="completed",Ls="cancelled",yg="task-"+Ls,bg="task-"+_s,xg=Ps+"-"+Ls,vg=Ps+"-"+_s;var gi="listenerMiddleware";var Sg=Qt(gi+"/add"),Og=Qt(gi+"/removeAll"),Cg=Qt(gi+"/remove");var Es,wg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Es||(Es=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Up=function(e){return function(t){setTimeout(t,e)}},Eg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Up(10);us();window.ftReduxStores||(window.ftReduxStores={});var yi=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(ge(a))return a;if(i==null)return;let s=$s({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=As({reducer:(p,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...d.overwrites}:s.reducer(p,d)});return window.ftReduxStores[i.name]=new e(s,c)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new yr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...p)=>{let d=c(...p);return this.reduxStore.dispatch(d),d}:p=>{this.setState({[s]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function zp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))ge(t)&&t.clear()}var xi={};z(xi,{serializeRequest:()=>Hp});function Bp(e){return`"${e}"`}function Hp(e,t){var o,n,i,a;let s=new URLSearchParams({"content-lang":(o=t.contentLocale)!==null&&o!==void 0?o:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let p=t.periodFilter.period,d=p?`_${p.from}_${p.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let p=t.filters.map(d=>{let h=d.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(Bp(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",p)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Si={};z(Si,{toFtFormComponent:()=>vi});var co=Symbol("elementInternals");function vi(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[co].form}constructor(...i){super(i),this[co]=this.attachInternals(),this[co].role=t}setFormValue(i){this[co].setFormValue(i)}}return o}var lo=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var Oi,Ci,wi,Ei,Sr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((wi=(Ci=(Oi=window.safari)===null||Oi===void 0?void 0:Oi.pushNotification)===null||Ci===void 0?void 0:Ci.toString())!==null&&wi!==void 0?wi:"")==="[object SafariRemoteNotification]",Fp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ei=window.ftGlobals)!==null&&Ei!==void 0?Ei:{lit:Ro,litDecorators:Po,litRepeat:_o,litClassMap:Lo,litStyleMap:To,litUnsafeHTML:ko,wcUtils:{...Uo,...Do,...Bo,...lo,...Ho,...Vo,...Sn,...En,...Dn,...vn,...Un,...Ja,...Fo,...Hn,...Fn,...ts,...Vn,...bi,...Wn,...xi,...Si,isSafari:Sr,isTouchScreen:Fp}};function Ts(e,t,o){if(e.length==0)return!0;let n=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"|"),i=new RegExp(n),a=t.includes(".")?"."+t.split(".").pop():void 0;return a&&i.test(a)?!0:i.test(o)}var Is=r.extend("--ft-ripple-color","",I.colorContent),k={color:Is,backgroundColor:r.extend("--ft-ripple-background-color","",Is),opacityContentOnSurfacePressed:r.external(I.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(I.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(I.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(I.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},ks=r.extend("--ft-ripple-color","",I.colorPrimary),Ms={color:ks,backgroundColor:r.extend("--ft-ripple-background-color","",ks)},Ds=r.extend("--ft-ripple-color","",I.colorSecondary),Ws={color:Ds,backgroundColor:r.extend("--ft-ripple-background-color","",Ds)},Us=_`
43
43
  :host {
44
44
  display: contents;
45
45
  }
@@ -94,19 +94,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
94
94
  }
95
95
 
96
96
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
97
- background-color: ${Ds.backgroundColor};
97
+ background-color: ${Ws.backgroundColor};
98
98
  }
99
99
 
100
100
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
101
- background-color: ${Ds.color};
101
+ background-color: ${Ws.color};
102
102
  }
103
103
 
104
104
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
105
- background-color: ${ks.backgroundColor};
105
+ background-color: ${Ms.backgroundColor};
106
106
  }
107
107
 
108
108
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
109
- background-color: ${ks.color};
109
+ background-color: ${Ms.color};
110
110
  }
111
111
 
112
112
  .ft-ripple .ft-ripple--background {
@@ -151,7 +151,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
151
151
  opacity: ${k.opacityContentOnSurfacePressed};
152
152
  transform: translate(-50%, -50%) scale(1);
153
153
  }
154
- `;var it=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},H=class extends z{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 bt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new bt(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.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=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 G`
154
+ `;var it=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},H=class extends U{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 bt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new bt(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.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=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 G`
155
155
  <style>
156
156
  .ft-ripple .ft-ripple--effect {
157
157
  left: ${this.originX}px;
@@ -162,7 +162,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
162
162
  <div class="ft-ripple--background"></div>
163
163
  <div class="ft-ripple--effect"></div>
164
164
  </div>
165
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>l=>{c.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(l)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};H.elementDefinitions={};H.styles=Ws;it([C({type:Boolean})],H.prototype,"primary",void 0);it([C({type:Boolean})],H.prototype,"secondary",void 0);it([C({type:Boolean})],H.prototype,"unbounded",void 0);it([C({type:Boolean})],H.prototype,"activated",void 0);it([C({type:Boolean})],H.prototype,"selected",void 0);it([C({type:Boolean})],H.prototype,"disabled",void 0);it([et()],H.prototype,"hovered",void 0);it([et()],H.prototype,"focused",void 0);it([et()],H.prototype,"pressed",void 0);it([et()],H.prototype,"rippling",void 0);it([et()],H.prototype,"originX",void 0);it([et()],H.prototype,"originY",void 0);it([rt(".ft-ripple")],H.prototype,"ripple",void 0);it([rt(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);Y("ft-ripple")(H);var zs=Symbol.for(""),Fp=e=>{if(e?.r===zs)return e?._$litStatic$},Ei=e=>({_$litStatic$:e,r:zs});var Us=new Map,Bs=e=>(t,...o)=>{let n=o.length,i,a,s=[],c=[],l,d=0,h=!1;for(;d<n;){for(l=t[d];d<n&&(a=o[d],(i=Fp(a))!==void 0);)l+=i+t[++d],h=!0;d!==n&&c.push(a),s.push(l),d++}if(d===n&&s.push(t[n]),h){let u=s.join("$$lit$$");(t=Us.get(u))===void 0&&(s.raw=s,Us.set(u,t=s)),o=c}return e(t,...o)},Ni=Bs(Ki),wy=Bs(Gi);var ve;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ve||(ve={}));function Hs(e){let t=sr[e];return _`
165
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>p=>{c.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};H.elementDefinitions={};H.styles=Us;it([C({type:Boolean})],H.prototype,"primary",void 0);it([C({type:Boolean})],H.prototype,"secondary",void 0);it([C({type:Boolean})],H.prototype,"unbounded",void 0);it([C({type:Boolean})],H.prototype,"activated",void 0);it([C({type:Boolean})],H.prototype,"selected",void 0);it([C({type:Boolean})],H.prototype,"disabled",void 0);it([J()],H.prototype,"hovered",void 0);it([J()],H.prototype,"focused",void 0);it([J()],H.prototype,"pressed",void 0);it([J()],H.prototype,"rippling",void 0);it([J()],H.prototype,"originX",void 0);it([J()],H.prototype,"originY",void 0);it([rt(".ft-ripple")],H.prototype,"ripple",void 0);it([rt(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);Y("ft-ripple")(H);var Bs=Symbol.for(""),jp=e=>{if(e?.r===Bs)return e?._$litStatic$},Ni=e=>({_$litStatic$:e,r:Bs});var zs=new Map,Hs=e=>(t,...o)=>{let n=o.length,i,a,s=[],c=[],p,d=0,h=!1;for(;d<n;){for(p=t[d];d<n&&(a=o[d],(i=jp(a))!==void 0);)p+=i+t[++d],h=!0;d!==n&&c.push(a),s.push(p),d++}if(d===n&&s.push(t[n]),h){let u=s.join("$$lit$$");(t=zs.get(u))===void 0&&(s.raw=s,zs.set(u,t=s)),o=c}return e(t,...o)},Ai=Hs(Gi),Ry=Hs(Zi);var xe;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(xe||(xe={}));function Fs(e){let t=cr[e];return _`
166
166
  .ft-typography--${Lt(e)} {
167
167
  font-family: ${t.fontFamily};
168
168
  font-size: ${t.fontSize};
@@ -171,8 +171,17 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
171
171
  line-height: ${t.lineHeight};
172
172
  text-transform: ${t.textCase};
173
173
  }
174
- `}var Fs=r.extend("--ft-typography-font-family","",I.titleFont),Bt=r.extend("--ft-typography-font-family","",I.contentFont),$={fontFamily:Bt,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},De={fontFamily:r.extend("--ft-typography-title-font-family","",Fs),fontSize:r.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit")},We={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Fs),fontSize:r.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit")},Ue={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Bt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit")},ze={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Bt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit")},Be={fontFamily:r.extend("--ft-typography-body1-font-family","",Bt),fontSize:r.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit")},At={fontFamily:r.extend("--ft-typography-body2-font-family","",Bt),fontSize:r.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit")},He={fontFamily:r.extend("--ft-typography-caption-font-family","",Bt),fontSize:r.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit")},Fe={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Bt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit")},je={fontFamily:r.extend("--ft-typography-overline-font-family","",Bt),fontSize:r.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase")},Rt={fontFamily:r.extend("--ft-typography-button-font-family","",Bt),fontSize:r.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},js=_`
174
+ `}var js=r.extend("--ft-typography-font-family","",I.titleFont),Bt=r.extend("--ft-typography-font-family","",I.contentFont),$={fontFamily:Bt,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Me={fontFamily:r.extend("--ft-typography-title-font-family","",js),fontSize:r.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit")},De={fontFamily:r.extend("--ft-typography-title-dense-font-family","",js),fontSize:r.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit")},We={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Bt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit")},Ue={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Bt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit")},ze={fontFamily:r.extend("--ft-typography-body1-font-family","",Bt),fontSize:r.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit")},At={fontFamily:r.extend("--ft-typography-body2-font-family","",Bt),fontSize:r.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit")},Be={fontFamily:r.extend("--ft-typography-caption-font-family","",Bt),fontSize:r.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit")},He={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Bt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit")},Fe={fontFamily:r.extend("--ft-typography-overline-font-family","",Bt),fontSize:r.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase")},Rt={fontFamily:r.extend("--ft-typography-button-font-family","",Bt),fontSize:r.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},Vs=_`
175
175
  .ft-typography--title {
176
+ font-family: ${Me.fontFamily};
177
+ font-size: ${Me.fontSize};
178
+ font-weight: ${Me.fontWeight};
179
+ letter-spacing: ${Me.letterSpacing};
180
+ line-height: ${Me.lineHeight};
181
+ text-transform: ${Me.textTransform};
182
+ }
183
+ `,Ks=_`
184
+ .ft-typography--title-dense {
176
185
  font-family: ${De.fontFamily};
177
186
  font-size: ${De.fontSize};
178
187
  font-weight: ${De.fontWeight};
@@ -180,8 +189,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
180
189
  line-height: ${De.lineHeight};
181
190
  text-transform: ${De.textTransform};
182
191
  }
183
- `,Vs=_`
184
- .ft-typography--title-dense {
192
+ `,Gs=_`
193
+ .ft-typography--subtitle1 {
185
194
  font-family: ${We.fontFamily};
186
195
  font-size: ${We.fontSize};
187
196
  font-weight: ${We.fontWeight};
@@ -189,8 +198,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
189
198
  line-height: ${We.lineHeight};
190
199
  text-transform: ${We.textTransform};
191
200
  }
192
- `,Ks=_`
193
- .ft-typography--subtitle1 {
201
+ `,Zs=_`
202
+ .ft-typography--subtitle2 {
194
203
  font-family: ${Ue.fontFamily};
195
204
  font-size: ${Ue.fontSize};
196
205
  font-weight: ${Ue.fontWeight};
@@ -198,8 +207,9 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
198
207
  line-height: ${Ue.lineHeight};
199
208
  text-transform: ${Ue.textTransform};
200
209
  }
201
- `,Gs=_`
202
- .ft-typography--subtitle2 {
210
+
211
+ `,qs=_`
212
+ .ft-typography--body1 {
203
213
  font-family: ${ze.fontFamily};
204
214
  font-size: ${ze.fontSize};
205
215
  font-weight: ${ze.fontWeight};
@@ -207,17 +217,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
207
217
  line-height: ${ze.lineHeight};
208
218
  text-transform: ${ze.textTransform};
209
219
  }
210
-
211
- `,Zs=_`
212
- .ft-typography--body1 {
213
- font-family: ${Be.fontFamily};
214
- font-size: ${Be.fontSize};
215
- font-weight: ${Be.fontWeight};
216
- letter-spacing: ${Be.letterSpacing};
217
- line-height: ${Be.lineHeight};
218
- text-transform: ${Be.textTransform};
219
- }
220
- `,qs=_`
220
+ `,Ys=_`
221
221
  .ft-typography--body2 {
222
222
  font-family: ${At.fontFamily};
223
223
  font-size: ${At.fontSize};
@@ -226,8 +226,17 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
226
226
  line-height: ${At.lineHeight};
227
227
  text-transform: ${At.textTransform};
228
228
  }
229
- `,Ys=_`
229
+ `,Xs=_`
230
230
  .ft-typography--caption {
231
+ font-family: ${Be.fontFamily};
232
+ font-size: ${Be.fontSize};
233
+ font-weight: ${Be.fontWeight};
234
+ letter-spacing: ${Be.letterSpacing};
235
+ line-height: ${Be.lineHeight};
236
+ text-transform: ${Be.textTransform};
237
+ }
238
+ `,Js=_`
239
+ .ft-typography--breadcrumb {
231
240
  font-family: ${He.fontFamily};
232
241
  font-size: ${He.fontSize};
233
242
  font-weight: ${He.fontWeight};
@@ -235,8 +244,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
235
244
  line-height: ${He.lineHeight};
236
245
  text-transform: ${He.textTransform};
237
246
  }
238
- `,Xs=_`
239
- .ft-typography--breadcrumb {
247
+ `,Qs=_`
248
+ .ft-typography--overline {
240
249
  font-family: ${Fe.fontFamily};
241
250
  font-size: ${Fe.fontSize};
242
251
  font-weight: ${Fe.fontWeight};
@@ -244,16 +253,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
244
253
  line-height: ${Fe.lineHeight};
245
254
  text-transform: ${Fe.textTransform};
246
255
  }
247
- `,Js=_`
248
- .ft-typography--overline {
249
- font-family: ${je.fontFamily};
250
- font-size: ${je.fontSize};
251
- font-weight: ${je.fontWeight};
252
- letter-spacing: ${je.letterSpacing};
253
- line-height: ${je.lineHeight};
254
- text-transform: ${je.textTransform};
255
- }
256
- `,Qs=_`
256
+ `,tc=_`
257
257
  .ft-typography--button {
258
258
  font-family: ${Rt.fontFamily};
259
259
  font-size: ${Rt.fontSize};
@@ -262,19 +262,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
262
262
  line-height: ${Rt.lineHeight};
263
263
  text-transform: ${Rt.textTransform};
264
264
  }
265
- `,tc=_`
265
+ `,ec=_`
266
266
  .ft-typography {
267
267
  vertical-align: inherit;
268
268
  }
269
- `,ec=[Object.keys(sr).map(e=>Hs(e))];var rc=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ft=class extends z{constructor(){super(...arguments),this.variant=ve.body1}render(){return this.element?Ni`
270
- <${Ei(this.element)}
269
+ `,rc=[Object.keys(cr).map(e=>Fs(e))];var oc=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ft=class extends U{constructor(){super(...arguments),this.variant=xe.body1}render(){return this.element?Ai`
270
+ <${Ni(this.element)}
271
271
  part="text"
272
272
  class="ft-typography ft-typography--${this.variant}">
273
273
  <slot></slot>
274
- </${Ei(this.element)}>
275
- `:Ni`
274
+ </${Ni(this.element)}>
275
+ `:Ai`
276
276
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
277
- `}};ft.styles=[js,Vs,Ks,Gs,Zs,qs,Ys,Xs,Js,Qs,tc,...ec];rc([C()],ft.prototype,"element",void 0);rc([C()],ft.prototype,"variant",void 0);Y("ft-typography")(ft);var co;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(co||(co={}));var O;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(O||(O={}));var vb=new Map([...["abw"].map(e=>[e,O.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(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.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(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.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(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.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(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var Sb={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var tt={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},oc=_`
277
+ `}};ft.styles=[Vs,Ks,Gs,Zs,qs,Ys,Xs,Js,Qs,tc,ec,...rc];oc([C()],ft.prototype,"element",void 0);oc([C()],ft.prototype,"variant",void 0);Y("ft-typography")(ft);var po;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(po||(po={}));var O;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(O||(O={}));var wb=new Map([...["abw"].map(e=>[e,O.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(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.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(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.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(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.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(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var Eb={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var et={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},nc=_`
278
278
  :host, i.ft-icon {
279
279
  display: inline-flex;
280
280
  align-items: center;
@@ -283,14 +283,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
283
283
  }
284
284
 
285
285
  :host {
286
- width: ${tt.size};
287
- height: ${tt.size};
286
+ width: ${et.size};
287
+ height: ${et.size};
288
288
  }
289
289
 
290
290
  i.ft-icon {
291
291
  width: 100%;
292
292
  height: 100%;
293
- font-size: ${tt.size};
293
+ font-size: ${et.size};
294
294
  line-height: 1;
295
295
  font-weight: normal;
296
296
  text-transform: none;
@@ -301,33 +301,33 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
301
301
  text-rendering: auto;
302
302
  -webkit-font-smoothing: antialiased;
303
303
  -moz-osx-font-smoothing: grayscale;
304
- vertical-align: ${tt.verticalAlign};
304
+ vertical-align: ${et.verticalAlign};
305
305
  }
306
306
 
307
307
  i.ft-icon.ft-icon--fluid-topics {
308
- font-family: ${tt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
308
+ font-family: ${et.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
309
309
 
310
310
  /* Ugly fix because font is broken */
311
- font-size: calc(0.75 * ${tt.size});
312
- line-height: ${tt.size};
311
+ font-size: calc(0.75 * ${et.size});
312
+ line-height: ${et.size};
313
313
  position: relative;
314
314
  top: -4%;
315
315
  justify-content: center;
316
316
  }
317
317
 
318
318
  .ft-icon--file-format {
319
- font-family: ${tt.fileFormatFontFamily}, ft-mime, sans-serif;
319
+ font-family: ${et.fileFormatFontFamily}, ft-mime, sans-serif;
320
320
  }
321
321
 
322
322
  .ft-icon--material {
323
- font-family: ${tt.materialFontFamily}, "Material Icons", sans-serif;
323
+ font-family: ${et.materialFontFamily}, "Material Icons", sans-serif;
324
324
  }
325
- `;var ee;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ee||(ee={}));var lo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},at=class extends z{constructor(){super(...arguments),this.resolvedIcon=F}render(){let t=this.variant&&Object.values(ee).includes(this.variant)?this.variant:ee.fluid_topics,o=t!==ee.material||!!this.value;return G`
325
+ `;var te;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(te||(te={}));var fo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},at=class extends U{constructor(){super(...arguments),this.resolvedIcon=F}render(){let t=this.variant&&Object.values(te).includes(this.variant)?this.variant:te.fluid_topics,o=t!==te.material||!!this.value;return G`
326
326
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
327
- ${Lo(this.resolvedIcon)}
327
+ ${Io(this.resolvedIcon)}
328
328
  <slot ?hidden=${o}></slot>
329
329
  </i>
330
- `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case ee.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case ee.material:this.resolvedIcon=this.value||F;break;default:this.resolvedIcon=(o=co[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};at.elementDefinitions={};at.styles=oc;lo([C()],at.prototype,"variant",void 0);lo([C()],at.prototype,"value",void 0);lo([et()],at.prototype,"resolvedIcon",void 0);lo([rt("slot")],at.prototype,"slottedContent",void 0);Y("ft-icon")(at);var st={color:r.extend("--ft-loader-color","",I.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},nc=_`
330
+ `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case te.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case te.material:this.resolvedIcon=this.value||F;break;default:this.resolvedIcon=(o=po[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};at.elementDefinitions={};at.styles=nc;fo([C()],at.prototype,"variant",void 0);fo([C()],at.prototype,"value",void 0);fo([J()],at.prototype,"resolvedIcon",void 0);fo([rt("slot")],at.prototype,"slottedContent",void 0);Y("ft-icon")(at);var st={color:r.extend("--ft-loader-color","",I.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},ic=_`
331
331
  :host {
332
332
  line-height: 0;
333
333
  }
@@ -396,7 +396,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
396
396
  transform: translate(calc(0.35 * ${st.size}), 0);
397
397
  }
398
398
  }
399
- `;var ic=r.extend("--ft-button-color","",I.colorPrimary),j={backgroundColor:r.extend("--ft-button-background-color","",I.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",I.borderRadiusL),color:ic,fontSize:r.extend("--ft-button-font-size","",Rt.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",ic),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(I.colorOpacityDisabled,"Design system")},ac=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",I.colorOnPrimary)),Ai={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",I.colorPrimary)),color:ac,rippleColor:r.extend("--ft-button-primary-ripple-color","",ac)},$t={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",I.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},sc=[_`
399
+ `;var ac=r.extend("--ft-button-color","",I.colorPrimary),j={backgroundColor:r.extend("--ft-button-background-color","",I.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",I.borderRadiusL),color:ac,fontSize:r.extend("--ft-button-font-size","",Rt.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",ac),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(I.colorOpacityDisabled,"Design system")},sc=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",I.colorOnPrimary)),Ri={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",I.colorPrimary)),color:sc,rippleColor:r.extend("--ft-button-primary-ripple-color","",sc)},$t={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",I.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},cc=[_`
400
400
  :host {
401
401
  display: inline-block;
402
402
  max-width: 100%;
@@ -438,7 +438,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
438
438
 
439
439
  --ft-button-internal-line-height: max(calc(${j.fontSize} + 2px), ${j.iconSize});
440
440
  --ft-button-internal-color: ${j.color};
441
- ${R(tt.size,j.iconSize)};
441
+ ${R(et.size,j.iconSize)};
442
442
  ${R(k.color,j.rippleColor)};
443
443
 
444
444
  border-radius: ${j.borderRadius};
@@ -481,9 +481,9 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
481
481
  }
482
482
 
483
483
  .ft-button.ft-button--primary {
484
- background-color: ${Ai.backgroundColor};
485
- --ft-button-internal-color: ${Ai.color};
486
- ${R(k.color,Ai.rippleColor)};
484
+ background-color: ${Ri.backgroundColor};
485
+ --ft-button-internal-color: ${Ri.color};
486
+ ${R(k.color,Ri.rippleColor)};
487
487
  }
488
488
 
489
489
  .ft-button:focus {
@@ -532,7 +532,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
532
532
  ${R(st.size,j.iconSize)};
533
533
  ${R(st.color,"var(--ft-button-internal-color)")};
534
534
  }
535
- `,ge];var Ve={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(I.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},cc=_`
535
+ `,me];var je={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(I.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},lc=_`
536
536
  .ft-tooltip--container {
537
537
  display: block;
538
538
  }
@@ -547,21 +547,21 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
547
547
  box-sizing: border-box;
548
548
  overflow: hidden;
549
549
  width: max-content;
550
- max-width: ${Ve.maxWidth};
550
+ max-width: ${je.maxWidth};
551
551
  text-align: center;
552
- padding: ${Ve.distance};
553
- z-index: ${Ve.zIndex};
552
+ padding: ${je.distance};
553
+ z-index: ${je.zIndex};
554
554
  }
555
555
 
556
556
  .ft-tooltip--content {
557
557
  padding: 4px 8px;
558
- border-radius: ${Ve.borderRadiusS};
559
- background-color: ${Ve.backgroundColor};
560
- color: ${Ve.color};
558
+ border-radius: ${je.borderRadiusS};
559
+ background-color: ${je.backgroundColor};
560
+ color: ${je.color};
561
561
  position: relative;
562
562
  word-break: break-word;
563
563
  }
564
- `;var ct=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},V=class extends z{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 bt,this.revealDebouncer=new bt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return G`
564
+ `;var ct=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},V=class extends U{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 bt,this.revealDebouncer=new bt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return G`
565
565
  <div part="container"
566
566
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
567
567
  @mouseenter=${this.onHover}
@@ -579,14 +579,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
579
579
  </div>
580
580
  </div>
581
581
  </div>
582
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",In(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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",t=>{t.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(t,o){return Math.max(t,Math.min(0,-o))}};V.elementDefinitions={"ft-typography":ft};V.styles=cc;ct([C()],V.prototype,"text",void 0);ct([C({type:Boolean})],V.prototype,"manual",void 0);ct([C({type:Boolean})],V.prototype,"inline",void 0);ct([C({type:Number})],V.prototype,"delay",void 0);ct([C()],V.prototype,"position",void 0);ct([Ao()],V.prototype,"slotNodes",void 0);ct([rt(".ft-tooltip--container")],V.prototype,"container",void 0);ct([rt(".ft-tooltip")],V.prototype,"tooltip",void 0);ct([rt(".ft-tooltip--content")],V.prototype,"tooltipContent",void 0);ct([et()],V.prototype,"visible",void 0);ct([we({passive:!0})],V.prototype,"onTouch",null);ct([we({passive:!0})],V.prototype,"onHover",null);ct([we({passive:!0})],V.prototype,"onOut",null);ct([we({passive:!0})],V.prototype,"onClick",null);Y("ft-tooltip")(V);var Se=class extends z{render(){return G`
582
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Mn(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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",t=>{t.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(t,o){return Math.max(t,Math.min(0,-o))}};V.elementDefinitions={"ft-typography":ft};V.styles=lc;ct([C()],V.prototype,"text",void 0);ct([C({type:Boolean})],V.prototype,"manual",void 0);ct([C({type:Boolean})],V.prototype,"inline",void 0);ct([C({type:Number})],V.prototype,"delay",void 0);ct([C()],V.prototype,"position",void 0);ct([$o()],V.prototype,"slotNodes",void 0);ct([rt(".ft-tooltip--container")],V.prototype,"container",void 0);ct([rt(".ft-tooltip")],V.prototype,"tooltip",void 0);ct([rt(".ft-tooltip--content")],V.prototype,"tooltipContent",void 0);ct([J()],V.prototype,"visible",void 0);ct([Ce({passive:!0})],V.prototype,"onTouch",null);ct([Ce({passive:!0})],V.prototype,"onHover",null);ct([Ce({passive:!0})],V.prototype,"onOut",null);ct([Ce({passive:!0})],V.prototype,"onClick",null);Y("ft-tooltip")(V);var ve=class extends U{render(){return G`
583
583
  <div class="ft-loader">
584
584
  <div></div>
585
585
  <div></div>
586
586
  <div></div>
587
587
  <div></div>
588
588
  </div>
589
- `}};Se.styles=nc;Y("ft-loader")(Se);var ut=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},q=class extends xi(z,"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",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(G`
589
+ `}};ve.styles=ic;Y("ft-loader")(ve);var ut=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},q=class extends vi(U,"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",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(G`
590
590
  <button part="button"
591
591
  class="${kt(this.buttonClasses)}"
592
592
  aria-label="${this.getLabel()}"
@@ -595,7 +595,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
595
595
  <ft-typography part="label"
596
596
  variant=${this.typographyVariant}
597
597
  element="span"
598
- class="ft-button--label ${vr?"ft-safari-ellipsis-fix":""}"
598
+ class="ft-button--label ${Sr?"ft-safari-ellipsis-fix":""}"
599
599
  ?hidden=${!this.hasTextContent()}>
600
600
  <slot @slotchange=${this.onSlotchange}></slot>
601
601
  </ft-typography>
@@ -612,7 +612,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
612
612
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
613
613
  `:G`
614
614
  <slot part="icon" name="icon"></slot>
615
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};q.elementDefinitions={"ft-ripple":H,"ft-tooltip":V,"ft-typography":ft,"ft-icon":at,"ft-loader":Se};ut([C({type:String,reflect:!0})],q.prototype,"role",void 0);ut([C()],q.prototype,"type",void 0);ut([C({type:Boolean})],q.prototype,"disabled",void 0);ut([C()],q.prototype,"label",void 0);ut([C()],q.prototype,"icon",void 0);ut([C()],q.prototype,"iconVariant",void 0);ut([C({type:Boolean})],q.prototype,"trailingIcon",void 0);ut([C({type:Boolean})],q.prototype,"loading",void 0);ut([C()],q.prototype,"tooltipPosition",void 0);ut([C({type:Boolean})],q.prototype,"hideTooltip",void 0);ut([C({type:Boolean})],q.prototype,"forceTooltip",void 0);ut([rt(".ft-button")],q.prototype,"button",void 0);ut([rt(".ft-button--label slot")],q.prototype,"slottedContent",void 0);var po=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},St=class extends q{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"}};St.styles=[mr,sc];po([C({type:Boolean})],St.prototype,"primary",void 0);po([C({type:Boolean})],St.prototype,"outlined",void 0);po([C({type:Boolean})],St.prototype,"dense",void 0);po([C({type:Boolean})],St.prototype,"round",void 0);var lc=[_`
615
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};q.elementDefinitions={"ft-ripple":H,"ft-tooltip":V,"ft-typography":ft,"ft-icon":at,"ft-loader":ve};ut([C({type:String,reflect:!0})],q.prototype,"role",void 0);ut([C()],q.prototype,"type",void 0);ut([C({type:Boolean})],q.prototype,"disabled",void 0);ut([C()],q.prototype,"label",void 0);ut([C()],q.prototype,"icon",void 0);ut([C()],q.prototype,"iconVariant",void 0);ut([C({type:Boolean})],q.prototype,"trailingIcon",void 0);ut([C({type:Boolean})],q.prototype,"loading",void 0);ut([C()],q.prototype,"tooltipPosition",void 0);ut([C({type:Boolean})],q.prototype,"hideTooltip",void 0);ut([C({type:Boolean})],q.prototype,"forceTooltip",void 0);ut([rt(".ft-button")],q.prototype,"button",void 0);ut([rt(".ft-button--label slot")],q.prototype,"slottedContent",void 0);var uo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},St=class extends q{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"}};St.styles=[gr,cc];uo([C({type:Boolean})],St.prototype,"primary",void 0);uo([C({type:Boolean})],St.prototype,"outlined",void 0);uo([C({type:Boolean})],St.prototype,"dense",void 0);uo([C({type:Boolean})],St.prototype,"round",void 0);var pc=[_`
616
616
  :host {
617
617
  display: inline-block;
618
618
  max-width: 100%;
@@ -788,7 +788,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
788
788
  /** Large styles **/
789
789
 
790
790
  .ft-button--large {
791
- ${R(tt.size,w.largeIconSize)};
791
+ ${R(et.size,w.largeIconSize)};
792
792
  ${R(st.size,w.largeIconSize)};
793
793
 
794
794
  height: ${w.largeHeight};
@@ -811,7 +811,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
811
811
  /** Small styles **/
812
812
 
813
813
  .ft-button--small {
814
- ${R(tt.size,w.smallIconSize)};
814
+ ${R(et.size,w.smallIconSize)};
815
815
  ${R(st.size,w.smallIconSize)};
816
816
 
817
817
  height: ${w.smallHeight};
@@ -830,7 +830,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
830
830
  width: ${w.smallIconOnlyWidth};
831
831
  padding: unset;
832
832
  }
833
- `,ge];var Sr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Pt=class extends q{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?ve.caption1medium:ve.body2medium}};Pt.styles=[mr,lc];Sr([C({type:Boolean})],Pt.prototype,"primary",void 0);Sr([C({type:Boolean})],Pt.prototype,"secondary",void 0);Sr([C({type:Boolean})],Pt.prototype,"tertiary",void 0);Sr([C({type:Boolean})],Pt.prototype,"neutral",void 0);Sr([C({type:Boolean})],Pt.prototype,"small",void 0);Y("ft-button")(St);Y("ftds-button")(Pt);var pc=r.extend("--ft-chip-color","",I.colorOnSurface),X={backgroundColor:r.extend("--ft-chip-background-color","",I.colorSurface),color:pc,fontSize:r.extend("--ft-chip-font-size","",At.fontSize),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",pc),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:r.external(I.colorOutline,"Design system"),opacityDisabled:r.external(I.colorOpacityDisabled,"Design system")},dc=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",I.colorOnPrimary)),Ri={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",I.colorPrimary)),color:dc,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",dc)},fc={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},uc=[ge,_`
833
+ `,me];var Or=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Pt=class extends q{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?xe.caption1medium:xe.body2medium}};Pt.styles=[gr,pc];Or([C({type:Boolean})],Pt.prototype,"primary",void 0);Or([C({type:Boolean})],Pt.prototype,"secondary",void 0);Or([C({type:Boolean})],Pt.prototype,"tertiary",void 0);Or([C({type:Boolean})],Pt.prototype,"neutral",void 0);Or([C({type:Boolean})],Pt.prototype,"small",void 0);Y("ft-button")(St);Y("ftds-button")(Pt);var dc=r.extend("--ft-chip-color","",I.colorOnSurface),X={backgroundColor:r.extend("--ft-chip-background-color","",I.colorSurface),color:dc,fontSize:r.extend("--ft-chip-font-size","",At.fontSize),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",dc),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:r.external(I.colorOutline,"Design system"),opacityDisabled:r.external(I.colorOpacityDisabled,"Design system")},fc=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",I.colorOnPrimary)),$i={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",I.colorPrimary)),color:fc,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",fc)},uc={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},hc=[me,_`
834
834
  :host {
835
835
  display: inline-block;
836
836
  max-width: 100%;
@@ -848,7 +848,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
848
848
 
849
849
  --ft-chip-internal-font-size: ${X.fontSize};
850
850
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
851
- ${R(tt.size,X.iconSize)};
851
+ ${R(et.size,X.iconSize)};
852
852
  --ft-chip-internal-vertical-padding: ${X.verticalPadding};
853
853
  --ft-chip-internal-horizontal-padding: ${X.horizontalPadding};
854
854
  --ft-chip-internal-icon-padding: 3px;
@@ -869,8 +869,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
869
869
 
870
870
  .ft-chip--dense {
871
871
  --ft-chip-internal-icon-padding: 3px;
872
- --ft-chip-internal-vertical-padding: ${fc.verticalPadding};
873
- --ft-chip-internal-horizontal-padding: ${fc.horizontalPadding};
872
+ --ft-chip-internal-vertical-padding: ${uc.verticalPadding};
873
+ --ft-chip-internal-horizontal-padding: ${uc.horizontalPadding};
874
874
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
875
875
  }
876
876
 
@@ -888,9 +888,9 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
888
888
  .ft-chip--highlighted {
889
889
  border: none;
890
890
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
891
- background-color: ${Ri.backgroundColor};
892
- ${R(k.color,Ri.rippleColor)};
893
- color: ${Ri.color};
891
+ background-color: ${$i.backgroundColor};
892
+ ${R(k.color,$i.rippleColor)};
893
+ color: ${$i.color};
894
894
  }
895
895
 
896
896
  .ft-chip--clickable {
@@ -967,7 +967,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
967
967
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
968
968
  order: -1;
969
969
  }
970
- `];var ht=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},fo=class extends CustomEvent{constructor(){super("icon-click")}},Z=class extends z{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":vr};return G`
970
+ `];var ht=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ho=class extends CustomEvent{constructor(){super("icon-click")}},Z=class extends U{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Sr};return G`
971
971
  <div class="${kt(t)}"
972
972
  aria-label="${this.getLabel()}"
973
973
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -992,7 +992,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
992
992
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
993
993
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
994
994
  </div>
995
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new fo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new fo))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Z.elementDefinitions={"ft-ripple":H,"ft-typography":ft,"ft-icon":at,"ft-button":St};Z.styles=uc;ht([C({type:Boolean})],Z.prototype,"highlighted",void 0);ht([C({type:Boolean})],Z.prototype,"removable",void 0);ht([C({type:Boolean})],Z.prototype,"disabled",void 0);ht([C({type:Boolean})],Z.prototype,"clickable",void 0);ht([C({type:Boolean})],Z.prototype,"iconClickable",void 0);ht([C({type:Boolean})],Z.prototype,"dense",void 0);ht([C({type:Boolean})],Z.prototype,"multiLine",void 0);ht([C()],Z.prototype,"label",void 0);ht([C()],Z.prototype,"iconLabel",void 0);ht([C()],Z.prototype,"icon",void 0);ht([C()],Z.prototype,"iconVariant",void 0);ht([C({type:Boolean})],Z.prototype,"trailingIcon",void 0);ht([rt("ft-typography slot")],Z.prototype,"slottedContent",void 0);Y("ft-chip")(Z);var Ot={zIndex:r.create("--ft-file-drop-z-index","","NUMBER","10"),hintBackgroundColor:r.extend("--ft-file-drop-hint-background-color","",I.colorSurface),hintColor:r.extend("--ft-file-drop-hint-color","",I.colorPrimary),errorColor:r.extend("--ft-file-drop-error-color","",I.colorError),borderRadius:r.extend("--ft-file-drop-border-radius","",I.borderRadiusL),borderWidth:r.create("--ft-file-drop-border-width","","SIZE","4px"),borderColor:r.create("--ft-file-drop-border-color","","COLOR","transparent"),visibleBorderColor:r.extend("--ft-file-drop-visible-border-color","",I.colorOutline),activeBorderColor:r.extend("--ft-file-drop-active-border-color","",I.colorPrimary)},hc=_`
995
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ho))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ho))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Z.elementDefinitions={"ft-ripple":H,"ft-typography":ft,"ft-icon":at,"ft-button":St};Z.styles=hc;ht([C({type:Boolean})],Z.prototype,"highlighted",void 0);ht([C({type:Boolean})],Z.prototype,"removable",void 0);ht([C({type:Boolean})],Z.prototype,"disabled",void 0);ht([C({type:Boolean})],Z.prototype,"clickable",void 0);ht([C({type:Boolean})],Z.prototype,"iconClickable",void 0);ht([C({type:Boolean})],Z.prototype,"dense",void 0);ht([C({type:Boolean})],Z.prototype,"multiLine",void 0);ht([C()],Z.prototype,"label",void 0);ht([C()],Z.prototype,"iconLabel",void 0);ht([C()],Z.prototype,"icon",void 0);ht([C()],Z.prototype,"iconVariant",void 0);ht([C({type:Boolean})],Z.prototype,"trailingIcon",void 0);ht([rt("ft-typography slot")],Z.prototype,"slottedContent",void 0);Y("ft-chip")(Z);var Ot={zIndex:r.create("--ft-file-drop-z-index","","NUMBER","10"),hintBackgroundColor:r.extend("--ft-file-drop-hint-background-color","",I.colorSurface),hintColor:r.extend("--ft-file-drop-hint-color","",I.colorPrimary),errorColor:r.extend("--ft-file-drop-error-color","",I.colorError),borderRadius:r.extend("--ft-file-drop-border-radius","",I.borderRadiusL),borderWidth:r.create("--ft-file-drop-border-width","","SIZE","4px"),borderColor:r.create("--ft-file-drop-border-color","","COLOR","transparent"),visibleBorderColor:r.extend("--ft-file-drop-visible-border-color","",I.colorOutline),activeBorderColor:r.extend("--ft-file-drop-active-border-color","",I.colorPrimary)},mc=_`
996
996
  :host {
997
997
  display: block;
998
998
  position: relative;
@@ -1070,7 +1070,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1070
1070
  [hidden] {
1071
1071
  display: none;
1072
1072
  }
1073
- `;var Ke=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},$i=class extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}},gt=class extends z{constructor(){super(...arguments),this.dropHint="Drop your file here",this.accept="",this.fileTypeError="Unsupported file type",this.visible=!1,this.dragging=!1,this.fileError=!1}render(){let t={dragging:this.dragging,visible:this.visible};return G`
1073
+ `;var Ve=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Pi=class extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}},gt=class extends U{constructor(){super(...arguments),this.dropHint="Drop your file here",this.accept="",this.fileTypeError="Unsupported file type",this.visible=!1,this.dragging=!1,this.fileError=!1}render(){let t={dragging:this.dragging,visible:this.visible};return G`
1074
1074
  <div id="container"
1075
1075
  class="${kt(t)}"
1076
1076
  @dragenter=${this.onDragEnter}
@@ -1088,7 +1088,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1088
1088
  </div>
1089
1089
  <slot></slot>
1090
1090
  </div>
1091
- `}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let o=t.dataTransfer.files[0];Ls(this.accept,o.name,o.type)?(this.dragging=!1,this.dispatchEvent(new $i(o))):(this.fileError=!0,setTimeout(()=>{this.dragging=!1,this.fileError=!1},2e3))}}};gt.elementDefinitions={"ft-chip":Z};gt.styles=hc;Ke([C()],gt.prototype,"dropHint",void 0);Ke([C()],gt.prototype,"accept",void 0);Ke([C()],gt.prototype,"fileTypeError",void 0);Ke([C({type:Boolean})],gt.prototype,"visible",void 0);Ke([et()],gt.prototype,"dragging",void 0);Ke([et()],gt.prototype,"fileError",void 0);Y("ft-file-drop")(gt);})();
1091
+ `}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let o=t.dataTransfer.files[0];Ts(this.accept,o.name,o.type)?(this.dragging=!1,this.dispatchEvent(new Pi(o))):(this.fileError=!0,setTimeout(()=>{this.dragging=!1,this.fileError=!1},2e3))}}};gt.elementDefinitions={"ft-chip":Z};gt.styles=mc;Ve([C()],gt.prototype,"dropHint",void 0);Ve([C()],gt.prototype,"accept",void 0);Ve([C()],gt.prototype,"fileTypeError",void 0);Ve([C({type:Boolean})],gt.prototype,"visible",void 0);Ve([J()],gt.prototype,"dragging",void 0);Ve([J()],gt.prototype,"fileError",void 0);Y("ft-file-drop")(gt);})();
1092
1092
  /*! Bundled license information:
1093
1093
 
1094
1094
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: