@fluid-topics/ft-filter 1.1.77 → 1.1.79

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 Rl=Object.defineProperty;var G=(e,t)=>{for(var o in t)Rl(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,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,x){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let O=x.prototype.attributeChangedCallback,T=new Set(x.observedAttributes||[]);m(x,T,O);let F={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:O,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(v,F),this._definitionsByClass.set(x,F);let ct=o.call(n,v);ct||(ct=u(v),t.call(n,v,ct)),this===window.customElements&&(s.set(x,F),F.standInClass=ct);let j=this._awaitingUpgrade.get(v);if(j){this._awaitingUpgrade.delete(v);for(let I of j)a.delete(I),g(I,F,!0)}let _=this._whenDefinedPromises.get(v);return _!==void 0&&(_.resolve(x),this._whenDefinedPromises.delete(v)),x}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let x=this._getDefinition(v);if(x!==void 0)return Promise.resolve(x.elementClass);let O=this._whenDefinedPromises.get(v);return O===void 0&&(O={},O.promise=new Promise(T=>O.resolve=T),this._whenDefinedPromises.set(v,O)),O.promise}_upgradeWhenDefined(v,x,O){let T=this._awaitingUpgrade.get(x);T||this._awaitingUpgrade.set(x,T=new Set),O?T.add(v):T.delete(v)}};let c;window.HTMLElement=function(){let x=c;if(x)return c=void 0,x;let O=s.get(this.constructor);if(!O)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(e,[],O.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),i.set(x,O),x},window.HTMLElement.prototype=e.prototype;let d=v=>v===document||v instanceof ShadowRoot,h=v=>{let x=v.getRootNode();if(!d(x)){let O=E[E.length-1];if(O instanceof CustomElementRegistry)return O;x=O.getRootNode(),d(x)||(x=l.get(x)?.getRootNode()||document)}return x.customElements},u=v=>class{static get formAssociated(){return!0}constructor(){let O=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(O,HTMLElement.prototype);let T=h(O)||window.customElements,F=T._getDefinition(v);return F?g(O,F):a.set(O,T),O}connectedCallback(){let O=i.get(this);O?O.connectedCallback&&O.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let O=i.get(this);O?O.disconnectedCallback&&O.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let O=i.get(this);O&&O.formAssociated&&O?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let O=i.get(this);O?.formAssociated&&O?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let O=i.get(this);O?.formAssociated&&O?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let O=i.get(this);O?.formAssociated&&O?.formStateRestoreCallback?.apply(this,arguments)}},m=(v,x,O)=>{if(x.size===0||O===void 0)return;let T=v.prototype.setAttribute;T&&(v.prototype.setAttribute=function(j,_){let I=j.toLowerCase();if(x.has(I)){let B=this.getAttribute(I);T.call(this,I,_),O.call(this,I,B,_)}else T.call(this,I,_)});let F=v.prototype.removeAttribute;F&&(v.prototype.removeAttribute=function(j){let _=j.toLowerCase();if(x.has(_)){let I=this.getAttribute(_);F.call(this,_),O.call(this,_,I,null)}else F.call(this,_)});let ct=v.prototype.toggleAttribute;ct&&(v.prototype.toggleAttribute=function(j,_){let I=j.toLowerCase();if(x.has(I)){let B=this.getAttribute(I);ct.call(this,I,_);let it=this.getAttribute(I);O.call(this,I,B,it)}else ct.call(this,I,_)})},y=v=>{let x=Object.getPrototypeOf(v);if(x!==window.HTMLElement)return x===e?Object.setPrototypeOf(v,window.HTMLElement):y(x)},g=(v,x,O=!1)=>{Object.setPrototypeOf(v,x.elementClass.prototype),i.set(v,x),c=v;try{new x.elementClass}catch{y(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(T=>{v.hasAttribute(T)&&x.attributeChangedCallback.call(v,T,null,v.getAttribute(T))}),O&&x.connectedCallback&&v.isConnected&&x.connectedCallback.call(v)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let x=S.apply(this,arguments);return v.customElements&&(x.customElements=v.customElements),x};let E=[document],N=(v,x,O=void 0)=>{let T=(O?Object.getPrototypeOf(O):v.prototype)[x];v.prototype[x]=function(){E.push(this);let F=T.apply(O||this,arguments);return F!==void 0&&l.set(F,this),E.pop(),F}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let A=(v,x)=>{let O=Object.getOwnPropertyDescriptor(v.prototype,x);Object.defineProperty(v.prototype,x,{...O,set(T){E.push(this),O.set.call(this,T),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 v=new WeakMap,x=HTMLElement.prototype.attachInternals,O=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...j){let _=x.call(this,...j);return v.set(_,this),_},O.forEach(j=>{let _=window.ElementInternals.prototype,I=_[j];_[j]=function(...B){let it=v.get(this);if(i.get(it).formAssociated===!0)return I?.call(this,...B);throw new DOMException(`Failed to execute ${I} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class F{constructor(_){let I=new Map;_.forEach((B,it)=>{let Rr=B.getAttribute("name"),Vi=I.get(Rr)||[];this[+it]=B,Vi.push(B),I.set(Rr,Vi)}),this.length=_.length,I.forEach((B,it)=>{B&&(B.length===1?this[it]=B[0]:this[it]=new T(B))})}namedItem(_){return this[_]}}let ct=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let j=ct.get.call(this,[]),_=[];for(let I of j){let B=i.get(I);(!B||B.formAssociated===!0)&&_.push(I)}return new F(_)}})}}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 Ur={};G(Ur,{CSSResult:()=>ke,LitElement:()=>Ut,ReactiveElement:()=>Pt,_$LE:()=>Jl,_$LH:()=>ql,adoptStyles:()=>Xo,css:()=>P,defaultConverter:()=>Jo,getCompatibleStyle:()=>ho,html:()=>k,isServer:()=>bd,noChange:()=>Yt,notEqual:()=>Ir,nothing:()=>V,render:()=>Wr,supportsAdoptingStyleSheets:()=>uo,svg:()=>Zl,unsafeCSS:()=>ye});var Mo=globalThis,zo=Mo.ShadowRoot&&(Mo.ShadyCSS===void 0||Mo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gi=Symbol(),Ki=new WeakMap,Bo=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Gi)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(zo&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ki.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ki.set(o,t))}return t}toString(){return this.cssText}},Zi=e=>new Bo(typeof e=="string"?e:e+"",void 0,Gi);var $r=(e,t)=>{if(zo)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Mo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Wo=zo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Zi(o)})(e):e;var{is:$l,defineProperty:Pl,getOwnPropertyDescriptor:_l,getOwnPropertyNames:Ll,getOwnPropertySymbols:kl,getPrototypeOf:Tl}=Object,Uo=globalThis,qi=Uo.trustedTypes,Il=qi?qi.emptyScript:"",Dl=Uo.reactiveElementPolyfillSupport,ao=(e,t)=>e,so={toAttribute(e,t){switch(t){case Boolean:e=e?Il: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}},Ho=(e,t)=>!$l(e,t),Yi={attribute:!0,type:String,converter:so,reflect:!1,hasChanged:Ho};Symbol.metadata??=Symbol("metadata"),Uo.litPropertyMetadata??=new WeakMap;var pe=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=Yi){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&&Pl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=_l(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yi}static _$Ei(){if(this.hasOwnProperty(ao("elementProperties")))return;let t=Tl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(ao("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ao("properties"))){let o=this.properties,n=[...Ll(o),...kl(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(Wo(i))}else t!==void 0&&o.push(Wo(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 $r(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:so).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:so;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??Ho)(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){}};pe.elementStyles=[],pe.shadowRootOptions={mode:"open"},pe[ao("elementProperties")]=new Map,pe[ao("finalized")]=new Map,Dl?.({ReactiveElement:pe}),(Uo.reactiveElementVersions??=[]).push("2.0.2");var _r=globalThis,Fo=_r.trustedTypes,Xi=Fo?Fo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Lr="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,kr="?"+zt,Ml=`<${kr}>`,ue=document,jo=()=>ue.createComment(""),co=e=>e===null||typeof e!="object"&&typeof e!="function",ra=Array.isArray,na=e=>ra(e)||typeof e?.[Symbol.iterator]=="function",Pr=`[
2
- \f\r]`,lo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ji=/-->/g,Qi=/>/g,de=RegExp(`>|${Pr}(?:([^\\s"'>=/]+)(${Pr}*=${Pr}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ta=/'/g,ea=/"/g,ia=/^(?:script|style|textarea|title)$/i,aa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),sa=aa(1),la=aa(2),gt=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),oa=new WeakMap,fe=ue.createTreeWalker(ue,129);function ca(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xi!==void 0?Xi.createHTML(t):t}var pa=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=lo;for(let l=0;l<o;l++){let c=e[l],d,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===lo?h[1]==="!--"?s=Ji:h[1]!==void 0?s=Qi:h[2]!==void 0?(ia.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=de):h[3]!==void 0&&(s=de):s===de?h[0]===">"?(s=i??lo,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?de:h[3]==='"'?ea:ta):s===ea||s===ta?s=de:s===Ji||s===Qi?s=lo:(s=de,i=void 0);let y=s===de&&e[l+1].startsWith("/>")?" ":"";a+=s===lo?c+Ml:u>=0?(n.push(d),c.slice(0,u)+Lr+c.slice(u)+zt+y):c+zt+(u===-2?l:y)}return[ca(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},po=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,h]=pa(t,o);if(this.el=e.createElement(d,n),fe.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=fe.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Lr)){let m=h[s++],y=i.getAttribute(u).split(zt),g=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?Ko:g[1]==="?"?Go:g[1]==="@"?Zo:me}),i.removeAttribute(u)}else u.startsWith(zt)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(ia.test(i.tagName)){let u=i.textContent.split(zt),m=u.length-1;if(m>0){i.textContent=Fo?Fo.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],jo()),fe.nextNode(),c.push({type:2,index:++a});i.append(u[m],jo())}}}else if(i.nodeType===8)if(i.data===kr)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(zt,u+1))!==-1;)c.push({type:7,index:a}),u+=zt.length-1}a++}}static createElement(t,o){let n=ue.createElement("template");return n.innerHTML=t,n}};function he(e,t,o=e,n){if(t===gt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=co(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=he(e,i._$AS(e,t.values),i,n)),t}var Vo=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??ue).importNode(o,!0);fe.currentNode=i;let a=fe.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new fo(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new qo(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=fe.nextNode(),s++)}return fe.currentNode=ue,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++}},fo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=J,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=he(this,t,o),co(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==gt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):na(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!==J&&co(this._$AH)?this._$AA.nextSibling.data=t:this.$(ue.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=po.createElement(ca(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Vo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=oa.get(t.strings);return o===void 0&&oa.set(t.strings,o=new po(t)),o}T(t){ra(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(jo()),this.k(jo()),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))}},me=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=J,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=J}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=he(this,t,o,0),s=!co(t)||t!==this._$AH&&t!==gt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=he(this,l[n+c],o,c),d===gt&&(d=this._$AH[c]),s||=!co(d)||d!==this._$AH[c],d===J?t=J:t!==J&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ko=class extends me{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===J?void 0:t}},Go=class extends me{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},Zo=class extends me{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=he(this,t,o,0)??J)===gt)return;let n=this._$AH,i=t===J&&n!==J||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==J&&(n===J||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)}},qo=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){he(this,t)}},da={j:Lr,P:zt,A:kr,C:1,M:pa,L:Vo,R:na,V:he,D:fo,I:me,H:Go,N:Zo,U:Ko,B:qo},Bl=_r.litHtmlPolyfillSupport;Bl?.(po,fo),(_r.litHtmlVersions??=[]).push("3.1.0");var Yo=globalThis,uo=Yo.ShadowRoot&&(Yo.ShadyCSS===void 0||Yo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Tr=Symbol(),fa=new WeakMap,ke=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Tr)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(uo&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=fa.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&fa.set(o,t))}return t}toString(){return this.cssText}},ye=e=>new ke(typeof e=="string"?e:e+"",void 0,Tr),P=(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 ke(o,e,Tr)},Xo=(e,t)=>{if(uo)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Yo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},ho=uo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return ye(o)})(e):e;var{is:zl,defineProperty:Wl,getOwnPropertyDescriptor:Ul,getOwnPropertyNames:Hl,getOwnPropertySymbols:Fl,getPrototypeOf:jl}=Object,Qo=globalThis,ua=Qo.trustedTypes,Vl=ua?ua.emptyScript:"",Kl=Qo.reactiveElementPolyfillSupport,mo=(e,t)=>e,Jo={toAttribute(e,t){switch(t){case Boolean:e=e?Vl: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}},Ir=(e,t)=>!zl(e,t),ha={attribute:!0,type:String,converter:Jo,reflect:!1,hasChanged:Ir};Symbol.metadata??=Symbol("metadata"),Qo.litPropertyMetadata??=new WeakMap;var Pt=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=ha){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&&Wl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Ul(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ha}static _$Ei(){if(this.hasOwnProperty(mo("elementProperties")))return;let t=jl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(mo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(mo("properties"))){let o=this.properties,n=[...Hl(o),...Fl(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(ho(i))}else t!==void 0&&o.push(ho(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 Xo(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:Jo).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:Jo;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??Ir)(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){}};Pt.elementStyles=[],Pt.shadowRootOptions={mode:"open"},Pt[mo("elementProperties")]=new Map,Pt[mo("finalized")]=new Map,Kl?.({ReactiveElement:Pt}),(Qo.reactiveElementVersions??=[]).push("2.0.2");var Mr=globalThis,tr=Mr.trustedTypes,ma=tr?tr.createPolicy("lit-html",{createHTML:e=>e}):void 0,Br="$lit$",Wt=`lit$${(Math.random()+"").slice(9)}$`,zr="?"+Wt,Gl=`<${zr}>`,xe=document,go=()=>xe.createComment(""),bo=e=>e===null||typeof e!="object"&&typeof e!="function",Sa=Array.isArray,Oa=e=>Sa(e)||typeof e?.[Symbol.iterator]=="function",Dr=`[
1
+ "use strict";(()=>{var Rl=Object.defineProperty;var G=(e,t)=>{for(var o in t)Rl(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,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,x){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let O=x.prototype.attributeChangedCallback,T=new Set(x.observedAttributes||[]);m(x,T,O);let F={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:O,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(v,F),this._definitionsByClass.set(x,F);let ct=o.call(n,v);ct||(ct=u(v),t.call(n,v,ct)),this===window.customElements&&(s.set(x,F),F.standInClass=ct);let j=this._awaitingUpgrade.get(v);if(j){this._awaitingUpgrade.delete(v);for(let I of j)a.delete(I),g(I,F,!0)}let P=this._whenDefinedPromises.get(v);return P!==void 0&&(P.resolve(x),this._whenDefinedPromises.delete(v)),x}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let x=this._getDefinition(v);if(x!==void 0)return Promise.resolve(x.elementClass);let O=this._whenDefinedPromises.get(v);return O===void 0&&(O={},O.promise=new Promise(T=>O.resolve=T),this._whenDefinedPromises.set(v,O)),O.promise}_upgradeWhenDefined(v,x,O){let T=this._awaitingUpgrade.get(x);T||this._awaitingUpgrade.set(x,T=new Set),O?T.add(v):T.delete(v)}};let c;window.HTMLElement=function(){let x=c;if(x)return c=void 0,x;let O=s.get(this.constructor);if(!O)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(e,[],O.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),i.set(x,O),x},window.HTMLElement.prototype=e.prototype;let d=v=>v===document||v instanceof ShadowRoot,h=v=>{let x=v.getRootNode();if(!d(x)){let O=E[E.length-1];if(O instanceof CustomElementRegistry)return O;x=O.getRootNode(),d(x)||(x=l.get(x)?.getRootNode()||document)}return x.customElements},u=v=>class{static get formAssociated(){return!0}constructor(){let O=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(O,HTMLElement.prototype);let T=h(O)||window.customElements,F=T._getDefinition(v);return F?g(O,F):a.set(O,T),O}connectedCallback(){let O=i.get(this);O?O.connectedCallback&&O.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let O=i.get(this);O?O.disconnectedCallback&&O.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let O=i.get(this);O&&O.formAssociated&&O?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let O=i.get(this);O?.formAssociated&&O?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let O=i.get(this);O?.formAssociated&&O?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let O=i.get(this);O?.formAssociated&&O?.formStateRestoreCallback?.apply(this,arguments)}},m=(v,x,O)=>{if(x.size===0||O===void 0)return;let T=v.prototype.setAttribute;T&&(v.prototype.setAttribute=function(j,P){let I=j.toLowerCase();if(x.has(I)){let B=this.getAttribute(I);T.call(this,I,P),O.call(this,I,B,P)}else T.call(this,I,P)});let F=v.prototype.removeAttribute;F&&(v.prototype.removeAttribute=function(j){let P=j.toLowerCase();if(x.has(P)){let I=this.getAttribute(P);F.call(this,P),O.call(this,P,I,null)}else F.call(this,P)});let ct=v.prototype.toggleAttribute;ct&&(v.prototype.toggleAttribute=function(j,P){let I=j.toLowerCase();if(x.has(I)){let B=this.getAttribute(I);ct.call(this,I,P);let it=this.getAttribute(I);O.call(this,I,B,it)}else ct.call(this,I,P)})},y=v=>{let x=Object.getPrototypeOf(v);if(x!==window.HTMLElement)return x===e?Object.setPrototypeOf(v,window.HTMLElement):y(x)},g=(v,x,O=!1)=>{Object.setPrototypeOf(v,x.elementClass.prototype),i.set(v,x),c=v;try{new x.elementClass}catch{y(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(T=>{v.hasAttribute(T)&&x.attributeChangedCallback.call(v,T,null,v.getAttribute(T))}),O&&x.connectedCallback&&v.isConnected&&x.connectedCallback.call(v)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let x=S.apply(this,arguments);return v.customElements&&(x.customElements=v.customElements),x};let E=[document],N=(v,x,O=void 0)=>{let T=(O?Object.getPrototypeOf(O):v.prototype)[x];v.prototype[x]=function(){E.push(this);let F=T.apply(O||this,arguments);return F!==void 0&&l.set(F,this),E.pop(),F}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let A=(v,x)=>{let O=Object.getOwnPropertyDescriptor(v.prototype,x);Object.defineProperty(v.prototype,x,{...O,set(T){E.push(this),O.set.call(this,T),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 v=new WeakMap,x=HTMLElement.prototype.attachInternals,O=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...j){let P=x.call(this,...j);return v.set(P,this),P},O.forEach(j=>{let P=window.ElementInternals.prototype,I=P[j];P[j]=function(...B){let it=v.get(this);if(i.get(it).formAssociated===!0)return I?.call(this,...B);throw new DOMException(`Failed to execute ${I} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class F{constructor(P){let I=new Map;P.forEach((B,it)=>{let Rr=B.getAttribute("name"),Vi=I.get(Rr)||[];this[+it]=B,Vi.push(B),I.set(Rr,Vi)}),this.length=P.length,I.forEach((B,it)=>{B&&(B.length===1?this[it]=B[0]:this[it]=new T(B))})}namedItem(P){return this[P]}}let ct=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let j=ct.get.call(this,[]),P=[];for(let I of j){let B=i.get(I);(!B||B.formAssociated===!0)&&P.push(I)}return new F(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 Ur={};G(Ur,{CSSResult:()=>ke,LitElement:()=>Ut,ReactiveElement:()=>_t,_$LE:()=>Jl,_$LH:()=>ql,adoptStyles:()=>Xo,css:()=>_,defaultConverter:()=>Jo,getCompatibleStyle:()=>ho,html:()=>k,isServer:()=>bd,noChange:()=>Yt,notEqual:()=>Ir,nothing:()=>V,render:()=>zr,supportsAdoptingStyleSheets:()=>uo,svg:()=>Zl,unsafeCSS:()=>ye});var Mo=globalThis,Wo=Mo.ShadowRoot&&(Mo.ShadyCSS===void 0||Mo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gi=Symbol(),Ki=new WeakMap,Bo=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Gi)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(Wo&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ki.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ki.set(o,t))}return t}toString(){return this.cssText}},Zi=e=>new Bo(typeof e=="string"?e:e+"",void 0,Gi);var $r=(e,t)=>{if(Wo)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Mo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},zo=Wo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Zi(o)})(e):e;var{is:$l,defineProperty:_l,getOwnPropertyDescriptor:Pl,getOwnPropertyNames:Ll,getOwnPropertySymbols:kl,getPrototypeOf:Tl}=Object,Uo=globalThis,qi=Uo.trustedTypes,Il=qi?qi.emptyScript:"",Dl=Uo.reactiveElementPolyfillSupport,ao=(e,t)=>e,so={toAttribute(e,t){switch(t){case Boolean:e=e?Il: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}},Ho=(e,t)=>!$l(e,t),Yi={attribute:!0,type:String,converter:so,reflect:!1,hasChanged:Ho};Symbol.metadata??=Symbol("metadata"),Uo.litPropertyMetadata??=new WeakMap;var pe=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=Yi){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&&_l(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Pl(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yi}static _$Ei(){if(this.hasOwnProperty(ao("elementProperties")))return;let t=Tl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(ao("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ao("properties"))){let o=this.properties,n=[...Ll(o),...kl(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(zo(i))}else t!==void 0&&o.push(zo(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 $r(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:so).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:so;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??Ho)(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){}};pe.elementStyles=[],pe.shadowRootOptions={mode:"open"},pe[ao("elementProperties")]=new Map,pe[ao("finalized")]=new Map,Dl?.({ReactiveElement:pe}),(Uo.reactiveElementVersions??=[]).push("2.0.2");var Pr=globalThis,Fo=Pr.trustedTypes,Xi=Fo?Fo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Lr="$lit$",Wt=`lit$${(Math.random()+"").slice(9)}$`,kr="?"+Wt,Ml=`<${kr}>`,ue=document,jo=()=>ue.createComment(""),co=e=>e===null||typeof e!="object"&&typeof e!="function",ra=Array.isArray,na=e=>ra(e)||typeof e?.[Symbol.iterator]=="function",_r=`[
2
+ \f\r]`,lo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ji=/-->/g,Qi=/>/g,de=RegExp(`>|${_r}(?:([^\\s"'>=/]+)(${_r}*=${_r}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ta=/'/g,ea=/"/g,ia=/^(?:script|style|textarea|title)$/i,aa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),sa=aa(1),la=aa(2),gt=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),oa=new WeakMap,fe=ue.createTreeWalker(ue,129);function ca(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xi!==void 0?Xi.createHTML(t):t}var pa=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=lo;for(let l=0;l<o;l++){let c=e[l],d,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===lo?h[1]==="!--"?s=Ji:h[1]!==void 0?s=Qi:h[2]!==void 0?(ia.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=de):h[3]!==void 0&&(s=de):s===de?h[0]===">"?(s=i??lo,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?de:h[3]==='"'?ea:ta):s===ea||s===ta?s=de:s===Ji||s===Qi?s=lo:(s=de,i=void 0);let y=s===de&&e[l+1].startsWith("/>")?" ":"";a+=s===lo?c+Ml:u>=0?(n.push(d),c.slice(0,u)+Lr+c.slice(u)+Wt+y):c+Wt+(u===-2?l:y)}return[ca(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},po=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,h]=pa(t,o);if(this.el=e.createElement(d,n),fe.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=fe.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Lr)){let m=h[s++],y=i.getAttribute(u).split(Wt),g=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?Ko:g[1]==="?"?Go:g[1]==="@"?Zo:me}),i.removeAttribute(u)}else u.startsWith(Wt)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(ia.test(i.tagName)){let u=i.textContent.split(Wt),m=u.length-1;if(m>0){i.textContent=Fo?Fo.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],jo()),fe.nextNode(),c.push({type:2,index:++a});i.append(u[m],jo())}}}else if(i.nodeType===8)if(i.data===kr)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Wt,u+1))!==-1;)c.push({type:7,index:a}),u+=Wt.length-1}a++}}static createElement(t,o){let n=ue.createElement("template");return n.innerHTML=t,n}};function he(e,t,o=e,n){if(t===gt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=co(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=he(e,i._$AS(e,t.values),i,n)),t}var Vo=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??ue).importNode(o,!0);fe.currentNode=i;let a=fe.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new fo(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new qo(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=fe.nextNode(),s++)}return fe.currentNode=ue,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++}},fo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=J,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=he(this,t,o),co(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==gt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):na(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!==J&&co(this._$AH)?this._$AA.nextSibling.data=t:this.$(ue.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=po.createElement(ca(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Vo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=oa.get(t.strings);return o===void 0&&oa.set(t.strings,o=new po(t)),o}T(t){ra(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(jo()),this.k(jo()),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))}},me=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=J,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=J}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=he(this,t,o,0),s=!co(t)||t!==this._$AH&&t!==gt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=he(this,l[n+c],o,c),d===gt&&(d=this._$AH[c]),s||=!co(d)||d!==this._$AH[c],d===J?t=J:t!==J&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ko=class extends me{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===J?void 0:t}},Go=class extends me{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},Zo=class extends me{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=he(this,t,o,0)??J)===gt)return;let n=this._$AH,i=t===J&&n!==J||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==J&&(n===J||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)}},qo=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){he(this,t)}},da={j:Lr,P:Wt,A:kr,C:1,M:pa,L:Vo,R:na,V:he,D:fo,I:me,H:Go,N:Zo,U:Ko,B:qo},Bl=Pr.litHtmlPolyfillSupport;Bl?.(po,fo),(Pr.litHtmlVersions??=[]).push("3.1.0");var Yo=globalThis,uo=Yo.ShadowRoot&&(Yo.ShadyCSS===void 0||Yo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Tr=Symbol(),fa=new WeakMap,ke=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Tr)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(uo&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=fa.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&fa.set(o,t))}return t}toString(){return this.cssText}},ye=e=>new ke(typeof e=="string"?e:e+"",void 0,Tr),_=(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 ke(o,e,Tr)},Xo=(e,t)=>{if(uo)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Yo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},ho=uo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return ye(o)})(e):e;var{is:Wl,defineProperty:zl,getOwnPropertyDescriptor:Ul,getOwnPropertyNames:Hl,getOwnPropertySymbols:Fl,getPrototypeOf:jl}=Object,Qo=globalThis,ua=Qo.trustedTypes,Vl=ua?ua.emptyScript:"",Kl=Qo.reactiveElementPolyfillSupport,mo=(e,t)=>e,Jo={toAttribute(e,t){switch(t){case Boolean:e=e?Vl: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}},Ir=(e,t)=>!Wl(e,t),ha={attribute:!0,type:String,converter:Jo,reflect:!1,hasChanged:Ir};Symbol.metadata??=Symbol("metadata"),Qo.litPropertyMetadata??=new WeakMap;var _t=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=ha){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&&zl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Ul(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ha}static _$Ei(){if(this.hasOwnProperty(mo("elementProperties")))return;let t=jl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(mo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(mo("properties"))){let o=this.properties,n=[...Hl(o),...Fl(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(ho(i))}else t!==void 0&&o.push(ho(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 Xo(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:Jo).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:Jo;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??Ir)(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){}};_t.elementStyles=[],_t.shadowRootOptions={mode:"open"},_t[mo("elementProperties")]=new Map,_t[mo("finalized")]=new Map,Kl?.({ReactiveElement:_t}),(Qo.reactiveElementVersions??=[]).push("2.0.2");var Mr=globalThis,tr=Mr.trustedTypes,ma=tr?tr.createPolicy("lit-html",{createHTML:e=>e}):void 0,Br="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Wr="?"+zt,Gl=`<${Wr}>`,xe=document,go=()=>xe.createComment(""),bo=e=>e===null||typeof e!="object"&&typeof e!="function",Sa=Array.isArray,Oa=e=>Sa(e)||typeof e?.[Symbol.iterator]=="function",Dr=`[
4
4
  \f\r]`,yo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ya=/-->/g,ga=/>/g,ge=RegExp(`>|${Dr}(?:([^\\s"'>=/]+)(${Dr}*=${Dr}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ba=/'/g,xa=/"/g,Ca=/^(?:script|style|textarea|title)$/i,wa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),k=wa(1),Zl=wa(2),Yt=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),va=new WeakMap,be=xe.createTreeWalker(xe,129);function Ea(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ma!==void 0?ma.createHTML(t):t}var Na=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=yo;for(let l=0;l<o;l++){let c=e[l],d,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===yo?h[1]==="!--"?s=ya:h[1]!==void 0?s=ga:h[2]!==void 0?(Ca.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ge):h[3]!==void 0&&(s=ge):s===ge?h[0]===">"?(s=i??yo,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?ge:h[3]==='"'?xa:ba):s===xa||s===ba?s=ge:s===ya||s===ga?s=yo:(s=ge,i=void 0);let y=s===ge&&e[l+1].startsWith("/>")?" ":"";a+=s===yo?c+Gl:u>=0?(n.push(d),c.slice(0,u)+Br+c.slice(u)+Wt+y):c+Wt+(u===-2?l:y)}return[Ea(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},xo=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,h]=Na(t,o);if(this.el=e.createElement(d,n),be.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=be.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Br)){let m=h[s++],y=i.getAttribute(u).split(Wt),g=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?or:g[1]==="?"?rr:g[1]==="@"?nr:Se}),i.removeAttribute(u)}else u.startsWith(Wt)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(Ca.test(i.tagName)){let u=i.textContent.split(Wt),m=u.length-1;if(m>0){i.textContent=tr?tr.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],go()),be.nextNode(),c.push({type:2,index:++a});i.append(u[m],go())}}}else if(i.nodeType===8)if(i.data===zr)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Wt,u+1))!==-1;)c.push({type:7,index:a}),u+=Wt.length-1}a++}}static createElement(t,o){let n=xe.createElement("template");return n.innerHTML=t,n}};function ve(e,t,o=e,n){if(t===Yt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=bo(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=ve(e,i._$AS(e,t.values),i,n)),t}var er=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??xe).importNode(o,!0);be.currentNode=i;let a=be.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Te(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new ir(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=be.nextNode(),s++)}return be.currentNode=xe,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++}},Te=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=V,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=ve(this,t,o),bo(t)?t===V||t==null||t===""?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==Yt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Oa(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!==V&&bo(this._$AH)?this._$AA.nextSibling.data=t:this.$(xe.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=xo.createElement(Ea(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new er(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=va.get(t.strings);return o===void 0&&va.set(t.strings,o=new xo(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(go()),this.k(go()),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=V,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=V}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ve(this,t,o,0),s=!bo(t)||t!==this._$AH&&t!==Yt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=ve(this,l[n+c],o,c),d===Yt&&(d=this._$AH[c]),s||=!bo(d)||d!==this._$AH[c],d===V?t=V:t!==V&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},or=class extends Se{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===V?void 0:t}},rr=class extends Se{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==V)}},nr=class extends Se{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=ve(this,t,o,0)??V)===Yt)return;let n=this._$AH,i=t===V&&n!==V||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==V&&(n===V||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){ve(this,t)}},ql={j:Br,P:Wt,A:zr,C:1,M:Na,L:er,R:Oa,V:ve,D:Te,I:Se,H:rr,N:nr,U:or,B:ir},Yl=Mr.litHtmlPolyfillSupport;Yl?.(xo,Te),(Mr.litHtmlVersions??=[]).push("3.1.0");var Wr=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Te(t.insertBefore(go(),a),a,void 0,o??{})}return i._$AI(e),i};var Ut=class extends Pt{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=Wr(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Yt}};Ut._$litElement$=!0,Ut.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ut});var Xl=globalThis.litElementPolyfillSupport;Xl?.({LitElement:Ut});var Jl={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var bd=!1;var Vr={};G(Vr,{customElement:()=>Ql,eventOptions:()=>Ie,property:()=>b,query:()=>M,queryAll:()=>Hr,queryAssignedElements:()=>Fr,queryAssignedNodes:()=>jr,queryAsync:()=>oc,standardProperty:()=>Aa,state:()=>U});var Ql=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var tc={attribute:!0,type:String,converter:so,reflect:!1,hasChanged:Ho},Aa=(e=tc,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(l){let c=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,c,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=o;return function(l){let c=this[s];t.call(this,l),this.requestUpdate(s,c,e)}}throw Error("Unsupported decorator location: "+n)};function b(e){return(t,o)=>typeof o=="object"?Aa(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 U(e){return b({...e,state:!0,attribute:!1})}function Ie(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Et=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function M(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return Et(o,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Et(o,n,{get(){return a(this)}})}}var ec;function Hr(e){return(t,o)=>Et(t,o,{get(){return(this.renderRoot??(ec??=document.createDocumentFragment())).querySelectorAll(e)}})}function oc(e){return(t,o)=>Et(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Fr(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Et(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function jr(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Et(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Gr={};G(Gr,{repeat:()=>Kr});var Xt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Jt=e=>(...t)=>({_$litDirective$:e,values:t}),_t=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:rc}=da;var Ra=()=>document.createComment(""),De=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Ra(),i),s=n.insertBefore(Ra(),i);o=new rc(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let c;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(c=e._$AU)!==s._$AU&&o._$AP(c)}if(a!==i||l){let c=o._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return o},Qt=(e,t,o=e)=>(e._$AI(t,o),e),nc={},$a=(e,t=nc)=>e._$AH=t,Pa=e=>e._$AH,ar=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 _a=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Kr=Jt(class extends _t{constructor(e){if(super(e),e.type!==Xt.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 l of e)i[s]=n?n(l,s):s,a[s]=o(l,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=Pa(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,h,u=0,m=i.length-1,y=0,g=a.length-1;for(;u<=m&&y<=g;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(l[u]===s[y])c[y]=Qt(i[u],a[y]),u++,y++;else if(l[m]===s[g])c[g]=Qt(i[m],a[g]),m--,g--;else if(l[u]===s[g])c[g]=Qt(i[u],a[g]),De(e,c[g+1],i[u]),u++,g--;else if(l[m]===s[y])c[y]=Qt(i[m],a[y]),De(e,i[u],i[m]),m--,y++;else if(d===void 0&&(d=_a(s,y,g),h=_a(l,u,m)),d.has(l[u]))if(d.has(l[m])){let S=h.get(s[y]),E=S!==void 0?i[S]:null;if(E===null){let N=De(e,i[u]);Qt(N,a[y]),c[y]=N}else c[y]=Qt(E,a[y]),De(e,i[u],E),i[S]=null;y++}else ar(i[m]),m--;else ar(i[u]),u++;for(;y<=g;){let S=De(e,c[g+1]);Qt(S,a[y]),c[y++]=S}for(;u<=m;){let S=i[u++];S!==null&&ar(S)}return this.dt=s,$a(e,c),gt}});var Zr={};G(Zr,{classMap:()=>Nt});var Nt=Jt(class extends _t{constructor(e){if(super(e),e.type!==Xt.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 gt}});var qr={};G(qr,{styleMap:()=>ac});var La="important",ic=" !"+La,ac=Jt(class extends _t{constructor(e){if(super(e),e.type!==Xt.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(ic);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?La:""):o[n]=i}}return gt}});var Xr={};G(Xr,{UnsafeHTMLDirective:()=>Me,unsafeHTML:()=>Yr});var Me=class extends _t{constructor(t){if(super(t),this.et=J,t.type!==Xt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||t==null)return this.vt=void 0,this.et=t;if(t===gt)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:[]}}};Me.directiveName="unsafeHTML",Me.resultType=1;var Yr=Jt(Me);var en={};G(en,{CacheRegistry:()=>tn});var Qr={};G(Qr,{CancelablePromise:()=>Be,CanceledPromiseError:()=>vo,cancelable:()=>Jr});var vo=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Be=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new vo("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new vo("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Jr=e=>new Be((t,o)=>e.then(t).catch(o));var tn=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 Be&&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=Jr(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 rn={};G(rn,{ClusteringHelper:()=>on});var on=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),l=(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:l,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",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=t.localeCompare(o,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(c=>{var d;return((d=e.extractResultMetadata(c,t))===null||d===void 0?void 0:d.value)==o}),a=[...e.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==t)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,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 nn={};G(nn,{Debouncer:()=>rt});var rt=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(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var sn={};G(sn,{customElement:()=>Z,isNumber:()=>Da,jsonProperty:()=>Ce,optionalNumberProperty:()=>uc});var an={};G(an,{dateReviver:()=>lc,deepEqual:()=>Lt,delay:()=>ka,eventPathContainsMatchingElement:()=>pc,flatDeep:()=>Oe,last:()=>fc,minmax:()=>dc,parseDate:()=>Ia,waitFor:()=>Ta,waitUntil:()=>sc});var ka=e=>new Promise(t=>setTimeout(t,e));async function sc(e,t=10,o=2e4){await Ta(async()=>await e()||void 0,t,o)}async function Ta(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await ka(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Oe(e,t){return e.flatMap(o=>[o,...Oe(t(o),t)])}function lc(...e){return function(t,o){return e.includes(t)?Ia(o):o}}function Ia(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 cc(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(!Lt(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(!Lt(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(!Lt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Lt(e,t){try{return cc(e,t)}catch{return!1}}function pc(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 dc(e,t,o){return Math.min(Math.max(e,t),o)}function fc(e){return e[e.length-1]}var Z=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ce(e,t){let o=()=>JSON.parse(JSON.stringify(e));return b({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)=>!Lt(n,i),...t??{}})}function uc(e){return b({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Da(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Da(e){return!isNaN(parseFloat(e))}var Tn={};G(Tn,{designSystemVariables:()=>R});var kn={};G(kn,{FtCssVariableFactory:()=>r,badge:()=>gc,banner:()=>yc,breadcrumb:()=>bc,button:()=>w,chart:()=>_c,checkbox:()=>Tc,chip:()=>Lc,collapsible:()=>$c,comboboxMultiSelect:()=>Nc,comboboxSingleSelect:()=>Ec,drawer:()=>Sc,floatingMenu:()=>wc,foundation:()=>p,link:()=>mc,modal:()=>vc,notice:()=>kc,notification:()=>Mc,pageHeader:()=>xc,popover:()=>Ac,radio:()=>Dc,semantic:()=>f,setVariable:()=>L,switch_:()=>Pc,tabs:()=>Rc,textArea:()=>Cc,textInput:()=>Oc,toggle:()=>Ic,tooltip:()=>Bc,typographies:()=>So,typographyBody1Medium:()=>un,typographyBody1Regular:()=>fn,typographyBody1Semibold:()=>hn,typographyBody2Medium:()=>yn,typographyBody2MediumUnderline:()=>Ma,typographyBody2Regular:()=>mn,typographyBody2Semibold:()=>gn,typographyCaption1Bold:()=>Nn,typographyCaption1Medium:()=>wn,typographyCaption1Semibold:()=>En,typographyCaption2Bold:()=>$n,typographyCaption2Medium:()=>An,typographyCaption2Semibold:()=>Rn,typographyCaption3Bold:()=>Ln,typographyCaption3Medium:()=>Pn,typographyCaption3Semibold:()=>_n,typographyDisplay:()=>ln,typographyLabel1Bold:()=>vn,typographyLabel1Medium:()=>bn,typographyLabel1Semibold:()=>xn,typographyLabel2Bold:()=>Cn,typographyLabel2Medium:()=>Sn,typographyLabel2Semibold:()=>On,typographyTitle1:()=>cn,typographyTitle2:()=>pn,typographyTitle3:()=>dn,typographyVariants:()=>hc});var Ht=e=>typeof e=="string"?ye(e):e,r=class{static create(t,o,n,i){let a=l=>Ht(l??i),s=P`var(${Ht(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>P`var(${Ht(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=P`var(${Ht(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=l=>P`var(${Ht(t)}, ${a(l)})`,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):Ht(a??t.lastResortDefaultValue()),i=P`var(${Ht(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=>P`var(${Ht(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function L(e,t){return Ht(`${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)")},ln={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")},cn={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")},pn={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")},dn={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")},fn={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")},un={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")},hn={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")},mn={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")},yn={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")},Ma={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")},gn={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")},bn={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")},xn={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")},vn={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")},Sn={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")},On={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")},wn={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")},En={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")},Nn={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")},An={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")},Rn={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")},$n={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")},Pn={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")},_n={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")},Ln={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")},So={display:ln,"title-1":cn,"title-2":pn,"title-3":dn,"body-1-regular":fn,"body-1-medium":un,"body-1-semibold":hn,"body-2-regular":mn,"body-2-medium":yn,"body-2-medium-underline":Ma,"body-2-semibold":gn,"label-1-medium":bn,"label-1-semibold":xn,"label-1-bold":vn,"label-2-medium":Sn,"label-2-semibold":On,"label-2-bold":Cn,"caption-1-medium":wn,"caption-1-semibold":En,"caption-1-bold":Nn,"caption-2-medium":An,"caption-2-semibold":Rn,"caption-2-bold":$n,"caption-3-medium":Pn,"caption-3-semibold":_n,"caption-3-bold":Ln},hc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary: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"),smallHeight:r.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",p.spacing3),smallGap:r.extend("--ft-button-small-gap","",p.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",p.iconSize2),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","30px"),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 mc={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 yc={iconSize:r.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-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 gc={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 bc={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 xc={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 vc={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 Sc={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 Oc={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 Cc={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 wc={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 Ec={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 Nc={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 Ac={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),iconColor:r.extend("--ft-popover-icon-color","",f.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",p.iconSize2),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 Rc={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),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),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",p.opacity40),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 $c={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 Pc={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 _c={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 Lc={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",p.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",p.spacing2),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),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",p.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",p.spacing1),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),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",p.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-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 kc={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 Tc={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 Ic={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 Dc={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 Mc={iconSize:r.extend("--ft-notification-icon-size","",p.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",p.spacing4),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 Bc={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 R={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 Bn={};G(Bn,{FtNotificationEvent:()=>In,PostResizeEvent:()=>Mn,PreResizeEvent:()=>Dn});var In=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Dn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Mn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Yn={};G(Yn,{computeOffsetPosition:()=>qn});var za=["top","right","bottom","left"],Ba=["start","end"],Wn=za.reduce((e,t)=>e.concat(t,t+"-"+Ba[0],t+"-"+Ba[1]),[]),Oo=Math.min,te=Math.max,Co=Math.round;var Ft=e=>({x:e,y:e}),zc={left:"right",right:"left",bottom:"top",top:"bottom"},Wc={start:"end",end:"start"};function Un(e,t,o){return te(e,Oo(t,o))}function sr(e,t){return typeof e=="function"?e(t):e}function ze(e){return e.split("-")[0]}function ee(e){return e.split("-")[1]}function Hn(e){return e==="x"?"y":"x"}function Fn(e){return e==="y"?"height":"width"}function lr(e){return["top","bottom"].includes(ze(e))?"y":"x"}function jn(e){return Hn(lr(e))}function Wa(e,t,o){o===void 0&&(o=!1);let n=ee(e),i=jn(e),a=Fn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=zn(s)),[s,zn(s)]}function Ua(e){return e.replace(/start|end/g,t=>Wc[t])}function zn(e){return e.replace(/left|right|bottom|top/g,t=>zc[t])}function Uc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ha(e){return typeof e!="number"?Uc(e):{top:e,right:e,bottom:e,left:e}}function we(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Fa(e,t,o){let{reference:n,floating:i}=e,a=lr(t),s=jn(t),l=Fn(s),c=ze(t),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,y;switch(c){case"top":y={x:h,y:n.y-i.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:u};break;case"left":y={x:n.x-i.width,y:u};break;default:y={x:n.x,y:n.y}}switch(ee(t)){case"start":y[s]-=m*(o&&d?-1:1);break;case"end":y[s]+=m*(o&&d?-1:1);break}return y}var ja=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=Fa(d,n,c),m=n,y={},g=0;for(let S=0;S<l.length;S++){let{name:E,fn:N}=l[S],{x:A,y:v,data:x,reset:O}=await N({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:y,rects:d,platform:s,elements:{reference:e,floating:t}});if(h=A??h,u=v??u,y={...y,[E]:{...y[E],...x}},O&&g<=50){g++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(d=O.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):O.rects),{x:h,y:u}=Fa(d,m,c)),S=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:y}};async function Vn(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:y=0}=sr(t,e),g=Ha(y),E=l[m?u==="floating"?"reference":"floating":u],N=we(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(l.floating)),boundary:d,rootBoundary:h,strategy:c})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),x=await(a.isElement==null?void 0:a.isElement(v))?await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1}:{x:1,y:1},O=we(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:v,strategy:c}):A);return{top:(N.top-O.top+g.top)/x.y,bottom:(O.bottom-N.bottom+g.bottom)/x.y,left:(N.left-O.left+g.left)/x.x,right:(O.right-N.right+g.right)/x.x}}function Hc(e,t,o){return(e?[...o.filter(i=>ee(i)===e),...o.filter(i=>ee(i)!==e)]:o.filter(i=>ze(i)===i)).filter(i=>e?ee(i)===e||(t?Ua(i)!==i:!1):!0)}var Kn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=Wn,autoAlignment:y=!0,...g}=sr(e,t),S=u!==void 0||m===Wn?Hc(u||null,y,m):m,E=await Vn(t,g),N=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[N];if(A==null)return{};let v=Wa(A,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==A)return{reset:{placement:S[0]}};let x=[E[ze(A)],E[v[0]],E[v[1]]],O=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:x}],T=S[N+1];if(T)return{data:{index:N+1,overflows:O},reset:{placement:T}};let F=O.map(_=>{let I=ee(_.placement);return[_.placement,I&&h?_.overflows.slice(0,2).reduce((B,it)=>B+it,0):_.overflows[0],_.overflows]}).sort((_,I)=>_[1]-I[1]),j=((i=F.filter(_=>_[2].slice(0,ee(_[0])?2:3).every(I=>I<=0))[0])==null?void 0:i[0])||F[0][0];return j!==l?{data:{index:N+1,overflows:O},reset:{placement:j}}:{}}}};var Gn=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:l={fn:E=>{let{x:N,y:A}=E;return{x:N,y:A}}},...c}=sr(e,t),d={x:o,y:n},h=await Vn(t,c),u=lr(ze(i)),m=Hn(u),y=d[m],g=d[u];if(a){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",A=y+h[E],v=y-h[N];y=Un(A,y,v)}if(s){let E=u==="y"?"top":"left",N=u==="y"?"bottom":"right",A=g+h[E],v=g-h[N];g=Un(A,g,v)}let S=l.fn({...t,[m]:y,[u]:g});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function jt(e){return Ka(e)?(e.nodeName||"").toLowerCase():"#document"}function pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Vt(e){var t;return(t=(Ka(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ka(e){return e instanceof Node||e instanceof pt(e).Node}function kt(e){return e instanceof Element||e instanceof pt(e).Element}function At(e){return e instanceof HTMLElement||e instanceof pt(e).HTMLElement}function Va(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pt(e).ShadowRoot}function We(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Ga(e){return["table","td","th"].includes(jt(e))}function pr(e){let t=dr(),o=bt(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 Za(e){let t=Ee(e);for(;At(t)&&!wo(t);){if(pr(t))return t;t=Ee(t)}return null}function dr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wo(e){return["html","body","#document"].includes(jt(e))}function bt(e){return pt(e).getComputedStyle(e)}function Eo(e){return kt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ee(e){if(jt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Va(e)&&e.host||Vt(e);return Va(t)?t.host:t}function qa(e){let t=Ee(e);return wo(t)?e.ownerDocument?e.ownerDocument.body:e.body:At(t)&&We(t)?t:qa(t)}function cr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=qa(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=pt(i);return a?t.concat(s,s.visualViewport||[],We(i)?i:[],s.frameElement&&o?cr(s.frameElement):[]):t.concat(i,cr(i,[],o))}function Ja(e){let t=bt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=At(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=Co(o)!==a||Co(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function Qa(e){return kt(e)?e:e.contextElement}function Ue(e){let t=Qa(e);if(!At(t))return Ft(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Ja(t),s=(a?Co(o.width):o.width)/n,l=(a?Co(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Fc=Ft(0);function ts(e){let t=pt(e);return!dr()||!t.visualViewport?Fc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==pt(e)?!1:t}function No(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Qa(e),s=Ft(1);t&&(n?kt(n)&&(s=Ue(n)):s=Ue(e));let l=jc(a,o,n)?ts(a):Ft(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=pt(a),y=n&&kt(n)?pt(n):n,g=m.frameElement;for(;g&&n&&y!==m;){let S=Ue(g),E=g.getBoundingClientRect(),N=bt(g),A=E.left+(g.clientLeft+parseFloat(N.paddingLeft))*S.x,v=E.top+(g.clientTop+parseFloat(N.paddingTop))*S.y;c*=S.x,d*=S.y,h*=S.x,u*=S.y,c+=A,d+=v,g=pt(g).frameElement}}return we({width:h,height:u,x:c,y:d})}function Vc(e){let{rect:t,offsetParent:o,strategy:n}=e,i=At(o),a=Vt(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Ft(1),c=Ft(0);if((i||!i&&n!=="fixed")&&((jt(o)!=="body"||We(a))&&(s=Eo(o)),At(o))){let d=No(o);l=Ue(o),c.x=d.x+o.clientLeft,c.y=d.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+c.x,y:t.y*l.y-s.scrollTop*l.y+c.y}}function Kc(e){return Array.from(e.getClientRects())}function es(e){return No(Vt(e)).left+Eo(e).scrollLeft}function Gc(e){let t=Vt(e),o=Eo(e),n=e.ownerDocument.body,i=te(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=te(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+es(e),l=-o.scrollTop;return bt(n).direction==="rtl"&&(s+=te(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Zc(e,t){let o=pt(e),n=Vt(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=dr();(!d||d&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function qc(e,t){let o=No(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=At(e)?Ue(e):Ft(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:l,x:c,y:d}}function Ya(e,t,o){let n;if(t==="viewport")n=Zc(e,o);else if(t==="document")n=Gc(Vt(e));else if(kt(t))n=qc(t,o);else{let i=ts(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return we(n)}function os(e,t){let o=Ee(e);return o===t||!kt(o)||wo(o)?!1:bt(o).position==="fixed"||os(o,t)}function Yc(e,t){let o=t.get(e);if(o)return o;let n=cr(e,[],!1).filter(l=>kt(l)&&jt(l)!=="body"),i=null,a=bt(e).position==="fixed",s=a?Ee(e):e;for(;kt(s)&&!wo(s);){let l=bt(s),c=pr(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||We(s)&&!c&&os(e,s))?n=n.filter(h=>h!==s):i=l,s=Ee(s)}return t.set(e,n),n}function Xc(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Yc(t,this._c):[].concat(o),n],l=s[0],c=s.reduce((d,h)=>{let u=Ya(t,h,i);return d.top=te(u.top,d.top),d.right=Oo(u.right,d.right),d.bottom=Oo(u.bottom,d.bottom),d.left=te(u.left,d.left),d},Ya(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Jc(e){return Ja(e)}function Qc(e,t,o){let n=At(t),i=Vt(t),a=o==="fixed",s=No(e,!0,a,t),l={scrollLeft:0,scrollTop:0},c=Ft(0);if(n||!n&&!a)if((jt(t)!=="body"||We(i))&&(l=Eo(t)),n){let d=No(t,!0,a,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else i&&(c.x=es(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Xa(e,t){return!At(e)||bt(e).position==="fixed"?null:t?t(e):e.offsetParent}function rs(e,t){let o=pt(e);if(!At(e))return o;let n=Xa(e,t);for(;n&&Ga(n)&&bt(n).position==="static";)n=Xa(n,t);return n&&(jt(n)==="html"||jt(n)==="body"&&bt(n).position==="static"&&!pr(n))?o:n||Za(e)||o}var tp=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||rs,a=this.getDimensions;return{reference:Qc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function ep(e){return bt(e).direction==="rtl"}var fr={convertOffsetParentRelativeRectToViewportRelativeRect:Vc,getDocumentElement:Vt,getClippingRect:Xc,getOffsetParent:rs,getElementRects:tp,getClientRects:Kc,getDimensions:Jc,getScale:Ue,isElement:kt,isRTL:ep};var ns=(e,t,o)=>{let n=new Map,i={platform:fr,...o},a={...i.platform,_c:n};return ja(e,t,{...i,platform:a})};function is(e){return op(e)}function Zn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function op(e){for(let t=e;t;t=Zn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Zn(e);t;t=Zn(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 qn(e,t,o){return ns(e,t,{platform:{...fr,getOffsetParent:n=>fr.getOffsetParent(n,is)},middleware:[Gn({crossAxis:!0}),Kn({allowedPlacements:[o]})]})}var Qn={};G(Qn,{FtLitElement:()=>D});var Xn={};G(Xn,{ScopedRegistryLitElement:()=>Ao});var ur=window,rp=ur.ShadowRoot&&(ur.ShadyCSS===void 0||ur.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Cm=Symbol();var as=(e,t)=>{rp?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=ur.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var Ao=class extends Ut{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 as(n,t.elementStyles),n}};var Jn=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},cs,ss=Symbol("constructorPrototype"),ls=Symbol("constructorName"),ps=Symbol("exportpartsDebouncer"),D=class extends Ao{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[cs]=new rt(5),this[ls]=this.constructor.name,this[ss]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ls]&&Object.setPrototypeOf(this,this[ss])}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[ps].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,l;let c=m=>m!=null&&m.trim().length>0,d=t.filter(c).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 y=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],g=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...y,...g).filter(c).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(y=>`${m}:${y}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};cs=ps;Jn([b()],D.prototype,"exportpartsPrefix",void 0);Jn([Ce([])],D.prototype,"exportpartsPrefixes",void 0);Jn([b()],D.prototype,"customStylesheet",void 0);var ds={};var oi={};G(oi,{highlightHtml:()=>ap,highlightHtmlColorCssVariable:()=>fs,highlightHtmlStyles:()=>ip});var Ne=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,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{e.matches(d,this.exclude)?c():this.onIframeReady(d,h=>{o(d)&&(l++,n(h)),c()},c)})}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),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)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((l,c)=>{l.val===n&&(a=c,s=l.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),l=[],c=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(d,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,y=>c.push(y),i)}),c.push(d);c.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var Ro=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 Ne(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],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+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(l=>{s+=`|${this.escapeStr(l)}`}),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:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(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,l=o-s,c=parseInt(t.start,10)-l;return c=c>s?s:c,i=c+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:c,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 Ne.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),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let c=t.nodes[l+1];if(typeof c>"u"||c.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((y,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].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(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=t.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;c=this.wrapRangeInTextNode(c,h,h+d[s].length),i(c.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let c;for(;(c=t.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let u=1;u<s;u++)d+=c[u].length;let h=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,h,u=>n(c[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((l,c)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>o(m,l,a.value.substring(d,h),c),m=>{n(m,l)})}),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,l)=>this.opt.filter(l,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),l=this.opt.caseSensitive?"":"i",c=d=>{let h=new RegExp(this.createRegExp(d),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,y)=>this.opt.filter(y,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(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,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(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=Ne.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ti(e){let t=new Ro(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 np=ti,fs=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ip=P`
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ba=/'/g,xa=/"/g,Ca=/^(?:script|style|textarea|title)$/i,wa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),k=wa(1),Zl=wa(2),Yt=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),va=new WeakMap,be=xe.createTreeWalker(xe,129);function Ea(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ma!==void 0?ma.createHTML(t):t}var Na=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=yo;for(let l=0;l<o;l++){let c=e[l],d,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===yo?h[1]==="!--"?s=ya:h[1]!==void 0?s=ga:h[2]!==void 0?(Ca.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ge):h[3]!==void 0&&(s=ge):s===ge?h[0]===">"?(s=i??yo,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?ge:h[3]==='"'?xa:ba):s===xa||s===ba?s=ge:s===ya||s===ga?s=yo:(s=ge,i=void 0);let y=s===ge&&e[l+1].startsWith("/>")?" ":"";a+=s===yo?c+Gl:u>=0?(n.push(d),c.slice(0,u)+Br+c.slice(u)+zt+y):c+zt+(u===-2?l:y)}return[Ea(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},xo=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,h]=Na(t,o);if(this.el=e.createElement(d,n),be.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=be.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Br)){let m=h[s++],y=i.getAttribute(u).split(zt),g=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?or:g[1]==="?"?rr:g[1]==="@"?nr:Se}),i.removeAttribute(u)}else u.startsWith(zt)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(Ca.test(i.tagName)){let u=i.textContent.split(zt),m=u.length-1;if(m>0){i.textContent=tr?tr.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],go()),be.nextNode(),c.push({type:2,index:++a});i.append(u[m],go())}}}else if(i.nodeType===8)if(i.data===Wr)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(zt,u+1))!==-1;)c.push({type:7,index:a}),u+=zt.length-1}a++}}static createElement(t,o){let n=xe.createElement("template");return n.innerHTML=t,n}};function ve(e,t,o=e,n){if(t===Yt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=bo(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=ve(e,i._$AS(e,t.values),i,n)),t}var er=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??xe).importNode(o,!0);be.currentNode=i;let a=be.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Te(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new ir(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=be.nextNode(),s++)}return be.currentNode=xe,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++}},Te=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=V,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=ve(this,t,o),bo(t)?t===V||t==null||t===""?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==Yt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Oa(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!==V&&bo(this._$AH)?this._$AA.nextSibling.data=t:this.$(xe.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=xo.createElement(Ea(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new er(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=va.get(t.strings);return o===void 0&&va.set(t.strings,o=new xo(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(go()),this.k(go()),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=V,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=V}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ve(this,t,o,0),s=!bo(t)||t!==this._$AH&&t!==Yt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=ve(this,l[n+c],o,c),d===Yt&&(d=this._$AH[c]),s||=!bo(d)||d!==this._$AH[c],d===V?t=V:t!==V&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},or=class extends Se{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===V?void 0:t}},rr=class extends Se{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==V)}},nr=class extends Se{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=ve(this,t,o,0)??V)===Yt)return;let n=this._$AH,i=t===V&&n!==V||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==V&&(n===V||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){ve(this,t)}},ql={j:Br,P:zt,A:Wr,C:1,M:Na,L:er,R:Oa,V:ve,D:Te,I:Se,H:rr,N:nr,U:or,B:ir},Yl=Mr.litHtmlPolyfillSupport;Yl?.(xo,Te),(Mr.litHtmlVersions??=[]).push("3.1.0");var zr=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Te(t.insertBefore(go(),a),a,void 0,o??{})}return i._$AI(e),i};var Ut=class extends _t{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=zr(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Yt}};Ut._$litElement$=!0,Ut.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ut});var Xl=globalThis.litElementPolyfillSupport;Xl?.({LitElement:Ut});var Jl={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var bd=!1;var Vr={};G(Vr,{customElement:()=>Ql,eventOptions:()=>Ie,property:()=>b,query:()=>M,queryAll:()=>Hr,queryAssignedElements:()=>Fr,queryAssignedNodes:()=>jr,queryAsync:()=>oc,standardProperty:()=>Aa,state:()=>U});var Ql=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var tc={attribute:!0,type:String,converter:so,reflect:!1,hasChanged:Ho},Aa=(e=tc,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(l){let c=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,c,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=o;return function(l){let c=this[s];t.call(this,l),this.requestUpdate(s,c,e)}}throw Error("Unsupported decorator location: "+n)};function b(e){return(t,o)=>typeof o=="object"?Aa(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 U(e){return b({...e,state:!0,attribute:!1})}function Ie(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Et=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function M(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return Et(o,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Et(o,n,{get(){return a(this)}})}}var ec;function Hr(e){return(t,o)=>Et(t,o,{get(){return(this.renderRoot??(ec??=document.createDocumentFragment())).querySelectorAll(e)}})}function oc(e){return(t,o)=>Et(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Fr(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Et(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function jr(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Et(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Gr={};G(Gr,{repeat:()=>Kr});var Xt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Jt=e=>(...t)=>({_$litDirective$:e,values:t}),Pt=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:rc}=da;var Ra=()=>document.createComment(""),De=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Ra(),i),s=n.insertBefore(Ra(),i);o=new rc(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let c;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(c=e._$AU)!==s._$AU&&o._$AP(c)}if(a!==i||l){let c=o._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return o},Qt=(e,t,o=e)=>(e._$AI(t,o),e),nc={},$a=(e,t=nc)=>e._$AH=t,_a=e=>e._$AH,ar=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 Pa=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Kr=Jt(class extends Pt{constructor(e){if(super(e),e.type!==Xt.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 l of e)i[s]=n?n(l,s):s,a[s]=o(l,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=_a(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,h,u=0,m=i.length-1,y=0,g=a.length-1;for(;u<=m&&y<=g;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(l[u]===s[y])c[y]=Qt(i[u],a[y]),u++,y++;else if(l[m]===s[g])c[g]=Qt(i[m],a[g]),m--,g--;else if(l[u]===s[g])c[g]=Qt(i[u],a[g]),De(e,c[g+1],i[u]),u++,g--;else if(l[m]===s[y])c[y]=Qt(i[m],a[y]),De(e,i[u],i[m]),m--,y++;else if(d===void 0&&(d=Pa(s,y,g),h=Pa(l,u,m)),d.has(l[u]))if(d.has(l[m])){let S=h.get(s[y]),E=S!==void 0?i[S]:null;if(E===null){let N=De(e,i[u]);Qt(N,a[y]),c[y]=N}else c[y]=Qt(E,a[y]),De(e,i[u],E),i[S]=null;y++}else ar(i[m]),m--;else ar(i[u]),u++;for(;y<=g;){let S=De(e,c[g+1]);Qt(S,a[y]),c[y++]=S}for(;u<=m;){let S=i[u++];S!==null&&ar(S)}return this.dt=s,$a(e,c),gt}});var Zr={};G(Zr,{classMap:()=>Nt});var Nt=Jt(class extends Pt{constructor(e){if(super(e),e.type!==Xt.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 gt}});var qr={};G(qr,{styleMap:()=>ac});var La="important",ic=" !"+La,ac=Jt(class extends Pt{constructor(e){if(super(e),e.type!==Xt.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(ic);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?La:""):o[n]=i}}return gt}});var Xr={};G(Xr,{UnsafeHTMLDirective:()=>Me,unsafeHTML:()=>Yr});var Me=class extends Pt{constructor(t){if(super(t),this.et=J,t.type!==Xt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||t==null)return this.vt=void 0,this.et=t;if(t===gt)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:[]}}};Me.directiveName="unsafeHTML",Me.resultType=1;var Yr=Jt(Me);var en={};G(en,{CacheRegistry:()=>tn});var Qr={};G(Qr,{CancelablePromise:()=>Be,CanceledPromiseError:()=>vo,cancelable:()=>Jr});var vo=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Be=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new vo("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new vo("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Jr=e=>new Be((t,o)=>e.then(t).catch(o));var tn=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 Be&&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=Jr(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 rn={};G(rn,{ClusteringHelper:()=>on});var on=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),l=(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:l,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",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=t.localeCompare(o,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(c=>{var d;return((d=e.extractResultMetadata(c,t))===null||d===void 0?void 0:d.value)==o}),a=[...e.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==t)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,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 nn={};G(nn,{Debouncer:()=>rt});var rt=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(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var sn={};G(sn,{customElement:()=>Z,isNumber:()=>Da,jsonProperty:()=>Ce,optionalNumberProperty:()=>uc});var an={};G(an,{dateReviver:()=>lc,deepEqual:()=>Lt,delay:()=>ka,eventPathContainsMatchingElement:()=>pc,flatDeep:()=>Oe,last:()=>fc,minmax:()=>dc,parseDate:()=>Ia,waitFor:()=>Ta,waitUntil:()=>sc});var ka=e=>new Promise(t=>setTimeout(t,e));async function sc(e,t=10,o=2e4){await Ta(async()=>await e()||void 0,t,o)}async function Ta(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await ka(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Oe(e,t){return e.flatMap(o=>[o,...Oe(t(o),t)])}function lc(...e){return function(t,o){return e.includes(t)?Ia(o):o}}function Ia(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 cc(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(!Lt(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(!Lt(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(!Lt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Lt(e,t){try{return cc(e,t)}catch{return!1}}function pc(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 dc(e,t,o){return Math.min(Math.max(e,t),o)}function fc(e){return e[e.length-1]}var Z=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ce(e,t){let o=()=>JSON.parse(JSON.stringify(e));return b({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)=>!Lt(n,i),...t??{}})}function uc(e){return b({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Da(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Da(e){return!isNaN(parseFloat(e))}var Tn={};G(Tn,{designSystemVariables:()=>R});var kn={};G(kn,{FtCssVariableFactory:()=>r,badge:()=>gc,banner:()=>yc,breadcrumb:()=>bc,button:()=>w,chart:()=>Pc,checkbox:()=>Tc,chip:()=>Lc,collapsible:()=>$c,comboboxMultiSelect:()=>Nc,comboboxSingleSelect:()=>Ec,drawer:()=>Sc,floatingMenu:()=>wc,foundation:()=>p,link:()=>mc,modal:()=>vc,notice:()=>kc,notification:()=>Mc,pageHeader:()=>xc,popover:()=>Ac,radio:()=>Dc,semantic:()=>f,setVariable:()=>L,switch_:()=>_c,tabs:()=>Rc,textArea:()=>Cc,textInput:()=>Oc,toggle:()=>Ic,tooltip:()=>Bc,typographies:()=>So,typographyBody1Medium:()=>un,typographyBody1Regular:()=>fn,typographyBody1Semibold:()=>hn,typographyBody2Medium:()=>yn,typographyBody2MediumUnderline:()=>Ma,typographyBody2Regular:()=>mn,typographyBody2Semibold:()=>gn,typographyCaption1Bold:()=>Nn,typographyCaption1Medium:()=>wn,typographyCaption1Semibold:()=>En,typographyCaption2Bold:()=>$n,typographyCaption2Medium:()=>An,typographyCaption2Semibold:()=>Rn,typographyCaption3Bold:()=>Ln,typographyCaption3Medium:()=>_n,typographyCaption3Semibold:()=>Pn,typographyDisplay:()=>ln,typographyLabel1Bold:()=>vn,typographyLabel1Medium:()=>bn,typographyLabel1Semibold:()=>xn,typographyLabel2Bold:()=>Cn,typographyLabel2Medium:()=>Sn,typographyLabel2Semibold:()=>On,typographyTitle1:()=>cn,typographyTitle2:()=>pn,typographyTitle3:()=>dn,typographyVariants:()=>hc});var Ht=e=>typeof e=="string"?ye(e):e,r=class{static create(t,o,n,i){let a=l=>Ht(l??i),s=_`var(${Ht(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${Ht(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=_`var(${Ht(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=l=>_`var(${Ht(t)}, ${a(l)})`,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):Ht(a??t.lastResortDefaultValue()),i=_`var(${Ht(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(${Ht(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function L(e,t){return Ht(`${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)")},ln={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")},cn={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")},pn={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")},dn={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")},fn={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")},un={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")},hn={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")},mn={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")},yn={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")},Ma={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")},gn={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")},bn={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")},xn={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")},vn={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")},Sn={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")},On={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")},wn={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")},En={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")},Nn={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")},An={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")},Rn={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")},$n={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")},_n={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")},Pn={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")},Ln={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")},So={display:ln,"title-1":cn,"title-2":pn,"title-3":dn,"body-1-regular":fn,"body-1-medium":un,"body-1-semibold":hn,"body-2-regular":mn,"body-2-medium":yn,"body-2-medium-underline":Ma,"body-2-semibold":gn,"label-1-medium":bn,"label-1-semibold":xn,"label-1-bold":vn,"label-2-medium":Sn,"label-2-semibold":On,"label-2-bold":Cn,"caption-1-medium":wn,"caption-1-semibold":En,"caption-1-bold":Nn,"caption-2-medium":An,"caption-2-semibold":Rn,"caption-2-bold":$n,"caption-3-medium":_n,"caption-3-semibold":Pn,"caption-3-bold":Ln},hc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary: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"),smallHeight:r.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",p.spacing3),smallGap:r.extend("--ft-button-small-gap","",p.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",p.iconSize2),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","30px"),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 mc={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 yc={iconSize:r.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-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 gc={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 bc={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 xc={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 vc={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 Sc={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 Oc={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 Cc={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 wc={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 Ec={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 Nc={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 Ac={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),iconColor:r.extend("--ft-popover-icon-color","",f.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",p.iconSize2),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 Rc={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),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),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",p.opacity40),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 $c={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 _c={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 Pc={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 Lc={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",p.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",p.spacing2),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),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",p.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",p.spacing1),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),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",p.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-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 kc={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 Tc={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 Ic={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 Dc={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 Mc={iconSize:r.extend("--ft-notification-icon-size","",p.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",p.spacing4),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 Bc={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 R={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 Bn={};G(Bn,{FtNotificationEvent:()=>In,PostResizeEvent:()=>Mn,PreResizeEvent:()=>Dn});var In=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Dn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Mn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Yn={};G(Yn,{computeOffsetPosition:()=>qn});var Wa=["top","right","bottom","left"],Ba=["start","end"],zn=Wa.reduce((e,t)=>e.concat(t,t+"-"+Ba[0],t+"-"+Ba[1]),[]),Oo=Math.min,te=Math.max,Co=Math.round;var Ft=e=>({x:e,y:e}),Wc={left:"right",right:"left",bottom:"top",top:"bottom"},zc={start:"end",end:"start"};function Un(e,t,o){return te(e,Oo(t,o))}function sr(e,t){return typeof e=="function"?e(t):e}function We(e){return e.split("-")[0]}function ee(e){return e.split("-")[1]}function Hn(e){return e==="x"?"y":"x"}function Fn(e){return e==="y"?"height":"width"}function lr(e){return["top","bottom"].includes(We(e))?"y":"x"}function jn(e){return Hn(lr(e))}function za(e,t,o){o===void 0&&(o=!1);let n=ee(e),i=jn(e),a=Fn(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 Ua(e){return e.replace(/start|end/g,t=>zc[t])}function Wn(e){return e.replace(/left|right|bottom|top/g,t=>Wc[t])}function Uc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ha(e){return typeof e!="number"?Uc(e):{top:e,right:e,bottom:e,left:e}}function we(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Fa(e,t,o){let{reference:n,floating:i}=e,a=lr(t),s=jn(t),l=Fn(s),c=We(t),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,y;switch(c){case"top":y={x:h,y:n.y-i.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:u};break;case"left":y={x:n.x-i.width,y:u};break;default:y={x:n.x,y:n.y}}switch(ee(t)){case"start":y[s]-=m*(o&&d?-1:1);break;case"end":y[s]+=m*(o&&d?-1:1);break}return y}var ja=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=Fa(d,n,c),m=n,y={},g=0;for(let S=0;S<l.length;S++){let{name:E,fn:N}=l[S],{x:A,y:v,data:x,reset:O}=await N({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:y,rects:d,platform:s,elements:{reference:e,floating:t}});if(h=A??h,u=v??u,y={...y,[E]:{...y[E],...x}},O&&g<=50){g++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(d=O.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):O.rects),{x:h,y:u}=Fa(d,m,c)),S=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:y}};async function Vn(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:y=0}=sr(t,e),g=Ha(y),E=l[m?u==="floating"?"reference":"floating":u],N=we(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(l.floating)),boundary:d,rootBoundary:h,strategy:c})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),x=await(a.isElement==null?void 0:a.isElement(v))?await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1}:{x:1,y:1},O=we(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:v,strategy:c}):A);return{top:(N.top-O.top+g.top)/x.y,bottom:(O.bottom-N.bottom+g.bottom)/x.y,left:(N.left-O.left+g.left)/x.x,right:(O.right-N.right+g.right)/x.x}}function Hc(e,t,o){return(e?[...o.filter(i=>ee(i)===e),...o.filter(i=>ee(i)!==e)]:o.filter(i=>We(i)===i)).filter(i=>e?ee(i)===e||(t?Ua(i)!==i:!1):!0)}var Kn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=zn,autoAlignment:y=!0,...g}=sr(e,t),S=u!==void 0||m===zn?Hc(u||null,y,m):m,E=await Vn(t,g),N=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[N];if(A==null)return{};let v=za(A,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==A)return{reset:{placement:S[0]}};let x=[E[We(A)],E[v[0]],E[v[1]]],O=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:x}],T=S[N+1];if(T)return{data:{index:N+1,overflows:O},reset:{placement:T}};let F=O.map(P=>{let I=ee(P.placement);return[P.placement,I&&h?P.overflows.slice(0,2).reduce((B,it)=>B+it,0):P.overflows[0],P.overflows]}).sort((P,I)=>P[1]-I[1]),j=((i=F.filter(P=>P[2].slice(0,ee(P[0])?2:3).every(I=>I<=0))[0])==null?void 0:i[0])||F[0][0];return j!==l?{data:{index:N+1,overflows:O},reset:{placement:j}}:{}}}};var Gn=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:l={fn:E=>{let{x:N,y:A}=E;return{x:N,y:A}}},...c}=sr(e,t),d={x:o,y:n},h=await Vn(t,c),u=lr(We(i)),m=Hn(u),y=d[m],g=d[u];if(a){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",A=y+h[E],v=y-h[N];y=Un(A,y,v)}if(s){let E=u==="y"?"top":"left",N=u==="y"?"bottom":"right",A=g+h[E],v=g-h[N];g=Un(A,g,v)}let S=l.fn({...t,[m]:y,[u]:g});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function jt(e){return Ka(e)?(e.nodeName||"").toLowerCase():"#document"}function pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Vt(e){var t;return(t=(Ka(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ka(e){return e instanceof Node||e instanceof pt(e).Node}function kt(e){return e instanceof Element||e instanceof pt(e).Element}function At(e){return e instanceof HTMLElement||e instanceof pt(e).HTMLElement}function Va(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof pt(e).ShadowRoot}function ze(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Ga(e){return["table","td","th"].includes(jt(e))}function pr(e){let t=dr(),o=bt(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 Za(e){let t=Ee(e);for(;At(t)&&!wo(t);){if(pr(t))return t;t=Ee(t)}return null}function dr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wo(e){return["html","body","#document"].includes(jt(e))}function bt(e){return pt(e).getComputedStyle(e)}function Eo(e){return kt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ee(e){if(jt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Va(e)&&e.host||Vt(e);return Va(t)?t.host:t}function qa(e){let t=Ee(e);return wo(t)?e.ownerDocument?e.ownerDocument.body:e.body:At(t)&&ze(t)?t:qa(t)}function cr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=qa(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=pt(i);return a?t.concat(s,s.visualViewport||[],ze(i)?i:[],s.frameElement&&o?cr(s.frameElement):[]):t.concat(i,cr(i,[],o))}function Ja(e){let t=bt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=At(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=Co(o)!==a||Co(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function Qa(e){return kt(e)?e:e.contextElement}function Ue(e){let t=Qa(e);if(!At(t))return Ft(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Ja(t),s=(a?Co(o.width):o.width)/n,l=(a?Co(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Fc=Ft(0);function ts(e){let t=pt(e);return!dr()||!t.visualViewport?Fc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==pt(e)?!1:t}function No(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Qa(e),s=Ft(1);t&&(n?kt(n)&&(s=Ue(n)):s=Ue(e));let l=jc(a,o,n)?ts(a):Ft(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=pt(a),y=n&&kt(n)?pt(n):n,g=m.frameElement;for(;g&&n&&y!==m;){let S=Ue(g),E=g.getBoundingClientRect(),N=bt(g),A=E.left+(g.clientLeft+parseFloat(N.paddingLeft))*S.x,v=E.top+(g.clientTop+parseFloat(N.paddingTop))*S.y;c*=S.x,d*=S.y,h*=S.x,u*=S.y,c+=A,d+=v,g=pt(g).frameElement}}return we({width:h,height:u,x:c,y:d})}function Vc(e){let{rect:t,offsetParent:o,strategy:n}=e,i=At(o),a=Vt(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Ft(1),c=Ft(0);if((i||!i&&n!=="fixed")&&((jt(o)!=="body"||ze(a))&&(s=Eo(o)),At(o))){let d=No(o);l=Ue(o),c.x=d.x+o.clientLeft,c.y=d.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+c.x,y:t.y*l.y-s.scrollTop*l.y+c.y}}function Kc(e){return Array.from(e.getClientRects())}function es(e){return No(Vt(e)).left+Eo(e).scrollLeft}function Gc(e){let t=Vt(e),o=Eo(e),n=e.ownerDocument.body,i=te(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=te(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+es(e),l=-o.scrollTop;return bt(n).direction==="rtl"&&(s+=te(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Zc(e,t){let o=pt(e),n=Vt(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=dr();(!d||d&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function qc(e,t){let o=No(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=At(e)?Ue(e):Ft(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:l,x:c,y:d}}function Ya(e,t,o){let n;if(t==="viewport")n=Zc(e,o);else if(t==="document")n=Gc(Vt(e));else if(kt(t))n=qc(t,o);else{let i=ts(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return we(n)}function os(e,t){let o=Ee(e);return o===t||!kt(o)||wo(o)?!1:bt(o).position==="fixed"||os(o,t)}function Yc(e,t){let o=t.get(e);if(o)return o;let n=cr(e,[],!1).filter(l=>kt(l)&&jt(l)!=="body"),i=null,a=bt(e).position==="fixed",s=a?Ee(e):e;for(;kt(s)&&!wo(s);){let l=bt(s),c=pr(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ze(s)&&!c&&os(e,s))?n=n.filter(h=>h!==s):i=l,s=Ee(s)}return t.set(e,n),n}function Xc(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Yc(t,this._c):[].concat(o),n],l=s[0],c=s.reduce((d,h)=>{let u=Ya(t,h,i);return d.top=te(u.top,d.top),d.right=Oo(u.right,d.right),d.bottom=Oo(u.bottom,d.bottom),d.left=te(u.left,d.left),d},Ya(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Jc(e){return Ja(e)}function Qc(e,t,o){let n=At(t),i=Vt(t),a=o==="fixed",s=No(e,!0,a,t),l={scrollLeft:0,scrollTop:0},c=Ft(0);if(n||!n&&!a)if((jt(t)!=="body"||ze(i))&&(l=Eo(t)),n){let d=No(t,!0,a,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else i&&(c.x=es(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Xa(e,t){return!At(e)||bt(e).position==="fixed"?null:t?t(e):e.offsetParent}function rs(e,t){let o=pt(e);if(!At(e))return o;let n=Xa(e,t);for(;n&&Ga(n)&&bt(n).position==="static";)n=Xa(n,t);return n&&(jt(n)==="html"||jt(n)==="body"&&bt(n).position==="static"&&!pr(n))?o:n||Za(e)||o}var tp=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||rs,a=this.getDimensions;return{reference:Qc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function ep(e){return bt(e).direction==="rtl"}var fr={convertOffsetParentRelativeRectToViewportRelativeRect:Vc,getDocumentElement:Vt,getClippingRect:Xc,getOffsetParent:rs,getElementRects:tp,getClientRects:Kc,getDimensions:Jc,getScale:Ue,isElement:kt,isRTL:ep};var ns=(e,t,o)=>{let n=new Map,i={platform:fr,...o},a={...i.platform,_c:n};return ja(e,t,{...i,platform:a})};function is(e){return op(e)}function Zn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function op(e){for(let t=e;t;t=Zn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Zn(e);t;t=Zn(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 qn(e,t,o){return ns(e,t,{platform:{...fr,getOffsetParent:n=>fr.getOffsetParent(n,is)},middleware:[Gn({crossAxis:!0}),Kn({allowedPlacements:[o]})]})}var Qn={};G(Qn,{FtLitElement:()=>D});var Xn={};G(Xn,{ScopedRegistryLitElement:()=>Ao});var ur=window,rp=ur.ShadowRoot&&(ur.ShadyCSS===void 0||ur.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Cm=Symbol();var as=(e,t)=>{rp?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=ur.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var Ao=class extends Ut{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 as(n,t.elementStyles),n}};var Jn=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},cs,ss=Symbol("constructorPrototype"),ls=Symbol("constructorName"),ps=Symbol("exportpartsDebouncer"),D=class extends Ao{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[cs]=new rt(5),this[ls]=this.constructor.name,this[ss]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ls]&&Object.setPrototypeOf(this,this[ss])}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[ps].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,l;let c=m=>m!=null&&m.trim().length>0,d=t.filter(c).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 y=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],g=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...y,...g).filter(c).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(y=>`${m}:${y}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};cs=ps;Jn([b()],D.prototype,"exportpartsPrefix",void 0);Jn([Ce([])],D.prototype,"exportpartsPrefixes",void 0);Jn([b()],D.prototype,"customStylesheet",void 0);var ds={};var oi={};G(oi,{highlightHtml:()=>ap,highlightHtmlColorCssVariable:()=>fs,highlightHtmlStyles:()=>ip});var Ne=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,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{e.matches(d,this.exclude)?c():this.onIframeReady(d,h=>{o(d)&&(l++,n(h)),c()},c)})}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),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)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((l,c)=>{l.val===n&&(a=c,s=l.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),l=[],c=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(d,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,y=>c.push(y),i)}),c.push(d);c.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var Ro=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 Ne(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],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+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(l=>{s+=`|${this.escapeStr(l)}`}),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:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(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,l=o-s,c=parseInt(t.start,10)-l;return c=c>s?s:c,i=c+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:c,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 Ne.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),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let c=t.nodes[l+1];if(typeof c>"u"||c.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((y,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].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(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=t.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;c=this.wrapRangeInTextNode(c,h,h+d[s].length),i(c.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let c;for(;(c=t.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let u=1;u<s;u++)d+=c[u].length;let h=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,h,u=>n(c[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((l,c)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>o(m,l,a.value.substring(d,h),c),m=>{n(m,l)})}),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,l)=>this.opt.filter(l,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),l=this.opt.caseSensitive?"":"i",c=d=>{let h=new RegExp(this.createRegExp(d),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,y)=>this.opt.filter(y,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(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,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(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=Ne.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ti(e){let t=new Ro(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 np=ti,fs=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ip=_`
7
7
  .highlight-html-match {
8
8
  background: ${fs};
9
9
  }
10
- `,ei={className:"highlight-html-match"};function ap(e,t){var o;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new np(e);i.unmark(ei),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...ei,separateWordSearch:!0}),((o=t.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...ei,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var ri={};G(ri,{noTextSelect:()=>$o,safariEllipsisFix:()=>Po,wordWrap:()=>sp});var $o=P`
10
+ `,ei={className:"highlight-html-match"};function ap(e,t){var o;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new np(e);i.unmark(ei),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...ei,separateWordSearch:!0}),((o=t.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...ei,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var ri={};G(ri,{noTextSelect:()=>$o,safariEllipsisFix:()=>_o,wordWrap:()=>sp});var $o=_`
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
- `,sp=P`
19
+ `,sp=_`
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
- `,Po=P`
31
+ `,_o=_`
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 us={};var ii={};G(ii,{ParametrizedLabelResolver:()=>ni});var ni=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,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,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 Li={};G(Li,{FtCommandQueue:()=>_o,FtLitElementRedux:()=>He,FtReduxStore:()=>_i,clearAllStores:()=>Gp,isFtReduxStore:()=>Ae,redux:()=>cp,reduxEventListener:()=>pp,reduxReactive:()=>lp});var lp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},cp=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:(l,c)=>!Lt(l,c),attribute:!1,...t};b(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:l=>l[n],store:t.store})}},pp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var _o=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 Ae(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var hs,ms,ys,hr=Symbol("internalReduxEventsUnsubscribers"),oe=Symbol("internalStoresUnsubscribers"),Re=Symbol("internalStores"),He=class extends D{constructor(){super(...arguments),this[hs]=new Map,this[ms]=new Map,this[ys]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Re].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Re].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Re].get(t)}addStore(t,o){var n;o=(n=o??(Ae(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[Re].delete(o)}setupStore(t,o){this[Re].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Re].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[oe].has(t.store):this[oe].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[oe].set(t,o.subscribe(()=>this.updateFromStores())),Ae(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=l=>this[a](l);o.eventBus.addEventListener(i.eventName,s),this[hr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[oe].forEach((t,o)=>this.unsubscribeFromStore(o)),this[hr].forEach(t=>t()),this[hr]=[]}unsubscribeFromStore(t){this[oe].has(t)&&this[oe].get(t)(),this[oe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};hs=oe,ms=Re,ys=hr;He.reduxProperties=new Map;He.reduxReactiveProperties=new Set;He.reduxEventListeners=new Map;function Ot(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 Kt(e){return!!e&&!!e[q]}function Rt(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)===bp}(e)||Array.isArray(e)||!!e[Cs]||!!(!((t=e.constructor)===null||t===void 0)&&t[Cs])||hi(e)||mi(e))}function $e(e,t,o){o===void 0&&(o=!1),Ve(e)===0?(o?Object.keys:je)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Ve(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:hi(e)?2:mi(e)?3:0}function Fe(e,t){return Ve(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function dp(e,t){return Ve(e)===2?e.get(t):e[t]}function ws(e,t,o){var n=Ve(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Es(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function hi(e){return yp&&e instanceof Map}function mi(e){return gp&&e instanceof Set}function re(e){return e.o||e.t}function yi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Rs(e);delete t[q];for(var o=je(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 gi(e,t){return t===void 0&&(t=!1),bi(e)||Kt(e)||!Rt(e)||(Ve(e)>1&&(e.set=e.add=e.clear=e.delete=fp),Object.freeze(e),t&&$e(e,function(o,n){return gi(n,!0)},!0)),e}function fp(){Ot(2)}function bi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Tt(e){var t=ui[e];return t||Ot(18,e),t}function up(e,t){ui[e]||(ui[e]=t)}function pi(){return ko}function ai(e,t){t&&(Tt("Patches"),e.u=[],e.s=[],e.v=t)}function mr(e){di(e),e.p.forEach(hp),e.p=null}function di(e){e===ko&&(ko=e.l)}function gs(e){return ko={p:[],l:ko,h:e,m:!0,_:0}}function hp(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function si(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Tt("ES5").S(t,e,n),n?(o[q].P&&(mr(t),Ot(4)),Rt(e)&&(e=yr(t,e),t.l||gr(t,e)),t.u&&Tt("Patches").M(o[q].t,e,t.u,t.s)):e=yr(t,o,[]),mr(t),t.u&&t.v(t.u,t.s),e!==As?e:void 0}function yr(e,t,o){if(bi(t))return t;var n=t[q];if(!n)return $e(t,function(l,c){return bs(e,n,t,l,c,o)},!0),t;if(n.A!==e)return t;if(!n.P)return gr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=yi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),$e(a,function(l,c){return bs(e,n,i,l,c,o,s)}),gr(e,i,!1),o&&e.u&&Tt("Patches").N(n,o,e.u,e.s)}return n.o}function bs(e,t,o,n,i,a,s){if(Kt(i)){var l=yr(e,i,a&&t&&t.i!==3&&!Fe(t.R,n)?a.concat(n):void 0);if(ws(o,n,l),!Kt(l))return;e.m=!1}else s&&o.add(i);if(Rt(i)&&!bi(i)){if(!e.h.D&&e._<1)return;yr(e,i),t&&t.A.l||gr(e,i)}}function gr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&gi(t,o)}function li(e,t){var o=e[q];return(o?re(o):e)[t]}function xs(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 ne(e){e.P||(e.P=!0,e.l&&ne(e.l))}function ci(e){e.o||(e.o=yi(e.t))}function fi(e,t,o){var n=hi(t)?Tt("MapSet").F(t,o):mi(t)?Tt("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:pi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=To;s&&(c=[l],d=Lo);var h=Proxy.revocable(c,d),u=h.revoke,m=h.proxy;return l.k=m,l.j=u,m}(t,o):Tt("ES5").J(t,o);return(o?o.A:pi()).p.push(n),n}function mp(e){return Kt(e)||Ot(22,e),function t(o){if(!Rt(o))return o;var n,i=o[q],a=Ve(o);if(i){if(!i.P&&(i.i<4||!Tt("ES5").K(i)))return i.t;i.I=!0,n=vs(o,a),i.I=!1}else n=vs(o,a);return $e(n,function(s,l){i&&dp(i.t,s)===l||ws(n,s,t(l))}),a===3?new Set(n):n}(e)}function vs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return yi(e)}function Ns(){function e(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[q];return To.get(d,s)},set:function(d){var h=this[q];To.set(h,s,d)}},c}function t(s){for(var l=s.length-1;l>=0;l--){var c=s[l][q];if(!c.P)switch(c.i){case 5:n(c)&&ne(c);break;case 4:o(c)&&ne(c)}}}function o(s){for(var l=s.t,c=s.k,d=je(c),h=d.length-1;h>=0;h--){var u=d[h];if(u!==q){var m=l[u];if(m===void 0&&!Fe(l,u))return!0;var y=c[u],g=y&&y[q];if(g?g.t!==m:!Es(y,m))return!0}}var S=!!l[q];return d.length!==je(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Ot(3,JSON.stringify(re(s)))}var a={};up("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(u,m){if(u){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,e(g,!0));return y}var S=Rs(m);delete S[q];for(var E=je(S),N=0;N<E.length;N++){var A=E[N];S[A]=e(A,u||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(c,s),h={i:c?5:4,A:l?l.A:pi(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,q,{value:h,writable:!0}),d},S:function(s,l,c){c?Kt(l)&&l[q].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[q];if(u){var m=u.t,y=u.k,g=u.R,S=u.i;if(S===4)$e(y,function(x){x!==q&&(m[x]!==void 0||Fe(m,x)?g[x]||d(y[x]):(g[x]=!0,ne(u)))}),$e(m,function(x){y[x]!==void 0||Fe(y,x)||(g[x]=!1,ne(u))});else if(S===5){if(n(u)&&(ne(u),g.length=!0),y.length<m.length)for(var E=y.length;E<m.length;E++)g[E]=!1;else for(var N=m.length;N<y.length;N++)g[N]=!0;for(var A=Math.min(y.length,m.length),v=0;v<A;v++)y.hasOwnProperty(v)||(g[v]=!0),g[v]===void 0&&d(y[v])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Ss,ko,xi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",yp=typeof Map<"u",gp=typeof Set<"u",Os=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",As=xi?Symbol.for("immer-nothing"):((Ss={})["immer-nothing"]=!0,Ss),Cs=xi?Symbol.for("immer-draftable"):"__$immer_draftable",q=xi?Symbol.for("immer-state"):"__$immer_state";var bp=""+Object.prototype.constructor,je=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Rs=Object.getOwnPropertyDescriptors||function(e){var t={};return je(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ui={},To={get:function(e,t){if(t===q)return e;var o=re(e);if(!Fe(o,t))return function(i,a,s){var l,c=xs(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Rt(n)?n:n===li(e.t,t)?(ci(e),e.o[t]=fi(e.A.h,n,e)):n},has:function(e,t){return t in re(e)},ownKeys:function(e){return Reflect.ownKeys(re(e))},set:function(e,t,o){var n=xs(re(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=li(re(e),t),a=i?.[q];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Es(o,i)&&(o!==void 0||Fe(e.t,t)))return!0;ci(e),ne(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 li(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,ci(e),ne(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=re(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Ot(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ot(12)}},Lo={};$e(To,function(e,t){Lo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Lo.deleteProperty=function(e,t){return Lo.set.call(this,e,t,void 0)},Lo.set=function(e,t,o){return To.set.call(this,e[0],t,o,e[0])};var xp=function(){function e(o){var n=this;this.O=Os,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(S){var E=this;S===void 0&&(S=l);for(var N=arguments.length,A=Array(N>1?N-1:0),v=1;v<N;v++)A[v-1]=arguments[v];return c.produce(S,function(x){var O;return(O=a).call.apply(O,[E,x].concat(A))})}}var d;if(typeof a!="function"&&Ot(6),s!==void 0&&typeof s!="function"&&Ot(7),Rt(i)){var h=gs(n),u=fi(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?mr(h):di(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(S){return ai(h,s),si(S,h)},function(S){throw mr(h),S}):(ai(h,s),si(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===As&&(d=void 0),n.D&&gi(d,!0),s){var y=[],g=[];Tt("Patches").M(i,d,y,g),s(y,g)}return d}Ot(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(y){return i.apply(void 0,[y].concat(u))})};var s,l,c=n.produce(i,a,function(d,h){s=d,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},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){Rt(o)||Ot(8),Kt(o)&&(o=mp(o));var n=gs(this),i=fi(this,o,void 0);return i[q].C=!0,di(n),i},t.finishDraft=function(o,n){var i=o&&o[q],a=i.A;return ai(a,n),si(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Os&&Ot(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=Tt("Patches").$;return Kt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),xt=new xp,vp=xt.produce,Zm=xt.produceWithPatches.bind(xt),qm=xt.setAutoFreeze.bind(xt),Ym=xt.setUseProxies.bind(xt),Xm=xt.applyPatches.bind(xt),Jm=xt.createDraft.bind(xt),Qm=xt.finishDraft.bind(xt),br=vp;function ie(e){"@babel/helpers - typeof";return ie=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},ie(e)}function vi(e,t){if(ie(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ie(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Si(e){var t=vi(e,"string");return ie(t)==="symbol"?t:String(t)}function Oi(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 $s(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 xr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?$s(Object(o),!0).forEach(function(n){Oi(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$s(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function at(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 Ps=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ci=function(){return Math.random().toString(36).substring(7).split("").join(".")},vr={INIT:"@@redux/INIT"+Ci(),REPLACE:"@@redux/REPLACE"+Ci(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ci()}};function Sp(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 wi(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(at(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(at(1));return o(wi)(e,t)}if(typeof e!="function")throw new Error(at(2));var i=e,a=t,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(at(3));return a}function u(S){if(typeof S!="function")throw new Error(at(4));if(c)throw new Error(at(5));var E=!0;return d(),l.push(S),function(){if(E){if(c)throw new Error(at(6));E=!1,d();var A=l.indexOf(S);l.splice(A,1),s=null}}}function m(S){if(!Sp(S))throw new Error(at(7));if(typeof S.type>"u")throw new Error(at(8));if(c)throw new Error(at(9));try{c=!0,a=i(a,S)}finally{c=!1}for(var E=s=l,N=0;N<E.length;N++){var A=E[N];A()}return S}function y(S){if(typeof S!="function")throw new Error(at(10));i=S,m({type:vr.REPLACE})}function g(){var S,E=u;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(at(11));function v(){A.next&&A.next(h())}v();var x=E(v);return{unsubscribe:x}}},S[Ps]=function(){return this},S}return m({type:vr.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:y},n[Ps]=g,n}function Op(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:vr.INIT});if(typeof n>"u")throw new Error(at(12));if(typeof o(void 0,{type:vr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(at(13))})}function _s(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,l;try{Op(o)}catch(c){l=c}return function(d,h){if(d===void 0&&(d={}),l)throw l;if(0)var u;for(var m=!1,y={},g=0;g<a.length;g++){var S=a[g],E=o[S],N=d[S],A=E(N,h);if(typeof A>"u"){var v=h&&h.type;throw new Error(at(14))}y[S]=A,m=m||A!==N}return m=m||a.length!==Object.keys(d).length,m?y: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 Ls(){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(at(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(c){return c(s)});return a=Ke.apply(void 0,l)(i.dispatch),xr(xr({},i),{},{dispatch:a})}}}function ks(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,e):s(l)}}};return t}var Ts=ks();Ts.withExtraArgument=ks;var Ei=Ts;var zs=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)}}(),Cp=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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return c([d,h])}}function c(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}}},Ge=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},wp=Object.defineProperty,Ep=Object.defineProperties,Np=Object.getOwnPropertyDescriptors,Is=Object.getOwnPropertySymbols,Ap=Object.prototype.hasOwnProperty,Rp=Object.prototype.propertyIsEnumerable,Ds=function(e,t,o){return t in e?wp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},ae=function(e,t){for(var o in t||(t={}))Ap.call(t,o)&&Ds(e,o,t[o]);if(Is)for(var n=0,i=Is(t);n<i.length;n++){var o=i[n];Rp.call(t,o)&&Ds(e,o,t[o])}return e},Ni=function(e,t){return Ep(e,Np(t))},$p=function(e,t,o){return new Promise(function(n,i){var a=function(c){try{l(o.next(c))}catch(d){i(d)}},s=function(c){try{l(o.throw(c))}catch(d){i(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((o=o.apply(e,t)).next())})};var Pp=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)},gy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function _p(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 Lp=function(e){zs(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,Ge([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ge([void 0],o.concat(this))))},t}(Array),kp=function(e){zs(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,Ge([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ge([void 0],o.concat(this))))},t}(Array);function $i(e){return Rt(e)?br(e,function(){}):e}function Tp(e){return typeof e=="boolean"}function Ip(){return function(t){return Dp(t)}}function Dp(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,l=new Lp;if(o&&(Tp(o)?l.push(Ei):l.push(Ei.withExtraArgument(o.extraArgument))),0){if(i)var c;if(s)var d}return l}var Ai=!0;function Ws(e){var t=Ip(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,l=o.devTools,c=l===void 0?!0:l,d=o.preloadedState,h=d===void 0?void 0:d,u=o.enhancers,m=u===void 0?void 0:u,y;if(typeof i=="function")y=i;else if(_p(i))y=_s(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 g=s;if(typeof g=="function"&&(g=g(t),!Ai&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ai&&g.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Ls.apply(void 0,g),E=Ke;c&&(E=Pp(ae({trace:!Ai},typeof c=="object"&&c)));var N=new kp(S),A=N;Array.isArray(m)?A=Ge([S],m):typeof m=="function"&&(A=m(N));var v=E.apply(void 0,A);return wi(y,h,v)}function se(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 ae(ae({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 Us(e){var t={},o=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=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 Mp(e){return typeof e=="function"}function Bp(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Us(t):[t,o,n],a=i[0],s=i[1],l=i[2],c;if(Mp(e))c=function(){return $i(e())};else{var d=$i(e);c=function(){return d}}function h(u,m){u===void 0&&(u=c());var y=Ge([a[m.type]],s.filter(function(g){var S=g.matcher;return S(m)}).map(function(g){var S=g.reducer;return S}));return y.filter(function(g){return!!g}).length===0&&(y=[l]),y.reduce(function(g,S){if(S)if(Kt(g)){var E=g,N=S(E,m);return N===void 0?g:N}else{if(Rt(g))return br(g,function(A){return S(A,m)});var N=S(g,m);if(N===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return g},u)}return h.getInitialState=c,h}function zp(e,t){return e+"/"+t}function Hs(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:$i(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var u=n[h],m=zp(t,h),y,g;"reducer"in u?(y=u.reducer,g=u.prepare):y=u,a[h]=y,s[m]=y,l[h]=g?se(m,g):se(m)});function c(){var h=typeof e.extraReducers=="function"?Us(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,y=h[1],g=y===void 0?[]:y,S=h[2],E=S===void 0?void 0:S,N=ae(ae({},m),s);return Bp(o,function(A){for(var v in N)A.addCase(v,N[v]);for(var x=0,O=g;x<O.length;x++){var T=O[x];A.addMatcher(T.matcher,T.reducer)}E&&A.addDefaultCase(E)})}var d;return{name:t,reducer:function(h,u){return d||(d=c()),d(h,u)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var Wp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Up=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Wp[Math.random()*64|0];return t},Hp=["name","message","stack","code"],Ri=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Ms=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Fp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Hp;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Sy=function(){function e(t,o,n){var i=se(t+"/fulfilled",function(h,u,m,y){return{payload:h,meta:Ni(ae({},y||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=se(t+"/pending",function(h,u,m){return{payload:void 0,meta:Ni(ae({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=se(t+"/rejected",function(h,u,m,y,g){return{payload:y,error:(n&&n.serializeError||Fp)(h||"Rejected"),meta:Ni(ae({},g||{}),{arg:m,requestId:u,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,y){var g=n?.idGenerator?n.idGenerator(h):Up(),S=new c,E,N=!1;function A(x){E=x,S.abort()}var v=function(){return $p(this,null,function(){var x,O,T,F,ct,j,_;return Cp(this,function(I){switch(I.label){case 0:return I.trys.push([0,4,,5]),F=(x=n?.condition)==null?void 0:x.call(n,h,{getState:m,extra:y}),Vp(F)?[4,F]:[3,2];case 1:F=I.sent(),I.label=2;case 2:if(F===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,ct=new Promise(function(B,it){return S.signal.addEventListener("abort",function(){return it({name:"AbortError",message:E||"Aborted"})})}),u(a(g,h,(O=n?.getPendingMeta)==null?void 0:O.call(n,{requestId:g,arg:h},{getState:m,extra:y}))),[4,Promise.race([ct,Promise.resolve(o(h,{dispatch:u,getState:m,extra:y,requestId:g,signal:S.signal,abort:A,rejectWithValue:function(B,it){return new Ri(B,it)},fulfillWithValue:function(B,it){return new Ms(B,it)}})).then(function(B){if(B instanceof Ri)throw B;return B instanceof Ms?i(B.payload,g,h,B.meta):i(B,g,h)})])];case 3:return T=I.sent(),[3,5];case 4:return j=I.sent(),T=j instanceof Ri?s(null,g,h,j.payload,j.meta):s(j,g,h),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&s.match(T)&&T.meta.condition,_||u(T),[2,T]}})})}();return Object.assign(v,{abort:A,requestId:g,arg:h,unwrap:function(){return v.then(jp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function jp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Vp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Fs="listener",js="completed",Vs="cancelled",Oy="task-"+Vs,Cy="task-"+js,wy=Fs+"-"+Vs,Ey=Fs+"-"+js;var Pi="listenerMiddleware";var Ny=se(Pi+"/add"),Ay=se(Pi+"/removeAll"),Ry=se(Pi+"/remove");var Bs,$y=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Bs||(Bs=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Kp=function(e){return function(t){setTimeout(t,e)}},Py=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Kp(10);Ns();window.ftReduxStores||(window.ftReduxStores={});var _i=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(Ae(a))return a;if(i==null)return;let s=Hs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Ws({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new _o,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}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 Gp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Ae(t)&&t.clear()}var ki={};G(ki,{serializeRequest:()=>qp});function Zp(e){return`"${e}"`}function qp(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 c=t.periodFilter.period,d=c?`_${c.from}_${c.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 c=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",c)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Ii={};G(Ii,{toFtFormComponent:()=>Ti});var Sr=Symbol("elementInternals");function Ti(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[Sr].form}constructor(...i){super(i),this[Sr]=this.attachInternals(),this[Sr].role=t}setFormValue(i){this[Sr].setFormValue(i)}}return o}var Di,Mi,Bi,zi,Io=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Bi=(Mi=(Di=window.safari)===null||Di===void 0?void 0:Di.pushNotification)===null||Mi===void 0?void 0:Mi.toString())!==null&&Bi!==void 0?Bi:"")==="[object SafariRemoteNotification]",Yp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(zi=window.ftGlobals)!==null&&zi!==void 0?zi:{lit:Ur,litDecorators:Vr,litRepeat:Gr,litClassMap:Zr,litStyleMap:qr,litUnsafeHTML:Xr,wcUtils:{...en,...Qr,...rn,...nn,...sn,...Tn,...Bn,...Yn,...kn,...Qn,...ds,...an,...oi,...ri,...us,...ii,...Li,...Xn,...ki,...Ii,isSafari:Io,isTouchScreen:Yp}};var Gs=Symbol.for(""),Xp=e=>{if(e?.r===Gs)return e?._$litStatic$},Wi=e=>({_$litStatic$:e,r:Gs});var Ks=new Map,Zs=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],c,d=0,h=!1;for(;d<n;){for(c=t[d];d<n&&(a=o[d],(i=Xp(a))!==void 0);)c+=i+t[++d],h=!0;d!==n&&l.push(a),s.push(c),d++}if(d===n&&s.push(t[n]),h){let u=s.join("$$lit$$");(t=Ks.get(u))===void 0&&(s.raw=s,Ks.set(u,t=s)),o=l}return e(t,...o)},Ui=Zs(sa),dg=Zs(la);var Pe;(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"})(Pe||(Pe={}));function qs(e){let t=So[e];return P`
42
+ `;var us={};var ii={};G(ii,{ParametrizedLabelResolver:()=>ni});var ni=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,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,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 Li={};G(Li,{FtCommandQueue:()=>Po,FtLitElementRedux:()=>He,FtReduxStore:()=>Pi,clearAllStores:()=>Gp,isFtReduxStore:()=>Ae,redux:()=>cp,reduxEventListener:()=>pp,reduxReactive:()=>lp});var lp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},cp=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:(l,c)=>!Lt(l,c),attribute:!1,...t};b(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:l=>l[n],store:t.store})}},pp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var Po=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 Ae(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var hs,ms,ys,hr=Symbol("internalReduxEventsUnsubscribers"),oe=Symbol("internalStoresUnsubscribers"),Re=Symbol("internalStores"),He=class extends D{constructor(){super(...arguments),this[hs]=new Map,this[ms]=new Map,this[ys]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Re].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Re].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Re].get(t)}addStore(t,o){var n;o=(n=o??(Ae(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[Re].delete(o)}setupStore(t,o){this[Re].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Re].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[oe].has(t.store):this[oe].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[oe].set(t,o.subscribe(()=>this.updateFromStores())),Ae(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=l=>this[a](l);o.eventBus.addEventListener(i.eventName,s),this[hr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[oe].forEach((t,o)=>this.unsubscribeFromStore(o)),this[hr].forEach(t=>t()),this[hr]=[]}unsubscribeFromStore(t){this[oe].has(t)&&this[oe].get(t)(),this[oe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};hs=oe,ms=Re,ys=hr;He.reduxProperties=new Map;He.reduxReactiveProperties=new Set;He.reduxEventListeners=new Map;function Ot(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 Kt(e){return!!e&&!!e[q]}function Rt(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)===bp}(e)||Array.isArray(e)||!!e[Cs]||!!(!((t=e.constructor)===null||t===void 0)&&t[Cs])||hi(e)||mi(e))}function $e(e,t,o){o===void 0&&(o=!1),Ve(e)===0?(o?Object.keys:je)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Ve(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:hi(e)?2:mi(e)?3:0}function Fe(e,t){return Ve(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function dp(e,t){return Ve(e)===2?e.get(t):e[t]}function ws(e,t,o){var n=Ve(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Es(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function hi(e){return yp&&e instanceof Map}function mi(e){return gp&&e instanceof Set}function re(e){return e.o||e.t}function yi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Rs(e);delete t[q];for(var o=je(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 gi(e,t){return t===void 0&&(t=!1),bi(e)||Kt(e)||!Rt(e)||(Ve(e)>1&&(e.set=e.add=e.clear=e.delete=fp),Object.freeze(e),t&&$e(e,function(o,n){return gi(n,!0)},!0)),e}function fp(){Ot(2)}function bi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Tt(e){var t=ui[e];return t||Ot(18,e),t}function up(e,t){ui[e]||(ui[e]=t)}function pi(){return ko}function ai(e,t){t&&(Tt("Patches"),e.u=[],e.s=[],e.v=t)}function mr(e){di(e),e.p.forEach(hp),e.p=null}function di(e){e===ko&&(ko=e.l)}function gs(e){return ko={p:[],l:ko,h:e,m:!0,_:0}}function hp(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function si(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Tt("ES5").S(t,e,n),n?(o[q].P&&(mr(t),Ot(4)),Rt(e)&&(e=yr(t,e),t.l||gr(t,e)),t.u&&Tt("Patches").M(o[q].t,e,t.u,t.s)):e=yr(t,o,[]),mr(t),t.u&&t.v(t.u,t.s),e!==As?e:void 0}function yr(e,t,o){if(bi(t))return t;var n=t[q];if(!n)return $e(t,function(l,c){return bs(e,n,t,l,c,o)},!0),t;if(n.A!==e)return t;if(!n.P)return gr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=yi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),$e(a,function(l,c){return bs(e,n,i,l,c,o,s)}),gr(e,i,!1),o&&e.u&&Tt("Patches").N(n,o,e.u,e.s)}return n.o}function bs(e,t,o,n,i,a,s){if(Kt(i)){var l=yr(e,i,a&&t&&t.i!==3&&!Fe(t.R,n)?a.concat(n):void 0);if(ws(o,n,l),!Kt(l))return;e.m=!1}else s&&o.add(i);if(Rt(i)&&!bi(i)){if(!e.h.D&&e._<1)return;yr(e,i),t&&t.A.l||gr(e,i)}}function gr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&gi(t,o)}function li(e,t){var o=e[q];return(o?re(o):e)[t]}function xs(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 ne(e){e.P||(e.P=!0,e.l&&ne(e.l))}function ci(e){e.o||(e.o=yi(e.t))}function fi(e,t,o){var n=hi(t)?Tt("MapSet").F(t,o):mi(t)?Tt("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:pi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=To;s&&(c=[l],d=Lo);var h=Proxy.revocable(c,d),u=h.revoke,m=h.proxy;return l.k=m,l.j=u,m}(t,o):Tt("ES5").J(t,o);return(o?o.A:pi()).p.push(n),n}function mp(e){return Kt(e)||Ot(22,e),function t(o){if(!Rt(o))return o;var n,i=o[q],a=Ve(o);if(i){if(!i.P&&(i.i<4||!Tt("ES5").K(i)))return i.t;i.I=!0,n=vs(o,a),i.I=!1}else n=vs(o,a);return $e(n,function(s,l){i&&dp(i.t,s)===l||ws(n,s,t(l))}),a===3?new Set(n):n}(e)}function vs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return yi(e)}function Ns(){function e(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[q];return To.get(d,s)},set:function(d){var h=this[q];To.set(h,s,d)}},c}function t(s){for(var l=s.length-1;l>=0;l--){var c=s[l][q];if(!c.P)switch(c.i){case 5:n(c)&&ne(c);break;case 4:o(c)&&ne(c)}}}function o(s){for(var l=s.t,c=s.k,d=je(c),h=d.length-1;h>=0;h--){var u=d[h];if(u!==q){var m=l[u];if(m===void 0&&!Fe(l,u))return!0;var y=c[u],g=y&&y[q];if(g?g.t!==m:!Es(y,m))return!0}}var S=!!l[q];return d.length!==je(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Ot(3,JSON.stringify(re(s)))}var a={};up("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(u,m){if(u){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,e(g,!0));return y}var S=Rs(m);delete S[q];for(var E=je(S),N=0;N<E.length;N++){var A=E[N];S[A]=e(A,u||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(c,s),h={i:c?5:4,A:l?l.A:pi(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,q,{value:h,writable:!0}),d},S:function(s,l,c){c?Kt(l)&&l[q].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[q];if(u){var m=u.t,y=u.k,g=u.R,S=u.i;if(S===4)$e(y,function(x){x!==q&&(m[x]!==void 0||Fe(m,x)?g[x]||d(y[x]):(g[x]=!0,ne(u)))}),$e(m,function(x){y[x]!==void 0||Fe(y,x)||(g[x]=!1,ne(u))});else if(S===5){if(n(u)&&(ne(u),g.length=!0),y.length<m.length)for(var E=y.length;E<m.length;E++)g[E]=!1;else for(var N=m.length;N<y.length;N++)g[N]=!0;for(var A=Math.min(y.length,m.length),v=0;v<A;v++)y.hasOwnProperty(v)||(g[v]=!0),g[v]===void 0&&d(y[v])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Ss,ko,xi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",yp=typeof Map<"u",gp=typeof Set<"u",Os=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",As=xi?Symbol.for("immer-nothing"):((Ss={})["immer-nothing"]=!0,Ss),Cs=xi?Symbol.for("immer-draftable"):"__$immer_draftable",q=xi?Symbol.for("immer-state"):"__$immer_state";var bp=""+Object.prototype.constructor,je=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Rs=Object.getOwnPropertyDescriptors||function(e){var t={};return je(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ui={},To={get:function(e,t){if(t===q)return e;var o=re(e);if(!Fe(o,t))return function(i,a,s){var l,c=xs(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Rt(n)?n:n===li(e.t,t)?(ci(e),e.o[t]=fi(e.A.h,n,e)):n},has:function(e,t){return t in re(e)},ownKeys:function(e){return Reflect.ownKeys(re(e))},set:function(e,t,o){var n=xs(re(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=li(re(e),t),a=i?.[q];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Es(o,i)&&(o!==void 0||Fe(e.t,t)))return!0;ci(e),ne(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 li(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,ci(e),ne(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=re(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Ot(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ot(12)}},Lo={};$e(To,function(e,t){Lo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Lo.deleteProperty=function(e,t){return Lo.set.call(this,e,t,void 0)},Lo.set=function(e,t,o){return To.set.call(this,e[0],t,o,e[0])};var xp=function(){function e(o){var n=this;this.O=Os,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(S){var E=this;S===void 0&&(S=l);for(var N=arguments.length,A=Array(N>1?N-1:0),v=1;v<N;v++)A[v-1]=arguments[v];return c.produce(S,function(x){var O;return(O=a).call.apply(O,[E,x].concat(A))})}}var d;if(typeof a!="function"&&Ot(6),s!==void 0&&typeof s!="function"&&Ot(7),Rt(i)){var h=gs(n),u=fi(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?mr(h):di(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(S){return ai(h,s),si(S,h)},function(S){throw mr(h),S}):(ai(h,s),si(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===As&&(d=void 0),n.D&&gi(d,!0),s){var y=[],g=[];Tt("Patches").M(i,d,y,g),s(y,g)}return d}Ot(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(y){return i.apply(void 0,[y].concat(u))})};var s,l,c=n.produce(i,a,function(d,h){s=d,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},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){Rt(o)||Ot(8),Kt(o)&&(o=mp(o));var n=gs(this),i=fi(this,o,void 0);return i[q].C=!0,di(n),i},t.finishDraft=function(o,n){var i=o&&o[q],a=i.A;return ai(a,n),si(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Os&&Ot(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=Tt("Patches").$;return Kt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),xt=new xp,vp=xt.produce,Zm=xt.produceWithPatches.bind(xt),qm=xt.setAutoFreeze.bind(xt),Ym=xt.setUseProxies.bind(xt),Xm=xt.applyPatches.bind(xt),Jm=xt.createDraft.bind(xt),Qm=xt.finishDraft.bind(xt),br=vp;function ie(e){"@babel/helpers - typeof";return ie=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},ie(e)}function vi(e,t){if(ie(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ie(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Si(e){var t=vi(e,"string");return ie(t)==="symbol"?t:String(t)}function Oi(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 $s(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 xr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?$s(Object(o),!0).forEach(function(n){Oi(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$s(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function at(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 _s=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ci=function(){return Math.random().toString(36).substring(7).split("").join(".")},vr={INIT:"@@redux/INIT"+Ci(),REPLACE:"@@redux/REPLACE"+Ci(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ci()}};function Sp(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 wi(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(at(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(at(1));return o(wi)(e,t)}if(typeof e!="function")throw new Error(at(2));var i=e,a=t,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(at(3));return a}function u(S){if(typeof S!="function")throw new Error(at(4));if(c)throw new Error(at(5));var E=!0;return d(),l.push(S),function(){if(E){if(c)throw new Error(at(6));E=!1,d();var A=l.indexOf(S);l.splice(A,1),s=null}}}function m(S){if(!Sp(S))throw new Error(at(7));if(typeof S.type>"u")throw new Error(at(8));if(c)throw new Error(at(9));try{c=!0,a=i(a,S)}finally{c=!1}for(var E=s=l,N=0;N<E.length;N++){var A=E[N];A()}return S}function y(S){if(typeof S!="function")throw new Error(at(10));i=S,m({type:vr.REPLACE})}function g(){var S,E=u;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(at(11));function v(){A.next&&A.next(h())}v();var x=E(v);return{unsubscribe:x}}},S[_s]=function(){return this},S}return m({type:vr.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:y},n[_s]=g,n}function Op(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:vr.INIT});if(typeof n>"u")throw new Error(at(12));if(typeof o(void 0,{type:vr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(at(13))})}function Ps(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,l;try{Op(o)}catch(c){l=c}return function(d,h){if(d===void 0&&(d={}),l)throw l;if(0)var u;for(var m=!1,y={},g=0;g<a.length;g++){var S=a[g],E=o[S],N=d[S],A=E(N,h);if(typeof A>"u"){var v=h&&h.type;throw new Error(at(14))}y[S]=A,m=m||A!==N}return m=m||a.length!==Object.keys(d).length,m?y: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 Ls(){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(at(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(c){return c(s)});return a=Ke.apply(void 0,l)(i.dispatch),xr(xr({},i),{},{dispatch:a})}}}function ks(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,e):s(l)}}};return t}var Ts=ks();Ts.withExtraArgument=ks;var Ei=Ts;var Ws=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)}}(),Cp=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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return c([d,h])}}function c(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}}},Ge=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},wp=Object.defineProperty,Ep=Object.defineProperties,Np=Object.getOwnPropertyDescriptors,Is=Object.getOwnPropertySymbols,Ap=Object.prototype.hasOwnProperty,Rp=Object.prototype.propertyIsEnumerable,Ds=function(e,t,o){return t in e?wp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},ae=function(e,t){for(var o in t||(t={}))Ap.call(t,o)&&Ds(e,o,t[o]);if(Is)for(var n=0,i=Is(t);n<i.length;n++){var o=i[n];Rp.call(t,o)&&Ds(e,o,t[o])}return e},Ni=function(e,t){return Ep(e,Np(t))},$p=function(e,t,o){return new Promise(function(n,i){var a=function(c){try{l(o.next(c))}catch(d){i(d)}},s=function(c){try{l(o.throw(c))}catch(d){i(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((o=o.apply(e,t)).next())})};var _p=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)},gy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Pp(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 Lp=function(e){Ws(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,Ge([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ge([void 0],o.concat(this))))},t}(Array),kp=function(e){Ws(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,Ge([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ge([void 0],o.concat(this))))},t}(Array);function $i(e){return Rt(e)?br(e,function(){}):e}function Tp(e){return typeof e=="boolean"}function Ip(){return function(t){return Dp(t)}}function Dp(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,l=new Lp;if(o&&(Tp(o)?l.push(Ei):l.push(Ei.withExtraArgument(o.extraArgument))),0){if(i)var c;if(s)var d}return l}var Ai=!0;function zs(e){var t=Ip(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,l=o.devTools,c=l===void 0?!0:l,d=o.preloadedState,h=d===void 0?void 0:d,u=o.enhancers,m=u===void 0?void 0:u,y;if(typeof i=="function")y=i;else if(Pp(i))y=Ps(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 g=s;if(typeof g=="function"&&(g=g(t),!Ai&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ai&&g.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Ls.apply(void 0,g),E=Ke;c&&(E=_p(ae({trace:!Ai},typeof c=="object"&&c)));var N=new kp(S),A=N;Array.isArray(m)?A=Ge([S],m):typeof m=="function"&&(A=m(N));var v=E.apply(void 0,A);return wi(y,h,v)}function se(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 ae(ae({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 Us(e){var t={},o=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=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 Mp(e){return typeof e=="function"}function Bp(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Us(t):[t,o,n],a=i[0],s=i[1],l=i[2],c;if(Mp(e))c=function(){return $i(e())};else{var d=$i(e);c=function(){return d}}function h(u,m){u===void 0&&(u=c());var y=Ge([a[m.type]],s.filter(function(g){var S=g.matcher;return S(m)}).map(function(g){var S=g.reducer;return S}));return y.filter(function(g){return!!g}).length===0&&(y=[l]),y.reduce(function(g,S){if(S)if(Kt(g)){var E=g,N=S(E,m);return N===void 0?g:N}else{if(Rt(g))return br(g,function(A){return S(A,m)});var N=S(g,m);if(N===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return g},u)}return h.getInitialState=c,h}function Wp(e,t){return e+"/"+t}function Hs(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:$i(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var u=n[h],m=Wp(t,h),y,g;"reducer"in u?(y=u.reducer,g=u.prepare):y=u,a[h]=y,s[m]=y,l[h]=g?se(m,g):se(m)});function c(){var h=typeof e.extraReducers=="function"?Us(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,y=h[1],g=y===void 0?[]:y,S=h[2],E=S===void 0?void 0:S,N=ae(ae({},m),s);return Bp(o,function(A){for(var v in N)A.addCase(v,N[v]);for(var x=0,O=g;x<O.length;x++){var T=O[x];A.addMatcher(T.matcher,T.reducer)}E&&A.addDefaultCase(E)})}var d;return{name:t,reducer:function(h,u){return d||(d=c()),d(h,u)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var zp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Up=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=zp[Math.random()*64|0];return t},Hp=["name","message","stack","code"],Ri=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Ms=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Fp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Hp;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Sy=function(){function e(t,o,n){var i=se(t+"/fulfilled",function(h,u,m,y){return{payload:h,meta:Ni(ae({},y||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=se(t+"/pending",function(h,u,m){return{payload:void 0,meta:Ni(ae({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=se(t+"/rejected",function(h,u,m,y,g){return{payload:y,error:(n&&n.serializeError||Fp)(h||"Rejected"),meta:Ni(ae({},g||{}),{arg:m,requestId:u,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,y){var g=n?.idGenerator?n.idGenerator(h):Up(),S=new c,E,N=!1;function A(x){E=x,S.abort()}var v=function(){return $p(this,null,function(){var x,O,T,F,ct,j,P;return Cp(this,function(I){switch(I.label){case 0:return I.trys.push([0,4,,5]),F=(x=n?.condition)==null?void 0:x.call(n,h,{getState:m,extra:y}),Vp(F)?[4,F]:[3,2];case 1:F=I.sent(),I.label=2;case 2:if(F===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,ct=new Promise(function(B,it){return S.signal.addEventListener("abort",function(){return it({name:"AbortError",message:E||"Aborted"})})}),u(a(g,h,(O=n?.getPendingMeta)==null?void 0:O.call(n,{requestId:g,arg:h},{getState:m,extra:y}))),[4,Promise.race([ct,Promise.resolve(o(h,{dispatch:u,getState:m,extra:y,requestId:g,signal:S.signal,abort:A,rejectWithValue:function(B,it){return new Ri(B,it)},fulfillWithValue:function(B,it){return new Ms(B,it)}})).then(function(B){if(B instanceof Ri)throw B;return B instanceof Ms?i(B.payload,g,h,B.meta):i(B,g,h)})])];case 3:return T=I.sent(),[3,5];case 4:return j=I.sent(),T=j instanceof Ri?s(null,g,h,j.payload,j.meta):s(j,g,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(T)&&T.meta.condition,P||u(T),[2,T]}})})}();return Object.assign(v,{abort:A,requestId:g,arg:h,unwrap:function(){return v.then(jp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function jp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Vp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Fs="listener",js="completed",Vs="cancelled",Oy="task-"+Vs,Cy="task-"+js,wy=Fs+"-"+Vs,Ey=Fs+"-"+js;var _i="listenerMiddleware";var Ny=se(_i+"/add"),Ay=se(_i+"/removeAll"),Ry=se(_i+"/remove");var Bs,$y=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Bs||(Bs=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Kp=function(e){return function(t){setTimeout(t,e)}},_y=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Kp(10);Ns();window.ftReduxStores||(window.ftReduxStores={});var Pi=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(Ae(a))return a;if(i==null)return;let s=Hs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=zs({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Po,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}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 Gp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Ae(t)&&t.clear()}var ki={};G(ki,{serializeRequest:()=>qp});function Zp(e){return`"${e}"`}function qp(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 c=t.periodFilter.period,d=c?`_${c.from}_${c.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 c=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",c)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Ii={};G(Ii,{toFtFormComponent:()=>Ti});var Sr=Symbol("elementInternals");function Ti(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[Sr].form}constructor(...i){super(i),this[Sr]=this.attachInternals(),this[Sr].role=t}setFormValue(i){this[Sr].setFormValue(i)}}return o}var Di,Mi,Bi,Wi,Io=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Bi=(Mi=(Di=window.safari)===null||Di===void 0?void 0:Di.pushNotification)===null||Mi===void 0?void 0:Mi.toString())!==null&&Bi!==void 0?Bi:"")==="[object SafariRemoteNotification]",Yp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Wi=window.ftGlobals)!==null&&Wi!==void 0?Wi:{lit:Ur,litDecorators:Vr,litRepeat:Gr,litClassMap:Zr,litStyleMap:qr,litUnsafeHTML:Xr,wcUtils:{...en,...Qr,...rn,...nn,...sn,...Tn,...Bn,...Yn,...kn,...Qn,...ds,...an,...oi,...ri,...us,...ii,...Li,...Xn,...ki,...Ii,isSafari:Io,isTouchScreen:Yp}};var Gs=Symbol.for(""),Xp=e=>{if(e?.r===Gs)return e?._$litStatic$},zi=e=>({_$litStatic$:e,r:Gs});var Ks=new Map,Zs=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],c,d=0,h=!1;for(;d<n;){for(c=t[d];d<n&&(a=o[d],(i=Xp(a))!==void 0);)c+=i+t[++d],h=!0;d!==n&&l.push(a),s.push(c),d++}if(d===n&&s.push(t[n]),h){let u=s.join("$$lit$$");(t=Ks.get(u))===void 0&&(s.raw=s,Ks.set(u,t=s)),o=l}return e(t,...o)},Ui=Zs(sa),dg=Zs(la);var _e;(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"})(_e||(_e={}));function qs(e){let t=So[e];return _`
43
43
  .ft-typography--${ye(e)} {
44
44
  font-family: ${t.fontFamily};
45
45
  font-size: ${t.fontSize};
@@ -48,7 +48,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
48
48
  line-height: ${t.lineHeight};
49
49
  text-transform: ${t.textCase};
50
50
  }
51
- `}var Ys=r.extend("--ft-typography-font-family","",R.titleFont),Gt=r.extend("--ft-typography-font-family","",R.contentFont),$={fontFamily:Gt,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")},Ze={fontFamily:r.extend("--ft-typography-title-font-family","",Ys),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")},qe={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Ys),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")},Ye={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Gt),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")},Xe={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Gt),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")},Je={fontFamily:r.extend("--ft-typography-body1-font-family","",Gt),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")},vt={fontFamily:r.extend("--ft-typography-body2-font-family","",Gt),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")},Qe={fontFamily:r.extend("--ft-typography-caption-font-family","",Gt),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")},to={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Gt),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")},eo={fontFamily:r.extend("--ft-typography-overline-font-family","",Gt),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")},It={fontFamily:r.extend("--ft-typography-button-font-family","",Gt),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")},Xs=P`
51
+ `}var Ys=r.extend("--ft-typography-font-family","",R.titleFont),Gt=r.extend("--ft-typography-font-family","",R.contentFont),$={fontFamily:Gt,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")},Ze={fontFamily:r.extend("--ft-typography-title-font-family","",Ys),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")},qe={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Ys),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")},Ye={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Gt),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")},Xe={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Gt),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")},Je={fontFamily:r.extend("--ft-typography-body1-font-family","",Gt),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")},vt={fontFamily:r.extend("--ft-typography-body2-font-family","",Gt),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")},Qe={fontFamily:r.extend("--ft-typography-caption-font-family","",Gt),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")},to={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Gt),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")},eo={fontFamily:r.extend("--ft-typography-overline-font-family","",Gt),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")},It={fontFamily:r.extend("--ft-typography-button-font-family","",Gt),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")},Xs=_`
52
52
  .ft-typography--title {
53
53
  font-family: ${Ze.fontFamily};
54
54
  font-size: ${Ze.fontSize};
@@ -57,7 +57,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
57
57
  line-height: ${Ze.lineHeight};
58
58
  text-transform: ${Ze.textTransform};
59
59
  }
60
- `,Js=P`
60
+ `,Js=_`
61
61
  .ft-typography--title-dense {
62
62
  font-family: ${qe.fontFamily};
63
63
  font-size: ${qe.fontSize};
@@ -66,7 +66,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
66
66
  line-height: ${qe.lineHeight};
67
67
  text-transform: ${qe.textTransform};
68
68
  }
69
- `,Qs=P`
69
+ `,Qs=_`
70
70
  .ft-typography--subtitle1 {
71
71
  font-family: ${Ye.fontFamily};
72
72
  font-size: ${Ye.fontSize};
@@ -75,7 +75,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
75
75
  line-height: ${Ye.lineHeight};
76
76
  text-transform: ${Ye.textTransform};
77
77
  }
78
- `,tl=P`
78
+ `,tl=_`
79
79
  .ft-typography--subtitle2 {
80
80
  font-family: ${Xe.fontFamily};
81
81
  font-size: ${Xe.fontSize};
@@ -85,7 +85,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
85
85
  text-transform: ${Xe.textTransform};
86
86
  }
87
87
 
88
- `,el=P`
88
+ `,el=_`
89
89
  .ft-typography--body1 {
90
90
  font-family: ${Je.fontFamily};
91
91
  font-size: ${Je.fontSize};
@@ -94,7 +94,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
94
94
  line-height: ${Je.lineHeight};
95
95
  text-transform: ${Je.textTransform};
96
96
  }
97
- `,ol=P`
97
+ `,ol=_`
98
98
  .ft-typography--body2 {
99
99
  font-family: ${vt.fontFamily};
100
100
  font-size: ${vt.fontSize};
@@ -103,7 +103,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
103
103
  line-height: ${vt.lineHeight};
104
104
  text-transform: ${vt.textTransform};
105
105
  }
106
- `,Or=P`
106
+ `,Or=_`
107
107
  .ft-typography--caption {
108
108
  font-family: ${Qe.fontFamily};
109
109
  font-size: ${Qe.fontSize};
@@ -112,7 +112,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
112
112
  line-height: ${Qe.lineHeight};
113
113
  text-transform: ${Qe.textTransform};
114
114
  }
115
- `,rl=P`
115
+ `,rl=_`
116
116
  .ft-typography--breadcrumb {
117
117
  font-family: ${to.fontFamily};
118
118
  font-size: ${to.fontSize};
@@ -121,7 +121,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
121
121
  line-height: ${to.lineHeight};
122
122
  text-transform: ${to.textTransform};
123
123
  }
124
- `,nl=P`
124
+ `,nl=_`
125
125
  .ft-typography--overline {
126
126
  font-family: ${eo.fontFamily};
127
127
  font-size: ${eo.fontSize};
@@ -130,7 +130,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
130
130
  line-height: ${eo.lineHeight};
131
131
  text-transform: ${eo.textTransform};
132
132
  }
133
- `,il=P`
133
+ `,il=_`
134
134
  .ft-typography--button {
135
135
  font-family: ${It.fontFamily};
136
136
  font-size: ${It.fontSize};
@@ -139,19 +139,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
139
139
  line-height: ${It.lineHeight};
140
140
  text-transform: ${It.textTransform};
141
141
  }
142
- `,al=P`
142
+ `,al=_`
143
143
  .ft-typography {
144
144
  vertical-align: inherit;
145
145
  }
146
- `,sl=[Object.keys(So).map(e=>qs(e))];var ll=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},et=class extends D{constructor(){super(...arguments),this.variant=Pe.body1}render(){return this.element?Ui`
147
- <${Wi(this.element)}
146
+ `,sl=[Object.keys(So).map(e=>qs(e))];var ll=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},et=class extends D{constructor(){super(...arguments),this.variant=_e.body1}render(){return this.element?Ui`
147
+ <${zi(this.element)}
148
148
  part="text"
149
149
  class="ft-typography ft-typography--${this.variant}">
150
150
  <slot></slot>
151
- </${Wi(this.element)}>
151
+ </${zi(this.element)}>
152
152
  `:Ui`
153
153
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
154
- `}};et.styles=[Xs,Js,Qs,tl,el,ol,Or,rl,nl,il,al,...sl];ll([b()],et.prototype,"element",void 0);ll([b()],et.prototype,"variant",void 0);Z("ft-typography")(et);var cl=r.extend("--ft-ripple-color","",R.colorContent),z={color:cl,backgroundColor:r.extend("--ft-ripple-background-color","",cl),opacityContentOnSurfacePressed:r.external(R.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(R.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(R.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(R.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},pl=r.extend("--ft-ripple-color","",R.colorPrimary),dl={color:pl,backgroundColor:r.extend("--ft-ripple-background-color","",pl)},fl=r.extend("--ft-ripple-color","",R.colorSecondary),ul={color:fl,backgroundColor:r.extend("--ft-ripple-background-color","",fl)},hl=P`
154
+ `}};et.styles=[Xs,Js,Qs,tl,el,ol,Or,rl,nl,il,al,...sl];ll([b()],et.prototype,"element",void 0);ll([b()],et.prototype,"variant",void 0);Z("ft-typography")(et);var cl=r.extend("--ft-ripple-color","",R.colorContent),W={color:cl,backgroundColor:r.extend("--ft-ripple-background-color","",cl),opacityContentOnSurfacePressed:r.external(R.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(R.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(R.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(R.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},pl=r.extend("--ft-ripple-color","",R.colorPrimary),dl={color:pl,backgroundColor:r.extend("--ft-ripple-background-color","",pl)},fl=r.extend("--ft-ripple-color","",R.colorSecondary),ul={color:fl,backgroundColor:r.extend("--ft-ripple-background-color","",fl)},hl=_`
155
155
  :host {
156
156
  display: contents;
157
157
  }
@@ -164,7 +164,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
164
164
 
165
165
  .ft-ripple:not(.ft-ripple--unbounded) {
166
166
  overflow: hidden;
167
- border-radius: ${z.borderRadius};
167
+ border-radius: ${W.borderRadius};
168
168
  }
169
169
 
170
170
  .ft-ripple .ft-ripple--background,
@@ -198,11 +198,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
198
198
  }
199
199
 
200
200
  .ft-ripple .ft-ripple--background {
201
- background-color: ${z.backgroundColor};
201
+ background-color: ${W.backgroundColor};
202
202
  }
203
203
 
204
204
  .ft-ripple .ft-ripple--effect {
205
- background-color: ${z.color};
205
+ background-color: ${W.color};
206
206
  }
207
207
 
208
208
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
@@ -248,22 +248,22 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
248
248
  }
249
249
 
250
250
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
251
- opacity: ${z.opacityContentOnSurfaceHover};
251
+ opacity: ${W.opacityContentOnSurfaceHover};
252
252
  }
253
253
 
254
254
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
255
- opacity: ${z.opacityContentOnSurfaceSelected};
255
+ opacity: ${W.opacityContentOnSurfaceSelected};
256
256
  }
257
257
 
258
258
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
259
- opacity: ${z.opacityContentOnSurfaceFocused};
259
+ opacity: ${W.opacityContentOnSurfaceFocused};
260
260
  }
261
261
 
262
262
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
263
- opacity: ${z.opacityContentOnSurfacePressed};
263
+ opacity: ${W.opacityContentOnSurfacePressed};
264
264
  transform: translate(-50%, -50%) scale(1);
265
265
  }
266
- `;var dt={color:r.extend("--ft-loader-color","",R.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},ml=P`
266
+ `;var dt={color:r.extend("--ft-loader-color","",R.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},ml=_`
267
267
  :host {
268
268
  line-height: 0;
269
269
  }
@@ -332,7 +332,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
332
332
  transform: translate(calc(0.35 * ${dt.size}), 0);
333
333
  }
334
334
  }
335
- `;var ft={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")},yl=P`
335
+ `;var ft={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")},yl=_`
336
336
  :host, i.ft-icon {
337
337
  display: inline-flex;
338
338
  align-items: center;
@@ -380,7 +380,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
380
380
  .ft-icon--material {
381
381
  font-family: ${ft.materialFontFamily}, "Material Icons", sans-serif;
382
382
  }
383
- `;var gl=r.extend("--ft-button-color","",R.colorPrimary),K={backgroundColor:r.extend("--ft-button-background-color","",R.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",R.borderRadiusL),color:gl,fontSize:r.extend("--ft-button-font-size","",It.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",gl),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(R.colorOpacityDisabled,"Design system")},bl=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",R.colorOnPrimary)),Hi={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",R.colorPrimary)),color:bl,rippleColor:r.extend("--ft-button-primary-ripple-color","",bl)},Dt={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",R.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")},xl=[P`
383
+ `;var gl=r.extend("--ft-button-color","",R.colorPrimary),K={backgroundColor:r.extend("--ft-button-background-color","",R.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",R.borderRadiusL),color:gl,fontSize:r.extend("--ft-button-font-size","",It.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",gl),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(R.colorOpacityDisabled,"Design system")},bl=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",R.colorOnPrimary)),Hi={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",R.colorPrimary)),color:bl,rippleColor:r.extend("--ft-button-primary-ripple-color","",bl)},Dt={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",R.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")},xl=[_`
384
384
  :host {
385
385
  display: inline-block;
386
386
  max-width: 100%;
@@ -423,7 +423,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
423
423
  --ft-button-internal-line-height: max(calc(${K.fontSize} + 2px), ${K.iconSize});
424
424
  --ft-button-internal-color: ${K.color};
425
425
  ${L(ft.size,K.iconSize)};
426
- ${L(z.color,K.rippleColor)};
426
+ ${L(W.color,K.rippleColor)};
427
427
 
428
428
  border-radius: ${K.borderRadius};
429
429
  padding: ${K.verticalPadding} ${K.horizontalPadding};
@@ -467,7 +467,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
467
467
  .ft-button.ft-button--primary {
468
468
  background-color: ${Hi.backgroundColor};
469
469
  --ft-button-internal-color: ${Hi.color};
470
- ${L(z.color,Hi.rippleColor)};
470
+ ${L(W.color,Hi.rippleColor)};
471
471
  }
472
472
 
473
473
  .ft-button:focus {
@@ -527,7 +527,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
527
527
  <div class="ft-ripple--background"></div>
528
528
  <div class="ft-ripple--effect"></div>
529
529
  </div>
530
- `}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=(...l)=>c=>{l.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},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=hl;ut([b({type:Boolean})],H.prototype,"primary",void 0);ut([b({type:Boolean})],H.prototype,"secondary",void 0);ut([b({type:Boolean})],H.prototype,"unbounded",void 0);ut([b({type:Boolean})],H.prototype,"activated",void 0);ut([b({type:Boolean})],H.prototype,"selected",void 0);ut([b({type:Boolean})],H.prototype,"disabled",void 0);ut([U()],H.prototype,"hovered",void 0);ut([U()],H.prototype,"focused",void 0);ut([U()],H.prototype,"pressed",void 0);ut([U()],H.prototype,"rippling",void 0);ut([U()],H.prototype,"originX",void 0);ut([U()],H.prototype,"originY",void 0);ut([M(".ft-ripple")],H.prototype,"ripple",void 0);ut([M(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);Z("ft-ripple")(H);var oo={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(R.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},vl=P`
530
+ `}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=(...l)=>c=>{l.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},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=hl;ut([b({type:Boolean})],H.prototype,"primary",void 0);ut([b({type:Boolean})],H.prototype,"secondary",void 0);ut([b({type:Boolean})],H.prototype,"unbounded",void 0);ut([b({type:Boolean})],H.prototype,"activated",void 0);ut([b({type:Boolean})],H.prototype,"selected",void 0);ut([b({type:Boolean})],H.prototype,"disabled",void 0);ut([U()],H.prototype,"hovered",void 0);ut([U()],H.prototype,"focused",void 0);ut([U()],H.prototype,"pressed",void 0);ut([U()],H.prototype,"rippling",void 0);ut([U()],H.prototype,"originX",void 0);ut([U()],H.prototype,"originY",void 0);ut([M(".ft-ripple")],H.prototype,"ripple",void 0);ut([M(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);Z("ft-ripple")(H);var oo={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(R.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},vl=_`
531
531
  .ft-tooltip--container {
532
532
  display: block;
533
533
  }
@@ -574,19 +574,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
574
574
  </div>
575
575
  </div>
576
576
  </div>
577
- `}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="",qn(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))}};X.elementDefinitions={"ft-typography":et};X.styles=vl;ht([b()],X.prototype,"text",void 0);ht([b({type:Boolean})],X.prototype,"manual",void 0);ht([b({type:Boolean})],X.prototype,"inline",void 0);ht([b({type:Number})],X.prototype,"delay",void 0);ht([b()],X.prototype,"position",void 0);ht([jr()],X.prototype,"slotNodes",void 0);ht([M(".ft-tooltip--container")],X.prototype,"container",void 0);ht([M(".ft-tooltip")],X.prototype,"tooltip",void 0);ht([M(".ft-tooltip--content")],X.prototype,"tooltipContent",void 0);ht([U()],X.prototype,"visible",void 0);ht([Ie({passive:!0})],X.prototype,"onTouch",null);ht([Ie({passive:!0})],X.prototype,"onHover",null);ht([Ie({passive:!0})],X.prototype,"onOut",null);ht([Ie({passive:!0})],X.prototype,"onClick",null);Z("ft-tooltip")(X);var Cr;(function(e){e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.STAR="&#xe94c;",e.STAR_PLAIN="&#xe900;",e.DESKTOP="&#xe95e;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.THIN_ARROW_UP="&#xe95c;",e.CONTEXTUAL="&#xe95b;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.UNSTRUCTURED_DOC="&#xe95a;",e.RESET="&#xe958;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.MY_COLLECTIONS="&#xe955;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_LIBRARY="&#xe959;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.FEEDBACK_PLAIN="&#xe951;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.SHORTCUT_MENU="&#xe946;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.ACCOUNT_SETTINGS="&#xe943;",e.ONLINE="&#xe941;",e.OFFLINE="&#xe816;",e.UPLOAD="&#xe940;",e.BOOK_PLAIN="&#xe93f;",e.SYNC="&#xe93d;",e.SHARED_PBK="&#xe931;",e.COLLECTIONS="&#xe92a;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.BOOKS="&#xe806;",e.LOCKER="&#xe93b;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SAVE="&#xe93a;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.FILTERS="&#xe935;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.STRIPE_ARROW_LEFT="&#xe933;",e.ATTACHMENTS="&#xe932;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.EXPORT="&#xe80f;",e.MENU="&#xe807;",e.TAG="&#xe93e;",e.TAG_PLAIN="&#xe942;",e.COPY_TO_CLIPBOARD="&#xe930;",e.COLUMNS="&#xe928;",e.ARTICLE="&#xe927;",e.CLOSE="&#xe909;",e.OCTAGON_XMARK="&#xe97d;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.LOGOUT="&#xe923;",e.SIGN_IN="&#xe922;",e.THIN_ARROW="&#xe921;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.INFO="&#xe919;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.SHARE="&#xe80f1;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.EXTLINK="&#xe814;",e.EXTLINK_LIGHT="&#xe978;",e.CALENDAR="&#xe815;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.TOPICS="&#xe901;",e.EYE="&#xf06e;",e.EYE_SLASH="&#xe970;",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.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN_THEME="&#xe911;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.HOME="&#xe80b;",e.TRANSLATE="&#xe924;",e.USER="&#xe813;",e.ADMIN="&#xe90f;",e.ANALYTICS="&#xe929;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_USERS="&#xe912;",e.ADMIN_INTEGRATION="&#xe93c;",e.ADMIN_PORTAL="&#xe94b;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.EXPAND_WIDE="&#xe972;",e.X_MARK="&#xe971;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CONSUMER="&#xe97c;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;"})(Cr||(Cr={}));var C;(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;"})(C||(C={}));var Xb=new Map([...["abw"].map(e=>[e,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,C.AUDIO]),...["avi"].map(e=>[e,C.AVI]),...["chm","xhs"].map(e=>[e,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,C.CODE]),...["csv"].map(e=>[e,C.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,C.DITA]),...["epub"].map(e=>[e,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,C.EXCEL]),...["flac"].map(e=>[e,C.FLAC]),...["gif"].map(e=>[e,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,C.GZIP]),...["html","htm","xhtml"].map(e=>[e,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,C.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,C.JPEG]),...["json"].map(e=>[e,C.JSON]),...["m4a","m4p"].map(e=>[e,C.M4A]),...["mov","qt"].map(e=>[e,C.MOV]),...["mp3"].map(e=>[e,C.MP3]),...["mp4","m4v"].map(e=>[e,C.MP4]),...["ogg","oga"].map(e=>[e,C.OGG]),...["pdf","ps"].map(e=>[e,C.PDF]),...["png"].map(e=>[e,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,C.POWERPOINT]),...["rar"].map(e=>[e,C.RAR]),...["stp"].map(e=>[e,C.STP]),...["txt","rtf","md","mdown"].map(e=>[e,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,C.VIDEO]),...["wav"].map(e=>[e,C.WAV]),...["wma"].map(e=>[e,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,C.WORD]),...["xml","xsl","rdf"].map(e=>[e,C.XML]),...["yaml","yml","x-yaml"].map(e=>[e,C.YAML]),...["zip"].map(e=>[e,C.ZIP])]);var Jb={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var le;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(le||(le={}));var wr=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},mt=class extends D{constructor(){super(...arguments),this.resolvedIcon=V}render(){let t=this.variant&&Object.values(le).includes(this.variant)?this.variant:le.fluid_topics,o=t!==le.material||!!this.value;return k`
577
+ `}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="",qn(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))}};X.elementDefinitions={"ft-typography":et};X.styles=vl;ht([b()],X.prototype,"text",void 0);ht([b({type:Boolean})],X.prototype,"manual",void 0);ht([b({type:Boolean})],X.prototype,"inline",void 0);ht([b({type:Number})],X.prototype,"delay",void 0);ht([b()],X.prototype,"position",void 0);ht([jr()],X.prototype,"slotNodes",void 0);ht([M(".ft-tooltip--container")],X.prototype,"container",void 0);ht([M(".ft-tooltip")],X.prototype,"tooltip",void 0);ht([M(".ft-tooltip--content")],X.prototype,"tooltipContent",void 0);ht([U()],X.prototype,"visible",void 0);ht([Ie({passive:!0})],X.prototype,"onTouch",null);ht([Ie({passive:!0})],X.prototype,"onHover",null);ht([Ie({passive:!0})],X.prototype,"onOut",null);ht([Ie({passive:!0})],X.prototype,"onClick",null);Z("ft-tooltip")(X);var Cr;(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;"})(Cr||(Cr={}));var C;(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;"})(C||(C={}));var Xb=new Map([...["abw"].map(e=>[e,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,C.AUDIO]),...["avi"].map(e=>[e,C.AVI]),...["chm","xhs"].map(e=>[e,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,C.CODE]),...["csv"].map(e=>[e,C.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,C.DITA]),...["epub"].map(e=>[e,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,C.EXCEL]),...["flac"].map(e=>[e,C.FLAC]),...["gif"].map(e=>[e,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,C.GZIP]),...["html","htm","xhtml"].map(e=>[e,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,C.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,C.JPEG]),...["json"].map(e=>[e,C.JSON]),...["m4a","m4p"].map(e=>[e,C.M4A]),...["mov","qt"].map(e=>[e,C.MOV]),...["mp3"].map(e=>[e,C.MP3]),...["mp4","m4v"].map(e=>[e,C.MP4]),...["ogg","oga"].map(e=>[e,C.OGG]),...["pdf","ps"].map(e=>[e,C.PDF]),...["png"].map(e=>[e,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,C.POWERPOINT]),...["rar"].map(e=>[e,C.RAR]),...["stp"].map(e=>[e,C.STP]),...["txt","rtf","md","mdown"].map(e=>[e,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,C.VIDEO]),...["wav"].map(e=>[e,C.WAV]),...["wma"].map(e=>[e,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,C.WORD]),...["xml","xsl","rdf"].map(e=>[e,C.XML]),...["yaml","yml","x-yaml"].map(e=>[e,C.YAML]),...["zip"].map(e=>[e,C.ZIP])]);var Jb={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var le;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(le||(le={}));var wr=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},mt=class extends D{constructor(){super(...arguments),this.resolvedIcon=V}render(){let t=this.variant&&Object.values(le).includes(this.variant)?this.variant:le.fluid_topics,o=t!==le.material||!!this.value;return k`
578
578
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
579
579
  ${Yr(this.resolvedIcon)}
580
580
  <slot ?hidden=${o}></slot>
581
581
  </i>
582
- `}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 le.file_format:this.resolvedIcon=(t=C[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case le.material:this.resolvedIcon=this.value||V;break;default:this.resolvedIcon=(o=Cr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};mt.elementDefinitions={};mt.styles=yl;wr([b()],mt.prototype,"variant",void 0);wr([b()],mt.prototype,"value",void 0);wr([U()],mt.prototype,"resolvedIcon",void 0);wr([M("slot")],mt.prototype,"slottedContent",void 0);Z("ft-icon")(mt);var _e=class extends D{render(){return k`
582
+ `}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 le.file_format:this.resolvedIcon=(t=C[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case le.material:this.resolvedIcon=this.value||V;break;default:this.resolvedIcon=(o=Cr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};mt.elementDefinitions={};mt.styles=yl;wr([b()],mt.prototype,"variant",void 0);wr([b()],mt.prototype,"value",void 0);wr([U()],mt.prototype,"resolvedIcon",void 0);wr([M("slot")],mt.prototype,"slottedContent",void 0);Z("ft-icon")(mt);var Pe=class extends D{render(){return k`
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
- `}};_e.styles=ml;Z("ft-loader")(_e);var St=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},tt=class extends Ti(D,"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(k`
589
+ `}};Pe.styles=ml;Z("ft-loader")(Pe);var St=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},tt=class extends Ti(D,"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(k`
590
590
  <button part="button"
591
591
  class="${Nt(this.buttonClasses)}"
592
592
  aria-label="${this.getLabel()}"
@@ -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
  `:k`
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}};tt.elementDefinitions={"ft-ripple":H,"ft-tooltip":X,"ft-typography":et,"ft-icon":mt,"ft-loader":_e};St([b({type:String,reflect:!0})],tt.prototype,"role",void 0);St([b()],tt.prototype,"type",void 0);St([b({type:Boolean})],tt.prototype,"disabled",void 0);St([b()],tt.prototype,"label",void 0);St([b()],tt.prototype,"icon",void 0);St([b()],tt.prototype,"iconVariant",void 0);St([b({type:Boolean})],tt.prototype,"trailingIcon",void 0);St([b({type:Boolean})],tt.prototype,"loading",void 0);St([b()],tt.prototype,"tooltipPosition",void 0);St([b({type:Boolean})],tt.prototype,"hideTooltip",void 0);St([b({type:Boolean})],tt.prototype,"forceTooltip",void 0);St([M(".ft-button")],tt.prototype,"button",void 0);St([M(".ft-button--label slot")],tt.prototype,"slottedContent",void 0);var Er=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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 tt{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=[Po,xl];Er([b({type:Boolean})],st.prototype,"primary",void 0);Er([b({type:Boolean})],st.prototype,"outlined",void 0);Er([b({type:Boolean})],st.prototype,"dense",void 0);Er([b({type:Boolean})],st.prototype,"round",void 0);var Sl=[P`
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}};tt.elementDefinitions={"ft-ripple":H,"ft-tooltip":X,"ft-typography":et,"ft-icon":mt,"ft-loader":Pe};St([b({type:String,reflect:!0})],tt.prototype,"role",void 0);St([b()],tt.prototype,"type",void 0);St([b({type:Boolean})],tt.prototype,"disabled",void 0);St([b()],tt.prototype,"label",void 0);St([b()],tt.prototype,"icon",void 0);St([b()],tt.prototype,"iconVariant",void 0);St([b({type:Boolean})],tt.prototype,"trailingIcon",void 0);St([b({type:Boolean})],tt.prototype,"loading",void 0);St([b()],tt.prototype,"tooltipPosition",void 0);St([b({type:Boolean})],tt.prototype,"hideTooltip",void 0);St([b({type:Boolean})],tt.prototype,"forceTooltip",void 0);St([M(".ft-button")],tt.prototype,"button",void 0);St([M(".ft-button--label slot")],tt.prototype,"slottedContent",void 0);var Er=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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 tt{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=[_o,xl];Er([b({type:Boolean})],st.prototype,"primary",void 0);Er([b({type:Boolean})],st.prototype,"outlined",void 0);Er([b({type:Boolean})],st.prototype,"dense",void 0);Er([b({type:Boolean})],st.prototype,"round",void 0);var Sl=[_`
616
616
  :host {
617
617
  display: inline-block;
618
618
  max-width: 100%;
@@ -693,11 +693,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
693
693
  .ft-button--primary {
694
694
  ${L(dt.color,w.primaryIconColor)};
695
695
 
696
- ${L(z.color,w.primaryStateLayerColor)};
697
- ${L(z.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
698
- ${L(z.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
699
- ${L(z.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
700
- ${L(z.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
696
+ ${L(W.color,w.primaryStateLayerColor)};
697
+ ${L(W.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
698
+ ${L(W.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
699
+ ${L(W.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
700
+ ${L(W.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
701
701
 
702
702
  background-color: ${w.primaryBackgroundColor};
703
703
  color: ${w.primaryColor};
@@ -717,11 +717,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
717
717
  .ft-button--secondary {
718
718
  ${L(dt.color,w.secondaryIconColor)};
719
719
 
720
- ${L(z.color,w.secondaryStateLayerColor)};
721
- ${L(z.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
722
- ${L(z.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
723
- ${L(z.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
724
- ${L(z.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
720
+ ${L(W.color,w.secondaryStateLayerColor)};
721
+ ${L(W.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
722
+ ${L(W.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
723
+ ${L(W.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
724
+ ${L(W.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
725
725
 
726
726
  background-color: ${w.secondaryBackgroundColor};
727
727
  color: ${w.secondaryColor};
@@ -742,11 +742,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
742
742
  .ft-button--tertiary {
743
743
  ${L(dt.color,w.tertiaryIconColor)};
744
744
 
745
- ${L(z.color,w.tertiaryStateLayerColor)};
746
- ${L(z.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
747
- ${L(z.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
748
- ${L(z.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
749
- ${L(z.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
745
+ ${L(W.color,w.tertiaryStateLayerColor)};
746
+ ${L(W.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
747
+ ${L(W.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
748
+ ${L(W.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
749
+ ${L(W.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
750
750
 
751
751
  background-color: ${w.tertiaryBackgroundColor};
752
752
  color: ${w.tertiaryColor};
@@ -766,11 +766,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
766
766
  .ft-button--neutral {
767
767
  ${L(dt.color,w.neutralIconColor)};
768
768
 
769
- ${L(z.backgroundColor,w.neutralStateLayerColor)};
770
- ${L(z.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
771
- ${L(z.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
772
- ${L(z.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
773
- ${L(z.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
769
+ ${L(W.backgroundColor,w.neutralStateLayerColor)};
770
+ ${L(W.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
771
+ ${L(W.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
772
+ ${L(W.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
773
+ ${L(W.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
774
774
 
775
775
  background-color: ${w.neutralBackgroundColor};
776
776
  color: ${w.neutralColor};
@@ -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
- `,$o];var Do=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},Mt=class extends tt{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?Pe.caption1medium:Pe.body2medium}};Mt.styles=[Po,Sl];Do([b({type:Boolean})],Mt.prototype,"primary",void 0);Do([b({type:Boolean})],Mt.prototype,"secondary",void 0);Do([b({type:Boolean})],Mt.prototype,"tertiary",void 0);Do([b({type:Boolean})],Mt.prototype,"neutral",void 0);Do([b({type:Boolean})],Mt.prototype,"small",void 0);Z("ft-button")(st);Z("ftds-button")(Mt);var Zt={textColor:r.extend("--ft-checkbox-text-color","",R.colorOnSurfaceHigh),fontSize:r.extend("--ft-checkbox-font-size","",$.fontSize),colorPrimary:r.external(R.colorPrimary,"Design system"),colorOnPrimary:r.external(R.colorOnPrimary,"Design system"),borderColor:r.extend("--ft-checkbox-border-color","",R.colorOnSurfaceMedium),colorOnSurfaceDisabled:r.external(R.colorOnSurfaceDisabled,"Design system")},Ol=P`
833
+ `,$o];var Do=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},Mt=class extends tt{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?_e.caption1medium:_e.body2medium}};Mt.styles=[_o,Sl];Do([b({type:Boolean})],Mt.prototype,"primary",void 0);Do([b({type:Boolean})],Mt.prototype,"secondary",void 0);Do([b({type:Boolean})],Mt.prototype,"tertiary",void 0);Do([b({type:Boolean})],Mt.prototype,"neutral",void 0);Do([b({type:Boolean})],Mt.prototype,"small",void 0);Z("ft-button")(st);Z("ftds-button")(Mt);var Zt={textColor:r.extend("--ft-checkbox-text-color","",R.colorOnSurfaceHigh),fontSize:r.extend("--ft-checkbox-font-size","",$.fontSize),colorPrimary:r.external(R.colorPrimary,"Design system"),colorOnPrimary:r.external(R.colorOnPrimary,"Design system"),borderColor:r.extend("--ft-checkbox-border-color","",R.colorOnSurfaceMedium),colorOnSurfaceDisabled:r.external(R.colorOnSurfaceDisabled,"Design system")},Ol=_`
834
834
  * {
835
835
  box-sizing: border-box;
836
836
  }
@@ -935,7 +935,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
935
935
  <slot></slot>
936
936
  </ft-typography>
937
937
  </label>
938
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}};yt.elementDefinitions={"ft-ripple":H,"ft-typography":et};yt.styles=Ol;ro([b()],yt.prototype,"name",void 0);ro([b({type:Boolean,reflect:!0})],yt.prototype,"checked",void 0);ro([b({type:Boolean})],yt.prototype,"indeterminate",void 0);ro([b({type:Boolean})],yt.prototype,"disabled",void 0);ro([M(".ft-checkbox")],yt.prototype,"container",void 0);ro([M("ft-ripple")],yt.prototype,"ripple",void 0);Z("ft-checkbox")(yt);var Le={textColor:r.extend("--ft-radio-text-color","",R.colorOnSurfaceHigh),colorPrimary:r.external(R.colorPrimary,"Design system"),colorOnPrimary:r.external(R.colorOnPrimary,"Design system"),borderColor:r.extend("--ft-radio-border-color","",R.colorOnSurfaceMedium),colorOnSurfaceDisabled:r.external(R.colorOnSurfaceDisabled,"Design system")},Cl=P`
938
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}};yt.elementDefinitions={"ft-ripple":H,"ft-typography":et};yt.styles=Ol;ro([b()],yt.prototype,"name",void 0);ro([b({type:Boolean,reflect:!0})],yt.prototype,"checked",void 0);ro([b({type:Boolean})],yt.prototype,"indeterminate",void 0);ro([b({type:Boolean})],yt.prototype,"disabled",void 0);ro([M(".ft-checkbox")],yt.prototype,"container",void 0);ro([M("ft-ripple")],yt.prototype,"ripple",void 0);Z("ft-checkbox")(yt);var Le={textColor:r.extend("--ft-radio-text-color","",R.colorOnSurfaceHigh),colorPrimary:r.external(R.colorPrimary,"Design system"),colorOnPrimary:r.external(R.colorOnPrimary,"Design system"),borderColor:r.extend("--ft-radio-border-color","",R.colorOnSurfaceMedium),colorOnSurfaceDisabled:r.external(R.colorOnSurfaceDisabled,"Design system")},Cl=_`
939
939
  * {
940
940
  box-sizing: border-box;
941
941
  }
@@ -1048,16 +1048,20 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1048
1048
  </ft-typography>
1049
1049
  </label>
1050
1050
  </div>
1051
- `}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Nr(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Nr(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}};nt.elementDefinitions={"ft-ripple":H,"ft-typography":et};nt.styles=Cl;qt([b()],nt.prototype,"value",void 0);qt([b()],nt.prototype,"name",void 0);qt([b({type:Boolean,reflect:!0})],nt.prototype,"checked",void 0);qt([b({attribute:"aria-checked",reflect:!0})],nt.prototype,"ariaChecked",void 0);qt([b({type:Boolean})],nt.prototype,"disabled",void 0);qt([b({reflect:!0,attribute:"role"})],nt.prototype,"role",void 0);qt([M(".ft-radio")],nt.prototype,"container",void 0);qt([M("ft-ripple")],nt.prototype,"ripple",void 0);qt([M("input")],nt.prototype,"input",void 0);var wl=P`
1051
+ `}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Nr(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Nr(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}};nt.elementDefinitions={"ft-ripple":H,"ft-typography":et};nt.styles=Cl;qt([b()],nt.prototype,"value",void 0);qt([b()],nt.prototype,"name",void 0);qt([b({type:Boolean,reflect:!0})],nt.prototype,"checked",void 0);qt([b({attribute:"aria-checked",reflect:!0})],nt.prototype,"ariaChecked",void 0);qt([b({type:Boolean})],nt.prototype,"disabled",void 0);qt([b({reflect:!0,attribute:"role"})],nt.prototype,"role",void 0);qt([M(".ft-radio")],nt.prototype,"container",void 0);qt([M("ft-ripple")],nt.prototype,"ripple",void 0);qt([M("input")],nt.prototype,"input",void 0);var wl=_`
1052
1052
  :host {
1053
1053
  display: block;
1054
1054
  }
1055
- `;var no=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},Ct=class extends D{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,this.focusCurrentChecked())},this.onFocusOut=t=>{!this.contains(t.relatedTarget)&&(this.tabIndex=0)}}render(){return k`
1055
+
1056
+ :host(:focus-visible) {
1057
+ outline: none;
1058
+ }
1059
+ `;var no=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},Ct=class extends D{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=t=>{!this.contains(t.relatedTarget)&&(this.tabIndex=0)}}render(){return k`
1056
1060
  <slot @slotchange=${this.onSlotChange}
1057
1061
  @change=${this.onChange}
1058
1062
  @keydown=${this.onKeyDown}
1059
1063
  ></slot>
1060
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(o=>o.checked=t.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let o=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{o=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}o&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(o=>o.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ct.elementDefinitions={};Ct.styles=wl;no([b()],Ct.prototype,"name",void 0);no([b({reflect:!0,attribute:"role"})],Ct.prototype,"role",void 0);no([b({reflect:!0})],Ct.prototype,"tabIndex",void 0);no([b({reflect:!0,attribute:"aria-labelledby"})],Ct.prototype,"ariaLabelledBy",void 0);no([Fr()],Ct.prototype,"radioButtons",void 0);no([U()],Ct.prototype,"currentSelectedIndex",void 0);Z("ft-radio")(nt);Z("ft-radio-group")(Ct);var Ar={borderRadiusM:r.external(R.borderRadiusM,"Design system"),colorOutline:r.external(R.colorOutline,"Design system"),colorOnSurface:r.external(R.colorOnSurface,"Design system"),colorOnSurfaceMedium:r.external(R.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:r.external(R.colorOnSurfaceDisabled,"Design system"),colorPrimary:r.external(R.colorPrimary,"Design system"),colorOnPrimary:r.external(R.colorOnPrimary,"Design system"),fontFamily:r.external(vt.fontFamily,"Body2 typography"),fontSize:r.external(vt.fontSize,"Body2 typography"),fontWeight:r.external(vt.fontWeight,"Body2 typography"),letterSpacing:r.external(vt.letterSpacing,"Body2 typography"),lineHeight:r.external(vt.lineHeight,"Body2 typography"),textTransform:r.external(vt.textTransform,"Body2 typography")},El=P`
1064
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(o=>o.checked=t.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let o=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{o=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}o&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(o=>o.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ct.elementDefinitions={};Ct.styles=wl;no([b()],Ct.prototype,"name",void 0);no([b({reflect:!0,attribute:"role"})],Ct.prototype,"role",void 0);no([b({reflect:!0})],Ct.prototype,"tabIndex",void 0);no([b({reflect:!0,attribute:"aria-labelledby"})],Ct.prototype,"ariaLabelledBy",void 0);no([Fr()],Ct.prototype,"radioButtons",void 0);no([U()],Ct.prototype,"currentSelectedIndex",void 0);Z("ft-radio")(nt);Z("ft-radio-group")(Ct);var Ar={borderRadiusM:r.external(R.borderRadiusM,"Design system"),colorOutline:r.external(R.colorOutline,"Design system"),colorOnSurface:r.external(R.colorOnSurface,"Design system"),colorOnSurfaceMedium:r.external(R.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:r.external(R.colorOnSurfaceDisabled,"Design system"),colorPrimary:r.external(R.colorPrimary,"Design system"),colorOnPrimary:r.external(R.colorOnPrimary,"Design system"),fontFamily:r.external(vt.fontFamily,"Body2 typography"),fontSize:r.external(vt.fontSize,"Body2 typography"),fontWeight:r.external(vt.fontWeight,"Body2 typography"),letterSpacing:r.external(vt.letterSpacing,"Body2 typography"),lineHeight:r.external(vt.lineHeight,"Body2 typography"),textTransform:r.external(vt.textTransform,"Body2 typography")},El=_`
1061
1065
  .ft-filter-level--container {
1062
1066
  display: flex;
1063
1067
  flex-direction: column;
@@ -1189,7 +1193,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1189
1193
  @change=${o=>this.optionsChanged(o,t)}>
1190
1194
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1191
1195
  </ft-radio>
1192
- `}onRadioKeyDown(t,o){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,o))}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}};Q.elementDefinitions={"ft-button":st,"ft-ripple":H,"ft-typography":et,"ft-checkbox":yt,"ft-icon":mt,"ft-radio":nt};Q.styles=El;lt([b({type:String})],Q.prototype,"filterId",void 0);lt([b({type:Object})],Q.prototype,"parent",void 0);lt([b({type:Array})],Q.prototype,"options",void 0);lt([b({type:Boolean})],Q.prototype,"multivalued",void 0);lt([b({type:Boolean})],Q.prototype,"disabled",void 0);lt([b({type:Boolean})],Q.prototype,"hideSelectedOptions",void 0);lt([b({type:Boolean})],Q.prototype,"displayCount",void 0);lt([b({type:Boolean})],Q.prototype,"preventNavigation",void 0);lt([b({type:String})],Q.prototype,"filter",void 0);lt([b({type:String})],Q.prototype,"moreValuesButtonLabel",void 0);lt([b({type:String})],Q.prototype,"noValuesLabel",void 0);lt([b({type:Number})],Q.prototype,"displayedValuesLimit",void 0);lt([M(".ft-filter-level--container")],Q.prototype,"container",void 0);lt([U()],Q.prototype,"radios",void 0);lt([U()],Q.prototype,"displayedPages",void 0);var ce={buttonsColor:r.extend("--ft-snap-scroll-buttons-color","",R.colorPrimary),buttonsZIndex:r.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:r.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:r.external(R.colorSurface,"Design system")},Nl=P`
1196
+ `}onRadioKeyDown(t,o){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,o))}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}};Q.elementDefinitions={"ft-button":st,"ft-ripple":H,"ft-typography":et,"ft-checkbox":yt,"ft-icon":mt,"ft-radio":nt};Q.styles=El;lt([b({type:String})],Q.prototype,"filterId",void 0);lt([b({type:Object})],Q.prototype,"parent",void 0);lt([b({type:Array})],Q.prototype,"options",void 0);lt([b({type:Boolean})],Q.prototype,"multivalued",void 0);lt([b({type:Boolean})],Q.prototype,"disabled",void 0);lt([b({type:Boolean})],Q.prototype,"hideSelectedOptions",void 0);lt([b({type:Boolean})],Q.prototype,"displayCount",void 0);lt([b({type:Boolean})],Q.prototype,"preventNavigation",void 0);lt([b({type:String})],Q.prototype,"filter",void 0);lt([b({type:String})],Q.prototype,"moreValuesButtonLabel",void 0);lt([b({type:String})],Q.prototype,"noValuesLabel",void 0);lt([b({type:Number})],Q.prototype,"displayedValuesLimit",void 0);lt([M(".ft-filter-level--container")],Q.prototype,"container",void 0);lt([U()],Q.prototype,"radios",void 0);lt([U()],Q.prototype,"displayedPages",void 0);var ce={buttonsColor:r.extend("--ft-snap-scroll-buttons-color","",R.colorPrimary),buttonsZIndex:r.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:r.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:r.external(R.colorSurface,"Design system")},Nl=_`
1193
1197
  .ft-snap-scroll {
1194
1198
  box-sizing: border-box;
1195
1199
  position: relative;
@@ -1338,7 +1342,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1338
1342
  @click=${this.next}
1339
1343
  ></ft-button>
1340
1344
  </div>
1341
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Fi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,n;t&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=(o=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}};ot.elementDefinitions={"ft-button":st};ot.styles=Nl;Bt([b({type:Boolean})],ot.prototype,"horizontal",void 0);Bt([b({type:Boolean})],ot.prototype,"hideScrollbar",void 0);Bt([b({type:Boolean})],ot.prototype,"controls",void 0);Bt([b({type:Boolean})],ot.prototype,"limitSize",void 0);Bt([U()],ot.prototype,"elements",void 0);Bt([U()],ot.prototype,"currentElement",void 0);Bt([U()],ot.prototype,"withScroll",void 0);Bt([U()],ot.prototype,"startReached",void 0);Bt([U()],ot.prototype,"endReached",void 0);Bt([M(".ft-snap-scroll--content")],ot.prototype,"contentSlot",void 0);Z("ft-snap-scroll")(ot);var wt={colorOutline:r.external(R.colorOutline,"Design system"),colorOnSurface:r.external(R.colorOnSurface,"Design system"),colorOnSurfaceMedium:r.external(R.colorOnSurfaceMedium,"Design system"),colorPrimary:r.external(R.colorPrimary,"Design system"),colorSurface:r.external(R.colorSurface,"Design system"),transitionDuration:r.external(R.transitionDuration,"Design system"),transitionTimingFunction:r.external(R.transitionTimingFunction,"Design system"),labelColor:r.extend("--ft-filter-label-color","",R.colorOnSurface),labelFontSize:r.extend("--ft-filter-label-font-size","",$.fontSize,"16px")},Al=[Or,P`
1345
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Fi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,n;t&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=(o=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}};ot.elementDefinitions={"ft-button":st};ot.styles=Nl;Bt([b({type:Boolean})],ot.prototype,"horizontal",void 0);Bt([b({type:Boolean})],ot.prototype,"hideScrollbar",void 0);Bt([b({type:Boolean})],ot.prototype,"controls",void 0);Bt([b({type:Boolean})],ot.prototype,"limitSize",void 0);Bt([U()],ot.prototype,"elements",void 0);Bt([U()],ot.prototype,"currentElement",void 0);Bt([U()],ot.prototype,"withScroll",void 0);Bt([U()],ot.prototype,"startReached",void 0);Bt([U()],ot.prototype,"endReached",void 0);Bt([M(".ft-snap-scroll--content")],ot.prototype,"contentSlot",void 0);Z("ft-snap-scroll")(ot);var wt={colorOutline:r.external(R.colorOutline,"Design system"),colorOnSurface:r.external(R.colorOnSurface,"Design system"),colorOnSurfaceMedium:r.external(R.colorOnSurfaceMedium,"Design system"),colorPrimary:r.external(R.colorPrimary,"Design system"),colorSurface:r.external(R.colorSurface,"Design system"),transitionDuration:r.external(R.transitionDuration,"Design system"),transitionTimingFunction:r.external(R.transitionTimingFunction,"Design system"),labelColor:r.extend("--ft-filter-label-color","",R.colorOnSurface),labelFontSize:r.extend("--ft-filter-label-font-size","",$.fontSize,"16px")},Al=[Or,_`
1342
1346
  :host {
1343
1347
  display: flex;
1344
1348
  max-height: 100%;
@@ -1453,7 +1457,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1453
1457
  slot:not([name]) {
1454
1458
  display: none;
1455
1459
  }
1456
- `];var Y=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},ji=class extends CustomEvent{constructor(t){super("change",{detail:t})}},W=class extends D{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new rt(300),this.changeDebouncer=new rt(10),this.lastDispatchedValues=[]}get flatOptions(){return Oe(this.options,t=>{var o;return(o=t.subOptions)!==null&&o!==void 0?o:[]})}get childrenFilteredFlatOptions(){return Oe(this.options,t=>{var o;return t.selected?[]:(o=t.subOptions)!==null&&o!==void 0?o:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(i=>i.selected),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return k`
1460
+ `];var Y=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},ji=class extends CustomEvent{constructor(t){super("change",{detail:t})}},z=class extends D{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new rt(300),this.changeDebouncer=new rt(10),this.lastDispatchedValues=[]}get flatOptions(){return Oe(this.options,t=>{var o;return(o=t.subOptions)!==null&&o!==void 0?o:[]})}get childrenFilteredFlatOptions(){return Oe(this.options,t=>{var o;return t.selected?[]:(o=t.subOptions)!==null&&o!==void 0?o:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(i=>i.selected),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return k`
1457
1461
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1458
1462
  part="container">
1459
1463
  ${!this.label&&!t?null:k`
@@ -1530,9 +1534,9 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1530
1534
  .exportpartsPrefixes=${["values","available-values"]}
1531
1535
  noValuesLabel="${this.noValuesLabel}"
1532
1536
  ></ft-filter-level>
1533
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var o;t.stopPropagation();let n=this.flatOptions.find(a=>a.value===t.detail.value);n.selected=!n.selected;let i=a=>{var s;a!==n&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(i)};this.multivalued?(o=n.subOptions)===null||o===void 0||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(o=>o.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;Lt(this.lastDispatchedValues,t)||(this.dispatchEvent(new ji(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(o=>o),this.optionsChanged()}onFilterChange(){var t,o;this.filter=(o=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&o!==void 0?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};W.elementDefinitions={"ft-button":st,"ft-filter-level":Q,"ft-snap-scroll":ot,"ft-typography":et};W.styles=Al;Y([b({type:String})],W.prototype,"id",void 0);Y([b({type:String})],W.prototype,"label",void 0);Y([b({type:String})],W.prototype,"filterPlaceHolder",void 0);Y([b({type:String})],W.prototype,"clearButtonLabel",void 0);Y([b({type:String})],W.prototype,"moreValuesButtonLabel",void 0);Y([b({type:String})],W.prototype,"noValuesLabel",void 0);Y([Ce([])],W.prototype,"options",void 0);Y([b({type:Boolean})],W.prototype,"multivalued",void 0);Y([b({type:Boolean})],W.prototype,"disabled",void 0);Y([b({type:Boolean})],W.prototype,"raiseSelectedOptions",void 0);Y([b({type:Boolean})],W.prototype,"displayCount",void 0);Y([b({type:Number})],W.prototype,"displayedValuesLimit",void 0);Y([b({type:Boolean})],W.prototype,"hideClearButton",void 0);Y([M(".ft-filter--slot")],W.prototype,"slotElement",void 0);Y([M(".ft-filter--container")],W.prototype,"container",void 0);Y([M(".ft-filter--values")],W.prototype,"valuesContainer",void 0);Y([M(".ft-filter--levels")],W.prototype,"levelsContainer",void 0);Y([U()],W.prototype,"lastLevelHasHiddenvalues",void 0);Y([M(".ft-filter--filter input")],W.prototype,"filterInput",void 0);Y([Hr(".ft-filter--levels ft-filter-level")],W.prototype,"levels",void 0);Y([U()],W.prototype,"withScroll",void 0);Y([U()],W.prototype,"filter",void 0);Y([U()],W.prototype,"slideIn",void 0);Y([U()],W.prototype,"slideOut",void 0);var io=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},$t=class extends D{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return k`
1537
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var o;t.stopPropagation();let n=this.flatOptions.find(a=>a.value===t.detail.value);n.selected=!n.selected;let i=a=>{var s;a!==n&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(i)};this.multivalued?(o=n.subOptions)===null||o===void 0||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(o=>o.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;Lt(this.lastDispatchedValues,t)||(this.dispatchEvent(new ji(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(o=>o),this.optionsChanged()}onFilterChange(){var t,o;this.filter=(o=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&o!==void 0?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};z.elementDefinitions={"ft-button":st,"ft-filter-level":Q,"ft-snap-scroll":ot,"ft-typography":et};z.styles=Al;Y([b({type:String})],z.prototype,"id",void 0);Y([b({type:String})],z.prototype,"label",void 0);Y([b({type:String})],z.prototype,"filterPlaceHolder",void 0);Y([b({type:String})],z.prototype,"clearButtonLabel",void 0);Y([b({type:String})],z.prototype,"moreValuesButtonLabel",void 0);Y([b({type:String})],z.prototype,"noValuesLabel",void 0);Y([Ce([])],z.prototype,"options",void 0);Y([b({type:Boolean})],z.prototype,"multivalued",void 0);Y([b({type:Boolean})],z.prototype,"disabled",void 0);Y([b({type:Boolean})],z.prototype,"raiseSelectedOptions",void 0);Y([b({type:Boolean})],z.prototype,"displayCount",void 0);Y([b({type:Number})],z.prototype,"displayedValuesLimit",void 0);Y([b({type:Boolean})],z.prototype,"hideClearButton",void 0);Y([M(".ft-filter--slot")],z.prototype,"slotElement",void 0);Y([M(".ft-filter--container")],z.prototype,"container",void 0);Y([M(".ft-filter--values")],z.prototype,"valuesContainer",void 0);Y([M(".ft-filter--levels")],z.prototype,"levelsContainer",void 0);Y([U()],z.prototype,"lastLevelHasHiddenvalues",void 0);Y([M(".ft-filter--filter input")],z.prototype,"filterInput",void 0);Y([Hr(".ft-filter--levels ft-filter-level")],z.prototype,"levels",void 0);Y([U()],z.prototype,"withScroll",void 0);Y([U()],z.prototype,"filter",void 0);Y([U()],z.prototype,"slideIn",void 0);Y([U()],z.prototype,"slideOut",void 0);var io=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},$t=class extends D{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return k`
1534
1538
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1535
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(o=>o)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};$t.elementDefinitions={};io([b({type:String})],$t.prototype,"label",void 0);io([b({type:Object,converter:e=>e})],$t.prototype,"value",void 0);io([b({type:Boolean,reflect:!0})],$t.prototype,"selected",void 0);io([b({type:Object})],$t.prototype,"subOptions",void 0);io([Ce({})],$t.prototype,"renderOption",void 0);io([M(".ft-filter-option--slot")],$t.prototype,"slotElement",void 0);Z("ft-filter")(W);Z("ft-filter-option")($t);})();
1539
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(o=>o)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};$t.elementDefinitions={};io([b({type:String})],$t.prototype,"label",void 0);io([b({type:Object,converter:e=>e})],$t.prototype,"value",void 0);io([b({type:Boolean,reflect:!0})],$t.prototype,"selected",void 0);io([b({type:Object})],$t.prototype,"subOptions",void 0);io([Ce({})],$t.prototype,"renderOption",void 0);io([M(".ft-filter-option--slot")],$t.prototype,"slotElement",void 0);Z("ft-filter")(z);Z("ft-filter-option")($t);})();
1536
1540
  /*! Bundled license information:
1537
1541
 
1538
1542
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: