@fluid-topics/ft-filterable-table 1.1.84 → 1.1.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- "use strict";(()=>{var $l=Object.defineProperty;var Y=(e,t)=>{for(var o in t)$l(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(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let O=b.prototype.attributeChangedCallback,k=new Set(b.observedAttributes||[]);m(b,k,O);let K={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:O,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(x,K),this._definitionsByClass.set(b,K);let ft=o.call(n,x);ft||(ft=u(x),t.call(n,x,ft)),this===window.customElements&&(s.set(b,K),K.standInClass=ft);let G=this._awaitingUpgrade.get(x);if(G){this._awaitingUpgrade.delete(x);for(let D of G)a.delete(D),y(D,K,!0)}let L=this._whenDefinedPromises.get(x);return L!==void 0&&(L.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){N.push(this),n.upgrade.apply(n,arguments),N.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let O=this._whenDefinedPromises.get(x);return O===void 0&&(O={},O.promise=new Promise(k=>O.resolve=k),this._whenDefinedPromises.set(x,O)),O.promise}_upgradeWhenDefined(x,b,O){let k=this._awaitingUpgrade.get(b);k||this._awaitingUpgrade.set(b,k=new Set),O?k.add(x):k.delete(x)}};let c;window.HTMLElement=function(){let b=c;if(b)return c=void 0,b;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 b=Reflect.construct(e,[],O.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,O),b},window.HTMLElement.prototype=e.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let O=N[N.length-1];if(O instanceof CustomElementRegistry)return O;b=O.getRootNode(),d(b)||(b=l.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let O=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(O,HTMLElement.prototype);let k=h(O)||window.customElements,K=k._getDefinition(x);return K?y(O,K):a.set(O,k),O}connectedCallback(){let O=i.get(this);O?O.connectedCallback&&O.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let O=i.get(this);O?O.disconnectedCallback&&O.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!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=(x,b,O)=>{if(b.size===0||O===void 0)return;let k=x.prototype.setAttribute;k&&(x.prototype.setAttribute=function(G,L){let D=G.toLowerCase();if(b.has(D)){let H=this.getAttribute(D);k.call(this,D,L),O.call(this,D,H,L)}else k.call(this,D,L)});let K=x.prototype.removeAttribute;K&&(x.prototype.removeAttribute=function(G){let L=G.toLowerCase();if(b.has(L)){let D=this.getAttribute(L);K.call(this,L),O.call(this,L,D,null)}else K.call(this,L)});let ft=x.prototype.toggleAttribute;ft&&(x.prototype.toggleAttribute=function(G,L){let D=G.toLowerCase();if(b.has(D)){let H=this.getAttribute(D);ft.call(this,D,L);let ct=this.getAttribute(D);O.call(this,D,H,ct)}else ft.call(this,D,L)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,O=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),c=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(k=>{x.hasAttribute(k)&&b.attributeChangedCallback.call(x,k,null,x.getAttribute(k))}),O&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let N=[document],A=(x,b,O=void 0)=>{let k=(O?Object.getPrototypeOf(O):x.prototype)[b];x.prototype[b]=function(){N.push(this);let K=k.apply(O||this,arguments);return K!==void 0&&l.set(K,this),N.pop(),K}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let R=(x,b)=>{let O=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...O,set(k){N.push(this),O.set.call(this,k),N.pop()}})};if(R(Element,"innerHTML"),R(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,O=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...G){let L=b.call(this,...G);return x.set(L,this),L},O.forEach(G=>{let L=window.ElementInternals.prototype,D=L[G];L[G]=function(...H){let ct=x.get(this);if(i.get(ct).formAssociated===!0)return D?.call(this,...H);throw new DOMException(`Failed to execute ${D} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor(L){super(...L),this._elements=L}get value(){return this._elements.find(L=>L.checked===!0)?.value||""}}class K{constructor(L){let D=new Map;L.forEach((H,ct)=>{let Lr=H.getAttribute("name"),Ki=D.get(Lr)||[];this[+ct]=H,Ki.push(H),D.set(Lr,Ki)}),this.length=L.length,D.forEach((H,ct)=>{H&&(H.length===1?this[ct]=H[0]:this[ct]=new k(H))})}namedItem(L){return this[L]}}let ft=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let G=ft.get.call(this,[]),L=[];for(let D of G){let H=i.get(D);(!H||H.formAssociated===!0)&&L.push(D)}return new K(L)}})}}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 jr={};Y(jr,{CSSResult:()=>Te,LitElement:()=>zt,ReactiveElement:()=>_t,_$LE:()=>Ql,_$LH:()=>Yl,adoptStyles:()=>Qo,css:()=>_,defaultConverter:()=>tr,getCompatibleStyle:()=>fo,html:()=>T,isServer:()=>wd,noChange:()=>qt,notEqual:()=>zr,nothing:()=>F,render:()=>Vr,supportsAdoptingStyleSheets:()=>po,svg:()=>ql,unsafeCSS:()=>me});var zo=globalThis,Uo=zo.ShadowRoot&&(zo.ShadyCSS===void 0||zo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zi=Symbol(),Gi=new WeakMap,Bo=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Zi)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=Gi.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Gi.set(o,t))}return t}toString(){return this.cssText}},qi=e=>new Bo(typeof e=="string"?e:e+"",void 0,Zi);var Tr=(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=zo.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 qi(o)})(e):e;var{is:_l,defineProperty:Pl,getOwnPropertyDescriptor:Ll,getOwnPropertyNames:Tl,getOwnPropertySymbols:Il,getPrototypeOf:kl}=Object,Fo=globalThis,Yi=Fo.trustedTypes,Dl=Yi?Yi.emptyScript:"",Ml=Fo.reactiveElementPolyfillSupport,no=(e,t)=>e,io={toAttribute(e,t){switch(t){case Boolean:e=e?Dl:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Vo=(e,t)=>!_l(e,t),Xi={attribute:!0,type:String,converter:io,reflect:!1,hasChanged:Vo};Symbol.metadata??=Symbol("metadata"),Fo.litPropertyMetadata??=new WeakMap;var ce=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=Xi){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}=Ll(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)??Xi}static _$Ei(){if(this.hasOwnProperty(no("elementProperties")))return;let t=kl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(no("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(no("properties"))){let o=this.properties,n=[...Tl(o),...Il(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 Tr(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:io).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:io;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Vo)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};ce.elementStyles=[],ce.shadowRootOptions={mode:"open"},ce[no("elementProperties")]=new Map,ce[no("finalized")]=new Map,Ml?.({ReactiveElement:ce}),(Fo.reactiveElementVersions??=[]).push("2.0.2");var kr=globalThis,jo=kr.trustedTypes,Ji=jo?jo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Dr="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,Mr="?"+Mt,Wl=`<${Mr}>`,fe=document,Ko=()=>fe.createComment(""),so=e=>e===null||typeof e!="object"&&typeof e!="function",na=Array.isArray,ia=e=>na(e)||typeof e?.[Symbol.iterator]=="function",Ir=`[
2
- \f\r]`,ao=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qi=/-->/g,ta=/>/g,pe=RegExp(`>|${Ir}(?:([^\\s"'>=/]+)(${Ir}*=${Ir}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ea=/'/g,oa=/"/g,aa=/^(?:script|style|textarea|title)$/i,sa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),la=sa(1),ca=sa(2),bt=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ra=new WeakMap,de=fe.createTreeWalker(fe,129);function pa(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ji!==void 0?Ji.createHTML(t):t}var da=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=ao;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===ao?h[1]==="!--"?s=Qi:h[1]!==void 0?s=ta:h[2]!==void 0?(aa.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=pe):h[3]!==void 0&&(s=pe):s===pe?h[0]===">"?(s=i??ao,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?pe:h[3]==='"'?oa:ea):s===oa||s===ea?s=pe:s===Qi||s===ta?s=ao:(s=pe,i=void 0);let g=s===pe&&e[l+1].startsWith("/>")?" ":"";a+=s===ao?c+Wl:u>=0?(n.push(d),c.slice(0,u)+Dr+c.slice(u)+Mt+g):c+Mt+(u===-2?l:g)}return[pa(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},lo=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]=da(t,o);if(this.el=e.createElement(d,n),de.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=de.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Dr)){let m=h[s++],g=i.getAttribute(u).split(Mt),y=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Zo:y[1]==="?"?qo:y[1]==="@"?Yo:he}),i.removeAttribute(u)}else u.startsWith(Mt)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(aa.test(i.tagName)){let u=i.textContent.split(Mt),m=u.length-1;if(m>0){i.textContent=jo?jo.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],Ko()),de.nextNode(),c.push({type:2,index:++a});i.append(u[m],Ko())}}}else if(i.nodeType===8)if(i.data===Mr)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Mt,u+1))!==-1;)c.push({type:7,index:a}),u+=Mt.length-1}a++}}static createElement(t,o){let n=fe.createElement("template");return n.innerHTML=t,n}};function ue(e,t,o=e,n){if(t===bt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=so(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=ue(e,i._$AS(e,t.values),i,n)),t}var Go=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??fe).importNode(o,!0);de.currentNode=i;let a=de.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new co(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new Xo(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=de.nextNode(),s++)}return de.currentNode=fe,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++}},co=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=tt,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=ue(this,t,o),so(t)?t===tt||t==null||t===""?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==bt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ia(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!==tt&&so(this._$AH)?this._$AA.nextSibling.data=t:this.$(fe.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=lo.createElement(pa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Go(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=ra.get(t.strings);return o===void 0&&ra.set(t.strings,o=new lo(t)),o}T(t){na(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(Ko()),this.k(Ko()),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))}},he=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=tt,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=tt}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ue(this,t,o,0),s=!so(t)||t!==this._$AH&&t!==bt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=ue(this,l[n+c],o,c),d===bt&&(d=this._$AH[c]),s||=!so(d)||d!==this._$AH[c],d===tt?t=tt:t!==tt&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Zo=class extends he{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},qo=class extends he{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},Yo=class extends he{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=ue(this,t,o,0)??tt)===bt)return;let n=this._$AH,i=t===tt&&n!==tt||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==tt&&(n===tt||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)}},Xo=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){ue(this,t)}},fa={j:Dr,P:Mt,A:Mr,C:1,M:da,L:Go,R:ia,V:ue,D:co,I:he,H:qo,N:Yo,U:Zo,B:Xo},zl=kr.litHtmlPolyfillSupport;zl?.(lo,co),(kr.litHtmlVersions??=[]).push("3.1.0");var Jo=globalThis,po=Jo.ShadowRoot&&(Jo.ShadyCSS===void 0||Jo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wr=Symbol(),ua=new WeakMap,Te=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Wr)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(po&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=ua.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ua.set(o,t))}return t}toString(){return this.cssText}},me=e=>new Te(typeof e=="string"?e:e+"",void 0,Wr),_=(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 Te(o,e,Wr)},Qo=(e,t)=>{if(po)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Jo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},fo=po?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return me(o)})(e):e;var{is:Bl,defineProperty:Ul,getOwnPropertyDescriptor:Hl,getOwnPropertyNames:Fl,getOwnPropertySymbols:Vl,getPrototypeOf:jl}=Object,er=globalThis,ha=er.trustedTypes,Kl=ha?ha.emptyScript:"",Gl=er.reactiveElementPolyfillSupport,uo=(e,t)=>e,tr={toAttribute(e,t){switch(t){case Boolean:e=e?Kl: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}},zr=(e,t)=>!Bl(e,t),ma={attribute:!0,type:String,converter:tr,reflect:!1,hasChanged:zr};Symbol.metadata??=Symbol("metadata"),er.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=ma){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&&Ul(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Hl(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)??ma}static _$Ei(){if(this.hasOwnProperty(uo("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(uo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(uo("properties"))){let o=this.properties,n=[...Fl(o),...Vl(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(fo(i))}else t!==void 0&&o.push(fo(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 Qo(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:tr).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:tr;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??zr)(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[uo("elementProperties")]=new Map,_t[uo("finalized")]=new Map,Gl?.({ReactiveElement:_t}),(er.reactiveElementVersions??=[]).push("2.0.2");var Ur=globalThis,or=Ur.trustedTypes,ga=or?or.createPolicy("lit-html",{createHTML:e=>e}):void 0,Hr="$lit$",Wt=`lit$${(Math.random()+"").slice(9)}$`,Fr="?"+Wt,Zl=`<${Fr}>`,be=document,mo=()=>be.createComment(""),go=e=>e===null||typeof e!="object"&&typeof e!="function",Oa=Array.isArray,wa=e=>Oa(e)||typeof e?.[Symbol.iterator]=="function",Br=`[
4
- \f\r]`,ho=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ya=/-->/g,ba=/>/g,ge=RegExp(`>|${Br}(?:([^\\s"'>=/]+)(${Br}*=${Br}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),xa=/'/g,va=/"/g,Ca=/^(?:script|style|textarea|title)$/i,Ea=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),T=Ea(1),ql=Ea(2),qt=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),Sa=new WeakMap,ye=be.createTreeWalker(be,129);function Na(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ga!==void 0?ga.createHTML(t):t}var Aa=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=ho;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===ho?h[1]==="!--"?s=ya:h[1]!==void 0?s=ba: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??ho,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]==='"'?va:xa):s===va||s===xa?s=ge:s===ya||s===ba?s=ho:(s=ge,i=void 0);let g=s===ge&&e[l+1].startsWith("/>")?" ":"";a+=s===ho?c+Zl:u>=0?(n.push(d),c.slice(0,u)+Hr+c.slice(u)+Wt+g):c+Wt+(u===-2?l:g)}return[Na(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},yo=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]=Aa(t,o);if(this.el=e.createElement(d,n),ye.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ye.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Hr)){let m=h[s++],g=i.getAttribute(u).split(Wt),y=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?nr:y[1]==="?"?ir:y[1]==="@"?ar:ve}),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=or?or.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],mo()),ye.nextNode(),c.push({type:2,index:++a});i.append(u[m],mo())}}}else if(i.nodeType===8)if(i.data===Fr)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=be.createElement("template");return n.innerHTML=t,n}};function xe(e,t,o=e,n){if(t===qt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=go(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=xe(e,i._$AS(e,t.values),i,n)),t}var rr=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??be).importNode(o,!0);ye.currentNode=i;let a=ye.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Ie(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new sr(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=ye.nextNode(),s++)}return ye.currentNode=be,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++}},Ie=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=xe(this,t,o),go(t)?t===F||t==null||t===""?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==qt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):wa(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==F&&go(this._$AH)?this._$AA.nextSibling.data=t:this.$(be.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=yo.createElement(Na(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new rr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Sa.get(t.strings);return o===void 0&&Sa.set(t.strings,o=new yo(t)),o}T(t){Oa(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(mo()),this.k(mo()),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))}},ve=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=F}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=xe(this,t,o,0),s=!go(t)||t!==this._$AH&&t!==qt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=xe(this,l[n+c],o,c),d===qt&&(d=this._$AH[c]),s||=!go(d)||d!==this._$AH[c],d===F?t=F:t!==F&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},nr=class extends ve{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===F?void 0:t}},ir=class extends ve{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}},ar=class extends ve{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=xe(this,t,o,0)??F)===qt)return;let n=this._$AH,i=t===F&&n!==F||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==F&&(n===F||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},sr=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){xe(this,t)}},Yl={j:Hr,P:Wt,A:Fr,C:1,M:Aa,L:rr,R:wa,V:xe,D:Ie,I:ve,H:ir,N:ar,U:nr,B:sr},Xl=Ur.litHtmlPolyfillSupport;Xl?.(yo,Ie),(Ur.litHtmlVersions??=[]).push("3.1.0");var Vr=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Ie(t.insertBefore(mo(),a),a,void 0,o??{})}return i._$AI(e),i};var zt=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=Vr(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return qt}};zt._$litElement$=!0,zt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:zt});var Jl=globalThis.litElementPolyfillSupport;Jl?.({LitElement:zt});var Ql={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var wd=!1;var Gr={};Y(Gr,{customElement:()=>tc,eventOptions:()=>ke,property:()=>S,query:()=>V,queryAll:()=>rc,queryAssignedElements:()=>Kr,queryAssignedNodes:()=>bo,queryAsync:()=>nc,standardProperty:()=>Ra,state:()=>Z});var tc=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var ec={attribute:!0,type:String,converter:io,reflect:!1,hasChanged:Vo},Ra=(e=ec,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 S(e){return(t,o)=>typeof o=="object"?Ra(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 Z(e){return S({...e,state:!0,attribute:!1})}function ke(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Ct=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function V(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 Ct(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 Ct(o,n,{get(){return a(this)}})}}var oc;function rc(e){return(t,o)=>Ct(t,o,{get(){return(this.renderRoot??(oc??=document.createDocumentFragment())).querySelectorAll(e)}})}function nc(e){return(t,o)=>Ct(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Kr(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ct(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 bo(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ct(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Zr={};Y(Zr,{repeat:()=>Bt});var Yt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Xt=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:ic}=fa;var $a=()=>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($a(),i),s=n.insertBefore($a(),i);o=new ic(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},Jt=(e,t,o=e)=>(e._$AI(t,o),e),ac={},_a=(e,t=ac)=>e._$AH=t,Pa=e=>e._$AH,lr=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 La=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Bt=Xt(class extends Pt{constructor(e){if(super(e),e.type!==Yt.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,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(l[u]===s[g])c[g]=Jt(i[u],a[g]),u++,g++;else if(l[m]===s[y])c[y]=Jt(i[m],a[y]),m--,y--;else if(l[u]===s[y])c[y]=Jt(i[u],a[y]),De(e,c[y+1],i[u]),u++,y--;else if(l[m]===s[g])c[g]=Jt(i[m],a[g]),De(e,i[u],i[m]),m--,g++;else if(d===void 0&&(d=La(s,g,y),h=La(l,u,m)),d.has(l[u]))if(d.has(l[m])){let v=h.get(s[g]),N=v!==void 0?i[v]:null;if(N===null){let A=De(e,i[u]);Jt(A,a[g]),c[g]=A}else c[g]=Jt(N,a[g]),De(e,i[u],N),i[v]=null;g++}else lr(i[m]),m--;else lr(i[u]),u++;for(;g<=y;){let v=De(e,c[y+1]);Jt(v,a[g]),c[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&lr(v)}return this.dt=s,_a(e,c),bt}});var qr={};Y(qr,{classMap:()=>ut});var ut=Xt(class extends Pt{constructor(e){if(super(e),e.type!==Yt.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 bt}});var Yr={};Y(Yr,{styleMap:()=>lc});var Ta="important",sc=" !"+Ta,lc=Xt(class extends Pt{constructor(e){if(super(e),e.type!==Yt.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(sc);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Ta:""):o[n]=i}}return bt}});var Xr={};Y(Xr,{UnsafeHTMLDirective:()=>Me,unsafeHTML:()=>xo});var Me=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==Yt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||t==null)return this.vt=void 0,this.et=t;if(t===bt)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 xo=Xt(Me);var en={};Y(en,{CacheRegistry:()=>tn});var Qr={};Y(Qr,{CancelablePromise:()=>We,CanceledPromiseError:()=>vo,cancelable:()=>Jr});var vo=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},We=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 We((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 We&&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={};Y(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={};Y(nn,{Debouncer:()=>Et});var Et=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={};Y(sn,{customElement:()=>X,isNumber:()=>Wa,jsonProperty:()=>Oe,optionalNumberProperty:()=>mc});var an={};Y(an,{dateReviver:()=>pc,deepEqual:()=>Se,delay:()=>Ia,eventPathContainsMatchingElement:()=>fc,flatDeep:()=>Da,hasChanged:()=>So,last:()=>hc,minmax:()=>uc,parseDate:()=>Ma,waitFor:()=>ka,waitUntil:()=>cc});var Ia=e=>new Promise(t=>setTimeout(t,e));async function cc(e,t=10,o=2e4){await ka(async()=>await e()||void 0,t,o)}async function ka(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Ia(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Da(e,t){return e.flatMap(o=>[o,...Da(t(o),t)])}function pc(...e){return function(t,o){return e.includes(t)?Ma(o):o}}function Ma(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 dc(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(!Se(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(!Se(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(!Se(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Se(e,t){try{return dc(e,t)}catch{return!1}}function So(e,t){return!Se(e,t)}function fc(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 uc(e,t,o){return Math.min(Math.max(e,t),o)}function hc(e){return e[e.length-1]}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Oe(e,t){let o=()=>JSON.parse(JSON.stringify(e));return S({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:So,...t??{}})}function mc(e){return S({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Wa(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Wa(e){return!isNaN(parseFloat(e))}var Dn={};Y(Dn,{designSystemVariables:()=>$});var kn={};Y(kn,{DesignSystemFamily:()=>Tn,DesignSystemSize:()=>In,FtCssVariableFactory:()=>r,badge:()=>vc,banner:()=>xc,breadcrumb:()=>Sc,button:()=>E,chart:()=>Ic,checkbox:()=>Dc,chip:()=>yc,collapsible:()=>Lc,comboboxMultiSelect:()=>$c,comboboxSingleSelect:()=>Rc,drawer:()=>Cc,floatingMenu:()=>Ac,foundation:()=>p,link:()=>bc,modal:()=>wc,notice:()=>kc,notification:()=>zc,pageHeader:()=>Oc,popover:()=>_c,radio:()=>Wc,resolveFamilyClass:()=>Uc,resolveSizeClass:()=>Hc,semantic:()=>f,setVariable:()=>w,switch_:()=>Tc,tabs:()=>Pc,textArea:()=>Nc,textInput:()=>Ec,toggle:()=>Mc,tooltip:()=>Bc,typographies:()=>Oo,typographyBody1Medium:()=>un,typographyBody1Regular:()=>fn,typographyBody1Semibold:()=>hn,typographyBody2Medium:()=>gn,typographyBody2MediumUnderline:()=>za,typographyBody2Regular:()=>mn,typographyBody2Semibold:()=>yn,typographyCaption1Bold:()=>Nn,typographyCaption1Medium:()=>Cn,typographyCaption1Semibold:()=>En,typographyCaption2Bold:()=>$n,typographyCaption2Medium:()=>An,typographyCaption2Semibold:()=>Rn,typographyCaption3Bold:()=>Ln,typographyCaption3Medium:()=>_n,typographyCaption3Semibold:()=>Pn,typographyDisplay:()=>ln,typographyLabel1Bold:()=>vn,typographyLabel1Medium:()=>bn,typographyLabel1Semibold:()=>xn,typographyLabel2Bold:()=>wn,typographyLabel2Medium:()=>Sn,typographyLabel2Semibold:()=>On,typographyTitle1:()=>cn,typographyTitle2:()=>pn,typographyTitle3:()=>dn,typographyVariants:()=>gc});var Ut=e=>typeof e=="string"?me(e):e,r=class{static create(t,o,n,i){let a=l=>Ut(l??i),s=_`var(${Ut(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${Ut(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=_`var(${Ut(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(${Ut(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):Ut(a??t.lastResortDefaultValue()),i=_`var(${Ut(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(${Ut(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function w(e,t){return Ut(`${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")},gn={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")},za={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")},yn={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")},wn={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")},Cn={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")},Oo={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":gn,"body-2-medium-underline":za,"body-2-semibold":yn,"label-1-medium":bn,"label-1-semibold":xn,"label-1-bold":vn,"label-2-medium":Sn,"label-2-semibold":On,"label-2-bold":wn,"caption-1-medium":Cn,"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},gc=["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 E={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:r.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:r.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var yc={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:r.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:r.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var bc={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 xc={iconSize:r.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var vc={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 Sc={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 Oc={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 wc={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 Cc={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 Ec={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 Nc={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 Ac={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 Rc={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 $c={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 _c={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",p.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",p.shadowElevation02)};var Pc={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Lc={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 Tc={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 Ic={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 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 Dc={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 Mc={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 Wc={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 zc={iconSize:r.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",p.spacing8)};var 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 Tn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Tn||(Tn={}));var In;(function(e){e.large="large",e.medium="medium",e.small="small"})(In||(In={}));function Uc(e){return`design-system--family-${e}`}function Hc(e){return`design-system--size-${e}`}var $={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={};Y(Bn,{FtNotificationEvent:()=>Mn,PostResizeEvent:()=>zn,PreResizeEvent:()=>Wn});var Mn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Wn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},zn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Xn={};Y(Xn,{computeOffsetPosition:()=>Ee});var Ua=["top","right","bottom","left"],Ba=["start","end"],Hn=Ua.reduce((e,t)=>e.concat(t,t+"-"+Ba[0],t+"-"+Ba[1]),[]),wo=Math.min,Qt=Math.max,Co=Math.round;var Ht=e=>({x:e,y:e}),Fc={left:"right",right:"left",bottom:"top",top:"bottom"},Vc={start:"end",end:"start"};function Fn(e,t,o){return Qt(e,wo(t,o))}function cr(e,t){return typeof e=="function"?e(t):e}function ze(e){return e.split("-")[0]}function te(e){return e.split("-")[1]}function Vn(e){return e==="x"?"y":"x"}function jn(e){return e==="y"?"height":"width"}function pr(e){return["top","bottom"].includes(ze(e))?"y":"x"}function Kn(e){return Vn(pr(e))}function Ha(e,t,o){o===void 0&&(o=!1);let n=te(e),i=Kn(e),a=jn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Un(s)),[s,Un(s)]}function Fa(e){return e.replace(/start|end/g,t=>Vc[t])}function Un(e){return e.replace(/left|right|bottom|top/g,t=>Fc[t])}function jc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Va(e){return typeof e!="number"?jc(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 ja(e,t,o){let{reference:n,floating:i}=e,a=pr(t),s=Kn(t),l=jn(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,g;switch(c){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:u};break;case"left":g={x:n.x-i.width,y:u};break;default:g={x:n.x,y:n.y}}switch(te(t)){case"start":g[s]-=m*(o&&d?-1:1);break;case"end":g[s]+=m*(o&&d?-1:1);break}return g}var Ka=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}=ja(d,n,c),m=n,g={},y=0;for(let v=0;v<l.length;v++){let{name:N,fn:A}=l[v],{x:R,y:x,data:b,reset:O}=await A({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:e,floating:t}});if(h=R??h,u=x??u,g={...g,[N]:{...g[N],...b}},O&&y<=50){y++,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}=ja(d,m,c)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function Gn(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:g=0}=cr(t,e),y=Va(g),N=l[m?u==="floating"?"reference":"floating":u],A=we(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:c})),R=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},O=we(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:R,offsetParent:x,strategy:c}):R);return{top:(A.top-O.top+y.top)/b.y,bottom:(O.bottom-A.bottom+y.bottom)/b.y,left:(A.left-O.left+y.left)/b.x,right:(O.right-A.right+y.right)/b.x}}function Kc(e,t,o){return(e?[...o.filter(i=>te(i)===e),...o.filter(i=>te(i)!==e)]:o.filter(i=>ze(i)===i)).filter(i=>e?te(i)===e||(t?Fa(i)!==i:!1):!0)}var Zn=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=Hn,autoAlignment:g=!0,...y}=cr(e,t),v=u!==void 0||m===Hn?Kc(u||null,g,m):m,N=await Gn(t,y),A=((o=s.autoPlacement)==null?void 0:o.index)||0,R=v[A];if(R==null)return{};let x=Ha(R,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==R)return{reset:{placement:v[0]}};let b=[N[ze(R)],N[x[0]],N[x[1]]],O=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:R,overflows:b}],k=v[A+1];if(k)return{data:{index:A+1,overflows:O},reset:{placement:k}};let K=O.map(L=>{let D=te(L.placement);return[L.placement,D&&h?L.overflows.slice(0,2).reduce((H,ct)=>H+ct,0):L.overflows[0],L.overflows]}).sort((L,D)=>L[1]-D[1]),G=((i=K.filter(L=>L[2].slice(0,te(L[0])?2:3).every(D=>D<=0))[0])==null?void 0:i[0])||K[0][0];return G!==l?{data:{index:A+1,overflows:O},reset:{placement:G}}:{}}}};var qn=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:N=>{let{x:A,y:R}=N;return{x:A,y:R}}},...c}=cr(e,t),d={x:o,y:n},h=await Gn(t,c),u=pr(ze(i)),m=Vn(u),g=d[m],y=d[u];if(a){let N=m==="y"?"top":"left",A=m==="y"?"bottom":"right",R=g+h[N],x=g-h[A];g=Fn(R,g,x)}if(s){let N=u==="y"?"top":"left",A=u==="y"?"bottom":"right",R=y+h[N],x=y-h[A];y=Fn(R,y,x)}let v=l.fn({...t,[m]:g,[u]:y});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function Ft(e){return Za(e)?(e.nodeName||"").toLowerCase():"#document"}function ht(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Vt(e){var t;return(t=(Za(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Za(e){return e instanceof Node||e instanceof ht(e).Node}function Lt(e){return e instanceof Element||e instanceof ht(e).Element}function Nt(e){return e instanceof HTMLElement||e instanceof ht(e).HTMLElement}function Ga(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ht(e).ShadowRoot}function Be(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=xt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function qa(e){return["table","td","th"].includes(Ft(e))}function fr(e){let t=ur(),o=xt(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 Ya(e){let t=Ce(e);for(;Nt(t)&&!Eo(t);){if(fr(t))return t;t=Ce(t)}return null}function ur(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Eo(e){return["html","body","#document"].includes(Ft(e))}function xt(e){return ht(e).getComputedStyle(e)}function No(e){return Lt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ce(e){if(Ft(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ga(e)&&e.host||Vt(e);return Ga(t)?t.host:t}function Xa(e){let t=Ce(e);return Eo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Nt(t)&&Be(t)?t:Xa(t)}function dr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Xa(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ht(i);return a?t.concat(s,s.visualViewport||[],Be(i)?i:[],s.frameElement&&o?dr(s.frameElement):[]):t.concat(i,dr(i,[],o))}function ts(e){let t=xt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Nt(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 es(e){return Lt(e)?e:e.contextElement}function Ue(e){let t=es(e);if(!Nt(t))return Ht(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=ts(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 Gc=Ht(0);function os(e){let t=ht(e);return!ur()||!t.visualViewport?Gc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ht(e)?!1:t}function Ao(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=es(e),s=Ht(1);t&&(n?Lt(n)&&(s=Ue(n)):s=Ue(e));let l=Zc(a,o,n)?os(a):Ht(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=ht(a),g=n&&Lt(n)?ht(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=Ue(y),N=y.getBoundingClientRect(),A=xt(y),R=N.left+(y.clientLeft+parseFloat(A.paddingLeft))*v.x,x=N.top+(y.clientTop+parseFloat(A.paddingTop))*v.y;c*=v.x,d*=v.y,h*=v.x,u*=v.y,c+=R,d+=x,y=ht(y).frameElement}}return we({width:h,height:u,x:c,y:d})}function qc(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Nt(o),a=Vt(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Ht(1),c=Ht(0);if((i||!i&&n!=="fixed")&&((Ft(o)!=="body"||Be(a))&&(s=No(o)),Nt(o))){let d=Ao(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 Yc(e){return Array.from(e.getClientRects())}function rs(e){return Ao(Vt(e)).left+No(e).scrollLeft}function Xc(e){let t=Vt(e),o=No(e),n=e.ownerDocument.body,i=Qt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Qt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+rs(e),l=-o.scrollTop;return xt(n).direction==="rtl"&&(s+=Qt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Jc(e,t){let o=ht(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=ur();(!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=Ao(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Nt(e)?Ue(e):Ht(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 Ja(e,t,o){let n;if(t==="viewport")n=Jc(e,o);else if(t==="document")n=Xc(Vt(e));else if(Lt(t))n=Qc(t,o);else{let i=os(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return we(n)}function ns(e,t){let o=Ce(e);return o===t||!Lt(o)||Eo(o)?!1:xt(o).position==="fixed"||ns(o,t)}function tp(e,t){let o=t.get(e);if(o)return o;let n=dr(e,[],!1).filter(l=>Lt(l)&&Ft(l)!=="body"),i=null,a=xt(e).position==="fixed",s=a?Ce(e):e;for(;Lt(s)&&!Eo(s);){let l=xt(s),c=fr(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Be(s)&&!c&&ns(e,s))?n=n.filter(h=>h!==s):i=l,s=Ce(s)}return t.set(e,n),n}function ep(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?tp(t,this._c):[].concat(o),n],l=s[0],c=s.reduce((d,h)=>{let u=Ja(t,h,i);return d.top=Qt(u.top,d.top),d.right=wo(u.right,d.right),d.bottom=wo(u.bottom,d.bottom),d.left=Qt(u.left,d.left),d},Ja(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function op(e){return ts(e)}function rp(e,t,o){let n=Nt(t),i=Vt(t),a=o==="fixed",s=Ao(e,!0,a,t),l={scrollLeft:0,scrollTop:0},c=Ht(0);if(n||!n&&!a)if((Ft(t)!=="body"||Be(i))&&(l=No(t)),n){let d=Ao(t,!0,a,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else i&&(c.x=rs(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Qa(e,t){return!Nt(e)||xt(e).position==="fixed"?null:t?t(e):e.offsetParent}function is(e,t){let o=ht(e);if(!Nt(e))return o;let n=Qa(e,t);for(;n&&qa(n)&&xt(n).position==="static";)n=Qa(n,t);return n&&(Ft(n)==="html"||Ft(n)==="body"&&xt(n).position==="static"&&!fr(n))?o:n||Ya(e)||o}var np=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||is,a=this.getDimensions;return{reference:rp(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function ip(e){return xt(e).direction==="rtl"}var hr={convertOffsetParentRelativeRectToViewportRelativeRect:qc,getDocumentElement:Vt,getClippingRect:ep,getOffsetParent:is,getElementRects:np,getClientRects:Yc,getDimensions:op,getScale:Ue,isElement:Lt,isRTL:ip};var as=(e,t,o)=>{let n=new Map,i={platform:hr,...o},a={...i.platform,_c:n};return Ka(e,t,{...i,platform:a})};function ss(e){return ap(e)}function Yn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function ap(e){for(let t=e;t;t=Yn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Yn(e);t;t=Yn(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 Ee(e,t,o){return as(e,t,{platform:{...hr,getOffsetParent:n=>hr.getOffsetParent(n,ss)},middleware:[qn({crossAxis:!0}),Zn({allowedPlacements:[o]})]})}var Qn={};Y(Qn,{FtLitElement:()=>B});var Jn={};Y(Jn,{ScopedRegistryLitElement:()=>Ro});var mr=window,sp=mr.ShadowRoot&&(mr.ShadyCSS===void 0||mr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_m=Symbol();var ls=(e,t)=>{sp?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=mr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var Ro=class extends zt{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 ls(n,t.elementStyles),n}};var gr=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},ds,cs=Symbol("constructorPrototype"),ps=Symbol("constructorName"),fs=Symbol("exportpartsDebouncer"),B=class extends Ro{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ds]=new Et(5),this[ps]=this.constructor.name,this[cs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ps]&&Object.setPrototypeOf(this,this[cs])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[fs].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 g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...g,...y).filter(c).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};ds=fs;gr([S()],B.prototype,"exportpartsPrefix",void 0);gr([Oe([])],B.prototype,"exportpartsPrefixes",void 0);gr([S()],B.prototype,"customStylesheet",void 0);gr([Z()],B.prototype,"useAdoptedStyleSheets",void 0);var us={};var oi={};Y(oi,{highlightHtml:()=>pp,highlightHtmlColorCssVariable:()=>hs,highlightHtmlStyles:()=>cp});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,g=>c.push(g),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 $o=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((g,y)=>{y>=l&&(t.nodes[y].start>0&&y!==l&&(t.nodes[y].start-=h),t.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(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,g)=>this.opt.filter(g,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):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 $o(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 lp=ti,hs=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),cp=_`
1
+ "use strict";(()=>{var Wc=Object.defineProperty;var Q=(e,t)=>{for(var o in t)Wc(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,l=new WeakMap,c=new WeakMap,s=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,U=new Set(S.observedAttributes||[]);b(S,U,E);let Y={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:U};this._definitionsByTag.set(O,Y),this._definitionsByClass.set(S,Y);let gt=o.call(n,O);gt||(gt=m(O),t.call(n,O,gt)),this===window.customElements&&(c.set(S,Y),Y.standInClass=gt);let q=this._awaitingUpgrade.get(O);if(q){this._awaitingUpgrade.delete(O);for(let B of q)l.delete(B),v(B,Y,!0)}let W=this._whenDefinedPromises.get(O);return W!==void 0&&(W.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){I.push(this),n.upgrade.apply(n,arguments),I.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(O);return E===void 0&&(E={},E.promise=new Promise(U=>E.resolve=U),this._whenDefinedPromises.set(O,E)),E.promise}_upgradeWhenDefined(O,S,E){let U=this._awaitingUpgrade.get(S);U||this._awaitingUpgrade.set(S,U=new Set),E?U.add(O):U.delete(O)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let E=c.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(e,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,E),S},window.HTMLElement.prototype=e.prototype;let u=O=>O===document||O instanceof ShadowRoot,y=O=>{let S=O.getRootNode();if(!u(S)){let E=I[I.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),u(S)||(S=s.get(S)?.getRootNode()||document)}return S.customElements},m=O=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let U=y(E)||window.customElements,Y=U._getDefinition(O);return Y?v(E,Y):l.set(E,U),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):l.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):l.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},b=(O,S,E)=>{if(S.size===0||E===void 0)return;let U=O.prototype.setAttribute;U&&(O.prototype.setAttribute=function(q,W){let B=q.toLowerCase();if(S.has(B)){let G=this.getAttribute(B);U.call(this,B,W),E.call(this,B,G,W)}else U.call(this,B,W)});let Y=O.prototype.removeAttribute;Y&&(O.prototype.removeAttribute=function(q){let W=q.toLowerCase();if(S.has(W)){let B=this.getAttribute(W);Y.call(this,W),E.call(this,W,B,null)}else Y.call(this,W)});let gt=O.prototype.toggleAttribute;gt&&(O.prototype.toggleAttribute=function(q,W){let B=q.toLowerCase();if(S.has(B)){let G=this.getAttribute(B);gt.call(this,B,W);let ft=this.getAttribute(B);E.call(this,B,G,ft)}else gt.call(this,B,W)})},x=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===e?Object.setPrototypeOf(O,window.HTMLElement):x(S)},v=(O,S,E=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),d=O;try{new S.elementClass}catch{x(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(U=>{O.hasAttribute(U)&&S.attributeChangedCallback.call(O,U,null,O.getAttribute(U))}),E&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=C.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let I=[document],P=(O,S,E=void 0)=>{let U=(E?Object.getPrototypeOf(E):O.prototype)[S];O.prototype[S]=function(){I.push(this);let Y=U.apply(E||this,arguments);return Y!==void 0&&s.set(Y,this),I.pop(),Y}};P(ShadowRoot,"createElement",document),P(ShadowRoot,"importNode",document),P(Element,"insertAdjacentHTML");let L=(O,S)=>{let E=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...E,set(U){I.push(this),E.set.call(this,U),I.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...q){let W=S.call(this,...q);return O.set(W,this),W},E.forEach(q=>{let W=window.ElementInternals.prototype,B=W[q];W[q]=function(...G){let ft=O.get(this);if(i.get(ft).formAssociated===!0)return B?.call(this,...G);throw new DOMException(`Failed to execute ${B} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class U extends Array{constructor(W){super(...W),this._elements=W}get value(){return this._elements.find(W=>W.checked===!0)?.value||""}}class Y{constructor(W){let B=new Map;W.forEach((G,ft)=>{let zr=G.getAttribute("name"),qa=B.get(zr)||[];this[+ft]=G,qa.push(G),B.set(zr,qa)}),this.length=W.length,B.forEach((G,ft)=>{G&&(G.length===1?this[ft]=G[0]:this[ft]=new U(G))})}namedItem(W){return this[W]}}let gt=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let q=gt.get.call(this,[]),W=[];for(let B of q){let G=i.get(B);(!G||G.formAssociated===!0)&&W.push(B)}return new Y(W)}})}}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(l){console.info(o,n,i,l)}}}var Yr={};Q(Yr,{CSSResult:()=>Te,LitElement:()=>Ht,ReactiveElement:()=>_t,_$LE:()=>as,_$LH:()=>os,adoptStyles:()=>rr,css:()=>$,defaultConverter:()=>nr,getCompatibleStyle:()=>mo,html:()=>z,isServer:()=>Pp,noChange:()=>Qt,notEqual:()=>Hr,nothing:()=>K,render:()=>jr,supportsAdoptingStyleSheets:()=>go,svg:()=>es,unsafeCSS:()=>Mt});var Ho=globalThis,Go=Ho.ShadowRoot&&(Ho.ShadyCSS===void 0||Ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ja=Symbol(),Xa=new WeakMap,Zo=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Ja)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(Go&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Xa.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Xa.set(o,t))}return t}toString(){return this.cssText}},Qa=e=>new Zo(typeof e=="string"?e:e+"",void 0,Ja);var Tr=(e,t)=>{if(Go)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Ho.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Ko=Go?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Qa(o)})(e):e;var{is:zc,defineProperty:Tc,getOwnPropertyDescriptor:Uc,getOwnPropertyNames:Bc,getOwnPropertySymbols:Dc,getPrototypeOf:Mc}=Object,Vo=globalThis,ti=Vo.trustedTypes,Fc=ti?ti.emptyScript:"",Hc=Vo.reactiveElementPolyfillSupport,co=(e,t)=>e,so={toAttribute(e,t){switch(t){case Boolean:e=e?Fc: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}},jo=(e,t)=>!zc(e,t),ei={attribute:!0,type:String,converter:so,reflect:!1,hasChanged:jo};Symbol.metadata??=Symbol("metadata"),Vo.litPropertyMetadata??=new WeakMap;var he=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=ei){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&&Tc(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:l}=Uc(this.prototype,t)??{get(){return this[o]},set(c){this[o]=c}};return{get(){return i?.call(this)},set(c){let s=i?.call(this);l.call(this,c),this.requestUpdate(t,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ei}static _$Ei(){if(this.hasOwnProperty(co("elementProperties")))return;let t=Mc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(co("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(co("properties"))){let o=this.properties,n=[...Bc(o),...Dc(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(Ko(i))}else t!==void 0&&o.push(Ko(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 Tr(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 l=(n.converter?.toAttribute!==void 0?n.converter:so).toAttribute(o,n.type);this._$Em=t,l==null?this.removeAttribute(i):this.setAttribute(i,l),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let l=n.getPropertyOptions(i),c=typeof l.converter=="function"?{fromAttribute:l.converter}:l.converter?.fromAttribute!==void 0?l.converter:so;this._$Em=i,this[i]=c.fromAttribute(o,l.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,l){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??jo)(i?l: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,l]of this._$Ep)this[i]=l;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,l]of n)l.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],l)}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){}};he.elementStyles=[],he.shadowRootOptions={mode:"open"},he[co("elementProperties")]=new Map,he[co("finalized")]=new Map,Hc?.({ReactiveElement:he}),(Vo.reactiveElementVersions??=[]).push("2.0.2");var Br=globalThis,Yo=Br.trustedTypes,oi=Yo?Yo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Dr="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Mr="?"+Dt,Zc=`<${Mr}>`,ye=document,qo=()=>ye.createComment(""),fo=e=>e===null||typeof e!="object"&&typeof e!="function",ci=Array.isArray,si=e=>ci(e)||typeof e?.[Symbol.iterator]=="function",Ur=`[
2
+ \f\r]`,po=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ri=/-->/g,ni=/>/g,ge=RegExp(`>|${Ur}(?:([^\\s"'>=/]+)(${Ur}*=${Ur}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ai=/'/g,ii=/"/g,di=/^(?:script|style|textarea|title)$/i,pi=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),fi=pi(1),ui=pi(2),St=Symbol.for("lit-noChange"),rt=Symbol.for("lit-nothing"),li=new WeakMap,me=ye.createTreeWalker(ye,129);function hi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return oi!==void 0?oi.createHTML(t):t}var gi=(e,t)=>{let o=e.length-1,n=[],i,l=t===2?"<svg>":"",c=po;for(let s=0;s<o;s++){let d=e[s],u,y,m=-1,b=0;for(;b<d.length&&(c.lastIndex=b,y=c.exec(d),y!==null);)b=c.lastIndex,c===po?y[1]==="!--"?c=ri:y[1]!==void 0?c=ni:y[2]!==void 0?(di.test(y[2])&&(i=RegExp("</"+y[2],"g")),c=ge):y[3]!==void 0&&(c=ge):c===ge?y[0]===">"?(c=i??po,m=-1):y[1]===void 0?m=-2:(m=c.lastIndex-y[2].length,u=y[1],c=y[3]===void 0?ge:y[3]==='"'?ii:ai):c===ii||c===ai?c=ge:c===ri||c===ni?c=po:(c=ge,i=void 0);let x=c===ge&&e[s+1].startsWith("/>")?" ":"";l+=c===po?d+Zc:m>=0?(n.push(u),d.slice(0,m)+Dr+d.slice(m)+Dt+x):d+Dt+(m===-2?s:x)}return[hi(e,l+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},uo=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let l=0,c=0,s=t.length-1,d=this.parts,[u,y]=gi(t,o);if(this.el=e.createElement(u,n),me.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=me.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Dr)){let b=y[c++],x=i.getAttribute(m).split(Dt),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:l,name:v[2],strings:x,ctor:v[1]==="."?Jo:v[1]==="?"?Qo:v[1]==="@"?tr:xe}),i.removeAttribute(m)}else m.startsWith(Dt)&&(d.push({type:6,index:l}),i.removeAttribute(m));if(di.test(i.tagName)){let m=i.textContent.split(Dt),b=m.length-1;if(b>0){i.textContent=Yo?Yo.emptyScript:"";for(let x=0;x<b;x++)i.append(m[x],qo()),me.nextNode(),d.push({type:2,index:++l});i.append(m[b],qo())}}}else if(i.nodeType===8)if(i.data===Mr)d.push({type:2,index:l});else{let m=-1;for(;(m=i.data.indexOf(Dt,m+1))!==-1;)d.push({type:7,index:l}),m+=Dt.length-1}l++}}static createElement(t,o){let n=ye.createElement("template");return n.innerHTML=t,n}};function be(e,t,o=e,n){if(t===St)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,l=fo(t)?void 0:t._$litDirective$;return i?.constructor!==l&&(i?._$AO?.(!1),l===void 0?i=void 0:(i=new l(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=be(e,i._$AS(e,t.values),i,n)),t}var Xo=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??ye).importNode(o,!0);me.currentNode=i;let l=me.nextNode(),c=0,s=0,d=n[0];for(;d!==void 0;){if(c===d.index){let u;d.type===2?u=new ho(l,l.nextSibling,this,t):d.type===1?u=new d.ctor(l,d.name,d.strings,this,t):d.type===6&&(u=new er(l,this,t)),this._$AV.push(u),d=n[++s]}c!==d?.index&&(l=me.nextNode(),c++)}return me.currentNode=ye,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++}},ho=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=rt,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=be(this,t,o),fo(t)?t===rt||t==null||t===""?(this._$AH!==rt&&this._$AR(),this._$AH=rt):t!==this._$AH&&t!==St&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):si(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!==rt&&fo(this._$AH)?this._$AA.nextSibling.data=t:this.$(ye.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=uo.createElement(hi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let l=new Xo(i,this),c=l.u(this.options);l.p(o),this.$(c),this._$AH=l}}_$AC(t){let o=li.get(t.strings);return o===void 0&&li.set(t.strings,o=new uo(t)),o}T(t){ci(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let l of t)i===o.length?o.push(n=new e(this.k(qo()),this.k(qo()),this,this.options)):n=o[i],n._$AI(l),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))}},xe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,l){this.type=1,this._$AH=rt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=l,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=rt}_$AI(t,o=this,n,i){let l=this.strings,c=!1;if(l===void 0)t=be(this,t,o,0),c=!fo(t)||t!==this._$AH&&t!==St,c&&(this._$AH=t);else{let s=t,d,u;for(t=l[0],d=0;d<l.length-1;d++)u=be(this,s[n+d],o,d),u===St&&(u=this._$AH[d]),c||=!fo(u)||u!==this._$AH[d],u===rt?t=rt:t!==rt&&(t+=(u??"")+l[d+1]),this._$AH[d]=u}c&&!i&&this.O(t)}O(t){t===rt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Jo=class extends xe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===rt?void 0:t}},Qo=class extends xe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==rt)}},tr=class extends xe{constructor(t,o,n,i,l){super(t,o,n,i,l),this.type=5}_$AI(t,o=this){if((t=be(this,t,o,0)??rt)===St)return;let n=this._$AH,i=t===rt&&n!==rt||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,l=t!==rt&&(n===rt||i);i&&this.element.removeEventListener(this.name,this,n),l&&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)}},er=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){be(this,t)}},mi={j:Dr,P:Dt,A:Mr,C:1,M:gi,L:Xo,R:si,V:be,D:ho,I:xe,H:Qo,N:tr,U:Jo,B:er},Gc=Br.litHtmlPolyfillSupport;Gc?.(uo,ho),(Br.litHtmlVersions??=[]).push("3.1.0");var or=globalThis,go=or.ShadowRoot&&(or.ShadyCSS===void 0||or.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Fr=Symbol(),yi=new WeakMap,Te=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Fr)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(go&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=yi.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&yi.set(o,t))}return t}toString(){return this.cssText}},Mt=e=>new Te(typeof e=="string"?e:e+"",void 0,Fr),$=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,l)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[l+1],e[0]);return new Te(o,e,Fr)},rr=(e,t)=>{if(go)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=or.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},mo=go?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Mt(o)})(e):e;var{is:Kc,defineProperty:Vc,getOwnPropertyDescriptor:jc,getOwnPropertyNames:Yc,getOwnPropertySymbols:qc,getPrototypeOf:Xc}=Object,ar=globalThis,bi=ar.trustedTypes,Jc=bi?bi.emptyScript:"",Qc=ar.reactiveElementPolyfillSupport,yo=(e,t)=>e,nr={toAttribute(e,t){switch(t){case Boolean:e=e?Jc: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}},Hr=(e,t)=>!Kc(e,t),xi={attribute:!0,type:String,converter:nr,reflect:!1,hasChanged:Hr};Symbol.metadata??=Symbol("metadata"),ar.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=xi){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&&Vc(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:l}=jc(this.prototype,t)??{get(){return this[o]},set(c){this[o]=c}};return{get(){return i?.call(this)},set(c){let s=i?.call(this);l.call(this,c),this.requestUpdate(t,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??xi}static _$Ei(){if(this.hasOwnProperty(yo("elementProperties")))return;let t=Xc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(yo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(yo("properties"))){let o=this.properties,n=[...Yc(o),...qc(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(mo(i))}else t!==void 0&&o.push(mo(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 rr(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 l=(n.converter?.toAttribute!==void 0?n.converter:nr).toAttribute(o,n.type);this._$Em=t,l==null?this.removeAttribute(i):this.setAttribute(i,l),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let l=n.getPropertyOptions(i),c=typeof l.converter=="function"?{fromAttribute:l.converter}:l.converter?.fromAttribute!==void 0?l.converter:nr;this._$Em=i,this[i]=c.fromAttribute(o,l.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,l){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Hr)(i?l: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,l]of this._$Ep)this[i]=l;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,l]of n)l.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],l)}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[yo("elementProperties")]=new Map,_t[yo("finalized")]=new Map,Qc?.({ReactiveElement:_t}),(ar.reactiveElementVersions??=[]).push("2.0.2");var Gr=globalThis,ir=Gr.trustedTypes,vi=ir?ir.createPolicy("lit-html",{createHTML:e=>e}):void 0,Kr="$lit$",Ft=`lit$${(Math.random()+"").slice(9)}$`,Vr="?"+Ft,ts=`<${Vr}>`,Oe=document,xo=()=>Oe.createComment(""),vo=e=>e===null||typeof e!="object"&&typeof e!="function",Ni=Array.isArray,Ri=e=>Ni(e)||typeof e?.[Symbol.iterator]=="function",Zr=`[
4
+ \f\r]`,bo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Si=/-->/g,Oi=/>/g,ve=RegExp(`>|${Zr}(?:([^\\s"'>=/]+)(${Zr}*=${Zr}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ci=/'/g,wi=/"/g,Ai=/^(?:script|style|textarea|title)$/i,Ii=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),z=Ii(1),es=Ii(2),Qt=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Ei=new WeakMap,Se=Oe.createTreeWalker(Oe,129);function Pi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return vi!==void 0?vi.createHTML(t):t}var $i=(e,t)=>{let o=e.length-1,n=[],i,l=t===2?"<svg>":"",c=bo;for(let s=0;s<o;s++){let d=e[s],u,y,m=-1,b=0;for(;b<d.length&&(c.lastIndex=b,y=c.exec(d),y!==null);)b=c.lastIndex,c===bo?y[1]==="!--"?c=Si:y[1]!==void 0?c=Oi:y[2]!==void 0?(Ai.test(y[2])&&(i=RegExp("</"+y[2],"g")),c=ve):y[3]!==void 0&&(c=ve):c===ve?y[0]===">"?(c=i??bo,m=-1):y[1]===void 0?m=-2:(m=c.lastIndex-y[2].length,u=y[1],c=y[3]===void 0?ve:y[3]==='"'?wi:Ci):c===wi||c===Ci?c=ve:c===Si||c===Oi?c=bo:(c=ve,i=void 0);let x=c===ve&&e[s+1].startsWith("/>")?" ":"";l+=c===bo?d+ts:m>=0?(n.push(u),d.slice(0,m)+Kr+d.slice(m)+Ft+x):d+Ft+(m===-2?s:x)}return[Pi(e,l+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},So=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let l=0,c=0,s=t.length-1,d=this.parts,[u,y]=$i(t,o);if(this.el=e.createElement(u,n),Se.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Se.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Kr)){let b=y[c++],x=i.getAttribute(m).split(Ft),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:l,name:v[2],strings:x,ctor:v[1]==="."?cr:v[1]==="?"?sr:v[1]==="@"?dr:we}),i.removeAttribute(m)}else m.startsWith(Ft)&&(d.push({type:6,index:l}),i.removeAttribute(m));if(Ai.test(i.tagName)){let m=i.textContent.split(Ft),b=m.length-1;if(b>0){i.textContent=ir?ir.emptyScript:"";for(let x=0;x<b;x++)i.append(m[x],xo()),Se.nextNode(),d.push({type:2,index:++l});i.append(m[b],xo())}}}else if(i.nodeType===8)if(i.data===Vr)d.push({type:2,index:l});else{let m=-1;for(;(m=i.data.indexOf(Ft,m+1))!==-1;)d.push({type:7,index:l}),m+=Ft.length-1}l++}}static createElement(t,o){let n=Oe.createElement("template");return n.innerHTML=t,n}};function Ce(e,t,o=e,n){if(t===Qt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,l=vo(t)?void 0:t._$litDirective$;return i?.constructor!==l&&(i?._$AO?.(!1),l===void 0?i=void 0:(i=new l(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Ce(e,i._$AS(e,t.values),i,n)),t}var lr=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??Oe).importNode(o,!0);Se.currentNode=i;let l=Se.nextNode(),c=0,s=0,d=n[0];for(;d!==void 0;){if(c===d.index){let u;d.type===2?u=new Ue(l,l.nextSibling,this,t):d.type===1?u=new d.ctor(l,d.name,d.strings,this,t):d.type===6&&(u=new pr(l,this,t)),this._$AV.push(u),d=n[++s]}c!==d?.index&&(l=Se.nextNode(),c++)}return Se.currentNode=Oe,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++}},Ue=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ce(this,t,o),vo(t)?t===K||t==null||t===""?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==Qt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ri(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==K&&vo(this._$AH)?this._$AA.nextSibling.data=t:this.$(Oe.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=So.createElement(Pi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let l=new lr(i,this),c=l.u(this.options);l.p(o),this.$(c),this._$AH=l}}_$AC(t){let o=Ei.get(t.strings);return o===void 0&&Ei.set(t.strings,o=new So(t)),o}T(t){Ni(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let l of t)i===o.length?o.push(n=new e(this.k(xo()),this.k(xo()),this,this.options)):n=o[i],n._$AI(l),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))}},we=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,l){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=l,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=K}_$AI(t,o=this,n,i){let l=this.strings,c=!1;if(l===void 0)t=Ce(this,t,o,0),c=!vo(t)||t!==this._$AH&&t!==Qt,c&&(this._$AH=t);else{let s=t,d,u;for(t=l[0],d=0;d<l.length-1;d++)u=Ce(this,s[n+d],o,d),u===Qt&&(u=this._$AH[d]),c||=!vo(u)||u!==this._$AH[d],u===K?t=K:t!==K&&(t+=(u??"")+l[d+1]),this._$AH[d]=u}c&&!i&&this.O(t)}O(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},cr=class extends we{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===K?void 0:t}},sr=class extends we{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==K)}},dr=class extends we{constructor(t,o,n,i,l){super(t,o,n,i,l),this.type=5}_$AI(t,o=this){if((t=Ce(this,t,o,0)??K)===Qt)return;let n=this._$AH,i=t===K&&n!==K||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,l=t!==K&&(n===K||i);i&&this.element.removeEventListener(this.name,this,n),l&&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)}},pr=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){Ce(this,t)}},os={j:Kr,P:Ft,A:Vr,C:1,M:$i,L:lr,R:Ri,V:Ce,D:Ue,I:we,H:sr,N:dr,U:cr,B:pr},rs=Gr.litHtmlPolyfillSupport;rs?.(So,Ue),(Gr.litHtmlVersions??=[]).push("3.1.0");var jr=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let l=o?.renderBefore??null;n._$litPart$=i=new Ue(t.insertBefore(xo(),l),l,void 0,o??{})}return i._$AI(e),i};var Ht=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=jr(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};Ht._$litElement$=!0,Ht.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ht});var ns=globalThis.litElementPolyfillSupport;ns?.({LitElement:Ht});var as={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Pp=!1;var Xr={};Q(Xr,{customElement:()=>is,eventOptions:()=>Be,property:()=>w,query:()=>V,queryAll:()=>ss,queryAssignedElements:()=>qr,queryAssignedNodes:()=>Oo,queryAsync:()=>ds,standardProperty:()=>Li,state:()=>X});var is=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var ls={attribute:!0,type:String,converter:so,reflect:!1,hasChanged:jo},Li=(e=ls,t,o)=>{let{kind:n,metadata:i}=o,l=globalThis.litPropertyMetadata.get(i);if(l===void 0&&globalThis.litPropertyMetadata.set(i,l=new Map),l.set(o.name,e),n==="accessor"){let{name:c}=o;return{set(s){let d=t.get.call(this);t.set.call(this,s),this.requestUpdate(c,d,e)},init(s){return s!==void 0&&this.C(c,void 0,e),s}}}if(n==="setter"){let{name:c}=o;return function(s){let d=this[c];t.call(this,s),this.requestUpdate(c,d,e)}}throw Error("Unsupported decorator location: "+n)};function w(e){return(t,o)=>typeof o=="object"?Li(e,t,o):((n,i,l)=>{let c=i.hasOwnProperty(l);return i.constructor.createProperty(l,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(i,l):void 0})(e,t,o)}function X(e){return w({...e,state:!0,attribute:!1})}function Be(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Rt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function V(e,t){return(o,n,i)=>{let l=c=>c.renderRoot?.querySelector(e)??null;if(t){let{get:c,set:s}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Rt(o,n,{get(){let d=c.call(this);return d===void 0&&(d=l(this),(d!==null||this.hasUpdated)&&s.call(this,d)),d}})}return Rt(o,n,{get(){return l(this)}})}}var cs;function ss(e){return(t,o)=>Rt(t,o,{get(){return(this.renderRoot??(cs??=document.createDocumentFragment())).querySelectorAll(e)}})}function ds(e){return(t,o)=>Rt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function qr(e){return(t,o)=>{let{slot:n,selector:i}=e??{},l="slot"+(n?`[name=${n}]`:":not([name])");return Rt(t,o,{get(){let c=this.renderRoot?.querySelector(l),s=c?.assignedElements(e)??[];return i===void 0?s:s.filter(d=>d.matches(i))}})}}function Oo(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Rt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Jr={};Q(Jr,{repeat:()=>Zt});var te={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ee=e=>(...t)=>({_$litDirective$:e,values:t}),kt=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:ps}=mi;var _i=()=>document.createComment(""),De=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let l=n.insertBefore(_i(),i),c=n.insertBefore(_i(),i);o=new ps(l,c,e,e.options)}else{let l=o._$AB.nextSibling,c=o._$AM,s=c!==e;if(s){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==c._$AU&&o._$AP(d)}if(l!==i||s){let d=o._$AA;for(;d!==l;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return o},oe=(e,t,o=e)=>(e._$AI(t,o),e),fs={},ki=(e,t=fs)=>e._$AH=t,Wi=e=>e._$AH,fr=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 zi=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Zt=ee(class extends kt{constructor(e){if(super(e),e.type!==te.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=[],l=[],c=0;for(let s of e)i[c]=n?n(s,c):c,l[c]=o(s,c),c++;return{values:l,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=Wi(e),{values:l,keys:c}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=c,l;let s=this.dt??=[],d=[],u,y,m=0,b=i.length-1,x=0,v=l.length-1;for(;m<=b&&x<=v;)if(i[m]===null)m++;else if(i[b]===null)b--;else if(s[m]===c[x])d[x]=oe(i[m],l[x]),m++,x++;else if(s[b]===c[v])d[v]=oe(i[b],l[v]),b--,v--;else if(s[m]===c[v])d[v]=oe(i[m],l[v]),De(e,d[v+1],i[m]),m++,v--;else if(s[b]===c[x])d[x]=oe(i[b],l[x]),De(e,i[m],i[b]),b--,x++;else if(u===void 0&&(u=zi(c,x,v),y=zi(s,m,b)),u.has(s[m]))if(u.has(s[b])){let C=y.get(c[x]),I=C!==void 0?i[C]:null;if(I===null){let P=De(e,i[m]);oe(P,l[x]),d[x]=P}else d[x]=oe(I,l[x]),De(e,i[m],I),i[C]=null;x++}else fr(i[b]),b--;else fr(i[m]),m++;for(;x<=v;){let C=De(e,d[v+1]);oe(C,l[x]),d[x++]=C}for(;m<=b;){let C=i[m++];C!==null&&fr(C)}return this.dt=c,ki(e,d),St}});var Qr={};Q(Qr,{classMap:()=>mt});var mt=ee(class extends kt{constructor(e){if(super(e),e.type!==te.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 St}});var tn={};Q(tn,{styleMap:()=>hs});var Ti="important",us=" !"+Ti,hs=ee(class extends kt{constructor(e){if(super(e),e.type!==te.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 l=typeof i=="string"&&i.endsWith(us);n.includes("-")||l?o.setProperty(n,l?i.slice(0,-11):i,l?Ti:""):o[n]=i}}return St}});var en={};Q(en,{UnsafeHTMLDirective:()=>Me,unsafeHTML:()=>Co});var Me=class extends kt{constructor(t){if(super(t),this.et=rt,t.type!==te.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||t==null)return this.vt=void 0,this.et=t;if(t===St)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 Co=ee(Me);var an={};Q(an,{CacheRegistry:()=>nn});var rn={};Q(rn,{CancelablePromise:()=>Fe,CanceledPromiseError:()=>wo,cancelable:()=>on});var wo=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Fe=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new wo("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new wo("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},on=e=>new Fe((t,o)=>e.then(t).catch(o));var nn=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 Fe&&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=on(o());return this.content[t]=i,i.then(l=>(this.content[t]=l,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),l))}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 cn={};Q(cn,{ClusteringHelper:()=>ln});var ln=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 l=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata;return o==null?e.flattenMetadata(l):e.flattenMetadata(l.find(c=>c.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(l=>{n.push(l.join(" > ")),l.length>2?i.push(`... > ${l[l.length-1]}`):i.push(l.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,l;let c=e.extractResultMetadata(this.selectedResult,t),s=(i=c?.label)!==null&&i!==void 0?i:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(u=>e.extractResultMetadata(u,t)).map(u=>u??{key:t,label:s,value:void 0,displayValue:n}).filter(u=>u.value!=c?.value).filter((u,y,m)=>m.findIndex(b=>b.value===u.value)===y).map(u=>({result:this.findBestResultForMetadataValue(t,u.value),metadata:u})).sort((u,y)=>this.compareMetadata(u.metadata.value,y.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let l=this.getMetadataDescriptor(n),c=l?.sortRule||"NONE",s=l?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return s?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var u;return((u=e.extractResultMetadata(d,t))===null||u===void 0?void 0:u.value)==o}),l=[...e.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],c,s=-1;for(let d of n){let u=this.countMatchingMetadata(d,l);if(u>s&&(s=u,c=d,u===l.length))break}return c}countMatchingMetadata(t,o){return e.extractResultMetadata(t).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var sn={};Q(sn,{Debouncer:()=>At});var At=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,l=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(s){i(s);return}l(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var pn={};Q(pn,{customElement:()=>tt,isNumber:()=>Fi,jsonProperty:()=>Ne,optionalNumberProperty:()=>Ss});var dn={};Q(dn,{dateReviver:()=>ms,deepEqual:()=>Ee,delay:()=>Ui,eventPathContainsMatchingElement:()=>bs,flatDeep:()=>Di,hasChanged:()=>Eo,last:()=>vs,minmax:()=>xs,parseDate:()=>Mi,waitFor:()=>Bi,waitUntil:()=>gs});var Ui=e=>new Promise(t=>setTimeout(t,e));async function gs(e,t=10,o=2e4){await Bi(async()=>await e()||void 0,t,o)}async function Bi(e,t=10,o=2e4){let n=await e(),i,l;for(i=l=performance.now();n==null&&(!o||l-i<o);)await Ui(t),n=await e(),l=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Di(e,t){return e.flatMap(o=>[o,...Di(t(o),t)])}function ms(...e){return function(t,o){return e.includes(t)?Mi(o):o}}function Mi(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 ys(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(!Ee(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(!Ee(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 l=i[n];if(!Ee(e[l],t[l]))return!1}return!0}return e!==e&&t!==t}function Ee(e,t){try{return ys(e,t)}catch{return!1}}function Eo(e,t){return!Ee(e,t)}function bs(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(l=>i.matches(l)))return!0}}return!1}function xs(e,t,o){return Math.min(Math.max(e,t),o)}function vs(e){return e[e.length-1]}var tt=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ne(e,t){let o=()=>JSON.parse(JSON.stringify(e));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Eo,...t??{}})}function Ss(e){return w({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Fi(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Fi(e){return!isNaN(parseFloat(e))}var Dn={};Q(Dn,{designSystemVariables:()=>_});var Bn={};Q(Bn,{DesignSystemFamily:()=>Tn,DesignSystemSize:()=>Un,FtCssVariableFactory:()=>r,badge:()=>Rs,banner:()=>Ns,breadcrumb:()=>As,button:()=>Cs,chart:()=>Ms,checkbox:()=>Hs,chip:()=>ws,collapsible:()=>Bs,comboboxMultiSelect:()=>Ts,comboboxSingleSelect:()=>zs,drawer:()=>$s,floatingMenu:()=>Ws,foundation:()=>f,link:()=>Es,modal:()=>Ps,notice:()=>Fs,notification:()=>Ks,pageHeader:()=>Is,popover:()=>Us,radio:()=>Gs,resolveFamilyClass:()=>js,resolveSizeClass:()=>Ys,semantic:()=>h,setVariable:()=>N,switch_:()=>Ds,tabs:()=>Ls,textArea:()=>ks,textInput:()=>_s,toggle:()=>Zs,tooltip:()=>Vs,typographies:()=>No,typographyBody1Medium:()=>yn,typographyBody1Regular:()=>mn,typographyBody1Semibold:()=>bn,typographyBody2Medium:()=>vn,typographyBody2MediumUnderline:()=>Hi,typographyBody2Regular:()=>xn,typographyBody2Semibold:()=>Sn,typographyCaption1Bold:()=>Pn,typographyCaption1Medium:()=>An,typographyCaption1Semibold:()=>In,typographyCaption2Bold:()=>_n,typographyCaption2Medium:()=>$n,typographyCaption2Semibold:()=>Ln,typographyCaption3Bold:()=>zn,typographyCaption3Medium:()=>kn,typographyCaption3Semibold:()=>Wn,typographyDisplay:()=>fn,typographyLabel1Bold:()=>wn,typographyLabel1Medium:()=>On,typographyLabel1Semibold:()=>Cn,typographyLabel2Bold:()=>Rn,typographyLabel2Medium:()=>En,typographyLabel2Semibold:()=>Nn,typographyTitle1:()=>un,typographyTitle2:()=>hn,typographyTitle3:()=>gn,typographyVariants:()=>Os});var Gt=e=>typeof e=="string"?Mt(e):e,r=class{static create(t,o,n,i){let l=s=>Gt(s??i),c=$`var(${Gt(t)}, ${l(i)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=l,c.get=s=>$`var(${Gt(t)}, ${l(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(t,o,n,i){let l=s=>n.get(s??i),c=$`var(${Gt(t)}, ${l(i)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=l,c.get=s=>$`var(${Gt(t)}, ${l(s)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(t,o){let n=l=>t.fallbackVariable?t.fallbackVariable.get(l??t.defaultValue):Gt(l??t.lastResortDefaultValue()),i=$`var(${Gt(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=l=>$`var(${Gt(t.name)}, ${n(l)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function N(e,t){return Gt(`${e.name}: ${t}`)}var f={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)")},fn={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")},un={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")},hn={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")},gn={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")},mn={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")},yn={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")},bn={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")},xn={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")},vn={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")},Hi={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")},Sn={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")},On={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")},Cn={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")},wn={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")},En={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Nn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Rn={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")},An={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")},In={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")},Pn={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")},$n={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")},Ln={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")},kn={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")},Wn={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")},zn={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")},No={display:fn,"title-1":un,"title-2":hn,"title-3":gn,"body-1-regular":mn,"body-1-medium":yn,"body-1-semibold":bn,"body-2-regular":xn,"body-2-medium":vn,"body-2-medium-underline":Hi,"body-2-semibold":Sn,"label-1-medium":On,"label-1-semibold":Cn,"label-1-bold":wn,"label-2-medium":En,"label-2-semibold":Nn,"label-2-bold":Rn,"caption-1-medium":An,"caption-1-semibold":In,"caption-1-bold":Pn,"caption-2-medium":$n,"caption-2-semibold":Ln,"caption-2-bold":_n,"caption-3-medium":kn,"caption-3-semibold":Wn,"caption-3-bold":zn},Os=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var h={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",f.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",f.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",f.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",f.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",f.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",f.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",f.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",f.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",f.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",f.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",f.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",f.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",f.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",f.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",f.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",f.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",f.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",f.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,f.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",f.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",f.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",f.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",f.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",f.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",f.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",f.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",f.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",f.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",f.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",f.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",f.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",f.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",f.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",f.colorGray80)};var Cs={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",f.spacing4),largeGap:r.extend("--ft-button-large-gap","",f.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",f.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",f.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",f.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",f.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",f.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",f.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",f.spacing2),smallGap:r.extend("--ft-button-small-gap","",f.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",f.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",f.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",f.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",f.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",h.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",h.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",h.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",h.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",f.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",f.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",f.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",f.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",h.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",h.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",h.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",h.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",f.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",f.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",f.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",f.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",h.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",h.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",h.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",f.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",f.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",f.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",f.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",h.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",h.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",h.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",h.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",f.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",f.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",f.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",f.opacity40)};var ws={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",f.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",f.spacing1),largeGap:r.extend("--ft-chip-large-gap","",f.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",f.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",f.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",f.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",f.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",f.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",f.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",f.spacing05),smallGap:r.extend("--ft-chip-small-gap","",f.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",f.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",h.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",h.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",h.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",h.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",h.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",h.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",h.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",h.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",h.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",h.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",h.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",h.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",h.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",h.borderErrorSubtle)};var Es={focusOpacity:r.extend("--ft-link-focus-opacity","",f.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",h.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",h.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",h.contentInfoPrimary)};var Ns={iconSize:r.extend("--ft-banner-icon-size","",f.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",f.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",f.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",f.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",f.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",f.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",f.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",f.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",h.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",h.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",h.borderInfoSubtle)};var Rs={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",f.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",f.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",f.borderRadiusPill),color:r.extend("--ft-badge-color","",h.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",h.contentActionPrimary)};var As={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",f.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",f.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",h.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",h.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",h.contentGlobalSubtle)};var Is={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",f.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",f.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",f.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",f.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",f.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",f.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",f.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",h.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",h.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",h.contentGlobalSecondary)};var Ps={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","",f.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",f.opacity40),shadow:r.extend("--ft-modal-shadow","",f.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",f.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",f.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",f.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",f.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",h.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",h.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",f.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",f.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",f.spacing6),headerGap:r.extend("--ft-modal-header-gap","",f.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",f.borderRadiusM)};var $s={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",f.opacity40),shadow:r.extend("--ft-drawer-shadow","",f.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",f.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",f.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",f.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",h.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",h.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",f.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",f.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",h.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",h.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",h.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",f.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",f.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",f.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","",f.colorGray700)};var Ls={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",f.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",f.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",f.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",f.opacity40),offColor:r.extend("--ft-tabs-off-color","",h.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",h.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",h.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",f.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",f.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",f.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",f.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",f.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",f.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",f.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",f.opacity24),onColor:r.extend("--ft-tabs-on-color","",h.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",h.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",h.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",f.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",f.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",f.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",f.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",h.borderActionFocusRing)};var _s={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",f.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",f.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",f.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",f.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",f.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",f.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",f.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",h.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",h.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",h.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",h.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","",h.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",h.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","",h.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",f.opacity40)};var ks={backgroundColor:r.extend("--ft-text-area-background-color","",f.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",h.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",h.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",h.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","",h.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",h.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",h.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","",f.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",f.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",f.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",f.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",f.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",f.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",f.borderRadiusM)};var Ws={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",f.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",h.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",h.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",h.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",h.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",f.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",f.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",f.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",f.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",f.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",h.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",f.shadowElevation02)};var zs={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",f.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",f.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",f.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",f.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",f.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",f.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",f.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",h.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",h.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",h.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","",h.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",h.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",h.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",f.opacity40)};var Ts={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",f.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",h.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",h.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",h.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",h.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",h.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","",f.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",f.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",f.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",f.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",f.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",f.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",f.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",f.borderRadiusM)};var Us={backgroundColor:r.extend("--ft-popover-background-color","",h.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",f.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",f.spacing6),titleColor:r.extend("--ft-popover-title-color","",h.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",h.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",h.contentActionPrimary),gap:r.extend("--ft-popover-gap","",f.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",f.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",f.shadowElevation02)};var Bs={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",f.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",f.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",h.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",f.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",f.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",f.spacing3),color:r.extend("--ft-collapsible-color","",h.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",h.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",h.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",h.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",f.iconSize3)};var Ds={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",f.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",f.spacing1),groupGap:r.extend("--ft-switch-group-gap","",f.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",h.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",h.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",f.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",f.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",f.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",f.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",f.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",f.opacity40),offColor:r.extend("--ft-switch-off-color","",h.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",f.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",f.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",f.opacity40),onColor:r.extend("--ft-switch-on-color","",h.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",h.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",f.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",f.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",h.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",f.borderRadiusS)};var Ms={color1Light:r.extend("--ft-chart-1-light","for area color charts",f.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",f.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",f.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",f.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",f.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",f.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",f.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",f.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",f.colorRed40),color5Base:r.extend("--ft-chart-5-base","",f.colorRed60),color6Light:r.extend("--ft-chart-6-light","",f.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",f.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",f.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",f.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",f.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",f.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",f.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",f.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",f.colorGray50),color10Base:r.extend("--ft-chart-10-base","",f.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",f.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",f.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",f.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",f.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",f.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",f.colorBrand200)};var Fs={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",f.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",f.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",f.borderRadiusS),gap:r.extend("--ft-notice-gap","",f.spacing2),iconSize:r.extend("--ft-notice-icon-size","",f.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",h.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",h.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",h.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",h.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",h.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",h.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",h.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",h.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",h.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",h.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",h.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",h.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",h.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",h.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",h.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",h.contentSuccessIconOnly)};var Hs={color:r.extend("--ft-checkbox-color","",h.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",h.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",h.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",h.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",f.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",f.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",f.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",f.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",f.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",f.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",f.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",f.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",f.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",f.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",h.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","",f.spacing3)};var Zs={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",f.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",f.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",f.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",f.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",h.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",h.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",f.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",f.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",f.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",h.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",h.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",h.contentActionPrimary),color:r.extend("--ft-toggle-color","",h.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",h.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",f.spacing3)};var Gs={color:r.extend("--ft-radio-color","",h.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",h.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",h.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",f.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",f.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",f.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",f.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",h.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",h.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",f.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",f.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",f.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",f.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",h.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","",f.spacing3)};var Ks={iconSize:r.extend("--ft-notification-icon-size","",f.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",f.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",f.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",f.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",h.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",h.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",h.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",h.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",h.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",h.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",h.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",h.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",h.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",h.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",f.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",f.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",f.spacing8)};var Vs={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",f.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",f.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",f.borderRadiusS),color:r.extend("--ft-tooltip-color","",h.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",h.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",f.opacity80),shadow:r.extend("--ft-tooltip-shadow","",f.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",f.spacing05)};var Tn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Tn||(Tn={}));var Un;(function(e){e.large="large",e.medium="medium",e.small="small"})(Un||(Un={}));function js(e){return`design-system--family-${e}`}function Ys(e){return`design-system--size-${e}`}var _={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 Zn={};Q(Zn,{FtNotificationEvent:()=>Mn,PostResizeEvent:()=>Hn,PreResizeEvent:()=>Fn});var Mn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Fn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Hn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var ea={};Q(ea,{computeOffsetPosition:()=>Ie});var Gi=["top","right","bottom","left"],Zi=["start","end"],Kn=Gi.reduce((e,t)=>e.concat(t,t+"-"+Zi[0],t+"-"+Zi[1]),[]),Ro=Math.min,re=Math.max,Ao=Math.round;var Kt=e=>({x:e,y:e}),qs={left:"right",right:"left",bottom:"top",top:"bottom"},Xs={start:"end",end:"start"};function Vn(e,t,o){return re(e,Ro(t,o))}function ur(e,t){return typeof e=="function"?e(t):e}function He(e){return e.split("-")[0]}function ne(e){return e.split("-")[1]}function jn(e){return e==="x"?"y":"x"}function Yn(e){return e==="y"?"height":"width"}function hr(e){return["top","bottom"].includes(He(e))?"y":"x"}function qn(e){return jn(hr(e))}function Ki(e,t,o){o===void 0&&(o=!1);let n=ne(e),i=qn(e),l=Yn(i),c=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(c=Gn(c)),[c,Gn(c)]}function Vi(e){return e.replace(/start|end/g,t=>Xs[t])}function Gn(e){return e.replace(/left|right|bottom|top/g,t=>qs[t])}function Js(e){return{top:0,right:0,bottom:0,left:0,...e}}function ji(e){return typeof e!="number"?Js(e):{top:e,right:e,bottom:e,left:e}}function Re(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Yi(e,t,o){let{reference:n,floating:i}=e,l=hr(t),c=qn(t),s=Yn(c),d=He(t),u=l==="y",y=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,b=n[s]/2-i[s]/2,x;switch(d){case"top":x={x:y,y:n.y-i.height};break;case"bottom":x={x:y,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:m};break;case"left":x={x:n.x-i.width,y:m};break;default:x={x:n.x,y:n.y}}switch(ne(t)){case"start":x[c]-=b*(o&&u?-1:1);break;case"end":x[c]+=b*(o&&u?-1:1);break}return x}var qi=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:l=[],platform:c}=o,s=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(t)),u=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:y,y:m}=Yi(u,n,d),b=n,x={},v=0;for(let C=0;C<s.length;C++){let{name:I,fn:P}=s[C],{x:L,y:O,data:S,reset:E}=await P({x:y,y:m,initialPlacement:n,placement:b,strategy:i,middlewareData:x,rects:u,platform:c,elements:{reference:e,floating:t}});if(y=L??y,m=O??m,x={...x,[I]:{...x[I],...S}},E&&v<=50){v++,typeof E=="object"&&(E.placement&&(b=E.placement),E.rects&&(u=E.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:y,y:m}=Yi(u,b,d)),C=-1;continue}}return{x:y,y:m,placement:b,strategy:i,middlewareData:x}};async function Xn(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:l,rects:c,elements:s,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:b=!1,padding:x=0}=ur(t,e),v=ji(x),I=s[b?m==="floating"?"reference":"floating":m],P=Re(await l.getClippingRect({element:(o=await(l.isElement==null?void 0:l.isElement(I)))==null||o?I:I.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(s.floating)),boundary:u,rootBoundary:y,strategy:d})),L=m==="floating"?{...c.floating,x:n,y:i}:c.reference,O=await(l.getOffsetParent==null?void 0:l.getOffsetParent(s.floating)),S=await(l.isElement==null?void 0:l.isElement(O))?await(l.getScale==null?void 0:l.getScale(O))||{x:1,y:1}:{x:1,y:1},E=Re(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:O,strategy:d}):L);return{top:(P.top-E.top+v.top)/S.y,bottom:(E.bottom-P.bottom+v.bottom)/S.y,left:(P.left-E.left+v.left)/S.x,right:(E.right-P.right+v.right)/S.x}}function Qs(e,t,o){return(e?[...o.filter(i=>ne(i)===e),...o.filter(i=>ne(i)!==e)]:o.filter(i=>He(i)===i)).filter(i=>e?ne(i)===e||(t?Vi(i)!==i:!1):!0)}var Jn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:l,middlewareData:c,placement:s,platform:d,elements:u}=t,{crossAxis:y=!1,alignment:m,allowedPlacements:b=Kn,autoAlignment:x=!0,...v}=ur(e,t),C=m!==void 0||b===Kn?Qs(m||null,x,b):b,I=await Xn(t,v),P=((o=c.autoPlacement)==null?void 0:o.index)||0,L=C[P];if(L==null)return{};let O=Ki(L,l,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(s!==L)return{reset:{placement:C[0]}};let S=[I[He(L)],I[O[0]],I[O[1]]],E=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:S}],U=C[P+1];if(U)return{data:{index:P+1,overflows:E},reset:{placement:U}};let Y=E.map(W=>{let B=ne(W.placement);return[W.placement,B&&y?W.overflows.slice(0,2).reduce((G,ft)=>G+ft,0):W.overflows[0],W.overflows]}).sort((W,B)=>W[1]-B[1]),q=((i=Y.filter(W=>W[2].slice(0,ne(W[0])?2:3).every(B=>B<=0))[0])==null?void 0:i[0])||Y[0][0];return q!==s?{data:{index:P+1,overflows:E},reset:{placement:q}}:{}}}};var Qn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:s={fn:I=>{let{x:P,y:L}=I;return{x:P,y:L}}},...d}=ur(e,t),u={x:o,y:n},y=await Xn(t,d),m=hr(He(i)),b=jn(m),x=u[b],v=u[m];if(l){let I=b==="y"?"top":"left",P=b==="y"?"bottom":"right",L=x+y[I],O=x-y[P];x=Vn(L,x,O)}if(c){let I=m==="y"?"top":"left",P=m==="y"?"bottom":"right",L=v+y[I],O=v-y[P];v=Vn(L,v,O)}let C=s.fn({...t,[b]:x,[m]:v});return{...C,data:{x:C.x-o,y:C.y-n}}}}};function Vt(e){return Ji(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function jt(e){var t;return(t=(Ji(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ji(e){return e instanceof Node||e instanceof yt(e).Node}function Wt(e){return e instanceof Element||e instanceof yt(e).Element}function It(e){return e instanceof HTMLElement||e instanceof yt(e).HTMLElement}function Xi(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot}function Ze(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=Ot(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Qi(e){return["table","td","th"].includes(Vt(e))}function mr(e){let t=yr(),o=Ot(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 tl(e){let t=Ae(e);for(;It(t)&&!Io(t);){if(mr(t))return t;t=Ae(t)}return null}function yr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Io(e){return["html","body","#document"].includes(Vt(e))}function Ot(e){return yt(e).getComputedStyle(e)}function Po(e){return Wt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ae(e){if(Vt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Xi(e)&&e.host||jt(e);return Xi(t)?t.host:t}function el(e){let t=Ae(e);return Io(t)?e.ownerDocument?e.ownerDocument.body:e.body:It(t)&&Ze(t)?t:el(t)}function gr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=el(e),l=i===((n=e.ownerDocument)==null?void 0:n.body),c=yt(i);return l?t.concat(c,c.visualViewport||[],Ze(i)?i:[],c.frameElement&&o?gr(c.frameElement):[]):t.concat(i,gr(i,[],o))}function nl(e){let t=Ot(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=It(e),l=i?e.offsetWidth:o,c=i?e.offsetHeight:n,s=Ao(o)!==l||Ao(n)!==c;return s&&(o=l,n=c),{width:o,height:n,$:s}}function al(e){return Wt(e)?e:e.contextElement}function Ge(e){let t=al(e);if(!It(t))return Kt(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:l}=nl(t),c=(l?Ao(o.width):o.width)/n,s=(l?Ao(o.height):o.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var td=Kt(0);function il(e){let t=yt(e);return!yr()||!t.visualViewport?td:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ed(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==yt(e)?!1:t}function $o(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),l=al(e),c=Kt(1);t&&(n?Wt(n)&&(c=Ge(n)):c=Ge(e));let s=ed(l,o,n)?il(l):Kt(0),d=(i.left+s.x)/c.x,u=(i.top+s.y)/c.y,y=i.width/c.x,m=i.height/c.y;if(l){let b=yt(l),x=n&&Wt(n)?yt(n):n,v=b.frameElement;for(;v&&n&&x!==b;){let C=Ge(v),I=v.getBoundingClientRect(),P=Ot(v),L=I.left+(v.clientLeft+parseFloat(P.paddingLeft))*C.x,O=I.top+(v.clientTop+parseFloat(P.paddingTop))*C.y;d*=C.x,u*=C.y,y*=C.x,m*=C.y,d+=L,u+=O,v=yt(v).frameElement}}return Re({width:y,height:m,x:d,y:u})}function od(e){let{rect:t,offsetParent:o,strategy:n}=e,i=It(o),l=jt(o);if(o===l)return t;let c={scrollLeft:0,scrollTop:0},s=Kt(1),d=Kt(0);if((i||!i&&n!=="fixed")&&((Vt(o)!=="body"||Ze(l))&&(c=Po(o)),It(o))){let u=$o(o);s=Ge(o),d.x=u.x+o.clientLeft,d.y=u.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-c.scrollLeft*s.x+d.x,y:t.y*s.y-c.scrollTop*s.y+d.y}}function rd(e){return Array.from(e.getClientRects())}function ll(e){return $o(jt(e)).left+Po(e).scrollLeft}function nd(e){let t=jt(e),o=Po(e),n=e.ownerDocument.body,i=re(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),l=re(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+ll(e),s=-o.scrollTop;return Ot(n).direction==="rtl"&&(c+=re(t.clientWidth,n.clientWidth)-i),{width:i,height:l,x:c,y:s}}function ad(e,t){let o=yt(e),n=jt(e),i=o.visualViewport,l=n.clientWidth,c=n.clientHeight,s=0,d=0;if(i){l=i.width,c=i.height;let u=yr();(!u||u&&t==="fixed")&&(s=i.offsetLeft,d=i.offsetTop)}return{width:l,height:c,x:s,y:d}}function id(e,t){let o=$o(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,l=It(e)?Ge(e):Kt(1),c=e.clientWidth*l.x,s=e.clientHeight*l.y,d=i*l.x,u=n*l.y;return{width:c,height:s,x:d,y:u}}function ol(e,t,o){let n;if(t==="viewport")n=ad(e,o);else if(t==="document")n=nd(jt(e));else if(Wt(t))n=id(t,o);else{let i=il(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return Re(n)}function cl(e,t){let o=Ae(e);return o===t||!Wt(o)||Io(o)?!1:Ot(o).position==="fixed"||cl(o,t)}function ld(e,t){let o=t.get(e);if(o)return o;let n=gr(e,[],!1).filter(s=>Wt(s)&&Vt(s)!=="body"),i=null,l=Ot(e).position==="fixed",c=l?Ae(e):e;for(;Wt(c)&&!Io(c);){let s=Ot(c),d=mr(c);!d&&s.position==="fixed"&&(i=null),(l?!d&&!i:!d&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ze(c)&&!d&&cl(e,c))?n=n.filter(y=>y!==c):i=s,c=Ae(c)}return t.set(e,n),n}function cd(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,c=[...o==="clippingAncestors"?ld(t,this._c):[].concat(o),n],s=c[0],d=c.reduce((u,y)=>{let m=ol(t,y,i);return u.top=re(m.top,u.top),u.right=Ro(m.right,u.right),u.bottom=Ro(m.bottom,u.bottom),u.left=re(m.left,u.left),u},ol(t,s,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function sd(e){return nl(e)}function dd(e,t,o){let n=It(t),i=jt(t),l=o==="fixed",c=$o(e,!0,l,t),s={scrollLeft:0,scrollTop:0},d=Kt(0);if(n||!n&&!l)if((Vt(t)!=="body"||Ze(i))&&(s=Po(t)),n){let u=$o(t,!0,l,t);d.x=u.x+t.clientLeft,d.y=u.y+t.clientTop}else i&&(d.x=ll(i));return{x:c.left+s.scrollLeft-d.x,y:c.top+s.scrollTop-d.y,width:c.width,height:c.height}}function rl(e,t){return!It(e)||Ot(e).position==="fixed"?null:t?t(e):e.offsetParent}function sl(e,t){let o=yt(e);if(!It(e))return o;let n=rl(e,t);for(;n&&Qi(n)&&Ot(n).position==="static";)n=rl(n,t);return n&&(Vt(n)==="html"||Vt(n)==="body"&&Ot(n).position==="static"&&!mr(n))?o:n||tl(e)||o}var pd=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||sl,l=this.getDimensions;return{reference:dd(t,await i(o),n),floating:{x:0,y:0,...await l(o)}}};function fd(e){return Ot(e).direction==="rtl"}var br={convertOffsetParentRelativeRectToViewportRelativeRect:od,getDocumentElement:jt,getClippingRect:cd,getOffsetParent:sl,getElementRects:pd,getClientRects:rd,getDimensions:sd,getScale:Ge,isElement:Wt,isRTL:fd};var dl=(e,t,o)=>{let n=new Map,i={platform:br,...o},l={...i.platform,_c:n};return qi(e,t,{...i,platform:l})};function pl(e){return ud(e)}function ta(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function ud(e){for(let t=e;t;t=ta(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ta(e);t;t=ta(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 Ie(e,t,o){return dl(e,t,{platform:{...br,getOffsetParent:n=>br.getOffsetParent(n,pl)},middleware:[Qn({crossAxis:!0}),Jn({allowedPlacements:[o]})]})}var ra={};Q(ra,{FtLitElement:()=>H});var oa={};Q(oa,{ScopedRegistryLitElement:()=>Lo});var xr=window,hd=xr.ShadowRoot&&(xr.ShadyCSS===void 0||xr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Tg=Symbol();var fl=(e,t)=>{hd?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=xr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var Lo=class extends Ht{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,l])=>t.registry.define(i,l)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return fl(n,t.elementStyles),n}};var vr=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},gl,ul=Symbol("constructorPrototype"),hl=Symbol("constructorName"),ml=Symbol("exportpartsDebouncer"),H=class extends Lo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[gl]=new At(5),this[hl]=this.constructor.name,this[ul]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[hl]&&Object.setPrototypeOf(this,this[ul])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(l=>l.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(l){console.error(l,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let l=document.createElement("style");l.classList.add("ft-lit-element--custom-stylesheet"),l.innerHTML=this.customStylesheet,this.shadowRoot.append(l)}}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[ml].run(()=>{var i,l;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((l=this.exportpartsPrefixes)===null||l===void 0?void 0:l.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,l,c,s;let d=b=>b!=null&&b.trim().length>0,u=t.filter(d).map(b=>b.trim());if(u.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let b of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(l=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&l!==void 0?l:[],v=(s=(c=b.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(C=>C.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...x,...v).filter(d).map(C=>C.trim()).forEach(C=>y.add(C))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(b=>u.map(x=>`${b}:${x}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};gl=ml;vr([w()],H.prototype,"exportpartsPrefix",void 0);vr([Ne([])],H.prototype,"exportpartsPrefixes",void 0);vr([w()],H.prototype,"customStylesheet",void 0);vr([X()],H.prototype,"useAdoptedStyleSheets",void 0);var yl={};var ia={};Q(ia,{highlightHtml:()=>yd,highlightHtmlColorCssVariable:()=>bl,highlightHtmlStyles:()=>md});var Pe=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 l=!1;return n.every(c=>i.call(t,c)?(l=!0,!1):!0),l}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(l=>l.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let l=t.contentWindow;if(i=l.document,!l||!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,l=null,c=()=>{if(!i){i=!0,clearTimeout(l);try{this.isIframeBlank(t)||(t.removeEventListener("load",c),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",c),l=setTimeout(c,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 l=t.querySelectorAll("iframe"),c=l.length,s=0;l=Array.prototype.slice.call(l);let d=()=>{--c<=0&&i(s)};c||d(),l.forEach(u=>{e.matches(u,this.exclude)?d():this.onIframeReady(u,y=>{o(u)&&(s++,n(y)),d()},d)})}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),l=Node.DOCUMENT_POSITION_PRECEDING;if(i&l)if(o!==null){let c=o.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_FOLLOWING;if(c&s)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 l=!1,c=!1;return i.forEach((s,d)=>{s.val===n&&(l=d,c=s.handled)}),this.compareNodeIframe(t,o,n)?(l===!1&&!c?i.push({val:n,handled:!0}):l!==!1&&!c&&(i[l].handled=!0),!0):(l===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(l=>{l.handled||this.getIframeContents(l.val,c=>{this.createInstanceOnIframe(c).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,l){let c=this.createIterator(o,t,i),s=[],d=[],u,y,m=()=>({prevNode:y,node:u}=this.getIteratorNode(c),u);for(;m();)this.iframes&&this.forEachIframe(o,b=>this.checkIframeFilter(u,y,b,s),b=>{this.createInstanceOnIframe(b).forEachNode(t,x=>d.push(x),i)}),d.push(u);d.forEach(b=>{n(b)}),this.iframes&&this.handleOpenIframes(s,t,n,i),l()}forEachNode(t,o,n,i=()=>{}){let l=this.getContexts(),c=l.length;c||i(),l.forEach(s=>{let d=()=>{this.iterateThroughNodes(t,s,o,n,()=>{--c<=0&&i()})};this.iframes?this.waitForIframes(s,d):d()})}};var _o=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 Pe(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 l in o)if(o.hasOwnProperty(l)){let c=o[l],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(l):this.escapeStr(l),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);s!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(s)}|${this.processSynomyms(d)})`+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 l=i.charAt(n+1);return/[(|)\\]/.test(l)||l===""?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(l=>{n.every(c=>{if(c.indexOf(l)!==-1){if(i.indexOf(c)>-1)return!1;t=t.replace(new RegExp(`[${c}]`,`gm${o}`),`[${c}]`),i.push(c)}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,l=typeof n=="string"?[]:n.limiters,c="";switch(l.forEach(s=>{c+=`|${this.escapeStr(s)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return c="\\s"+(c||this.escapeStr(o)),`()([^${c}]*${t}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${t})(?=$|\\s${c})`}}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,l)=>i.start-l.start).forEach(i=>{let{start:l,end:c,valid:s}=this.callNoMatchOnInvalidRanges(i,n);s&&(i.start=l,i.length=c-l,o.push(i),n=c)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,l=!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?l=!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:l}}checkWhitespaceRanges(t,o,n){let i,l=!0,c=n.length,s=o-c,d=parseInt(t.start,10)-s;return d=d>c?c:d,i=d+parseInt(t.length,10),i>c&&(i=c,this.log(`End range automatically set to the max value of ${c}`)),d<0||i-d<0||d>c||i>c?(l=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(l=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:l}}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 Pe.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",l=t.splitText(o),c=l.splitText(n-o),s=document.createElement(i);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=l.textContent,l.parentNode.replaceChild(s,l),c}wrapRangeInMappedTextNode(t,o,n,i,l){t.nodes.every((c,s)=>{let d=t.nodes[s+1];if(typeof d>"u"||d.start>o){if(!i(c.node))return!1;let u=o-c.start,y=(n>c.end?c.end:n)-c.start,m=t.value.substr(0,c.start),b=t.value.substr(y+c.start);if(c.node=this.wrapRangeInTextNode(c.node,u,y),t.value=m+b,t.nodes.forEach((x,v)=>{v>=s&&(t.nodes[v].start>0&&v!==s&&(t.nodes[v].start-=y),t.nodes[v].end-=y)}),n-=y,l(c.node.previousSibling,c.start),n>c.end)o=c.end;else return!1}return!0})}wrapMatches(t,o,n,i,l){let c=o===0?0:o+1;this.getTextNodes(s=>{s.nodes.forEach(d=>{d=d.node;let u;for(;(u=t.exec(d.textContent))!==null&&u[c]!=="";){if(!n(u[c],d))continue;let y=u.index;if(c!==0)for(let m=1;m<c;m++)y+=u[m].length;d=this.wrapRangeInTextNode(d,y,y+u[c].length),i(d.previousSibling),t.lastIndex=0}}),l()})}wrapMatchesAcrossElements(t,o,n,i,l){let c=o===0?0:o+1;this.getTextNodes(s=>{let d;for(;(d=t.exec(s.value))!==null&&d[c]!=="";){let u=d.index;if(c!==0)for(let m=1;m<c;m++)u+=d[m].length;let y=u+d[c].length;this.wrapRangeInMappedTextNode(s,u,y,m=>n(d[c],m),(m,b)=>{t.lastIndex=b,i(m)})}l()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(l=>{let c=l.value.length;t.forEach((s,d)=>{let{start:u,end:y,valid:m}=this.checkWhitespaceRanges(s,c,l.value);m&&this.wrapRangeInMappedTextNode(l,u,y,b=>o(b,s,l.value.substring(u,y),d),b=>{n(b,s)})}),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",l=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(c,s)=>this.opt.filter(s,c,n),l,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:l,length:c}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),s=this.opt.caseSensitive?"":"i",d=u=>{let y=new RegExp(this.createRegExp(u),`gm${s}`),m=0;this.log(`Searching with expression "${y}"`),this[i](y,1,(b,x)=>this.opt.filter(x,u,n,m),b=>{m++,n++,this.opt.each(b)},()=>{m===0&&this.opt.noMatch(u),l[c-1]===u?this.opt.done(n):d(l[l.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),c===0?this.opt.done(n):d(l[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,(l,c,s,d)=>this.opt.filter(l,c,s,d),(l,c)=>{n++,this.opt.each(l,c)},()=>{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=Pe.matches(n,o),l=this.matchesExclude(n);return!i||l?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function na(e){let t=new _o(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 gd=na,bl=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),md=$`
7
7
  .highlight-html-match {
8
- background: ${hs};
8
+ background: ${bl};
9
9
  }
10
- `,ei={className:"highlight-html-match"};function pp(e,t){var o;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new lp(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={};Y(ri,{noTextSelect:()=>_o,safariEllipsisFix:()=>Po,wordWrap:()=>dp});var _o=_`
10
+ `,aa={className:"highlight-html-match"};function yd(e,t){var o;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new gd(e);i.unmark(aa),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...aa,separateWordSearch:!0}),((o=t.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(c=>i.mark(c.replace(/"/g,""),{...aa,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var la={};Q(la,{noTextSelect:()=>ko,safariEllipsisFix:()=>Wo,wordWrap:()=>bd});var ko=$`
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
- `,dp=_`
19
+ `,bd=$`
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=_`
31
+ `,Wo=$`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,8 +39,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `;var ms={};var ii={};Y(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={};Y(Li,{FtCommandQueue:()=>Lo,FtLitElementRedux:()=>He,FtReduxStore:()=>Pi,clearAllStores:()=>Xp,isFtReduxStore:()=>Ae,redux:()=>up,reduxEventListener:()=>hp,reduxReactive:()=>fp});var fp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},up=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:So,attribute:!1,...t};S(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})}},hp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var Lo=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 gs,ys,bs,yr=Symbol("internalReduxEventsUnsubscribers"),ee=Symbol("internalStoresUnsubscribers"),Re=Symbol("internalStores"),He=class extends B{constructor(){super(...arguments),this[gs]=new Map,this[ys]=new Map,this[bs]=[]}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[ee].has(t.store):this[ee].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[ee].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[yr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ee].forEach((t,o)=>this.unsubscribeFromStore(o)),this[yr].forEach(t=>t()),this[yr]=[]}unsubscribeFromStore(t){this[ee].has(t)&&this[ee].get(t)(),this[ee].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};gs=ee,ys=Re,bs=yr;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 jt(e){return!!e&&!!e[J]}function At(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)===Op}(e)||Array.isArray(e)||!!e[Es]||!!(!((t=e.constructor)===null||t===void 0)&&t[Es])||hi(e)||mi(e))}function $e(e,t,o){o===void 0&&(o=!1),je(e)===0?(o?Object.keys:Ve)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function je(e){var t=e[J];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 je(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function mp(e,t){return je(e)===2?e.get(t):e[t]}function Ns(e,t,o){var n=je(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function As(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function hi(e){return vp&&e instanceof Map}function mi(e){return Sp&&e instanceof Set}function oe(e){return e.o||e.t}function gi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=_s(e);delete t[J];for(var o=Ve(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 yi(e,t){return t===void 0&&(t=!1),bi(e)||jt(e)||!At(e)||(je(e)>1&&(e.set=e.add=e.clear=e.delete=gp),Object.freeze(e),t&&$e(e,function(o,n){return yi(n,!0)},!0)),e}function gp(){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 yp(e,t){ui[e]||(ui[e]=t)}function pi(){return Io}function ai(e,t){t&&(Tt("Patches"),e.u=[],e.s=[],e.v=t)}function br(e){di(e),e.p.forEach(bp),e.p=null}function di(e){e===Io&&(Io=e.l)}function xs(e){return Io={p:[],l:Io,h:e,m:!0,_:0}}function bp(e){var t=e[J];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[J].P&&(br(t),Ot(4)),At(e)&&(e=xr(t,e),t.l||vr(t,e)),t.u&&Tt("Patches").M(o[J].t,e,t.u,t.s)):e=xr(t,o,[]),br(t),t.u&&t.v(t.u,t.s),e!==$s?e:void 0}function xr(e,t,o){if(bi(t))return t;var n=t[J];if(!n)return $e(t,function(l,c){return vs(e,n,t,l,c,o)},!0),t;if(n.A!==e)return t;if(!n.P)return vr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=gi(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 vs(e,n,i,l,c,o,s)}),vr(e,i,!1),o&&e.u&&Tt("Patches").N(n,o,e.u,e.s)}return n.o}function vs(e,t,o,n,i,a,s){if(jt(i)){var l=xr(e,i,a&&t&&t.i!==3&&!Fe(t.R,n)?a.concat(n):void 0);if(Ns(o,n,l),!jt(l))return;e.m=!1}else s&&o.add(i);if(At(i)&&!bi(i)){if(!e.h.D&&e._<1)return;xr(e,i),t&&t.A.l||vr(e,i)}}function vr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&yi(t,o)}function li(e,t){var o=e[J];return(o?oe(o):e)[t]}function Ss(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 re(e){e.P||(e.P=!0,e.l&&re(e.l))}function ci(e){e.o||(e.o=gi(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=ko;s&&(c=[l],d=To);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 xp(e){return jt(e)||Ot(22,e),function t(o){if(!At(o))return o;var n,i=o[J],a=je(o);if(i){if(!i.P&&(i.i<4||!Tt("ES5").K(i)))return i.t;i.I=!0,n=Os(o,a),i.I=!1}else n=Os(o,a);return $e(n,function(s,l){i&&mp(i.t,s)===l||Ns(n,s,t(l))}),a===3?new Set(n):n}(e)}function Os(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return gi(e)}function Rs(){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[J];return ko.get(d,s)},set:function(d){var h=this[J];ko.set(h,s,d)}},c}function t(s){for(var l=s.length-1;l>=0;l--){var c=s[l][J];if(!c.P)switch(c.i){case 5:n(c)&&re(c);break;case 4:o(c)&&re(c)}}}function o(s){for(var l=s.t,c=s.k,d=Ve(c),h=d.length-1;h>=0;h--){var u=d[h];if(u!==J){var m=l[u];if(m===void 0&&!Fe(l,u))return!0;var g=c[u],y=g&&g[J];if(y?y.t!==m:!As(g,m))return!0}}var v=!!l[J];return d.length!==Ve(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Ot(3,JSON.stringify(oe(s)))}var a={};yp("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,e(y,!0));return g}var v=_s(m);delete v[J];for(var N=Ve(v),A=0;A<N.length;A++){var R=N[A];v[R]=e(R,u||!!v[R].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(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,J,{value:h,writable:!0}),d},S:function(s,l,c){c?jt(l)&&l[J].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[J];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)$e(g,function(b){b!==J&&(m[b]!==void 0||Fe(m,b)?y[b]||d(g[b]):(y[b]=!0,re(u)))}),$e(m,function(b){g[b]!==void 0||Fe(g,b)||(y[b]=!1,re(u))});else if(v===5){if(n(u)&&(re(u),y.length=!0),g.length<m.length)for(var N=g.length;N<m.length;N++)y[N]=!1;else for(var A=m.length;A<g.length;A++)y[A]=!0;for(var R=Math.min(g.length,m.length),x=0;x<R;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&d(g[x])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ws,Io,xi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",vp=typeof Map<"u",Sp=typeof Set<"u",Cs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",$s=xi?Symbol.for("immer-nothing"):((ws={})["immer-nothing"]=!0,ws),Es=xi?Symbol.for("immer-draftable"):"__$immer_draftable",J=xi?Symbol.for("immer-state"):"__$immer_state";var Op=""+Object.prototype.constructor,Ve=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,_s=Object.getOwnPropertyDescriptors||function(e){var t={};return Ve(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ui={},ko={get:function(e,t){if(t===J)return e;var o=oe(e);if(!Fe(o,t))return function(i,a,s){var l,c=Ss(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||!At(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 oe(e)},ownKeys:function(e){return Reflect.ownKeys(oe(e))},set:function(e,t,o){var n=Ss(oe(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=li(oe(e),t),a=i?.[J];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(As(o,i)&&(o!==void 0||Fe(e.t,t)))return!0;ci(e),re(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),re(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=oe(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)}},To={};$e(ko,function(e,t){To[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),To.deleteProperty=function(e,t){return To.set.call(this,e,t,void 0)},To.set=function(e,t,o){return ko.set.call(this,e[0],t,o,e[0])};var wp=function(){function e(o){var n=this;this.O=Cs,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(v){var N=this;v===void 0&&(v=l);for(var A=arguments.length,R=Array(A>1?A-1:0),x=1;x<A;x++)R[x-1]=arguments[x];return c.produce(v,function(b){var O;return(O=a).call.apply(O,[N,b].concat(R))})}}var d;if(typeof a!="function"&&Ot(6),s!==void 0&&typeof s!="function"&&Ot(7),At(i)){var h=xs(n),u=fi(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?br(h):di(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return ai(h,s),si(v,h)},function(v){throw br(h),v}):(ai(h,s),si(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===$s&&(d=void 0),n.D&&yi(d,!0),s){var g=[],y=[];Tt("Patches").M(i,d,g,y),s(g,y)}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(g){return i.apply(void 0,[g].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){At(o)||Ot(8),jt(o)&&(o=xp(o));var n=xs(this),i=fi(this,o,void 0);return i[J].C=!0,di(n),i},t.finishDraft=function(o,n){var i=o&&o[J],a=i.A;return ai(a,n),si(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Cs&&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 jt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),vt=new wp,Cp=vt.produce,eg=vt.produceWithPatches.bind(vt),og=vt.setAutoFreeze.bind(vt),rg=vt.setUseProxies.bind(vt),ng=vt.applyPatches.bind(vt),ig=vt.createDraft.bind(vt),ag=vt.finishDraft.bind(vt),Sr=Cp;function ne(e){"@babel/helpers - typeof";return ne=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},ne(e)}function vi(e,t){if(ne(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ne(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 ne(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 Ps(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 Or(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Ps(Object(o),!0).forEach(function(n){Oi(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ps(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pt(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 Ls=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),wi=function(){return Math.random().toString(36).substring(7).split("").join(".")},wr={INIT:"@@redux/INIT"+wi(),REPLACE:"@@redux/REPLACE"+wi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+wi()}};function Ep(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 Ci(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pt(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pt(1));return o(Ci)(e,t)}if(typeof e!="function")throw new Error(pt(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(pt(3));return a}function u(v){if(typeof v!="function")throw new Error(pt(4));if(c)throw new Error(pt(5));var N=!0;return d(),l.push(v),function(){if(N){if(c)throw new Error(pt(6));N=!1,d();var R=l.indexOf(v);l.splice(R,1),s=null}}}function m(v){if(!Ep(v))throw new Error(pt(7));if(typeof v.type>"u")throw new Error(pt(8));if(c)throw new Error(pt(9));try{c=!0,a=i(a,v)}finally{c=!1}for(var N=s=l,A=0;A<N.length;A++){var R=N[A];R()}return v}function g(v){if(typeof v!="function")throw new Error(pt(10));i=v,m({type:wr.REPLACE})}function y(){var v,N=u;return v={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(pt(11));function x(){R.next&&R.next(h())}x();var b=N(x);return{unsubscribe:b}}},v[Ls]=function(){return this},v}return m({type:wr.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[Ls]=y,n}function Np(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:wr.INIT});if(typeof n>"u")throw new Error(pt(12));if(typeof o(void 0,{type:wr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pt(13))})}function Ts(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{Np(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,g={},y=0;y<a.length;y++){var v=a[y],N=o[v],A=d[v],R=N(A,h);if(typeof R>"u"){var x=h&&h.type;throw new Error(pt(14))}g[v]=R,m=m||R!==A}return m=m||a.length!==Object.keys(d).length,m?g:d}}function Ke(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Is(){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(pt(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),Or(Or({},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 Ds=ks();Ds.withExtraArgument=ks;var Ei=Ds;var Us=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)}}(),Ap=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},Rp=Object.defineProperty,$p=Object.defineProperties,_p=Object.getOwnPropertyDescriptors,Ms=Object.getOwnPropertySymbols,Pp=Object.prototype.hasOwnProperty,Lp=Object.prototype.propertyIsEnumerable,Ws=function(e,t,o){return t in e?Rp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},ie=function(e,t){for(var o in t||(t={}))Pp.call(t,o)&&Ws(e,o,t[o]);if(Ms)for(var n=0,i=Ms(t);n<i.length;n++){var o=i[n];Lp.call(t,o)&&Ws(e,o,t[o])}return e},Ni=function(e,t){return $p(e,_p(t))},Tp=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 Ip=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)},Cg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function kp(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 Dp=function(e){Us(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),Mp=function(e){Us(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 At(e)?Sr(e,function(){}):e}function Wp(e){return typeof e=="boolean"}function zp(){return function(t){return Bp(t)}}function Bp(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 Dp;if(o&&(Wp(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 Hs(e){var t=zp(),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,g;if(typeof i=="function")g=i;else if(kp(i))g=Ts(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(t),!Ai&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ai&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Is.apply(void 0,y),N=Ke;c&&(N=Ip(ie({trace:!Ai},typeof c=="object"&&c)));var A=new Mp(v),R=A;Array.isArray(m)?R=Ge([v],m):typeof m=="function"&&(R=m(A));var x=N.apply(void 0,R);return Ci(g,h,x)}function ae(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 ie(ie({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 Fs(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 Up(e){return typeof e=="function"}function Hp(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Fs(t):[t,o,n],a=i[0],s=i[1],l=i[2],c;if(Up(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 g=Ge([a[m.type]],s.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[l]),g.reduce(function(y,v){if(v)if(jt(y)){var N=y,A=v(N,m);return A===void 0?y:A}else{if(At(y))return Sr(y,function(R){return v(R,m)});var A=v(y,m);if(A===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return y},u)}return h.getInitialState=c,h}function Fp(e,t){return e+"/"+t}function Vs(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=Fp(t,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,l[h]=y?ae(m,y):ae(m)});function c(){var h=typeof e.extraReducers=="function"?Fs(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,g=h[1],y=g===void 0?[]:g,v=h[2],N=v===void 0?void 0:v,A=ie(ie({},m),s);return Hp(o,function(R){for(var x in A)R.addCase(x,A[x]);for(var b=0,O=y;b<O.length;b++){var k=O[b];R.addMatcher(k.matcher,k.reducer)}N&&R.addDefaultCase(N)})}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 Vp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",jp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Vp[Math.random()*64|0];return t},Kp=["name","message","stack","code"],Ri=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),zs=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Gp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Kp;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Rg=function(){function e(t,o,n){var i=ae(t+"/fulfilled",function(h,u,m,g){return{payload:h,meta:Ni(ie({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=ae(t+"/pending",function(h,u,m){return{payload:void 0,meta:Ni(ie({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=ae(t+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||Gp)(h||"Rejected"),meta:Ni(ie({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,g){var y=n?.idGenerator?n.idGenerator(h):jp(),v=new c,N,A=!1;function R(b){N=b,v.abort()}var x=function(){return Tp(this,null,function(){var b,O,k,K,ft,G,L;return Ap(this,function(D){switch(D.label){case 0:return D.trys.push([0,4,,5]),K=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),qp(K)?[4,K]:[3,2];case 1:K=D.sent(),D.label=2;case 2:if(K===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,ft=new Promise(function(H,ct){return v.signal.addEventListener("abort",function(){return ct({name:"AbortError",message:N||"Aborted"})})}),u(a(y,h,(O=n?.getPendingMeta)==null?void 0:O.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([ft,Promise.resolve(o(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:R,rejectWithValue:function(H,ct){return new Ri(H,ct)},fulfillWithValue:function(H,ct){return new zs(H,ct)}})).then(function(H){if(H instanceof Ri)throw H;return H instanceof zs?i(H.payload,y,h,H.meta):i(H,y,h)})])];case 3:return k=D.sent(),[3,5];case 4:return G=D.sent(),k=G instanceof Ri?s(null,y,h,G.payload,G.meta):s(G,y,h),[3,5];case 5:return L=n&&!n.dispatchConditionRejection&&s.match(k)&&k.meta.condition,L||u(k),[2,k]}})})}();return Object.assign(x,{abort:R,requestId:y,arg:h,unwrap:function(){return x.then(Zp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Zp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function qp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var js="listener",Ks="completed",Gs="cancelled",$g="task-"+Gs,_g="task-"+Ks,Pg=js+"-"+Gs,Lg=js+"-"+Ks;var _i="listenerMiddleware";var Tg=ae(_i+"/add"),Ig=ae(_i+"/removeAll"),kg=ae(_i+"/remove");var Bs,Dg=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)})},Yp=function(e){return function(t){setTimeout(t,e)}},Mg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Yp(10);Rs();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=Vs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Hs({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 Lo,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 Xp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Ae(t)&&t.clear()}var Ti={};Y(Ti,{serializeRequest:()=>Qp});function Jp(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&&t.virtualField!=="EVERYWHERE"&&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(Jp(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Ii={};Y(Ii,{toFtFormComponent:()=>Do});var Cr=Symbol("elementInternals");function Do(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[Cr].form}constructor(...i){super(i),this[Cr]=this.attachInternals(),this[Cr].role=t}setFormValue(i){this[Cr].setFormValue(i)}}return o}var Er=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var ki,Di,Mi,Wi,zi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Mi=(Di=(ki=window.safari)===null||ki===void 0?void 0:ki.pushNotification)===null||Di===void 0?void 0:Di.toString())!==null&&Mi!==void 0?Mi:"")==="[object SafariRemoteNotification]",td="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Wi=window.ftGlobals)!==null&&Wi!==void 0?Wi:{lit:jr,litDecorators:Gr,litRepeat:Zr,litClassMap:qr,litStyleMap:Yr,litUnsafeHTML:Xr,wcUtils:{...en,...Qr,...rn,...Er,...nn,...sn,...Dn,...Bn,...Xn,...kn,...Qn,...us,...an,...oi,...ri,...ms,...ii,...Li,...Jn,...Ti,...Ii,isSafari:zi,isTouchScreen:td}};var qs=Symbol.for(""),ed=e=>{if(e?.r===qs)return e?._$litStatic$},Bi=e=>({_$litStatic$:e,r:qs});var Zs=new Map,Ys=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=ed(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=Zs.get(u))===void 0&&(s.raw=s,Zs.set(u,t=s)),o=l}return e(t,...o)},Ui=Ys(la),Cy=Ys(ca);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 Xs(e){let t=Oo[e];return _`
43
- .ft-typography--${me(e)} {
42
+ `;var xl={};var sa={};Q(sa,{ParametrizedLabelResolver:()=>ca});var ca=class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let l=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return o.forEach((c,s)=>l=l.replace(new RegExp(`\\{${s}([^}]*)\\}`,"g"),(d,u)=>this.formatValue(c,u))),l}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 za={};Q(za,{FtCommandQueue:()=>zo,FtLitElementRedux:()=>Ke,FtReduxStore:()=>Wa,clearAllStores:()=>np,isFtReduxStore:()=>$e,redux:()=>vd,reduxEventListener:()=>Sd,reduxReactive:()=>xd});var xd=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},vd=e=>{let t=e??{};return(o,n)=>{var i;let l={hasChanged:Eo,attribute:!1,...t};w(l)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:s=>s[n],store:t.store})}},Sd=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var zo=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 $e(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var vl,Sl,Ol,Sr=Symbol("internalReduxEventsUnsubscribers"),ae=Symbol("internalStoresUnsubscribers"),Le=Symbol("internalStores"),Ke=class extends H{constructor(){super(...arguments),this[vl]=new Map,this[Sl]=new Map,this[Ol]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Le].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Le].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Le].get(t)}addStore(t,o){var n;o=(n=o??($e(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[Le].delete(o)}setupStore(t,o){this[Le].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Le].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[ae].has(t.store):this[ae].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[ae].set(t,o.subscribe(()=>this.updateFromStores())),$e(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,l)=>{if(typeof this[l]=="function"&&(!i.store||o.name===i.store)){let c=s=>this[l](s);o.eventBus.addEventListener(i.eventName,c),this[Sr].push(()=>o.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ae].forEach((t,o)=>this.unsubscribeFromStore(o)),this[Sr].forEach(t=>t()),this[Sr]=[]}unsubscribeFromStore(t){this[ae].has(t)&&this[ae].get(t)(),this[ae].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};vl=ae,Sl=Le,Ol=Sr;Ke.reduxProperties=new Map;Ke.reduxReactiveProperties=new Set;Ke.reduxEventListeners=new Map;function Et(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,l;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yt(e){return!!e&&!!e[et]}function Pt(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)===Id}(e)||Array.isArray(e)||!!e[Il]||!!(!((t=e.constructor)===null||t===void 0)&&t[Il])||ba(e)||xa(e))}function _e(e,t,o){o===void 0&&(o=!1),Ye(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 Ye(e){var t=e[et];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ba(e)?2:xa(e)?3:0}function Ve(e,t){return Ye(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Od(e,t){return Ye(e)===2?e.get(t):e[t]}function Pl(e,t,o){var n=Ye(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function $l(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ba(e){return Rd&&e instanceof Map}function xa(e){return Ad&&e instanceof Set}function ie(e){return e.o||e.t}function va(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=kl(e);delete t[et];for(var o=je(t),n=0;n<o.length;n++){var i=o[n],l=t[i];l.writable===!1&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(t[i]={configurable:!0,writable:!0,enumerable:l.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Sa(e,t){return t===void 0&&(t=!1),Oa(e)||Yt(e)||!Pt(e)||(Ye(e)>1&&(e.set=e.add=e.clear=e.delete=Cd),Object.freeze(e),t&&_e(e,function(o,n){return Sa(n,!0)},!0)),e}function Cd(){Et(2)}function Oa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function zt(e){var t=ya[e];return t||Et(18,e),t}function wd(e,t){ya[e]||(ya[e]=t)}function ha(){return Uo}function da(e,t){t&&(zt("Patches"),e.u=[],e.s=[],e.v=t)}function Or(e){ga(e),e.p.forEach(Ed),e.p=null}function ga(e){e===Uo&&(Uo=e.l)}function Cl(e){return Uo={p:[],l:Uo,h:e,m:!0,_:0}}function Ed(e){var t=e[et];t.i===0||t.i===1?t.j():t.g=!0}function pa(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||zt("ES5").S(t,e,n),n?(o[et].P&&(Or(t),Et(4)),Pt(e)&&(e=Cr(t,e),t.l||wr(t,e)),t.u&&zt("Patches").M(o[et].t,e,t.u,t.s)):e=Cr(t,o,[]),Or(t),t.u&&t.v(t.u,t.s),e!==_l?e:void 0}function Cr(e,t,o){if(Oa(t))return t;var n=t[et];if(!n)return _e(t,function(s,d){return wl(e,n,t,s,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return wr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=va(n.k):n.o,l=i,c=!1;n.i===3&&(l=new Set(i),i.clear(),c=!0),_e(l,function(s,d){return wl(e,n,i,s,d,o,c)}),wr(e,i,!1),o&&e.u&&zt("Patches").N(n,o,e.u,e.s)}return n.o}function wl(e,t,o,n,i,l,c){if(Yt(i)){var s=Cr(e,i,l&&t&&t.i!==3&&!Ve(t.R,n)?l.concat(n):void 0);if(Pl(o,n,s),!Yt(s))return;e.m=!1}else c&&o.add(i);if(Pt(i)&&!Oa(i)){if(!e.h.D&&e._<1)return;Cr(e,i),t&&t.A.l||wr(e,i)}}function wr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Sa(t,o)}function fa(e,t){var o=e[et];return(o?ie(o):e)[t]}function El(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 le(e){e.P||(e.P=!0,e.l&&le(e.l))}function ua(e){e.o||(e.o=va(e.t))}function ma(e,t,o){var n=ba(t)?zt("MapSet").F(t,o):xa(t)?zt("MapSet").T(t,o):e.O?function(i,l){var c=Array.isArray(i),s={i:c?1:0,A:l?l.A:ha(),P:!1,I:!1,R:{},l,t:i,k:null,o:null,j:null,C:!1},d=s,u=Bo;c&&(d=[s],u=To);var y=Proxy.revocable(d,u),m=y.revoke,b=y.proxy;return s.k=b,s.j=m,b}(t,o):zt("ES5").J(t,o);return(o?o.A:ha()).p.push(n),n}function Nd(e){return Yt(e)||Et(22,e),function t(o){if(!Pt(o))return o;var n,i=o[et],l=Ye(o);if(i){if(!i.P&&(i.i<4||!zt("ES5").K(i)))return i.t;i.I=!0,n=Nl(o,l),i.I=!1}else n=Nl(o,l);return _e(n,function(c,s){i&&Od(i.t,c)===s||Pl(n,c,t(s))}),l===3?new Set(n):n}(e)}function Nl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return va(e)}function Ll(){function e(c,s){var d=l[c];return d?d.enumerable=s:l[c]=d={configurable:!0,enumerable:s,get:function(){var u=this[et];return Bo.get(u,c)},set:function(u){var y=this[et];Bo.set(y,c,u)}},d}function t(c){for(var s=c.length-1;s>=0;s--){var d=c[s][et];if(!d.P)switch(d.i){case 5:n(d)&&le(d);break;case 4:o(d)&&le(d)}}}function o(c){for(var s=c.t,d=c.k,u=je(d),y=u.length-1;y>=0;y--){var m=u[y];if(m!==et){var b=s[m];if(b===void 0&&!Ve(s,m))return!0;var x=d[m],v=x&&x[et];if(v?v.t!==b:!$l(x,b))return!0}}var C=!!s[et];return u.length!==je(s).length+(C?0:1)}function n(c){var s=c.k;if(s.length!==c.t.length)return!0;var d=Object.getOwnPropertyDescriptor(s,s.length-1);if(d&&!d.get)return!0;for(var u=0;u<s.length;u++)if(!s.hasOwnProperty(u))return!0;return!1}function i(c){c.g&&Et(3,JSON.stringify(ie(c)))}var l={};wd("ES5",{J:function(c,s){var d=Array.isArray(c),u=function(m,b){if(m){for(var x=Array(b.length),v=0;v<b.length;v++)Object.defineProperty(x,""+v,e(v,!0));return x}var C=kl(b);delete C[et];for(var I=je(C),P=0;P<I.length;P++){var L=I[P];C[L]=e(L,m||!!C[L].enumerable)}return Object.create(Object.getPrototypeOf(b),C)}(d,c),y={i:d?5:4,A:s?s.A:ha(),P:!1,I:!1,R:{},l:s,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,et,{value:y,writable:!0}),u},S:function(c,s,d){d?Yt(s)&&s[et].A===c&&t(c.p):(c.u&&function u(y){if(y&&typeof y=="object"){var m=y[et];if(m){var b=m.t,x=m.k,v=m.R,C=m.i;if(C===4)_e(x,function(S){S!==et&&(b[S]!==void 0||Ve(b,S)?v[S]||u(x[S]):(v[S]=!0,le(m)))}),_e(b,function(S){x[S]!==void 0||Ve(x,S)||(v[S]=!1,le(m))});else if(C===5){if(n(m)&&(le(m),v.length=!0),x.length<b.length)for(var I=x.length;I<b.length;I++)v[I]=!1;else for(var P=b.length;P<x.length;P++)v[P]=!0;for(var L=Math.min(x.length,b.length),O=0;O<L;O++)x.hasOwnProperty(O)||(v[O]=!0),v[O]===void 0&&u(x[O])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Rl,Uo,Ca=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Rd=typeof Map<"u",Ad=typeof Set<"u",Al=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",_l=Ca?Symbol.for("immer-nothing"):((Rl={})["immer-nothing"]=!0,Rl),Il=Ca?Symbol.for("immer-draftable"):"__$immer_draftable",et=Ca?Symbol.for("immer-state"):"__$immer_state";var Id=""+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,kl=Object.getOwnPropertyDescriptors||function(e){var t={};return je(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ya={},Bo={get:function(e,t){if(t===et)return e;var o=ie(e);if(!Ve(o,t))return function(i,l,c){var s,d=El(l,c);return d?"value"in d?d.value:(s=d.get)===null||s===void 0?void 0:s.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Pt(n)?n:n===fa(e.t,t)?(ua(e),e.o[t]=ma(e.A.h,n,e)):n},has:function(e,t){return t in ie(e)},ownKeys:function(e){return Reflect.ownKeys(ie(e))},set:function(e,t,o){var n=El(ie(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=fa(ie(e),t),l=i?.[et];if(l&&l.t===o)return e.o[t]=o,e.R[t]=!1,!0;if($l(o,i)&&(o!==void 0||Ve(e.t,t)))return!0;ua(e),le(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 fa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,ua(e),le(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=ie(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Et(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Et(12)}},To={};_e(Bo,function(e,t){To[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),To.deleteProperty=function(e,t){return To.set.call(this,e,t,void 0)},To.set=function(e,t,o){return Bo.set.call(this,e[0],t,o,e[0])};var Pd=function(){function e(o){var n=this;this.O=Al,this.D=!0,this.produce=function(i,l,c){if(typeof i=="function"&&typeof l!="function"){var s=l;l=i;var d=n;return function(C){var I=this;C===void 0&&(C=s);for(var P=arguments.length,L=Array(P>1?P-1:0),O=1;O<P;O++)L[O-1]=arguments[O];return d.produce(C,function(S){var E;return(E=l).call.apply(E,[I,S].concat(L))})}}var u;if(typeof l!="function"&&Et(6),c!==void 0&&typeof c!="function"&&Et(7),Pt(i)){var y=Cl(n),m=ma(n,i,void 0),b=!0;try{u=l(m),b=!1}finally{b?Or(y):ga(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return da(y,c),pa(C,y)},function(C){throw Or(y),C}):(da(y,c),pa(u,y))}if(!i||typeof i!="object"){if((u=l(i))===void 0&&(u=i),u===_l&&(u=void 0),n.D&&Sa(u,!0),c){var x=[],v=[];zt("Patches").M(i,u,x,v),c(x,v)}return u}Et(21,i)},this.produceWithPatches=function(i,l){if(typeof i=="function")return function(u){for(var y=arguments.length,m=Array(y>1?y-1:0),b=1;b<y;b++)m[b-1]=arguments[b];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(m))})};var c,s,d=n.produce(i,l,function(u,y){c=u,s=y});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,c,s]}):[d,c,s]},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){Pt(o)||Et(8),Yt(o)&&(o=Nd(o));var n=Cl(this),i=ma(this,o,void 0);return i[et].C=!0,ga(n),i},t.finishDraft=function(o,n){var i=o&&o[et],l=i.A;return da(l,n),pa(void 0,l)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Al&&Et(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var l=n[i];if(l.path.length===0&&l.op==="replace"){o=l.value;break}}i>-1&&(n=n.slice(i+1));var c=zt("Patches").$;return Yt(o)?c(o,n):this.produce(o,function(s){return c(s,n)})},e}(),Ct=new Pd,$d=Ct.produce,cm=Ct.produceWithPatches.bind(Ct),sm=Ct.setAutoFreeze.bind(Ct),dm=Ct.setUseProxies.bind(Ct),pm=Ct.applyPatches.bind(Ct),fm=Ct.createDraft.bind(Ct),um=Ct.finishDraft.bind(Ct),Er=$d;function ce(e){"@babel/helpers - typeof";return ce=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},ce(e)}function wa(e,t){if(ce(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ce(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ea(e){var t=wa(e,"string");return ce(t)==="symbol"?t:String(t)}function Na(e,t,o){return t=Ea(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Wl(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 Nr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Wl(Object(o),!0).forEach(function(n){Na(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Wl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ut(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 zl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ra=function(){return Math.random().toString(36).substring(7).split("").join(".")},Rr={INIT:"@@redux/INIT"+Ra(),REPLACE:"@@redux/REPLACE"+Ra(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ra()}};function Ld(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 Aa(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ut(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ut(1));return o(Aa)(e,t)}if(typeof e!="function")throw new Error(ut(2));var i=e,l=t,c=[],s=c,d=!1;function u(){s===c&&(s=c.slice())}function y(){if(d)throw new Error(ut(3));return l}function m(C){if(typeof C!="function")throw new Error(ut(4));if(d)throw new Error(ut(5));var I=!0;return u(),s.push(C),function(){if(I){if(d)throw new Error(ut(6));I=!1,u();var L=s.indexOf(C);s.splice(L,1),c=null}}}function b(C){if(!Ld(C))throw new Error(ut(7));if(typeof C.type>"u")throw new Error(ut(8));if(d)throw new Error(ut(9));try{d=!0,l=i(l,C)}finally{d=!1}for(var I=c=s,P=0;P<I.length;P++){var L=I[P];L()}return C}function x(C){if(typeof C!="function")throw new Error(ut(10));i=C,b({type:Rr.REPLACE})}function v(){var C,I=m;return C={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(ut(11));function O(){L.next&&L.next(y())}O();var S=I(O);return{unsubscribe:S}}},C[zl]=function(){return this},C}return b({type:Rr.INIT}),n={dispatch:b,subscribe:m,getState:y,replaceReducer:x},n[zl]=v,n}function _d(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Rr.INIT});if(typeof n>"u")throw new Error(ut(12));if(typeof o(void 0,{type:Rr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ut(13))})}function Tl(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 l=Object.keys(o),c,s;try{_d(o)}catch(d){s=d}return function(u,y){if(u===void 0&&(u={}),s)throw s;if(0)var m;for(var b=!1,x={},v=0;v<l.length;v++){var C=l[v],I=o[C],P=u[C],L=I(P,y);if(typeof L>"u"){var O=y&&y.type;throw new Error(ut(14))}x[C]=L,b=b||L!==P}return b=b||l.length!==Object.keys(u).length,b?x:u}}function qe(){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 Ul(){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),l=function(){throw new Error(ut(15))},c={getState:i.getState,dispatch:function(){return l.apply(void 0,arguments)}},s=t.map(function(d){return d(c)});return l=qe.apply(void 0,s)(i.dispatch),Nr(Nr({},i),{},{dispatch:l})}}}function Bl(e){var t=function(n){var i=n.dispatch,l=n.getState;return function(c){return function(s){return typeof s=="function"?s(i,l,e):c(s)}}};return t}var Dl=Bl();Dl.withExtraArgument=Bl;var Ia=Dl;var Gl=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(n[l]=i[l])},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)}}(),kd=function(e,t){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},n,i,l,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(u){return function(y){return d([u,y])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(l=u[0]&2?i.return:u[0]?i.throw||((l=i.return)&&l.call(i),0):i.next)&&!(l=l.call(i,u[1])).done)return l;switch(i=0,l&&(u=[u[0]&2,l.value]),u[0]){case 0:case 1:l=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!l||u[1]>l[0]&&u[1]<l[3])){o.label=u[1];break}if(u[0]===6&&o.label<l[1]){o.label=l[1],l=u;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(u);break}l[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(y){u=[6,y],i=0}finally{n=l=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Xe=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Wd=Object.defineProperty,zd=Object.defineProperties,Td=Object.getOwnPropertyDescriptors,Ml=Object.getOwnPropertySymbols,Ud=Object.prototype.hasOwnProperty,Bd=Object.prototype.propertyIsEnumerable,Fl=function(e,t,o){return t in e?Wd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},se=function(e,t){for(var o in t||(t={}))Ud.call(t,o)&&Fl(e,o,t[o]);if(Ml)for(var n=0,i=Ml(t);n<i.length;n++){var o=i[n];Bd.call(t,o)&&Fl(e,o,t[o])}return e},Pa=function(e,t){return zd(e,Td(t))},Dd=function(e,t,o){return new Promise(function(n,i){var l=function(d){try{s(o.next(d))}catch(u){i(u)}},c=function(d){try{s(o.throw(d))}catch(u){i(u)}},s=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(l,c)};s((o=o.apply(e,t)).next())})};var Md=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?qe:qe.apply(null,arguments)},$m=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Fd(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 Hd=function(e){Gl(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,Xe([void 0],o[0].concat(this)))):new(t.bind.apply(t,Xe([void 0],o.concat(this))))},t}(Array),Zd=function(e){Gl(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,Xe([void 0],o[0].concat(this)))):new(t.bind.apply(t,Xe([void 0],o.concat(this))))},t}(Array);function _a(e){return Pt(e)?Er(e,function(){}):e}function Gd(e){return typeof e=="boolean"}function Kd(){return function(t){return Vd(t)}}function Vd(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,l=e.serializableCheck,c=l===void 0?!0:l,s=new Hd;if(o&&(Gd(o)?s.push(Ia):s.push(Ia.withExtraArgument(o.extraArgument))),0){if(i)var d;if(c)var u}return s}var $a=!0;function Kl(e){var t=Kd(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,l=o.middleware,c=l===void 0?t():l,s=o.devTools,d=s===void 0?!0:s,u=o.preloadedState,y=u===void 0?void 0:u,m=o.enhancers,b=m===void 0?void 0:m,x;if(typeof i=="function")x=i;else if(Fd(i))x=Tl(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=c;if(typeof v=="function"&&(v=v(t),!$a&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!$a&&v.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Ul.apply(void 0,v),I=qe;d&&(I=Md(se({trace:!$a},typeof d=="object"&&d)));var P=new Zd(C),L=P;Array.isArray(b)?L=Xe([C],b):typeof b=="function"&&(L=b(P));var O=I.apply(void 0,L);return Aa(x,y,O)}function de(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var l=t.apply(void 0,n);if(!l)throw new Error("prepareAction did not return an object");return se(se({type:e,payload:l.payload},"meta"in l&&{meta:l.meta}),"error"in l&&{error:l.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 Vl(e){var t={},o=[],n,i={addCase:function(l,c){var s=typeof l=="string"?l:l.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=c,i},addMatcher:function(l,c){return o.push({matcher:l,reducer:c}),i},addDefaultCase:function(l){return n=l,i}};return e(i),[t,o,n]}function jd(e){return typeof e=="function"}function Yd(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Vl(t):[t,o,n],l=i[0],c=i[1],s=i[2],d;if(jd(e))d=function(){return _a(e())};else{var u=_a(e);d=function(){return u}}function y(m,b){m===void 0&&(m=d());var x=Xe([l[b.type]],c.filter(function(v){var C=v.matcher;return C(b)}).map(function(v){var C=v.reducer;return C}));return x.filter(function(v){return!!v}).length===0&&(x=[s]),x.reduce(function(v,C){if(C)if(Yt(v)){var I=v,P=C(I,b);return P===void 0?v:P}else{if(Pt(v))return Er(v,function(L){return C(L,b)});var P=C(v,b);if(P===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return v},m)}return y.getInitialState=d,y}function qd(e,t){return e+"/"+t}function jl(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:_a(e.initialState),n=e.reducers||{},i=Object.keys(n),l={},c={},s={};i.forEach(function(y){var m=n[y],b=qd(t,y),x,v;"reducer"in m?(x=m.reducer,v=m.prepare):x=m,l[y]=x,c[b]=x,s[y]=v?de(b,v):de(b)});function d(){var y=typeof e.extraReducers=="function"?Vl(e.extraReducers):[e.extraReducers],m=y[0],b=m===void 0?{}:m,x=y[1],v=x===void 0?[]:x,C=y[2],I=C===void 0?void 0:C,P=se(se({},b),c);return Yd(o,function(L){for(var O in P)L.addCase(O,P[O]);for(var S=0,E=v;S<E.length;S++){var U=E[S];L.addMatcher(U.matcher,U.reducer)}I&&L.addDefaultCase(I)})}var u;return{name:t,reducer:function(y,m){return u||(u=d()),u(y,m)},actions:s,caseReducers:l,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Xd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Jd=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Xd[Math.random()*64|0];return t},Qd=["name","message","stack","code"],La=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Hl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),tp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Qd;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Wm=function(){function e(t,o,n){var i=de(t+"/fulfilled",function(y,m,b,x){return{payload:y,meta:Pa(se({},x||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),l=de(t+"/pending",function(y,m,b){return{payload:void 0,meta:Pa(se({},b||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),c=de(t+"/rejected",function(y,m,b,x,v){return{payload:x,error:(n&&n.serializeError||tp)(y||"Rejected"),meta:Pa(se({},v||{}),{arg:b,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),s=!1,d=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function u(y){return function(m,b,x){var v=n?.idGenerator?n.idGenerator(y):Jd(),C=new d,I,P=!1;function L(S){I=S,C.abort()}var O=function(){return Dd(this,null,function(){var S,E,U,Y,gt,q,W;return kd(this,function(B){switch(B.label){case 0:return B.trys.push([0,4,,5]),Y=(S=n?.condition)==null?void 0:S.call(n,y,{getState:b,extra:x}),op(Y)?[4,Y]:[3,2];case 1:Y=B.sent(),B.label=2;case 2:if(Y===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,gt=new Promise(function(G,ft){return C.signal.addEventListener("abort",function(){return ft({name:"AbortError",message:I||"Aborted"})})}),m(l(v,y,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:v,arg:y},{getState:b,extra:x}))),[4,Promise.race([gt,Promise.resolve(o(y,{dispatch:m,getState:b,extra:x,requestId:v,signal:C.signal,abort:L,rejectWithValue:function(G,ft){return new La(G,ft)},fulfillWithValue:function(G,ft){return new Hl(G,ft)}})).then(function(G){if(G instanceof La)throw G;return G instanceof Hl?i(G.payload,v,y,G.meta):i(G,v,y)})])];case 3:return U=B.sent(),[3,5];case 4:return q=B.sent(),U=q instanceof La?c(null,v,y,q.payload,q.meta):c(q,v,y),[3,5];case 5:return W=n&&!n.dispatchConditionRejection&&c.match(U)&&U.meta.condition,W||m(U),[2,U]}})})}();return Object.assign(O,{abort:L,requestId:v,arg:y,unwrap:function(){return O.then(ep)}})}}return Object.assign(u,{pending:l,rejected:c,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function ep(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function op(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Yl="listener",ql="completed",Xl="cancelled",zm="task-"+Xl,Tm="task-"+ql,Um=Yl+"-"+Xl,Bm=Yl+"-"+ql;var ka="listenerMiddleware";var Dm=de(ka+"/add"),Mm=de(ka+"/removeAll"),Fm=de(ka+"/remove");var Zl,Hm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Zl||(Zl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},rp=function(e){return function(t){setTimeout(t,e)}},Zm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:rp(10);Ll();window.ftReduxStores||(window.ftReduxStores={});var Wa=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,l=window.ftReduxStores[n];if($e(l))return l;if(i==null)return;let c=jl({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),s=Kl({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:c.reducer(d,u)});return window.ftReduxStores[i.name]=new e(c,s)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new zo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,l)=>{let c=i,s=n[c];return s?(...d)=>{let u=s(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[c]:d})}}})}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 np(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))$e(t)&&t.clear()}var Ta={};Q(Ta,{serializeRequest:()=>ip});function ap(e){return`"${e}"`}function ip(e,t){var o,n,i,l;let c=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&&c.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&c.append("scope",t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&c.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let d=t.periodFilter.period,u=d?`_${d.from}_${d.to}`:"";c.append("period",t.periodFilter.periodType.toLowerCase()+u)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&c.append("sort","last_update"),((l=t.filters)===null||l===void 0?void 0:l.length)>0){let d=t.filters.map(u=>{let y=u.values.map(m=>m.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(m=>encodeURIComponent(ap(m))).join("_");return`${u.key}~${y}`}).join("*");c.append("filters",d)}return new URL(`${e.replace(/\/+$/,"")}/search?${c.toString()}`).href}var Ua={};Q(Ua,{toFtFormComponent:()=>Do});var Ar=Symbol("elementInternals");function Do(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[Ar].form}constructor(...i){super(i),this[Ar]=this.attachInternals(),this[Ar].role=t}setFormValue(i){this[Ar].setFormValue(i)}}return o}var Ir=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var Ba,Da,Ma,Fa,Ha=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ma=(Da=(Ba=window.safari)===null||Ba===void 0?void 0:Ba.pushNotification)===null||Da===void 0?void 0:Da.toString())!==null&&Ma!==void 0?Ma:"")==="[object SafariRemoteNotification]",lp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Fa=window.ftGlobals)!==null&&Fa!==void 0?Fa:{lit:Yr,litDecorators:Xr,litRepeat:Jr,litClassMap:Qr,litStyleMap:tn,litUnsafeHTML:en,wcUtils:{...an,...rn,...cn,...Ir,...sn,...pn,...Dn,...Zn,...ea,...Bn,...ra,...yl,...dn,...ia,...la,...xl,...sa,...za,...oa,...Ta,...Ua,isSafari:Ha,isTouchScreen:lp}};var Ql=Symbol.for(""),cp=e=>{if(e?.r===Ql)return e?._$litStatic$},Za=e=>({_$litStatic$:e,r:Ql});var Jl=new Map,tc=e=>(t,...o)=>{let n=o.length,i,l,c=[],s=[],d,u=0,y=!1;for(;u<n;){for(d=t[u];u<n&&(l=o[u],(i=cp(l))!==void 0);)d+=i+t[++u],y=!0;u!==n&&s.push(l),c.push(d),u++}if(u===n&&c.push(t[n]),y){let m=c.join("$$lit$$");(t=Jl.get(m))===void 0&&(c.raw=c,Jl.set(m,t=c)),o=s}return e(t,...o)},Ga=tc(fi),$y=tc(ui);var ke;(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"})(ke||(ke={}));function ec(e){let t=No[e];return $`
43
+ .ft-typography--${Mt(e)} {
44
44
  font-family: ${t.fontFamily};
45
45
  font-size: ${t.fontSize};
46
46
  font-weight: ${t.fontWeight};
@@ -48,54 +48,8 @@ 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 Js=r.extend("--ft-typography-font-family","",$.titleFont),Kt=r.extend("--ft-typography-font-family","",$.contentFont),P={fontFamily:Kt,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","",Js),fontSize:r.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},qe={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Js),fontSize:r.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},Ye={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Kt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},Xe={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Kt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},wt={fontFamily:r.extend("--ft-typography-body1-font-family","",Kt),fontSize:r.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},Je={fontFamily:r.extend("--ft-typography-body2-font-family","",Kt),fontSize:r.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},Rt={fontFamily:r.extend("--ft-typography-caption-font-family","",Kt),fontSize:r.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},Qe={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Kt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},to={fontFamily:r.extend("--ft-typography-overline-font-family","",Kt),fontSize:r.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},It={fontFamily:r.extend("--ft-typography-button-font-family","",Kt),fontSize:r.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},Qs=_`
51
+ `}var oc=r.extend("--ft-typography-font-family","",_.titleFont),qt=r.extend("--ft-typography-font-family","",_.contentFont),k={fontFamily:qt,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")},Je={fontFamily:r.extend("--ft-typography-title-font-family","",oc),fontSize:r.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},Qe={fontFamily:r.extend("--ft-typography-title-dense-font-family","",oc),fontSize:r.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},to={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",qt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},eo={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",qt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},Nt={fontFamily:r.extend("--ft-typography-body1-font-family","",qt),fontSize:r.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},oo={fontFamily:r.extend("--ft-typography-body2-font-family","",qt),fontSize:r.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},$t={fontFamily:r.extend("--ft-typography-caption-font-family","",qt),fontSize:r.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},ro={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",qt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},no={fontFamily:r.extend("--ft-typography-overline-font-family","",qt),fontSize:r.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},Tt={fontFamily:r.extend("--ft-typography-button-font-family","",qt),fontSize:r.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},rc=$`
52
52
  .ft-typography--title {
53
- font-family: ${Ze.fontFamily};
54
- font-size: ${Ze.fontSize};
55
- font-weight: ${Ze.fontWeight};
56
- letter-spacing: ${Ze.letterSpacing};
57
- line-height: ${Ze.lineHeight};
58
- text-transform: ${Ze.textTransform};
59
- }
60
- `,tl=_`
61
- .ft-typography--title-dense {
62
- font-family: ${qe.fontFamily};
63
- font-size: ${qe.fontSize};
64
- font-weight: ${qe.fontWeight};
65
- letter-spacing: ${qe.letterSpacing};
66
- line-height: ${qe.lineHeight};
67
- text-transform: ${qe.textTransform};
68
- }
69
- `,el=_`
70
- .ft-typography--subtitle1 {
71
- font-family: ${Ye.fontFamily};
72
- font-size: ${Ye.fontSize};
73
- font-weight: ${Ye.fontWeight};
74
- letter-spacing: ${Ye.letterSpacing};
75
- line-height: ${Ye.lineHeight};
76
- text-transform: ${Ye.textTransform};
77
- }
78
- `,ol=_`
79
- .ft-typography--subtitle2 {
80
- font-family: ${Xe.fontFamily};
81
- font-size: ${Xe.fontSize};
82
- font-weight: ${Xe.fontWeight};
83
- letter-spacing: ${Xe.letterSpacing};
84
- line-height: ${Xe.lineHeight};
85
- text-transform: ${Xe.textTransform};
86
- }
87
-
88
- `,Nr=_`
89
- .ft-typography--body1 {
90
- font-family: ${wt.fontFamily};
91
- font-size: ${wt.fontSize};
92
- font-weight: ${wt.fontWeight};
93
- letter-spacing: ${wt.letterSpacing};
94
- line-height: ${wt.lineHeight};
95
- text-transform: ${wt.textTransform};
96
- }
97
- `,Ar=_`
98
- .ft-typography--body2 {
99
53
  font-family: ${Je.fontFamily};
100
54
  font-size: ${Je.fontSize};
101
55
  font-weight: ${Je.fontWeight};
@@ -103,17 +57,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
103
57
  line-height: ${Je.lineHeight};
104
58
  text-transform: ${Je.textTransform};
105
59
  }
106
- `,eo=_`
107
- .ft-typography--caption {
108
- font-family: ${Rt.fontFamily};
109
- font-size: ${Rt.fontSize};
110
- font-weight: ${Rt.fontWeight};
111
- letter-spacing: ${Rt.letterSpacing};
112
- line-height: ${Rt.lineHeight};
113
- text-transform: ${Rt.textTransform};
114
- }
115
- `,rl=_`
116
- .ft-typography--breadcrumb {
60
+ `,nc=$`
61
+ .ft-typography--title-dense {
117
62
  font-family: ${Qe.fontFamily};
118
63
  font-size: ${Qe.fontSize};
119
64
  font-weight: ${Qe.fontWeight};
@@ -121,8 +66,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
121
66
  line-height: ${Qe.lineHeight};
122
67
  text-transform: ${Qe.textTransform};
123
68
  }
124
- `,nl=_`
125
- .ft-typography--overline {
69
+ `,ac=$`
70
+ .ft-typography--subtitle1 {
126
71
  font-family: ${to.fontFamily};
127
72
  font-size: ${to.fontSize};
128
73
  font-weight: ${to.fontWeight};
@@ -130,46 +75,101 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
130
75
  line-height: ${to.lineHeight};
131
76
  text-transform: ${to.textTransform};
132
77
  }
133
- `,il=_`
78
+ `,ic=$`
79
+ .ft-typography--subtitle2 {
80
+ font-family: ${eo.fontFamily};
81
+ font-size: ${eo.fontSize};
82
+ font-weight: ${eo.fontWeight};
83
+ letter-spacing: ${eo.letterSpacing};
84
+ line-height: ${eo.lineHeight};
85
+ text-transform: ${eo.textTransform};
86
+ }
87
+
88
+ `,Pr=$`
89
+ .ft-typography--body1 {
90
+ font-family: ${Nt.fontFamily};
91
+ font-size: ${Nt.fontSize};
92
+ font-weight: ${Nt.fontWeight};
93
+ letter-spacing: ${Nt.letterSpacing};
94
+ line-height: ${Nt.lineHeight};
95
+ text-transform: ${Nt.textTransform};
96
+ }
97
+ `,$r=$`
98
+ .ft-typography--body2 {
99
+ font-family: ${oo.fontFamily};
100
+ font-size: ${oo.fontSize};
101
+ font-weight: ${oo.fontWeight};
102
+ letter-spacing: ${oo.letterSpacing};
103
+ line-height: ${oo.lineHeight};
104
+ text-transform: ${oo.textTransform};
105
+ }
106
+ `,ao=$`
107
+ .ft-typography--caption {
108
+ font-family: ${$t.fontFamily};
109
+ font-size: ${$t.fontSize};
110
+ font-weight: ${$t.fontWeight};
111
+ letter-spacing: ${$t.letterSpacing};
112
+ line-height: ${$t.lineHeight};
113
+ text-transform: ${$t.textTransform};
114
+ }
115
+ `,lc=$`
116
+ .ft-typography--breadcrumb {
117
+ font-family: ${ro.fontFamily};
118
+ font-size: ${ro.fontSize};
119
+ font-weight: ${ro.fontWeight};
120
+ letter-spacing: ${ro.letterSpacing};
121
+ line-height: ${ro.lineHeight};
122
+ text-transform: ${ro.textTransform};
123
+ }
124
+ `,cc=$`
125
+ .ft-typography--overline {
126
+ font-family: ${no.fontFamily};
127
+ font-size: ${no.fontSize};
128
+ font-weight: ${no.fontWeight};
129
+ letter-spacing: ${no.letterSpacing};
130
+ line-height: ${no.lineHeight};
131
+ text-transform: ${no.textTransform};
132
+ }
133
+ `,sc=$`
134
134
  .ft-typography--button {
135
- font-family: ${It.fontFamily};
136
- font-size: ${It.fontSize};
137
- font-weight: ${It.fontWeight};
138
- letter-spacing: ${It.letterSpacing};
139
- line-height: ${It.lineHeight};
140
- text-transform: ${It.textTransform};
141
- }
142
- `,al=_`
135
+ font-family: ${Tt.fontFamily};
136
+ font-size: ${Tt.fontSize};
137
+ font-weight: ${Tt.fontWeight};
138
+ letter-spacing: ${Tt.letterSpacing};
139
+ line-height: ${Tt.lineHeight};
140
+ text-transform: ${Tt.textTransform};
141
+ }
142
+ `,dc=$`
143
143
  .ft-typography {
144
144
  vertical-align: inherit;
145
145
  }
146
- `,sl=[Object.keys(Oo).map(e=>Xs(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},st=class extends B{constructor(){super(...arguments),this.variant=_e.body1}render(){return this.element?Ui`
147
- <${Bi(this.element)}
146
+ `,pc=[Object.keys(No).map(e=>ec(e))];var fc=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},dt=class extends H{constructor(){super(...arguments),this.variant=ke.body1}render(){return this.element?Ga`
147
+ <${Za(this.element)}
148
148
  part="text"
149
149
  class="ft-typography ft-typography--${this.variant}">
150
150
  <slot></slot>
151
- </${Bi(this.element)}>
152
- `:Ui`
151
+ </${Za(this.element)}>
152
+ `:Ga`
153
153
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
154
- `}};st.styles=[Qs,tl,el,ol,Nr,Ar,eo,rl,nl,il,al,...sl];ll([S()],st.prototype,"element",void 0);ll([S()],st.prototype,"variant",void 0);X("ft-typography")(st);var I={fontSize:r.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:r.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:r.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:r.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:r.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:r.extend("--ft-input-label-border-color","",$.colorOutline),textColor:r.extend("--ft-input-label-text-color","",$.colorOnSurfaceMedium),disabledTextColor:r.extend("--ft-input-label-disabled-text-color","",$.colorOnSurfaceDisabled),colorSurface:r.external($.colorSurface,"Design system"),borderRadiusS:r.external($.borderRadiusS,"Design system"),colorError:r.external($.colorError,"Design system")},cl=_`
154
+ `}};dt.styles=[rc,nc,ac,ic,Pr,$r,ao,lc,cc,sc,dc,...pc];fc([w()],dt.prototype,"element",void 0);fc([w()],dt.prototype,"variant",void 0);tt("ft-typography")(dt);var T={fontSize:r.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:r.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:r.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:r.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:r.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:r.extend("--ft-input-label-border-color","",_.colorOutline),textColor:r.extend("--ft-input-label-text-color","",_.colorOnSurfaceMedium),disabledTextColor:r.extend("--ft-input-label-disabled-text-color","",_.colorOnSurfaceDisabled),colorSurface:r.external(_.colorSurface,"Design system"),borderRadiusS:r.external(_.borderRadiusS,"Design system"),colorError:r.external(_.colorError,"Design system")},uc=$`
155
155
  .ft-input-label {
156
156
  position: absolute;
157
157
  inset: 0;
158
158
  display: flex;
159
- background-color: ${I.colorSurface};
160
- border-radius: ${I.borderRadiusS} ${I.borderRadiusS} 0 0;
159
+ background-color: ${T.colorSurface};
160
+ border-radius: ${T.borderRadiusS} ${T.borderRadiusS} 0 0;
161
161
  }
162
162
 
163
163
  .ft-input-label--outlined {
164
- border-radius: ${I.borderRadiusS};
164
+ border-radius: ${T.borderRadiusS};
165
165
  }
166
166
 
167
167
  .ft-input-label {
168
- border-color: ${I.borderColor};
168
+ border-color: ${T.borderColor};
169
169
  }
170
170
 
171
171
  .ft-input-label.ft-input-label--in-error {
172
- border-color: ${I.colorError}
172
+ border-color: ${T.colorError}
173
173
  }
174
174
 
175
175
  .ft-input-label:before,
@@ -182,7 +182,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
182
182
  }
183
183
 
184
184
  .ft-input-label:before {
185
- width: calc(${I.horizontalSpacing} - 4px);
185
+ width: calc(${T.horizontalSpacing} - 4px);
186
186
  flex-shrink: 0;
187
187
  }
188
188
 
@@ -198,20 +198,20 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
198
198
  border-bottom-width: 1px;
199
199
  border-bottom-style: solid;
200
200
  border-color: inherit;
201
- color: ${I.textColor};
201
+ color: ${T.textColor};
202
202
  transition: font-size 250ms, line-height 250ms, color 250ms;
203
- max-width: calc(${I.labelMaxWidth} - 2 * (${I.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
203
+ max-width: calc(${T.labelMaxWidth} - 2 * (${T.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
204
204
  text-overflow: ellipsis;
205
- ${w(Rt.fontSize,I.fontSize)};
206
- ${w(Rt.lineHeight,I.fontSize)};
205
+ ${N($t.fontSize,T.fontSize)};
206
+ ${N($t.lineHeight,T.fontSize)};
207
207
  }
208
208
 
209
209
  .ft-input-label--in-error .ft-input-label--text {
210
- color: ${I.colorError}
210
+ color: ${T.colorError}
211
211
  }
212
212
 
213
213
  .ft-input-label--disabled .ft-input-label--text {
214
- color: ${I.disabledTextColor};
214
+ color: ${T.disabledTextColor};
215
215
  }
216
216
 
217
217
  .ft-input-label--hidden-text {
@@ -228,19 +228,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
228
228
  overflow: hidden;
229
229
  white-space: nowrap;
230
230
  text-overflow: ellipsis;
231
- padding: ${I.verticalSpacing} 4px;
232
- margin: calc(${I.verticalSpacing} * -1) 0;
231
+ padding: ${T.verticalSpacing} 4px;
232
+ margin: calc(${T.verticalSpacing} * -1) 0;
233
233
  max-width: 100%;
234
234
  box-sizing: border-box;
235
235
  }
236
236
 
237
237
  .ft-input-label--raised .ft-input-label--text {
238
- ${w(Rt.fontSize,I.raisedFontSize)};
239
- ${w(Rt.lineHeight,I.raisedFontSize)};
238
+ ${N($t.fontSize,T.raisedFontSize)};
239
+ ${N($t.lineHeight,T.raisedFontSize)};
240
240
  }
241
241
 
242
242
  .ft-input-label--raised .ft-input-label--floating-text {
243
- top: ${I.verticalSpacing};
243
+ top: ${T.verticalSpacing};
244
244
  }
245
245
 
246
246
  .ft-input-label--outlined .ft-input-label--text,
@@ -253,36 +253,36 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
253
253
  .ft-input-label--outlined:before {
254
254
  border-left-width: 1px;
255
255
  border-left-style: solid;
256
- border-radius: ${I.borderRadiusS} 0 0 ${I.borderRadiusS};
256
+ border-radius: ${T.borderRadiusS} 0 0 ${T.borderRadiusS};
257
257
  }
258
258
 
259
259
  .ft-input-label--outlined:after {
260
260
  border-right-width: 1px;
261
261
  border-right-style: solid;
262
- border-radius: 0 ${I.borderRadiusS} ${I.borderRadiusS} 0;
262
+ border-radius: 0 ${T.borderRadiusS} ${T.borderRadiusS} 0;
263
263
  }
264
264
 
265
265
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
266
266
  padding: 2px 4px;
267
- z-index: ${I.raisedZIndex};
268
- background-color: ${I.colorSurface};
269
- border-radius: ${I.borderRadiusS};
267
+ z-index: ${T.raisedZIndex};
268
+ background-color: ${T.colorSurface};
269
+ border-radius: ${T.borderRadiusS};
270
270
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
271
271
  }
272
272
 
273
273
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
274
274
  border-top: none;
275
275
  }
276
- `;var Mo=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},dt=class extends B{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return T`
277
- <div class="${ut(t)}">
278
- ${this.text?T`
276
+ `;var Mo=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},ht=class extends H{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return z`
277
+ <div class="${mt(t)}">
278
+ ${this.text?z`
279
279
  <div class="ft-input-label--text ft-typography--caption">
280
280
  <span class="ft-input-label--floating-text">${this.text}</span>
281
281
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
282
282
  </div>
283
283
  `:null}
284
284
  </div>
285
- `}};dt.elementDefinitions={};dt.styles=[eo,cl];Mo([S({type:String})],dt.prototype,"text",void 0);Mo([S({type:Boolean})],dt.prototype,"raised",void 0);Mo([S({type:Boolean})],dt.prototype,"outlined",void 0);Mo([S({type:Boolean})],dt.prototype,"disabled",void 0);Mo([S({type:Boolean})],dt.prototype,"error",void 0);X("ft-input-label")(dt);var pl=r.extend("--ft-ripple-color","",$.colorContent),M={color:pl,backgroundColor:r.extend("--ft-ripple-background-color","",pl),opacityContentOnSurfacePressed:r.external($.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external($.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external($.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external($.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},dl=r.extend("--ft-ripple-color","",$.colorPrimary),fl={color:dl,backgroundColor:r.extend("--ft-ripple-background-color","",dl)},ul=r.extend("--ft-ripple-color","",$.colorSecondary),hl={color:ul,backgroundColor:r.extend("--ft-ripple-background-color","",ul)},ml=_`
285
+ `}};ht.elementDefinitions={};ht.styles=[ao,uc];Mo([w({type:String})],ht.prototype,"text",void 0);Mo([w({type:Boolean})],ht.prototype,"raised",void 0);Mo([w({type:Boolean})],ht.prototype,"outlined",void 0);Mo([w({type:Boolean})],ht.prototype,"disabled",void 0);Mo([w({type:Boolean})],ht.prototype,"error",void 0);tt("ft-input-label")(ht);var hc=r.extend("--ft-ripple-color","",_.colorContent),D={color:hc,backgroundColor:r.extend("--ft-ripple-background-color","",hc),opacityContentOnSurfacePressed:r.external(_.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(_.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(_.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(_.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},gc=r.extend("--ft-ripple-color","",_.colorPrimary),mc={color:gc,backgroundColor:r.extend("--ft-ripple-background-color","",gc)},yc=r.extend("--ft-ripple-color","",_.colorSecondary),bc={color:yc,backgroundColor:r.extend("--ft-ripple-background-color","",yc)},xc=$`
286
286
  :host {
287
287
  display: contents;
288
288
  }
@@ -295,7 +295,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
295
295
 
296
296
  .ft-ripple:not(.ft-ripple--unbounded) {
297
297
  overflow: hidden;
298
- border-radius: ${M.borderRadius};
298
+ border-radius: ${D.borderRadius};
299
299
  }
300
300
 
301
301
  .ft-ripple .ft-ripple--background,
@@ -329,27 +329,27 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
329
329
  }
330
330
 
331
331
  .ft-ripple .ft-ripple--background {
332
- background-color: ${M.backgroundColor};
332
+ background-color: ${D.backgroundColor};
333
333
  }
334
334
 
335
335
  .ft-ripple .ft-ripple--effect {
336
- background-color: ${M.color};
336
+ background-color: ${D.color};
337
337
  }
338
338
 
339
339
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
340
- background-color: ${hl.backgroundColor};
340
+ background-color: ${bc.backgroundColor};
341
341
  }
342
342
 
343
343
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
344
- background-color: ${hl.color};
344
+ background-color: ${bc.color};
345
345
  }
346
346
 
347
347
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
348
- background-color: ${fl.backgroundColor};
348
+ background-color: ${mc.backgroundColor};
349
349
  }
350
350
 
351
351
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
352
- background-color: ${fl.color};
352
+ background-color: ${mc.color};
353
353
  }
354
354
 
355
355
  .ft-ripple .ft-ripple--background {
@@ -379,33 +379,33 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
379
379
  }
380
380
 
381
381
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
382
- opacity: ${M.opacityContentOnSurfaceHover};
382
+ opacity: ${D.opacityContentOnSurfaceHover};
383
383
  }
384
384
 
385
385
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
386
- opacity: ${M.opacityContentOnSurfaceSelected};
386
+ opacity: ${D.opacityContentOnSurfaceSelected};
387
387
  }
388
388
 
389
389
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
390
- opacity: ${M.opacityContentOnSurfaceFocused};
390
+ opacity: ${D.opacityContentOnSurfaceFocused};
391
391
  }
392
392
 
393
393
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
394
- opacity: ${M.opacityContentOnSurfacePressed};
394
+ opacity: ${D.opacityContentOnSurfacePressed};
395
395
  transform: translate(-50%, -50%) scale(1);
396
396
  }
397
- `;var mt=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},j=class extends B{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Et(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Et(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return T`
397
+ `;var bt=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},j=class extends H{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new At(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new At(10),this.moveRipple=t=>{var o,n;let{x:i,y:l}=this.getCoordinates(t),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(l!=null?l-c.y:c.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return z`
398
398
  <style>
399
399
  .ft-ripple .ft-ripple--effect {
400
400
  left: ${this.originX}px;
401
401
  top: ${this.originY}px;
402
402
  }
403
403
  </style>
404
- <div class="${ut(t)}">
404
+ <div class="${mt(t)}">
405
405
  <div class="ft-ripple--background"></div>
406
406
  <div class="ft-ripple--effect"></div>
407
407
  </div>
408
- `}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()}};j.elementDefinitions={};j.styles=ml;mt([S({type:Boolean})],j.prototype,"primary",void 0);mt([S({type:Boolean})],j.prototype,"secondary",void 0);mt([S({type:Boolean})],j.prototype,"unbounded",void 0);mt([S({type:Boolean})],j.prototype,"activated",void 0);mt([S({type:Boolean})],j.prototype,"selected",void 0);mt([S({type:Boolean})],j.prototype,"disabled",void 0);mt([Z()],j.prototype,"hovered",void 0);mt([Z()],j.prototype,"focused",void 0);mt([Z()],j.prototype,"pressed",void 0);mt([Z()],j.prototype,"rippling",void 0);mt([Z()],j.prototype,"originX",void 0);mt([Z()],j.prototype,"originY",void 0);mt([V(".ft-ripple")],j.prototype,"ripple",void 0);mt([V(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0);X("ft-ripple")(j);var Pe;(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.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(Pe||(Pe={}));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 Jb=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 Qb={[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 it={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")},gl=_`
408
+ `}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=(...s)=>d=>{s.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),l=s=>{["Enter"," "].includes(s.key)&&o("keyup")(s)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",i,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",l,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",i,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",l,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,l;return o.x!=null?{x:i,y:l}=o:n.touches!=null&&(i=n.touches[0].clientX,l=n.touches[0].clientY),{x:i,y:l}}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()}};j.elementDefinitions={};j.styles=xc;bt([w({type:Boolean})],j.prototype,"primary",void 0);bt([w({type:Boolean})],j.prototype,"secondary",void 0);bt([w({type:Boolean})],j.prototype,"unbounded",void 0);bt([w({type:Boolean})],j.prototype,"activated",void 0);bt([w({type:Boolean})],j.prototype,"selected",void 0);bt([w({type:Boolean})],j.prototype,"disabled",void 0);bt([X()],j.prototype,"hovered",void 0);bt([X()],j.prototype,"focused",void 0);bt([X()],j.prototype,"pressed",void 0);bt([X()],j.prototype,"rippling",void 0);bt([X()],j.prototype,"originX",void 0);bt([X()],j.prototype,"originY",void 0);bt([V(".ft-ripple")],j.prototype,"ripple",void 0);bt([V(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0);tt("ft-ripple")(j);var We;(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.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(We||(We={}));var R;(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;"})(R||(R={}));var ax=new Map([...["abw"].map(e=>[e,R.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,R.AUDIO]),...["avi"].map(e=>[e,R.AVI]),...["chm","xhs"].map(e=>[e,R.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,R.CODE]),...["csv"].map(e=>[e,R.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,R.DITA]),...["epub"].map(e=>[e,R.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,R.EXCEL]),...["flac"].map(e=>[e,R.FLAC]),...["gif"].map(e=>[e,R.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,R.GZIP]),...["html","htm","xhtml"].map(e=>[e,R.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,R.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,R.JPEG]),...["json"].map(e=>[e,R.JSON]),...["m4a","m4p"].map(e=>[e,R.M4A]),...["mov","qt"].map(e=>[e,R.MOV]),...["mp3"].map(e=>[e,R.MP3]),...["mp4","m4v"].map(e=>[e,R.MP4]),...["ogg","oga"].map(e=>[e,R.OGG]),...["pdf","ps"].map(e=>[e,R.PDF]),...["png"].map(e=>[e,R.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,R.POWERPOINT]),...["rar"].map(e=>[e,R.RAR]),...["stp"].map(e=>[e,R.STP]),...["txt","rtf","md","mdown"].map(e=>[e,R.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,R.VIDEO]),...["wav"].map(e=>[e,R.WAV]),...["wma"].map(e=>[e,R.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,R.WORD]),...["xml","xsl","rdf"].map(e=>[e,R.XML]),...["yaml","yml","x-yaml"].map(e=>[e,R.YAML]),...["zip"].map(e=>[e,R.ZIP])]);var ix={[R.ABW]:"#91ABC6",[R.AUDIO]:"#1795E3",[R.AVI]:"#E63324",[R.CHM]:"#71C3EB",[R.CODE]:"#71C3EB",[R.CSV]:"#1F7345",[R.DITA]:"#71C3EB",[R.EPUB]:"#85B926",[R.EXCEL]:"#1F7345",[R.FLAC]:"#1795E3",[R.GIF]:"#59B031",[R.GZIP]:"#F8AB36",[R.HTML]:"#71C3EB",[R.IMAGE]:"#59B031",[R.JPEG]:"#59B031",[R.JSON]:"#71C3EB",[R.M4A]:"#1795E3",[R.MOV]:"#E63324",[R.MP3]:"#1795E3",[R.MP4]:"#E63324",[R.OGG]:"#1795E3",[R.PDF]:"#E44948",[R.PNG]:"#59B031",[R.POWERPOINT]:"#B54A2B",[R.RAR]:"#F8AB36",[R.STP]:"#3764B1",[R.TEXT]:"#3162AB",[R.UNKNOWN]:"#999999",[R.VIDEO]:"#E63324",[R.WAV]:"#1795E3",[R.WMA]:"#1795E3",[R.WORD]:"#3162AB",[R.XML]:"#71C3EB",[R.YAML]:"#71C3EB",[R.ZIP]:"#F8AB36"};var ct={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")},vc=$`
409
409
  :host, i.ft-icon {
410
410
  display: inline-flex;
411
411
  align-items: center;
@@ -414,14 +414,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
414
414
  }
415
415
 
416
416
  :host {
417
- width: ${it.size};
418
- height: ${it.size};
417
+ width: ${ct.size};
418
+ height: ${ct.size};
419
419
  }
420
420
 
421
421
  i.ft-icon {
422
422
  width: 100%;
423
423
  height: 100%;
424
- font-size: ${it.size};
424
+ font-size: ${ct.size};
425
425
  line-height: 1;
426
426
  font-weight: normal;
427
427
  text-transform: none;
@@ -432,33 +432,33 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
432
432
  text-rendering: auto;
433
433
  -webkit-font-smoothing: antialiased;
434
434
  -moz-osx-font-smoothing: grayscale;
435
- vertical-align: ${it.verticalAlign};
435
+ vertical-align: ${ct.verticalAlign};
436
436
  }
437
437
 
438
438
  i.ft-icon.ft-icon--fluid-topics {
439
- font-family: ${it.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
439
+ font-family: ${ct.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
440
440
 
441
441
  /* Ugly fix because font is broken */
442
- font-size: calc(0.75 * ${it.size});
443
- line-height: ${it.size};
442
+ font-size: calc(0.75 * ${ct.size});
443
+ line-height: ${ct.size};
444
444
  position: relative;
445
445
  top: -4%;
446
446
  justify-content: center;
447
447
  }
448
448
 
449
449
  .ft-icon--file-format {
450
- font-family: ${it.fileFormatFontFamily}, ft-mime, sans-serif;
450
+ font-family: ${ct.fileFormatFontFamily}, ft-mime, sans-serif;
451
451
  }
452
452
 
453
453
  .ft-icon--material {
454
- font-family: ${it.materialFontFamily}, "Material Icons", sans-serif;
454
+ font-family: ${ct.materialFontFamily}, "Material Icons", sans-serif;
455
455
  }
456
- `;var se;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(se||(se={}));var Rr=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},at=class extends B{constructor(){super(...arguments),this.resolvedIcon=F}render(){let t=this.variant&&Object.values(se).includes(this.variant)?this.variant:se.fluid_topics,o=t!==se.material||!!this.value;return T`
456
+ `;var pe;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(pe||(pe={}));var Lr=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},st=class extends H{constructor(){super(...arguments),this.resolvedIcon=K}render(){let t=this.variant&&Object.values(pe).includes(this.variant)?this.variant:pe.fluid_topics,o=t!==pe.material||!!this.value;return z`
457
457
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
458
- ${xo(this.resolvedIcon)}
458
+ ${Co(this.resolvedIcon)}
459
459
  <slot ?hidden=${o}></slot>
460
460
  </i>
461
- `}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 se.file_format:this.resolvedIcon=(t=C[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case se.material:this.resolvedIcon=this.value||F;break;default:this.resolvedIcon=(o=Pe[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};at.elementDefinitions={};at.styles=gl;Rr([S()],at.prototype,"variant",void 0);Rr([S()],at.prototype,"value",void 0);Rr([Z()],at.prototype,"resolvedIcon",void 0);Rr([V("slot")],at.prototype,"slottedContent",void 0);X("ft-icon")(at);var z={labelSize:r.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:r.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:r.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:r.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:r.extend("--ft-select-selected-option-color","",$.colorOnSurface),helperColor:r.extend("--ft-select-helper-color","",$.colorOnSurfaceMedium),optionsColor:r.extend("--ft-select-options-color","",$.colorOnSurface),optionsZIndex:r.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:r.external($.colorSurface,"Design system"),colorOnSurfaceDisabled:r.external($.colorOnSurfaceDisabled,"Design system"),colorPrimary:r.external($.colorPrimary,"Design system"),borderRadiusS:r.external($.borderRadiusS,"Design system"),elevation02:r.external($.elevation02,"Design system"),colorError:r.external($.colorError,"Design system")},yl=_`
461
+ `}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 pe.file_format:this.resolvedIcon=(t=R[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case pe.material:this.resolvedIcon=this.value||K;break;default:this.resolvedIcon=(o=We[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};st.elementDefinitions={};st.styles=vc;Lr([w()],st.prototype,"variant",void 0);Lr([w()],st.prototype,"value",void 0);Lr([X()],st.prototype,"resolvedIcon",void 0);Lr([V("slot")],st.prototype,"slottedContent",void 0);tt("ft-icon")(st);var F={labelSize:r.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:r.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:r.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:r.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:r.extend("--ft-select-selected-option-color","",_.colorOnSurface),helperColor:r.extend("--ft-select-helper-color","",_.colorOnSurfaceMedium),optionsColor:r.extend("--ft-select-options-color","",_.colorOnSurface),optionsZIndex:r.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:r.external(_.colorSurface,"Design system"),colorOnSurfaceDisabled:r.external(_.colorOnSurfaceDisabled,"Design system"),colorPrimary:r.external(_.colorPrimary,"Design system"),borderRadiusS:r.external(_.borderRadiusS,"Design system"),elevation02:r.external(_.elevation02,"Design system"),colorError:r.external(_.colorError,"Design system")},Sc=$`
462
462
  *:focus {
463
463
  outline: none;
464
464
  }
@@ -472,7 +472,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
472
472
  .ft-select--main-panel {
473
473
  position: relative;
474
474
  display: flex;
475
- height: calc(4 * ${z.verticalSpacing} + ${z.labelSize} + ${z.selectedOptionSize});
475
+ height: calc(4 * ${F.verticalSpacing} + ${F.labelSize} + ${F.selectedOptionSize});
476
476
  }
477
477
 
478
478
  .ft-select--input-panel {
@@ -481,17 +481,17 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
481
481
  display: flex;
482
482
  align-items: center;
483
483
  overflow: hidden;
484
- padding-left: ${z.horizontalSpacing};
485
- padding-right: ${z.horizontalSpacing};
484
+ padding-left: ${F.horizontalSpacing};
485
+ padding-right: ${F.horizontalSpacing};
486
486
  gap: 8px;
487
- color: ${z.selectedOptionColor};
488
- ${w(M.color,z.selectedOptionColor)};
487
+ color: ${F.selectedOptionColor};
488
+ ${N(D.color,F.selectedOptionColor)};
489
489
  }
490
490
 
491
491
  .ft-select--input-panel,
492
492
  .ft-select--option {
493
- ${w(M.opacityContentOnSurfaceHover,"0.08")};
494
- ${w(M.opacityContentOnSurfacePressed,"0.04")};
493
+ ${N(D.opacityContentOnSurfaceHover,"0.08")};
494
+ ${N(D.opacityContentOnSurfacePressed,"0.04")};
495
495
  }
496
496
 
497
497
  .ft-select--input-panel > *:not(ft-ripple),
@@ -501,7 +501,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
501
501
 
502
502
  .ft-select--disabled .ft-select--input-panel,
503
503
  .ft-select--disabled .ft-select--option {
504
- color: ${z.colorOnSurfaceDisabled};
504
+ color: ${F.colorOnSurfaceDisabled};
505
505
  }
506
506
 
507
507
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -510,20 +510,20 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
510
510
  }
511
511
 
512
512
  ft-input-label {
513
- ${w(I.fontSize,z.selectedOptionSize)};
514
- ${w(I.raisedFontSize,z.labelSize)};
515
- ${w(I.verticalSpacing,z.verticalSpacing)};
516
- ${w(I.horizontalSpacing,z.horizontalSpacing)};
517
- ${w(I.labelMaxWidth,`calc(100% - ${it.size} - 8px)`)};
513
+ ${N(T.fontSize,F.selectedOptionSize)};
514
+ ${N(T.raisedFontSize,F.labelSize)};
515
+ ${N(T.verticalSpacing,F.verticalSpacing)};
516
+ ${N(T.horizontalSpacing,F.horizontalSpacing)};
517
+ ${N(T.labelMaxWidth,`calc(100% - ${ct.size} - 8px)`)};
518
518
  }
519
519
 
520
520
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
521
- color: ${z.colorPrimary};
521
+ color: ${F.colorPrimary};
522
522
  }
523
523
 
524
524
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
525
- ${w(I.borderColor,z.colorPrimary)};
526
- ${w(I.textColor,z.colorPrimary)};
525
+ ${N(T.borderColor,F.colorPrimary)};
526
+ ${N(T.textColor,F.colorPrimary)};
527
527
  }
528
528
 
529
529
  .ft-select--selected-option {
@@ -533,12 +533,12 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
533
533
  overflow: hidden;
534
534
  white-space: nowrap;
535
535
  text-overflow: ellipsis;
536
- ${w(wt.fontSize,z.selectedOptionSize)};
537
- ${w(wt.lineHeight,z.selectedOptionSize)};
536
+ ${N(Nt.fontSize,F.selectedOptionSize)};
537
+ ${N(Nt.lineHeight,F.selectedOptionSize)};
538
538
  }
539
539
 
540
540
  .ft-select--in-error .ft-select--selected-option {
541
- color: ${z.colorError};
541
+ color: ${F.colorError};
542
542
  }
543
543
 
544
544
  ft-icon {
@@ -550,26 +550,26 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
550
550
  }
551
551
 
552
552
  .ft-select--filled .ft-select--input-panel {
553
- border-radius: ${z.borderRadiusS} ${z.borderRadiusS} 0 0;
553
+ border-radius: ${F.borderRadiusS} ${F.borderRadiusS} 0 0;
554
554
  }
555
555
 
556
556
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
557
557
  align-self: stretch;
558
- padding-top: calc(${z.labelSize} + 2 * ${z.verticalSpacing});
558
+ padding-top: calc(${F.labelSize} + 2 * ${F.verticalSpacing});
559
559
  }
560
560
 
561
561
  .ft-select--outlined .ft-select--input-panel {
562
- border-radius: ${z.borderRadiusS};
562
+ border-radius: ${F.borderRadiusS};
563
563
  }
564
564
 
565
565
  .ft-select--options {
566
566
  display: none;
567
567
  position: absolute;
568
568
  top: 100%;
569
- color: ${z.optionsColor};
570
- background: ${z.colorSurface};
571
- z-index: ${z.optionsZIndex};
572
- box-shadow: ${z.elevation02};
569
+ color: ${F.optionsColor};
570
+ background: ${F.colorSurface};
571
+ z-index: ${F.optionsZIndex};
572
+ box-shadow: ${F.elevation02};
573
573
  }
574
574
 
575
575
  .ft-select--fixed .ft-select--options {
@@ -578,13 +578,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
578
578
 
579
579
  .ft-select--options-displayed .ft-select--options {
580
580
  display: block;
581
- max-height: ${z.optionsHeight};
581
+ max-height: ${F.optionsHeight};
582
582
  overflow-y: auto;
583
583
  }
584
584
 
585
585
  .ft-select--option {
586
586
  position: relative;
587
- padding: 4px ${z.horizontalSpacing};
587
+ padding: 4px ${F.horizontalSpacing};
588
588
  min-height: 32px;
589
589
  display: flex;
590
590
  align-items: center;
@@ -596,53 +596,53 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
596
596
  }
597
597
 
598
598
  .ft-select--helper-text {
599
- padding: 0 ${z.horizontalSpacing};
600
- color: ${z.helperColor};
599
+ padding: 0 ${F.horizontalSpacing};
600
+ color: ${F.helperColor};
601
601
  }
602
602
 
603
603
  .ft-select--in-error .ft-select--helper-text {
604
- color: ${z.colorError};
604
+ color: ${F.colorError};
605
605
  }
606
- `;var ot=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},le=class extends B{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return T``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};le.elementDefinitions={};ot([S({type:String})],le.prototype,"label",void 0);ot([S({type:Object,converter:e=>e})],le.prototype,"value",void 0);ot([S({type:Boolean,reflect:!0})],le.prototype,"selected",void 0);var Q=class extends B{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,o,n,i,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,c=((t=this.selectedOption)===null||t===void 0?void 0:t.value)!=null||((n=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&n!==void 0?n:"").length>0,d={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":c,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return T`
607
- <div class="${ut(d)}" part="container">
606
+ `;var at=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},fe=class extends H{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return z``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};fe.elementDefinitions={};at([w({type:String})],fe.prototype,"label",void 0);at([w({type:Object,converter:e=>e})],fe.prototype,"value",void 0);at([w({type:Boolean,reflect:!0})],fe.prototype,"selected",void 0);var ot=class extends H{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,o,n,i,l;let c=this.hasOptionsMenuOpen,s=this.disabled||!this.hasOptions,d=((t=this.selectedOption)===null||t===void 0?void 0:t.value)!=null||((n=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&n!==void 0?n:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":s,"ft-select--options-displayed":c,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return z`
607
+ <div class="${mt(u)}" part="container">
608
608
  <div class="ft-select--main-panel" part="main-panel">
609
609
  <ft-input-label text="${this.label}"
610
610
  part="label"
611
- ?disabled=${l}
611
+ ?disabled=${s}
612
612
  ?outlined=${this.outlined}
613
- ?raised=${c||s}
613
+ ?raised=${d||c}
614
614
  ?error=${this.error}
615
615
  ></ft-input-label>
616
616
  <div class="ft-select--input-panel"
617
617
  part="selected-value"
618
- tabindex="${l?"-1":"0"}"
618
+ tabindex="${s?"-1":"0"}"
619
619
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
620
620
  @keydown=${this.onMainPanelKeyDown}
621
621
  aria-label="${this.label}"
622
622
  aria-haspopup="listbox"
623
- aria-expanded="${s}">
624
- <ft-ripple ?disabled=${l} ?activated=${!this.outlined}></ft-ripple>
623
+ aria-expanded="${c}">
624
+ <ft-ripple ?disabled=${s} ?activated=${!this.outlined}></ft-ripple>
625
625
  <ft-typography variant="body1" class="ft-select--selected-option">
626
- ${(a=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&a!==void 0?a:""}
626
+ ${(l=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&l!==void 0?l:""}
627
627
  </ft-typography>
628
- <ft-icon>${s?"thin_arrow_up":"thin_arrow"}</ft-icon>
628
+ <ft-icon>${c?"thin_arrow_up":"thin_arrow"}</ft-icon>
629
629
  </div>
630
630
  <div class="ft-select--options"
631
631
  part="options"
632
632
  @keydown=${this.onOptionsKeyDown}
633
633
  innerrole="listbox">
634
- ${Bt(this.options,h=>h.value,h=>this.renderOption(h))}
634
+ ${Zt(this.options,y=>y.value,y=>this.renderOption(y))}
635
635
  </div>
636
636
  </div>
637
- ${this.helper?T`
637
+ ${this.helper?z`
638
638
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
639
639
  </ft-typography>`:void 0}
640
640
  </div>
641
641
  <slot @slotchange=${this.updateOptionsFromSlot}
642
642
  @option-change=${this.updateOptionsFromSlot}
643
643
  ></slot>
644
- `}renderOption(t){let o=this.selectedOption===t;return T`
645
- <div class="${ut({"ft-select--option":!0,"ft-select--option-selected":o,"ft-typography--body2":!0})}"
644
+ `}renderOption(t){let o=this.selectedOption===t;return z`
645
+ <div class="${mt({"ft-select--option":!0,"ft-select--option-selected":o,"ft-typography--body2":!0})}"
646
646
  part="option"
647
647
  tabindex="0"
648
648
  data-value="${t.value}"
@@ -651,7 +651,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
651
651
  <ft-ripple ?primary=${o} ?activated=${o}></ft-ripple>
652
652
  <span>${t.label}</span>
653
653
  </div>
654
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var o,n;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&((n=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Ee(this.mainPanel,this.optionsMenu,"bottom").then(({x:i,y:a})=>{this.optionsMenu.style.left=`${i}px`,this.optionsMenu.style.top=`${a}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var o;t.stopPropagation();let n=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(t){var o,n,i,a,s;let l;switch(t.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),l=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break}l?.focus()}onOptionKeyDown(t,o){var n;(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}selectOption(t){var o,n;if(!Se((o=this.selectedOption)===null||o===void 0?void 0:o.value,t.value)){this.selectedOption=t;for(let i of this.options)i.selected=i===t;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};Q.elementDefinitions={"ft-input-label":dt,"ft-typography":st,"ft-ripple":j,"ft-icon":at};Q.styles=[Ar,eo,yl];ot([S({type:String})],Q.prototype,"label",void 0);ot([S({type:String})],Q.prototype,"helper",void 0);ot([S({type:Boolean})],Q.prototype,"outlined",void 0);ot([S({type:Boolean})],Q.prototype,"disabled",void 0);ot([S({type:Boolean})],Q.prototype,"error",void 0);ot([S({type:Boolean})],Q.prototype,"fixedMenuPosition",void 0);ot([S({type:Array})],Q.prototype,"options",void 0);ot([Z()],Q.prototype,"selectedOption",void 0);ot([Z()],Q.prototype,"optionsDisplayed",void 0);ot([Z()],Q.prototype,"focusOptions",void 0);ot([V(".ft-select")],Q.prototype,"container",void 0);ot([V(".ft-select--options")],Q.prototype,"optionsMenu",void 0);ot([V(".ft-select--input-panel")],Q.prototype,"mainPanel",void 0);ot([V(".ft-select--option:first-child")],Q.prototype,"firstOption",void 0);ot([V(".ft-select--option:focus")],Q.prototype,"focusedOption",void 0);ot([V(".ft-select--option.ft-select--option-selected")],Q.prototype,"selectedOptionElement",void 0);ot([V(".ft-select--option:last-child")],Q.prototype,"lastOption",void 0);ot([V("slot")],Q.prototype,"optionsSlot",void 0);X("ft-select")(Q);X("ft-select-option")(le);var Hi=e=>e??tt;var W={fontSize:r.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:r.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:r.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:r.extend("--ft-text-field-helper-color","",$.colorOnSurfaceMedium),colorPrimary:r.external($.colorPrimary,"Design system"),colorOnSurface:r.external($.colorOnSurface,"Design system"),colorOnSurfaceDisabled:r.external($.colorOnSurfaceDisabled,"Design system"),borderRadiusS:r.external($.borderRadiusS,"Design system"),colorError:r.external($.colorError,"Design system"),prefixColor:r.extend("--ft-text-field-prefix-color","",$.colorOnSurfaceMedium),iconColor:r.extend("--ft-text-field-icon-color","",$.colorOnSurfaceMedium),floatingZIndex:r.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:r.external($.colorSurface,"Design system"),colorOutline:r.external($.colorOutline,"Design system"),elevation02:r.external($.elevation02,"Design system"),suggestSize:r.create("--ft-text-field-suggest-size","","SIZE","300px")},bl=_`
654
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var o,n;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&((n=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen&&(this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px",Ie(this.mainPanel,this.optionsMenu,"bottom").then(({x:i,y:l})=>{this.optionsMenu.style.left=`${i}px`,this.optionsMenu.style.top=`${l}px`}))}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var o;t.stopPropagation();let n=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(t){var o,n,i,l,c;let s;switch(t.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),s=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),s=(c=(l=this.focusedOption)===null||l===void 0?void 0:l.nextElementSibling)!==null&&c!==void 0?c:this.firstOption;break}s?.focus()}onOptionKeyDown(t,o){var n;(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}selectOption(t){var o,n;if(!Ee((o=this.selectedOption)===null||o===void 0?void 0:o.value,t.value)){this.selectedOption=t;for(let i of this.options)i.selected=i===t;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};ot.elementDefinitions={"ft-input-label":ht,"ft-typography":dt,"ft-ripple":j,"ft-icon":st};ot.styles=[$r,ao,Sc];at([w({type:String})],ot.prototype,"label",void 0);at([w({type:String})],ot.prototype,"helper",void 0);at([w({type:Boolean})],ot.prototype,"outlined",void 0);at([w({type:Boolean})],ot.prototype,"disabled",void 0);at([w({type:Boolean})],ot.prototype,"error",void 0);at([w({type:Boolean})],ot.prototype,"fixedMenuPosition",void 0);at([w({type:Array})],ot.prototype,"options",void 0);at([X()],ot.prototype,"selectedOption",void 0);at([X()],ot.prototype,"optionsDisplayed",void 0);at([X()],ot.prototype,"focusOptions",void 0);at([V(".ft-select")],ot.prototype,"container",void 0);at([V(".ft-select--options")],ot.prototype,"optionsMenu",void 0);at([V(".ft-select--input-panel")],ot.prototype,"mainPanel",void 0);at([V(".ft-select--option:first-child")],ot.prototype,"firstOption",void 0);at([V(".ft-select--option:focus")],ot.prototype,"focusedOption",void 0);at([V(".ft-select--option.ft-select--option-selected")],ot.prototype,"selectedOptionElement",void 0);at([V(".ft-select--option:last-child")],ot.prototype,"lastOption",void 0);at([V("slot")],ot.prototype,"optionsSlot",void 0);tt("ft-select")(ot);tt("ft-select-option")(fe);var Ka=e=>e??rt;var M={fontSize:r.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:r.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:r.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:r.extend("--ft-text-field-helper-color","",_.colorOnSurfaceMedium),colorPrimary:r.external(_.colorPrimary,"Design system"),colorOnSurface:r.external(_.colorOnSurface,"Design system"),colorOnSurfaceDisabled:r.external(_.colorOnSurfaceDisabled,"Design system"),borderRadiusS:r.external(_.borderRadiusS,"Design system"),colorError:r.external(_.colorError,"Design system"),prefixColor:r.extend("--ft-text-field-prefix-color","",_.colorOnSurfaceMedium),iconColor:r.extend("--ft-text-field-icon-color","",_.colorOnSurfaceMedium),floatingZIndex:r.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:r.external(_.colorSurface,"Design system"),colorOutline:r.external(_.colorOutline,"Design system"),elevation02:r.external(_.elevation02,"Design system"),suggestSize:r.create("--ft-text-field-suggest-size","","SIZE","300px")},Oc=$`
655
655
  *:focus {
656
656
  outline: none;
657
657
  }
@@ -664,16 +664,16 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
664
664
  }
665
665
 
666
666
  ft-input-label {
667
- ${w(I.fontSize,W.fontSize)};
668
- ${w(I.raisedFontSize,W.labelSize)};
669
- ${w(I.verticalSpacing,W.verticalSpacing)};
670
- ${w(I.horizontalSpacing,W.horizontalSpacing)};
667
+ ${N(T.fontSize,M.fontSize)};
668
+ ${N(T.raisedFontSize,M.labelSize)};
669
+ ${N(T.verticalSpacing,M.verticalSpacing)};
670
+ ${N(T.horizontalSpacing,M.horizontalSpacing)};
671
671
  }
672
672
 
673
673
  .ft-text-field--main-panel {
674
674
  position: relative;
675
675
  display: flex;
676
- height: calc(4 * ${W.verticalSpacing} + ${W.labelSize} + ${W.fontSize});
676
+ height: calc(4 * ${M.verticalSpacing} + ${M.labelSize} + ${M.fontSize});
677
677
  }
678
678
 
679
679
  .ft-text-field--input-panel {
@@ -682,24 +682,24 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
682
682
  display: flex;
683
683
  align-items: center;
684
684
  overflow: hidden;
685
- padding: 0 ${W.horizontalSpacing};
685
+ padding: 0 ${M.horizontalSpacing};
686
686
 
687
- ${w(wt.fontSize,W.fontSize)};
688
- ${w(wt.lineHeight,W.fontSize)};
687
+ ${N(Nt.fontSize,M.fontSize)};
688
+ ${N(Nt.lineHeight,M.fontSize)};
689
689
  }
690
690
 
691
691
  .ft-text-field--input-panel ft-ripple {
692
- ${w(M.opacityContentOnSurfaceHover,"0.08")};
693
- ${w(M.opacityContentOnSurfacePressed,"0.04")};
692
+ ${N(D.opacityContentOnSurfaceHover,"0.08")};
693
+ ${N(D.opacityContentOnSurfacePressed,"0.04")};
694
694
  }
695
695
 
696
696
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
697
697
  align-items: flex-end;
698
- padding: 0 ${W.horizontalSpacing} ${W.verticalSpacing} ${W.horizontalSpacing};
698
+ padding: 0 ${M.horizontalSpacing} ${M.verticalSpacing} ${M.horizontalSpacing};
699
699
  }
700
700
 
701
701
  .ft-text-field--prefix {
702
- color: ${W.prefixColor};
702
+ color: ${M.prefixColor};
703
703
  margin-right: 2px;
704
704
  flex-shrink: 1;
705
705
  overflow: hidden;
@@ -718,15 +718,15 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
718
718
  flex-shrink: 1;
719
719
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
720
720
 
721
- color: ${W.colorOnSurface};
722
- padding: calc(2 * ${W.verticalSpacing}) 0;
721
+ color: ${M.colorOnSurface};
722
+ padding: calc(2 * ${M.verticalSpacing}) 0;
723
723
  border: none;
724
724
  background: none;
725
725
  }
726
726
 
727
727
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
728
728
  padding-bottom: 0;
729
- padding-top: calc(${W.labelSize} + 2 * ${W.verticalSpacing});
729
+ padding-top: calc(${M.labelSize} + 2 * ${M.verticalSpacing});
730
730
  }
731
731
 
732
732
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -735,37 +735,37 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
735
735
  }
736
736
 
737
737
  .ft-text-field--disabled .ft-text-field--input {
738
- color: ${W.colorOnSurfaceDisabled};
738
+ color: ${M.colorOnSurfaceDisabled};
739
739
  }
740
740
 
741
741
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
742
- ${w(I.borderColor,W.colorPrimary)};
743
- ${w(I.textColor,W.colorPrimary)};
742
+ ${N(T.borderColor,M.colorPrimary)};
743
+ ${N(T.textColor,M.colorPrimary)};
744
744
  }
745
745
 
746
746
  .ft-text-field--filled .ft-text-field--input-panel {
747
- border-radius: ${W.borderRadiusS} ${W.borderRadiusS} 0 0;
747
+ border-radius: ${M.borderRadiusS} ${M.borderRadiusS} 0 0;
748
748
  }
749
749
 
750
750
  .ft-text-field--outlined .ft-text-field--input-panel {
751
- border-radius: ${W.borderRadiusS};
751
+ border-radius: ${M.borderRadiusS};
752
752
  }
753
753
 
754
754
  .ft-text-field--helper-text {
755
- padding: 0 12px 0 ${W.horizontalSpacing};
756
- color: ${W.helperColor};
755
+ padding: 0 12px 0 ${M.horizontalSpacing};
756
+ color: ${M.helperColor};
757
757
  }
758
758
 
759
759
  .ft-text-field--in-error .ft-text-field--input,
760
760
  .ft-text-field--in-error .ft-text-field--helper-text,
761
761
  .ft-text-field--in-error .ft-text-field--prefix {
762
- color: ${W.colorError};
762
+ color: ${M.colorError};
763
763
  }
764
764
 
765
765
  .ft-text-field--icon {
766
766
  align-self: center;
767
767
  margin-left: 8px;
768
- color: ${W.iconColor};
768
+ color: ${M.iconColor};
769
769
  }
770
770
 
771
771
  .ft-text-field--container {
@@ -776,13 +776,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
776
776
  display: none;
777
777
  flex-direction: column;
778
778
  position: absolute;
779
- z-index: ${W.floatingZIndex};
780
- background: ${W.colorSurface};
781
- border: 1px solid ${W.colorOutline};
782
- border-radius: 0 0 ${W.borderRadiusS} ${W.borderRadiusS};
783
- box-shadow: ${W.elevation02};
779
+ z-index: ${M.floatingZIndex};
780
+ background: ${M.colorSurface};
781
+ border: 1px solid ${M.colorOutline};
782
+ border-radius: 0 0 ${M.borderRadiusS} ${M.borderRadiusS};
783
+ box-shadow: ${M.elevation02};
784
784
  outline: none;
785
- max-height: ${W.suggestSize};
785
+ max-height: ${M.suggestSize};
786
786
  overflow-y: auto;
787
787
  }
788
788
 
@@ -795,14 +795,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
795
795
  }
796
796
 
797
797
  .ft-text-field--with-icon {
798
- ${w(I.labelMaxWidth,`calc(100% - ${it.size} - ${I.horizontalSpacing})`)};
798
+ ${N(T.labelMaxWidth,`calc(100% - ${ct.size} - ${T.horizontalSpacing})`)};
799
799
  }
800
800
 
801
801
  .ft-text-field--with-password ft-icon:hover {
802
802
  cursor: pointer;
803
803
  }
804
- `;var q=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},U=class extends Do(B,"textbox"){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Pe.EYE_SLASH,this.passwordRevealedIcon=Pe.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){let o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}render(){var t;let o={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":this.visibleSuggestions.length===0||this.hideSuggestions,"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return T`
805
- <div class="${ut(o)}">
804
+ `;var J=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},Z=class extends Do(H,"textbox"){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=We.EYE_SLASH,this.passwordRevealedIcon=We.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){let o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}render(){var t;let o={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":this.visibleSuggestions.length===0||this.hideSuggestions,"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return z`
805
+ <div class="${mt(o)}">
806
806
  <div class="ft-text-field--main-panel"
807
807
  @keydown=${this.handleKeyboardNavigation}
808
808
  @focusout=${this.onMainPanelBlur}>
@@ -812,17 +812,17 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
812
812
  ?raised=${this.focused||this.value!=""}
813
813
  ?error=${this.error}></ft-input-label>
814
814
  <div class="ft-text-field--input-panel">
815
- ${this.outlined?F:T`
815
+ ${this.outlined?K:z`
816
816
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
817
817
  `}
818
- ${this.prefix?T`
818
+ ${this.prefix?z`
819
819
  <ft-typography class="ft-text-field--prefix" variant="body1">
820
820
  ${this.prefix}
821
821
  </ft-typography>
822
- `:F}
822
+ `:K}
823
823
  <input type=${(t=this.type)!==null&&t!==void 0?t:this.password&&this.hidePassword?"password":"text"}
824
- name=${Hi(this.name)}
825
- maxlength=${Hi(this.maxLength||void 0)}
824
+ name=${Ka(this.name)}
825
+ maxlength=${Ka(this.maxLength||void 0)}
826
826
  aria-label="${this.label}"
827
827
  class="ft-typography--body1 ft-text-field--input"
828
828
  part="input"
@@ -838,23 +838,23 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
838
838
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
839
839
  </div>
840
840
  </div>
841
- ${this.helper?T`
841
+ ${this.helper?z`
842
842
  <ft-typography class="ft-text-field--helper-text" variant="caption">
843
843
  ${this.helper}
844
844
  </ft-typography>
845
- `:F}
845
+ `:K}
846
846
  </div>
847
- `}renderPasswordIcon(){return T`
847
+ `}renderPasswordIcon(){return z`
848
848
  <ft-icon class="ft-text-field--icon"
849
849
  .variant=${this.iconVariant}
850
850
  .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
851
851
  @click=${()=>this.togglePasswordVisibility()}></ft-icon>
852
- `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?T`
852
+ `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?z`
853
853
  <ft-icon class="ft-text-field--icon"
854
854
  .variant=${this.iconVariant}
855
855
  .value=${this.icon}
856
856
  @click=${()=>{var t;return(t=this.input)===null||t===void 0?void 0:t.focus()}}></ft-icon>
857
- `:F}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&t.get("value")!=null&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&t.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach(t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.suggestions.filter(t=>!t.hidden)):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&(this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px",Ee(this.mainPanel,this.suggestionsContainer,"bottom").then(({x:o,y:n})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${n}px`}))}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;let n=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(n,t.key=="Escape"||t.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;if(t.key==="ArrowDown"||t.key==="ArrowUp"){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),i;t.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[i])===null||o===void 0||o.focus()}(t.key=="Escape"||t.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,o;!((t=this.mainPanel)===null||t===void 0)&&t.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}};U.elementDefinitions={"ft-input-label":dt,"ft-ripple":j,"ft-typography":st,"ft-icon":at};U.styles=[Nr,bl];q([S()],U.prototype,"label",void 0);q([S({noAccessor:!0})],U.prototype,"value",null);q([Z()],U.prototype,"dispatchedValue",void 0);q([S()],U.prototype,"helper",void 0);q([S({type:Boolean})],U.prototype,"outlined",void 0);q([S({type:Boolean})],U.prototype,"disabled",void 0);q([S({type:Boolean})],U.prototype,"error",void 0);q([S({type:Boolean})],U.prototype,"fixedMenuPosition",void 0);q([S()],U.prototype,"prefix",void 0);q([S()],U.prototype,"icon",void 0);q([S()],U.prototype,"name",void 0);q([S()],U.prototype,"type",void 0);q([S()],U.prototype,"passwordHiddenIcon",void 0);q([S()],U.prototype,"passwordRevealedIcon",void 0);q([S()],U.prototype,"iconVariant",void 0);q([S({type:Boolean})],U.prototype,"filterSuggestions",void 0);q([S({type:Number})],U.prototype,"maxLength",void 0);q([S({type:Boolean})],U.prototype,"password",void 0);q([Z()],U.prototype,"focused",void 0);q([Z()],U.prototype,"hidePassword",void 0);q([Z()],U.prototype,"hideSuggestions",void 0);q([Z()],U.prototype,"visibleSuggestions",void 0);q([V(".ft-text-field--main-panel")],U.prototype,"mainPanel",void 0);q([V(".ft-text-field--input")],U.prototype,"input",void 0);q([V(".ft-text-field--suggestions")],U.prototype,"suggestionsContainer",void 0);q([Kr({selector:"ft-text-field-suggestion"})],U.prototype,"suggestions",void 0);var xl=_`
857
+ `:K}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&t.get("value")!=null&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&t.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach(t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.suggestions.filter(t=>!t.hidden)):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&(this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px",Ie(this.mainPanel,this.suggestionsContainer,"bottom").then(({x:o,y:n})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${n}px`}))}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;let n=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(n,t.key=="Escape"||t.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;if(t.key==="ArrowDown"||t.key==="ArrowUp"){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(l=>l.matches(":focus-within")),i;t.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[i])===null||o===void 0||o.focus()}(t.key=="Escape"||t.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,o;!((t=this.mainPanel)===null||t===void 0)&&t.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}};Z.elementDefinitions={"ft-input-label":ht,"ft-ripple":j,"ft-typography":dt,"ft-icon":st};Z.styles=[Pr,Oc];J([w()],Z.prototype,"label",void 0);J([w({noAccessor:!0})],Z.prototype,"value",null);J([X()],Z.prototype,"dispatchedValue",void 0);J([w()],Z.prototype,"helper",void 0);J([w({type:Boolean})],Z.prototype,"outlined",void 0);J([w({type:Boolean})],Z.prototype,"disabled",void 0);J([w({type:Boolean})],Z.prototype,"error",void 0);J([w({type:Boolean})],Z.prototype,"fixedMenuPosition",void 0);J([w()],Z.prototype,"prefix",void 0);J([w()],Z.prototype,"icon",void 0);J([w()],Z.prototype,"name",void 0);J([w()],Z.prototype,"type",void 0);J([w()],Z.prototype,"passwordHiddenIcon",void 0);J([w()],Z.prototype,"passwordRevealedIcon",void 0);J([w()],Z.prototype,"iconVariant",void 0);J([w({type:Boolean})],Z.prototype,"filterSuggestions",void 0);J([w({type:Number})],Z.prototype,"maxLength",void 0);J([w({type:Boolean})],Z.prototype,"password",void 0);J([X()],Z.prototype,"focused",void 0);J([X()],Z.prototype,"hidePassword",void 0);J([X()],Z.prototype,"hideSuggestions",void 0);J([X()],Z.prototype,"visibleSuggestions",void 0);J([V(".ft-text-field--main-panel")],Z.prototype,"mainPanel",void 0);J([V(".ft-text-field--input")],Z.prototype,"input",void 0);J([V(".ft-text-field--suggestions")],Z.prototype,"suggestionsContainer",void 0);J([qr({selector:"ft-text-field-suggestion"})],Z.prototype,"suggestions",void 0);var Cc=$`
858
858
  .ft-text-field-suggestion {
859
859
  position: relative;
860
860
  padding: 8px 16px;
@@ -879,7 +879,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
879
879
  slot {
880
880
  pointer-events: none;
881
881
  }
882
- `;var Vi=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},Fi=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}},Gt=class extends B{render(){return T`
882
+ `;var ja=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},Va=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}},Xt=class extends H{render(){return z`
883
883
  <div class="ft-text-field-suggestion"
884
884
  tabindex="-1"
885
885
  @keydown=${this.onKeyDown}
@@ -891,7 +891,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
891
891
  <slot></slot>
892
892
  </ft-typography>
893
893
  </div>
894
- `}focus(t){var o;(o=this.container)===null||o===void 0||o.focus(t)}click(){var t;(t=this.container)===null||t===void 0||t.click()}confirmSuggestion(){this.dispatchEvent(new Fi(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(t=>t.textContent).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}};Gt.elementDefinitions={"ft-ripple":j,"ft-typography":st,"ft-icon":at};Gt.styles=xl;Vi([S()],Gt.prototype,"value",void 0);Vi([V(".ft-text-field-suggestion")],Gt.prototype,"container",void 0);Vi([bo()],Gt.prototype,"assignedNodes",void 0);X("ft-text-field")(U);X("ft-text-field-suggestion")(Gt);var gt={color:r.extend("--ft-loader-color","",$.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},vl=_`
894
+ `}focus(t){var o;(o=this.container)===null||o===void 0||o.focus(t)}click(){var t;(t=this.container)===null||t===void 0||t.click()}confirmSuggestion(){this.dispatchEvent(new Va(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(t=>t.textContent).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}};Xt.elementDefinitions={"ft-ripple":j,"ft-typography":dt,"ft-icon":st};Xt.styles=Cc;ja([w()],Xt.prototype,"value",void 0);ja([V(".ft-text-field-suggestion")],Xt.prototype,"container",void 0);ja([Oo()],Xt.prototype,"assignedNodes",void 0);tt("ft-text-field")(Z);tt("ft-text-field-suggestion")(Xt);var xt={color:r.extend("--ft-loader-color","",_.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},wc=$`
895
895
  :host {
896
896
  line-height: 0;
897
897
  }
@@ -900,8 +900,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
900
900
  display: inline-block;
901
901
  position: relative;
902
902
 
903
- width: ${gt.size};
904
- height: ${gt.size};
903
+ width: ${xt.size};
904
+ height: ${xt.size};
905
905
  }
906
906
 
907
907
  .ft-loader div {
@@ -910,7 +910,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
910
910
  width: 25%;
911
911
  height: 25%;
912
912
  border-radius: 50%;
913
- background: ${gt.color};
913
+ background: ${xt.color};
914
914
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
915
915
  }
916
916
 
@@ -957,10 +957,10 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
957
957
  transform: translate(0, 0);
958
958
  }
959
959
  100% {
960
- transform: translate(calc(0.35 * ${gt.size}), 0);
960
+ transform: translate(calc(0.35 * ${xt.size}), 0);
961
961
  }
962
962
  }
963
- `;var Sl=r.extend("--ft-button-color","",$.colorPrimary),rt={backgroundColor:r.extend("--ft-button-background-color","",$.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",$.borderRadiusL),color:Sl,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","",Sl),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($.colorOpacityDisabled,"Design system")},Ol=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",$.colorOnPrimary)),ji={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",$.colorPrimary)),color:Ol,rippleColor:r.extend("--ft-button-primary-ripple-color","",Ol)},kt={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",$.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")},wl=[_`
963
+ `;var Ec=r.extend("--ft-button-color","",_.colorPrimary),it={backgroundColor:r.extend("--ft-button-background-color","",_.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",_.borderRadiusL),color:Ec,fontSize:r.extend("--ft-button-font-size","",Tt.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",Ec),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(_.colorOpacityDisabled,"Design system")},Nc=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",_.colorOnPrimary)),Ya={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",_.colorPrimary)),color:Nc,rippleColor:r.extend("--ft-button-primary-ripple-color","",Nc)},Ut={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",_.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")},Rc=[$`
964
964
  :host {
965
965
  display: inline-block;
966
966
  max-width: 100%;
@@ -971,7 +971,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
971
971
  box-shadow: 0px 0px 0px transparent;
972
972
  border: 0px solid transparent;
973
973
  text-shadow: 0px 0px 0px transparent;
974
- font-size: ${rt.fontSize};
974
+ font-size: ${it.fontSize};
975
975
  }
976
976
 
977
977
  button:hover {
@@ -1000,31 +1000,31 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1000
1000
  border: none;
1001
1001
  pointer-events: auto;
1002
1002
 
1003
- --ft-button-internal-line-height: max(calc(${rt.fontSize} + 2px), ${rt.iconSize});
1004
- --ft-button-internal-color: ${rt.color};
1005
- ${w(it.size,rt.iconSize)};
1006
- ${w(M.color,rt.rippleColor)};
1003
+ --ft-button-internal-line-height: max(calc(${it.fontSize} + 2px), ${it.iconSize});
1004
+ --ft-button-internal-color: ${it.color};
1005
+ ${N(ct.size,it.iconSize)};
1006
+ ${N(D.color,it.rippleColor)};
1007
1007
 
1008
- border-radius: ${rt.borderRadius};
1009
- padding: ${rt.verticalPadding} ${rt.horizontalPadding};
1010
- background-color: ${rt.backgroundColor};
1008
+ border-radius: ${it.borderRadius};
1009
+ padding: ${it.verticalPadding} ${it.horizontalPadding};
1010
+ background-color: ${it.backgroundColor};
1011
1011
  color: var(--ft-button-internal-color);
1012
1012
  -webkit-mask-image: radial-gradient(white, black);
1013
1013
  }
1014
1014
 
1015
1015
  .ft-button.ft-button--outlined {
1016
1016
  border: 1px solid var(--ft-button-internal-color);
1017
- padding: calc(${rt.verticalPadding} - 1px) calc(${rt.horizontalPadding} - 1px);
1017
+ padding: calc(${it.verticalPadding} - 1px) calc(${it.horizontalPadding} - 1px);
1018
1018
  }
1019
1019
 
1020
1020
  .ft-button.ft-button--dense {
1021
- padding: ${kt.verticalPadding} ${kt.horizontalPadding};
1022
- border-radius: ${kt.borderRadius};
1023
- gap: ${kt.iconPadding};
1021
+ padding: ${Ut.verticalPadding} ${Ut.horizontalPadding};
1022
+ border-radius: ${Ut.borderRadius};
1023
+ gap: ${Ut.iconPadding};
1024
1024
  }
1025
1025
 
1026
1026
  .ft-button.ft-button--dense.ft-button--outlined {
1027
- padding: calc(${kt.verticalPadding} - 1px) calc(${kt.horizontalPadding} - 1px);
1027
+ padding: calc(${Ut.verticalPadding} - 1px) calc(${Ut.horizontalPadding} - 1px);
1028
1028
  }
1029
1029
 
1030
1030
  .ft-button:not([disabled]):hover {
@@ -1032,22 +1032,22 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1032
1032
  }
1033
1033
 
1034
1034
  .ft-button--round {
1035
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${rt.verticalPadding});
1035
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${it.verticalPadding});
1036
1036
  }
1037
1037
 
1038
1038
  .ft-button--round.ft-button--dense {
1039
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${kt.verticalPadding});
1039
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ut.verticalPadding});
1040
1040
  }
1041
1041
 
1042
1042
  .ft-button[disabled] {
1043
1043
  filter: grayscale(1);
1044
- opacity: ${rt.opacityDisabled};
1044
+ opacity: ${it.opacityDisabled};
1045
1045
  }
1046
1046
 
1047
1047
  .ft-button.ft-button--primary {
1048
- background-color: ${ji.backgroundColor};
1049
- --ft-button-internal-color: ${ji.color};
1050
- ${w(M.color,ji.rippleColor)};
1048
+ background-color: ${Ya.backgroundColor};
1049
+ --ft-button-internal-color: ${Ya.color};
1050
+ ${N(D.color,Ya.rippleColor)};
1051
1051
  }
1052
1052
 
1053
1053
  .ft-button:focus {
@@ -1060,13 +1060,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1060
1060
  white-space: nowrap;
1061
1061
  text-overflow: ellipsis;
1062
1062
  display: block;
1063
- margin: 0 ${rt.iconPadding};
1064
- ${w(It.fontSize,"1em")};
1065
- ${w(It.lineHeight,"var(--ft-button-internal-line-height)")};
1063
+ margin: 0 ${it.iconPadding};
1064
+ ${N(Tt.fontSize,"1em")};
1065
+ ${N(Tt.lineHeight,"var(--ft-button-internal-line-height)")};
1066
1066
  }
1067
1067
 
1068
1068
  .ft-button--dense .ft-button--label {
1069
- margin: 0 ${kt.iconPadding};
1069
+ margin: 0 ${Ut.iconPadding};
1070
1070
  }
1071
1071
 
1072
1072
  .ft-button--label[hidden] {
@@ -1079,13 +1079,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1079
1079
  }
1080
1080
 
1081
1081
  .ft-button--label[hidden] + [part="icon"] {
1082
- margin: 0 calc(${rt.horizontalPadding} * -1);
1083
- padding: 0 ${rt.verticalPadding};
1082
+ margin: 0 calc(${it.horizontalPadding} * -1);
1083
+ padding: 0 ${it.verticalPadding};
1084
1084
  }
1085
1085
 
1086
1086
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
1087
- margin: 0 calc(${kt.horizontalPadding} * -1);
1088
- padding: 0 ${kt.verticalPadding};
1087
+ margin: 0 calc(${Ut.horizontalPadding} * -1);
1088
+ padding: 0 ${Ut.verticalPadding};
1089
1089
  }
1090
1090
 
1091
1091
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -1093,10 +1093,10 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1093
1093
  }
1094
1094
 
1095
1095
  ft-loader {
1096
- ${w(gt.size,rt.iconSize)};
1097
- ${w(gt.color,"var(--ft-button-internal-color)")};
1096
+ ${N(xt.size,it.iconSize)};
1097
+ ${N(xt.color,"var(--ft-button-internal-color)")};
1098
1098
  }
1099
- `,_o];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($.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},Cl=_`
1099
+ `,ko];var io={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(_.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},Ac=$`
1100
1100
  .ft-tooltip--container {
1101
1101
  display: block;
1102
1102
  }
@@ -1111,21 +1111,21 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1111
1111
  box-sizing: border-box;
1112
1112
  overflow: hidden;
1113
1113
  width: max-content;
1114
- max-width: ${oo.maxWidth};
1114
+ max-width: ${io.maxWidth};
1115
1115
  text-align: center;
1116
- padding: ${oo.distance};
1117
- z-index: ${oo.zIndex};
1116
+ padding: ${io.distance};
1117
+ z-index: ${io.zIndex};
1118
1118
  }
1119
1119
 
1120
1120
  .ft-tooltip--content {
1121
1121
  padding: 4px 8px;
1122
- border-radius: ${oo.borderRadiusS};
1123
- background-color: ${oo.backgroundColor};
1124
- color: ${oo.color};
1122
+ border-radius: ${io.borderRadiusS};
1123
+ background-color: ${io.backgroundColor};
1124
+ color: ${io.color};
1125
1125
  position: relative;
1126
1126
  word-break: break-word;
1127
1127
  }
1128
- `;var yt=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 B{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Et,this.revealDebouncer=new Et}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return T`
1128
+ `;var vt=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},nt=class extends H{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new At,this.revealDebouncer=new At}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return z`
1129
1129
  <div part="container"
1130
1130
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1131
1131
  @mouseenter=${this.onHover}
@@ -1143,40 +1143,41 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1143
1143
  </div>
1144
1144
  </div>
1145
1145
  </div>
1146
- `}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="",Ee(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))}};et.elementDefinitions={"ft-typography":st};et.styles=Cl;yt([S()],et.prototype,"text",void 0);yt([S({type:Boolean})],et.prototype,"manual",void 0);yt([S({type:Boolean})],et.prototype,"inline",void 0);yt([S({type:Number})],et.prototype,"delay",void 0);yt([S()],et.prototype,"position",void 0);yt([bo()],et.prototype,"slotNodes",void 0);yt([V(".ft-tooltip--container")],et.prototype,"container",void 0);yt([V(".ft-tooltip")],et.prototype,"tooltip",void 0);yt([V(".ft-tooltip--content")],et.prototype,"tooltipContent",void 0);yt([Z()],et.prototype,"visible",void 0);yt([ke({passive:!0})],et.prototype,"onTouch",null);yt([ke({passive:!0})],et.prototype,"onHover",null);yt([ke({passive:!0})],et.prototype,"onOut",null);yt([ke({passive:!0})],et.prototype,"onClick",null);X("ft-tooltip")(et);var Le=class extends B{render(){return T`
1146
+ `}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="",Ie(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))}};nt.elementDefinitions={"ft-typography":dt};nt.styles=Ac;vt([w()],nt.prototype,"text",void 0);vt([w({type:Boolean})],nt.prototype,"manual",void 0);vt([w({type:Boolean})],nt.prototype,"inline",void 0);vt([w({type:Number})],nt.prototype,"delay",void 0);vt([w()],nt.prototype,"position",void 0);vt([Oo()],nt.prototype,"slotNodes",void 0);vt([V(".ft-tooltip--container")],nt.prototype,"container",void 0);vt([V(".ft-tooltip")],nt.prototype,"tooltip",void 0);vt([V(".ft-tooltip--content")],nt.prototype,"tooltipContent",void 0);vt([X()],nt.prototype,"visible",void 0);vt([Be({passive:!0})],nt.prototype,"onTouch",null);vt([Be({passive:!0})],nt.prototype,"onHover",null);vt([Be({passive:!0})],nt.prototype,"onOut",null);vt([Be({passive:!0})],nt.prototype,"onClick",null);tt("ft-tooltip")(nt);var ze=class extends H{render(){return z`
1147
1147
  <div class="ft-loader">
1148
1148
  <div></div>
1149
1149
  <div></div>
1150
1150
  <div></div>
1151
1151
  <div></div>
1152
1152
  </div>
1153
- `}};Le.styles=vl;X("ft-loader")(Le);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},nt=class extends Do(B,"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(T`
1153
+ `}};ze.styles=wc;tt("ft-loader")(ze);var wt=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},lt=class extends Do(H,"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(z`
1154
1154
  <button part="button"
1155
- class="${ut(this.buttonClasses)}"
1155
+ class="${mt(this.buttonClasses)}"
1156
1156
  aria-label="${this.getLabel()}"
1157
1157
  ?disabled=${this.isDisabled()}>
1158
1158
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1159
1159
  <ft-typography part="label"
1160
1160
  variant=${this.typographyVariant}
1161
1161
  element="span"
1162
- class="ft-button--label ${zi?"ft-safari-ellipsis-fix":""}"
1162
+ class="ft-button--label ${Ha?"ft-safari-ellipsis-fix":""}"
1163
1163
  ?hidden=${!this.hasTextContent()}>
1164
1164
  <slot @slotchange=${this.onSlotchange}></slot>
1165
1165
  </ft-typography>
1166
1166
  ${this.resolveIcon()}
1167
1167
  </button>
1168
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?T`
1168
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?z`
1169
1169
  <ft-tooltip part="tooltip"
1170
1170
  text="${this.getLabel()}"
1171
1171
  position="${this.tooltipPosition}">
1172
1172
  ${t}
1173
1173
  </ft-tooltip>
1174
- `:t}resolveIcon(){return this.loading?T`
1175
- <ft-loader part="loader icon"></ft-loader> `:this.icon?T`
1174
+ `:t}resolveIcon(){return this.loading?z`
1175
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?z`
1176
1176
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1177
- `:T`
1177
+ `:z`
1178
1178
  <slot part="icon" name="icon"></slot>
1179
- `}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}};nt.elementDefinitions={"ft-ripple":j,"ft-tooltip":et,"ft-typography":st,"ft-icon":at,"ft-loader":Le};St([S({type:String,reflect:!0})],nt.prototype,"role",void 0);St([S()],nt.prototype,"type",void 0);St([S({type:Boolean})],nt.prototype,"disabled",void 0);St([S()],nt.prototype,"label",void 0);St([S()],nt.prototype,"icon",void 0);St([S()],nt.prototype,"iconVariant",void 0);St([S({type:Boolean})],nt.prototype,"trailingIcon",void 0);St([S({type:Boolean})],nt.prototype,"loading",void 0);St([S()],nt.prototype,"tooltipPosition",void 0);St([S({type:Boolean})],nt.prototype,"hideTooltip",void 0);St([S({type:Boolean})],nt.prototype,"forceTooltip",void 0);St([V(".ft-button")],nt.prototype,"button",void 0);St([V(".ft-button--label slot")],nt.prototype,"slottedContent",void 0);var $r=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},Zt=class extends nt{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"}};Zt.styles=[Po,wl];$r([S({type:Boolean})],Zt.prototype,"primary",void 0);$r([S({type:Boolean})],Zt.prototype,"outlined",void 0);$r([S({type:Boolean})],Zt.prototype,"dense",void 0);$r([S({type:Boolean})],Zt.prototype,"round",void 0);var El=[_`
1179
+ `}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}};lt.elementDefinitions={"ft-ripple":j,"ft-tooltip":nt,"ft-typography":dt,"ft-icon":st,"ft-loader":ze};wt([w({type:String,reflect:!0})],lt.prototype,"role",void 0);wt([w()],lt.prototype,"type",void 0);wt([w({type:Boolean})],lt.prototype,"disabled",void 0);wt([w()],lt.prototype,"label",void 0);wt([w()],lt.prototype,"icon",void 0);wt([w()],lt.prototype,"iconVariant",void 0);wt([w({type:Boolean})],lt.prototype,"trailingIcon",void 0);wt([w({type:Boolean})],lt.prototype,"loading",void 0);wt([w()],lt.prototype,"tooltipPosition",void 0);wt([w({type:Boolean})],lt.prototype,"hideTooltip",void 0);wt([w({type:Boolean})],lt.prototype,"forceTooltip",void 0);wt([V(".ft-button")],lt.prototype,"button",void 0);wt([V(".ft-button--label slot")],lt.prototype,"slottedContent",void 0);var _r=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},Jt=class extends lt{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"}};Jt.styles=[Wo,Rc];_r([w({type:Boolean})],Jt.prototype,"primary",void 0);_r([w({type:Boolean})],Jt.prototype,"outlined",void 0);_r([w({type:Boolean})],Jt.prototype,"dense",void 0);_r([w({type:Boolean})],Jt.prototype,"round",void 0);var ue=e=>typeof e=="string"?Mt(e):e,a=class{static create(t,o,n,i){let l=s=>ue(s??i),c=$`var(${ue(t)}, ${l(i)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=l,c.get=s=>$`var(${ue(t)}, ${l(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(t,o,n,i){let l=s=>n.get(s??i),c=$`var(${ue(t)}, ${l(i)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=l,c.get=s=>$`var(${ue(t)}, ${l(s)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(t,o){let n=l=>t.fallbackVariable?t.fallbackVariable.get(l??t.defaultValue):ue(l??t.lastResortDefaultValue()),i=$`var(${ue(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=l=>$`var(${ue(t.name)}, ${n(l)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var p={colorWhite:a.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:a.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:a.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:a.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:a.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:a.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:a.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:a.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:a.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:a.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:a.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:a.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:a.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:a.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:a.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:a.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:a.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:a.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:a.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:a.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:a.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:a.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:a.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:a.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:a.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:a.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:a.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:a.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:a.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:a.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:a.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:a.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:a.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:a.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:a.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:a.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:a.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:a.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:a.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:a.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:a.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:a.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:a.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:a.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:a.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:a.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:a.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:a.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:a.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:a.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:a.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:a.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:a.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:a.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:a.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:a.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:a.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:a.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:a.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:a.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:a.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:a.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:a.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:a.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:a.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:a.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:a.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:a.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:a.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:a.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:a.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:a.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:a.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:a.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:a.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:a.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:a.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:a.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:a.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:a.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:a.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:a.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:a.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:a.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:a.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:a.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:a.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:a.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:a.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:a.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:a.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:a.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:a.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:a.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:a.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:a.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:a.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:a.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:a.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:a.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:a.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:a.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:a.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:a.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:a.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:a.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:a.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:a.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:a.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:a.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:a.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:a.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:a.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:a.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:a.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:a.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:a.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:a.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:a.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:a.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:a.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:a.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:a.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:a.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:a.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:a.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:a.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:a.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:a.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:a.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:a.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:a.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:a.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:a.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:a.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:a.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:a.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:a.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:a.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:a.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:a.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:a.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:a.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:a.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:a.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:a.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:a.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:a.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:a.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:a.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:a.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:a.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:a.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:a.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:a.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:a.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:a.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:a.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:a.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:a.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:a.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:a.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:a.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:a.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:a.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:a.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:a.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:a.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:a.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:a.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:a.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:a.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:a.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:a.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:a.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:a.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:a.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:a.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:a.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:a.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:a.create("--ft-opacity-0","","NUMBER","0"),opacity8:a.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:a.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:a.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:a.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:a.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:a.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:a.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:a.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:a.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:a.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:a.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:a.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:a.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:a.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Mv={fontFamily:a.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:a.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-display-textCase","","UNKNOWN","none")},Fv={fontFamily:a.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:a.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Hv={fontFamily:a.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:a.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Zv={fontFamily:a.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:a.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:a.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Gv={fontFamily:a.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Kv={fontFamily:a.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Vv={fontFamily:a.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},jv={fontFamily:a.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Yv={fontFamily:a.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},qv={fontFamily:a.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:a.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:a.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Xv={fontFamily:a.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Jv={fontFamily:a.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Qv={fontFamily:a.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},tS={fontFamily:a.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},eS={fontFamily:a.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},oS={fontFamily:a.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},rS={fontFamily:a.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},nS={fontFamily:a.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},aS={fontFamily:a.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},iS={fontFamily:a.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},lS={fontFamily:a.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},cS={fontFamily:a.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},sS={fontFamily:a.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},dS={fontFamily:a.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},pS={fontFamily:a.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},fS={fontFamily:a.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")};var g={backgroundActionPrimary:a.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:a.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:a.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:a.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:a.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:a.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:a.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:a.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:a.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:a.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:a.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:a.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:a.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:a.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:a.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:a.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:a.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:a.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:a.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
1180
+ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:a.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:a.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:a.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:a.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:a.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:a.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:a.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:a.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:a.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:a.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:a.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:a.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:a.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:a.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var A={largeHeight:a.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:a.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:a.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:a.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:a.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:a.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:a.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:a.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:a.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:a.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:a.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:a.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:a.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:a.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:a.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:a.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:a.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:a.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:a.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:a.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:a.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:a.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:a.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:a.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:a.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:a.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:a.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:a.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:a.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:a.extend("--ft-button-primary-background-color","",g.backgroundActionPrimary),primaryColor:a.extend("--ft-button-primary-color","",g.contentGlobalOnColor),primaryIconColor:a.extend("--ft-button-primary-icon-color","",g.contentGlobalOnColor),primaryStateLayerColor:a.extend("--ft-button-primary-state-layer-color","",g.contentGlobalOnColor),primaryHoverStateLayerOpacity:a.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:a.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:a.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:a.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-button-focus-focus-ring-color","",g.borderActionFocusRing),tertiaryBackgroundColor:a.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:a.extend("--ft-button-tertiary-color","",g.contentActionPrimary),tertiaryIconColor:a.extend("--ft-button-tertiary-icon-color","",g.contentActionPrimary),tertiaryStateLayerColor:a.extend("--ft-button-tertiary-state-layer-color","",g.contentActionPrimary),tertiaryHoverStateLayerOpacity:a.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:a.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:a.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:a.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:a.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:a.extend("--ft-button-secondary-color","",g.contentActionPrimary),secondaryIconColor:a.extend("--ft-button-secondary-icon-color","",g.contentActionPrimary),secondaryStateLayerColor:a.extend("--ft-button-secondary-state-layer-color","",g.contentActionPrimary),secondaryHoverStateLayerOpacity:a.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:a.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:a.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:a.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:a.extend("--ft-button-secondary-border-color","",g.borderActionPrimary),neutralBackgroundColor:a.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:a.extend("--ft-button-neutral-icon-color","",g.contentGlobalSecondary),neutralColor:a.extend("--ft-button-neutral-color","",g.contentGlobalSecondary),neutralStateLayerColor:a.extend("--ft-button-neutral-state-layer-color","",g.contentGlobalSecondary),neutralHoverStateLayerOpacity:a.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:a.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:a.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:a.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var wS={largeMinHeight:a.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:a.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:a.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:a.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:a.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:a.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:a.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:a.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:a.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:a.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:a.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:a.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:a.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:a.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:a.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:a.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:a.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:a.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:a.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:a.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:a.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:a.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:a.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:a.extend("--ft-chip-neutral-background-color","",g.backgroundGlobalOnSurface),neutralColor:a.extend("--ft-chip-neutral-color","",g.contentGlobalSecondary),neutralIconColor:a.extend("--ft-chip-neutral-icon-color","",g.contentGlobalSecondary),neutralBorderColor:a.extend("--ft-chip-neutral-border-color","",g.borderGlobalSubtle),infoBackgroundColor:a.extend("--ft-chip-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-chip-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-chip-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-chip-info-border-color","",g.borderInfoSubtle),successBackgroundColor:a.extend("--ft-chip-success-background-color","",g.backgroundSuccessSubtle),successColor:a.extend("--ft-chip-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-chip-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:a.extend("--ft-chip-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-chip-warning-background-color","",g.backgroundWarningSubtle),warningColor:a.extend("--ft-chip-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-chip-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:a.extend("--ft-chip-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-chip-error-background-color","",g.backgroundErrorSubtle),errorColor:a.extend("--ft-chip-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-chip-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:a.extend("--ft-chip-error-border-color","",g.borderErrorSubtle)};var IS={focusOpacity:a.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:a.extend("--ft-link-focus-focus-ring-color","",g.borderActionFocusRing),brandColor:a.extend("--ft-link-brand-color","",g.contentActionPrimary),infoColor:a.extend("--ft-link-info-color","",g.contentInfoPrimary)};var kS={iconSize:a.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:a.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:a.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:a.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:a.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:a.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:a.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:a.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:a.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:a.extend("--ft-banner-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-banner-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-banner-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-banner-info-border-color","",g.borderInfoSubtle)};var BS={horizontalPadding:a.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:a.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:a.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:a.extend("--ft-badge-color","",g.contentGlobalOnColor),backgroundColor:a.extend("--ft-badge-background-color","",g.contentActionPrimary)};var ZS={horizontalGap:a.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:a.extend("--ft-breadcrumb-current-color","",g.contentGlobalPrimary),previousNonClickableColor:a.extend("--ft-breadcrumb-previous-non-clickable-color","",g.contentGlobalSecondary),iconColor:a.extend("--ft-breadcrumb-icon-color","",g.contentGlobalSubtle)};var YS={horizontalPadding:a.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:a.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:a.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:a.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:a.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:a.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:a.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:a.extend("--ft-page-header-bottom-border-color","",g.borderGlobalSubtle),titleColor:a.extend("--ft-page-header-title-color","",g.contentGlobalPrimary),subtitleColor:a.extend("--ft-page-header-subtitle-color","",g.contentGlobalSecondary)};var tO={smallContainerWidth:a.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:a.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:a.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:a.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:a.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:a.extend("--ft-modal-body-color","",g.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:a.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:a.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:a.extend("--ft-modal-header-background-color","",g.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-modal-header-border-color","",g.borderGlobalSubtle),headerColor:a.extend("--ft-modal-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-modal-header-trailing-icon-color","",g.contentGlobalSecondary),headerVerticalPadding:a.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:a.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:a.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:a.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:a.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:a.extend("--ft-modal-border-radius","",p.borderRadiusM)};var aO={overlayOpacity:a.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:a.extend("--ft-drawer-body-color","",g.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:a.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:a.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:a.extend("--ft-drawer-header-background-color","",g.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-drawer-header-border-color","",g.borderGlobalSubtle),headerColor:a.extend("--ft-drawer-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-drawer-header-trailing-icon-color","",g.contentGlobalSecondary),headerHeight:a.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:a.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:a.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:a.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:a.extend("--ft-drawer-buttons-bar-background-color","",g.backgroundGlobalOnSurface),buttonsBarBorderColor:a.extend("--ft-drawer-buttons-bar-border-color","",g.borderGlobalSubtle),buttonsBarColor:a.extend("--ft-drawer-buttons-bar-color","",g.contentGlobalPrimary),buttonsBarHorizontalPadding:a.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:a.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:a.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:a.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:a.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:a.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:a.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:a.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:a.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var dO={fieldHorizontalPadding:a.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-input-content-value-color","",g.contentGlobalPrimary),trailingIconColor:a.extend("--ft-text-input-trailing-icon-color","",g.contentGlobalSubtle),labelColor:a.extend("--ft-text-input-label-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-input-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-input-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-input-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-input-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-input-error-helper-icon-color","",g.contentErrorIconOnly),warningBorderWidth:a.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:a.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-text-input-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var gO={backgroundColor:a.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-area-content-value-color","",g.contentGlobalPrimary),labelColor:a.extend("--ft-text-area-label-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-area-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-area-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-area-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-area-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-area-error-helper-icon-color","",g.contentErrorIconOnly),focusFocusRingColor:a.extend("--ft-text-area-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:a.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:a.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:a.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:a.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var vO={height:a.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:a.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:a.extend("--ft-floating-menu-off-icon-color","",g.contentGlobalPrimary),offColor:a.extend("--ft-floating-menu-off-color","",g.contentGlobalPrimary),onColor:a.extend("--ft-floating-menu-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-floating-menu-on-state-layer-color","",g.contentActionPrimary),gap:a.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:a.extend("--ft-floating-menu-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:a.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:a.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:a.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:a.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:a.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:a.extend("--ft-floating-menu-background-color","",g.backgroundGlobalOnSurface)};var EO={fieldHorizontalPadding:a.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:a.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:a.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-single-select-label-color","",g.contentGlobalSubtle),contentValueColor:a.extend("--ft-combobox-single-select-content-value-color","",g.contentGlobalPrimary),trailingIconColor:a.extend("--ft-combobox-single-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-single-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-single-select-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-combobox-single-select-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-single-select-error-helper-text-color","",g.contentErrorPrimary),warningBorderWidth:a.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-single-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-single-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-single-select-warning-helper-icon-color","",g.contentWarningIconOnly),focusOutlineWidth:a.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-single-select-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var PO={backgroundColor:a.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-multi-select-label-color","",g.contentGlobalSubtle),trailingIconColor:a.extend("--ft-combobox-multi-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-multi-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-multi-select-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:a.extend("--ft-combobox-multi-select-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-multi-select-error-helper-text-color","",g.contentErrorPrimary),errorHelperIcon:a.extend("--ft-combobox-multi-select-error-helper-icon","",g.contentErrorIconOnly),errorBorderWidth:a.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-multi-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-multi-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-multi-select-warning-helper-icon-color","",g.contentWarningIconOnly),warningBorderWidth:a.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-multi-select-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:a.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:a.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:a.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:a.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:a.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:a.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:a.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var WO={backgroundColor:a.extend("--ft-popover-background-color","",g.backgroundGlobalOnSurface),horizontalPadding:a.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:a.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:a.extend("--ft-popover-title-color","",g.contentGlobalPrimary),bodyColor:a.extend("--ft-popover-body-color","",g.contentGlobalSecondary),linkColor:a.extend("--ft-popover-link-color","",g.contentActionPrimary),gap:a.extend("--ft-popover-gap","",p.spacing3),borderRadius:a.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:a.extend("--ft-popover-shadow","",p.shadowElevation02)};var DO={topLeftBorderRadius:a.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:a.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:a.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:a.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:a.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:a.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:a.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:a.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-tabs-off-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-tabs-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:a.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:a.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:a.extend("--ft-tabs-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-tabs-on-state-layer-color","",g.contentActionPrimary),iconOnlyHorizontalPadding:a.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:a.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:a.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:a.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:a.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-tabs-focus-focus-ring-color","",g.borderActionFocusRing)};var GO={hoverStateLayerOpacity:a.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:a.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:a.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:a.extend("--ft-collapsible-focus-focus-ring-color","",g.borderActionFocusRing),activeStateLayerOpacity:a.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:a.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:a.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:a.extend("--ft-collapsible-color","",g.contentGlobalPrimary),stateLayerColor:a.extend("--ft-collapsible-state-layer-color","",g.contentGlobalPrimary),backgroundColor:a.extend("--ft-collapsible-background-color","",g.backgroundGlobalOnSurface),borderColor:a.extend("--ft-collapsible-border-color","",g.borderGlobalSubtle),iconSize:a.extend("--ft-collapsible-icon-size","",p.iconSize3)};var qO={groupHorizontalPadding:a.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:a.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:a.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:a.extend("--ft-switch-group-background-color","",g.backgroundGlobalSurface),groupBorderColor:a.extend("--ft-switch-group-border-color","",g.borderGlobalSubtle),groupBorderRadius:a.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:a.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:a.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:a.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:a.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:a.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-switch-off-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-switch-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:a.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:a.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:a.extend("--ft-switch-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-switch-on-state-layer-color","",g.contentActionPrimary),iconHorizontalPadding:a.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:a.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:a.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-switch-focus-focus-ring-color","",g.borderActionFocusRing),optionBorderRadius:a.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var tC={color1Light:a.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:a.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:a.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:a.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:a.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:a.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:a.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:a.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:a.extend("--ft-chart-5-light","",p.colorRed40),color5Base:a.extend("--ft-chart-5-base","",p.colorRed60),color6Light:a.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:a.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:a.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:a.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:a.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:a.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:a.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:a.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:a.extend("--ft-chart-10-light","",p.colorGray50),color10Base:a.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:a.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:a.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:a.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:a.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:a.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:a.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var aC={borderWidth:a.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:a.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:a.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:a.extend("--ft-notice-gap","",p.spacing2),iconSize:a.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:a.extend("--ft-notice-info-background-color","",g.backgroundInfoSubtle),infoBorderColor:a.extend("--ft-notice-info-border-color","",g.borderInfoSubtle),infoColor:a.extend("--ft-notice-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-notice-info-icon-color","",g.contentInfoIconOnly),warningBackgroundColor:a.extend("--ft-notice-warning-background-color","",g.backgroundWarningSubtle),warningBorderColor:a.extend("--ft-notice-warning-border-color","",g.borderWarningSubtle),warningColor:a.extend("--ft-notice-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-notice-warning-icon-color","",g.contentWarningIconOnly),errorBackgroundColor:a.extend("--ft-notice-error-background-color","",g.backgroundErrorSubtle),errorBorderColor:a.extend("--ft-notice-error-border-color","",g.borderErrorSubtle),errorColor:a.extend("--ft-notice-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-notice-error-icon-color","",g.contentErrorIconOnly),successBackgroundColor:a.extend("--ft-notice-success-background-color","",g.backgroundSuccessSubtle),successBorderColor:a.extend("--ft-notice-success-border-color","",g.borderSuccessSubtle),successColor:a.extend("--ft-notice-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-notice-success-icon-color","",g.contentSuccessIconOnly)};var dC={color:a.extend("--ft-checkbox-color","",g.contentGlobalPrimary),checkedBackgroundColor:a.extend("--ft-checkbox-checked-background-color","",g.contentActionPrimary),checkedStateLayerColor:a.extend("--ft-checkbox-checked-state-layer-color","",g.contentActionPrimary),checkedIconColor:a.extend("--ft-checkbox-checked-icon-color","",g.contentGlobalOnColor),checkedHoverStateLayerOpacity:a.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:a.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:a.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:a.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:a.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:a.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:a.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:a.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:a.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:a.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-checkbox-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-checkbox-gap","",p.spacing3)};var gC={offHoverStateLayerOpacity:a.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:a.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:a.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:a.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:a.extend("--ft-toggle-off-background-color","",g.contentGlobalSubtle),offIconColor:a.extend("--ft-toggle-off-icon-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-toggle-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:a.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:a.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:a.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:a.extend("--ft-toggle-on-background-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-toggle-on-state-layer-color","",g.contentActionPrimary),onIconColor:a.extend("--ft-toggle-on-icon-color","",g.contentActionPrimary),color:a.extend("--ft-toggle-color","",g.contentGlobalPrimary),focusFocusRingColor:a.extend("--ft-toggle-focus-focus-ring-color","",g.borderActionFocusRing),gap:a.extend("--ft-toggle-gap","",p.spacing3)};var vC={color:a.extend("--ft-radio-color","",g.contentGlobalPrimary),selectedRadioColor:a.extend("--ft-radio-selected-radio-color","",g.contentActionPrimary),selectedStateLayerColor:a.extend("--ft-radio-selected-state-layer-color","",g.contentActionPrimary),selectedHoverStateLayerOpacity:a.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:a.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:a.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:a.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:a.extend("--ft-radio-unselected-state-layer-color","",g.borderInputPrimary),unselectedBorderColor:a.extend("--ft-radio-unselected-border-color","",g.borderInputPrimary),unselectedHoverStateLayerOpacity:a.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:a.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:a.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:a.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-radio-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-radio-gap","",p.spacing3)};var EC={iconSize:a.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:a.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:a.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:a.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:a.extend("--ft-notification-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-notification-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-notification-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-notification-info-border-color","",g.borderInfoSubtle),successBackgroundColor:a.extend("--ft-notification-success-background-color","",g.backgroundSuccessSubtle),successColor:a.extend("--ft-notification-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-notification-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:a.extend("--ft-notification-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-notification-warning-background-color","",g.backgroundWarningSubtle),warningColor:a.extend("--ft-notification-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-notification-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:a.extend("--ft-notification-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-notification-error-background-color","",g.backgroundErrorSubtle),errorColor:a.extend("--ft-notification-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-notification-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:a.extend("--ft-notification-error-border-color","",g.borderErrorSubtle),borderRadius:a.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:a.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:a.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:a.extend("--ft-notification-trailing-gap","",p.spacing8)};var PC={horizontalPadding:a.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:a.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:a.extend("--ft-tooltip-color","",g.contentGlobalOnColor),backgroundColor:a.extend("--ft-tooltip-background-color","",g.contentGlobalPrimary),backgroundOpacity:a.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:a.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:a.create("--ft-tooltip-max-width","","SIZE","256px"),gap:a.extend("--ft-tooltip-gap","",p.spacing05)};var Ic;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ic||(Ic={}));var Pc;(function(e){e.large="large",e.medium="medium",e.small="small"})(Pc||(Pc={}));var $c=[$`
1180
1181
  :host {
1181
1182
  display: inline-block;
1182
1183
  max-width: 100%;
@@ -1226,7 +1227,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1226
1227
  }
1227
1228
 
1228
1229
  .ft-button:focus-visible {
1229
- outline-color: ${E.focusFocusRingColor};
1230
+ outline-color: ${A.focusFocusRingColor};
1230
1231
  outline-style: solid;
1231
1232
  }
1232
1233
 
@@ -1255,146 +1256,146 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1255
1256
  /** Primary styles **/
1256
1257
 
1257
1258
  .ft-button--primary {
1258
- ${w(gt.color,E.primaryIconColor)};
1259
+ ${N(xt.color,A.primaryIconColor)};
1259
1260
 
1260
- ${w(M.color,E.primaryStateLayerColor)};
1261
- ${w(M.opacityContentOnSurfaceHover,E.primaryHoverStateLayerOpacity)};
1262
- ${w(M.opacityContentOnSurfaceFocused,E.primaryFocusStateLayerOpacity)};
1263
- ${w(M.opacityContentOnSurfaceSelected,E.primaryActiveStateLayerOpacity)};
1264
- ${w(M.opacityContentOnSurfacePressed,E.primaryActiveStateLayerOpacity)};
1261
+ ${N(D.color,A.primaryStateLayerColor)};
1262
+ ${N(D.opacityContentOnSurfaceHover,A.primaryHoverStateLayerOpacity)};
1263
+ ${N(D.opacityContentOnSurfaceFocused,A.primaryFocusStateLayerOpacity)};
1264
+ ${N(D.opacityContentOnSurfaceSelected,A.primaryActiveStateLayerOpacity)};
1265
+ ${N(D.opacityContentOnSurfacePressed,A.primaryActiveStateLayerOpacity)};
1265
1266
 
1266
- background-color: ${E.primaryBackgroundColor};
1267
- color: ${E.primaryColor};
1267
+ background-color: ${A.primaryBackgroundColor};
1268
+ color: ${A.primaryColor};
1268
1269
  border-style: none;
1269
1270
  }
1270
1271
 
1271
1272
  .ft-button--primary[disabled] {
1272
- opacity: ${E.primaryDisabledComponentOpacity};
1273
+ opacity: ${A.primaryDisabledComponentOpacity};
1273
1274
  }
1274
1275
 
1275
1276
  .ft-button--primary ft-icon {
1276
- color: ${E.primaryIconColor};
1277
+ color: ${A.primaryIconColor};
1277
1278
  }
1278
1279
 
1279
1280
  /** Secondary styles **/
1280
1281
 
1281
1282
  .ft-button--secondary {
1282
- ${w(gt.color,E.secondaryIconColor)};
1283
+ ${N(xt.color,A.secondaryIconColor)};
1283
1284
 
1284
- ${w(M.color,E.secondaryStateLayerColor)};
1285
- ${w(M.opacityContentOnSurfaceHover,E.secondaryHoverStateLayerOpacity)};
1286
- ${w(M.opacityContentOnSurfaceFocused,E.secondaryFocusStateLayerOpacity)};
1287
- ${w(M.opacityContentOnSurfaceSelected,E.secondaryActiveStateLayerOpacity)};
1288
- ${w(M.opacityContentOnSurfacePressed,E.secondaryActiveStateLayerOpacity)};
1285
+ ${N(D.color,A.secondaryStateLayerColor)};
1286
+ ${N(D.opacityContentOnSurfaceHover,A.secondaryHoverStateLayerOpacity)};
1287
+ ${N(D.opacityContentOnSurfaceFocused,A.secondaryFocusStateLayerOpacity)};
1288
+ ${N(D.opacityContentOnSurfaceSelected,A.secondaryActiveStateLayerOpacity)};
1289
+ ${N(D.opacityContentOnSurfacePressed,A.secondaryActiveStateLayerOpacity)};
1289
1290
 
1290
- background-color: ${E.secondaryBackgroundColor};
1291
- color: ${E.secondaryColor};
1292
- border-color: ${E.secondaryBorderColor};
1291
+ background-color: ${A.secondaryBackgroundColor};
1292
+ color: ${A.secondaryColor};
1293
+ border-color: ${A.secondaryBorderColor};
1293
1294
  border-style: solid;
1294
1295
  }
1295
1296
 
1296
1297
  .ft-button--secondary[disabled] {
1297
- opacity: ${E.secondaryDisabledComponentOpacity};
1298
+ opacity: ${A.secondaryDisabledComponentOpacity};
1298
1299
  }
1299
1300
 
1300
1301
  .ft-button--secondary ft-icon {
1301
- color: ${E.secondaryIconColor};
1302
+ color: ${A.secondaryIconColor};
1302
1303
  }
1303
1304
 
1304
1305
  /** Tertiary styles **/
1305
1306
 
1306
1307
  .ft-button--tertiary {
1307
- ${w(gt.color,E.tertiaryIconColor)};
1308
+ ${N(xt.color,A.tertiaryIconColor)};
1308
1309
 
1309
- ${w(M.color,E.tertiaryStateLayerColor)};
1310
- ${w(M.opacityContentOnSurfaceHover,E.tertiaryHoverStateLayerOpacity)};
1311
- ${w(M.opacityContentOnSurfaceFocused,E.tertiaryFocusStateLayerOpacity)};
1312
- ${w(M.opacityContentOnSurfaceSelected,E.tertiaryActiveStateLayerOpacity)};
1313
- ${w(M.opacityContentOnSurfacePressed,E.tertiaryActiveStateLayerOpacity)};
1310
+ ${N(D.color,A.tertiaryStateLayerColor)};
1311
+ ${N(D.opacityContentOnSurfaceHover,A.tertiaryHoverStateLayerOpacity)};
1312
+ ${N(D.opacityContentOnSurfaceFocused,A.tertiaryFocusStateLayerOpacity)};
1313
+ ${N(D.opacityContentOnSurfaceSelected,A.tertiaryActiveStateLayerOpacity)};
1314
+ ${N(D.opacityContentOnSurfacePressed,A.tertiaryActiveStateLayerOpacity)};
1314
1315
 
1315
- background-color: ${E.tertiaryBackgroundColor};
1316
- color: ${E.tertiaryColor};
1316
+ background-color: ${A.tertiaryBackgroundColor};
1317
+ color: ${A.tertiaryColor};
1317
1318
  border-style: none;
1318
1319
  }
1319
1320
 
1320
1321
  .ft-button--tertiary[disabled] {
1321
- opacity: ${E.tertiaryDisabledComponentOpacity};
1322
+ opacity: ${A.tertiaryDisabledComponentOpacity};
1322
1323
  }
1323
1324
 
1324
1325
  .ft-button--tertiary ft-icon {
1325
- color: ${E.tertiaryIconColor};
1326
+ color: ${A.tertiaryIconColor};
1326
1327
  }
1327
1328
 
1328
1329
  /** Neutral styles **/
1329
1330
 
1330
1331
  .ft-button--neutral {
1331
- ${w(gt.color,E.neutralIconColor)};
1332
+ ${N(xt.color,A.neutralIconColor)};
1332
1333
 
1333
- ${w(M.backgroundColor,E.neutralStateLayerColor)};
1334
- ${w(M.opacityContentOnSurfaceHover,E.neutralHoverStateLayerOpacity)};
1335
- ${w(M.opacityContentOnSurfaceFocused,E.neutralFocusStateLayerOpacity)};
1336
- ${w(M.opacityContentOnSurfaceSelected,E.neutralActiveStateLayerOpacity)};
1337
- ${w(M.opacityContentOnSurfacePressed,E.neutralActiveStateLayerOpacity)};
1334
+ ${N(D.backgroundColor,A.neutralStateLayerColor)};
1335
+ ${N(D.opacityContentOnSurfaceHover,A.neutralHoverStateLayerOpacity)};
1336
+ ${N(D.opacityContentOnSurfaceFocused,A.neutralFocusStateLayerOpacity)};
1337
+ ${N(D.opacityContentOnSurfaceSelected,A.neutralActiveStateLayerOpacity)};
1338
+ ${N(D.opacityContentOnSurfacePressed,A.neutralActiveStateLayerOpacity)};
1338
1339
 
1339
- background-color: ${E.neutralBackgroundColor};
1340
- color: ${E.neutralColor};
1340
+ background-color: ${A.neutralBackgroundColor};
1341
+ color: ${A.neutralColor};
1341
1342
  border-style: none;
1342
1343
  }
1343
1344
 
1344
1345
  .ft-button--neutral[disabled] {
1345
- opacity: ${E.neutralDisabledComponentOpacity};
1346
+ opacity: ${A.neutralDisabledComponentOpacity};
1346
1347
  }
1347
1348
 
1348
1349
  .ft-button--neutral ft-icon {
1349
- color: ${E.neutralIconColor};
1350
+ color: ${A.neutralIconColor};
1350
1351
  }
1351
1352
 
1352
1353
  /** Large styles **/
1353
1354
 
1354
1355
  .ft-button--large {
1355
- ${w(it.size,E.largeIconSize)};
1356
- ${w(gt.size,E.largeIconSize)};
1357
-
1358
- height: ${E.largeHeight};
1359
- padding: 0 ${E.largeHorizontalPadding};
1360
- gap: ${E.largeGap};
1361
- border-radius: ${E.largeBorderRadius};
1362
- border-width: ${E.largeBorderWidth};
1356
+ ${N(ct.size,A.largeIconSize)};
1357
+ ${N(xt.size,A.largeIconSize)};
1358
+
1359
+ height: ${A.largeHeight};
1360
+ padding: 0 ${A.largeHorizontalPadding};
1361
+ gap: ${A.largeGap};
1362
+ border-radius: ${A.largeBorderRadius};
1363
+ border-width: ${A.largeBorderWidth};
1363
1364
  }
1364
1365
 
1365
1366
  .ft-button--large:focus-visible {
1366
- outline-width: ${E.largeFocusOutlineWidth};
1367
- outline-offset: ${E.largeFocusOutlineOffset};
1367
+ outline-width: ${A.largeFocusOutlineWidth};
1368
+ outline-offset: ${A.largeFocusOutlineOffset};
1368
1369
  }
1369
1370
 
1370
1371
  .ft-button--large.ft-button--icon-only {
1371
- width: ${E.largeIconOnlyWidth};
1372
+ width: ${A.largeIconOnlyWidth};
1372
1373
  padding: unset;
1373
1374
  }
1374
1375
 
1375
1376
  /** Small styles **/
1376
1377
 
1377
1378
  .ft-button--small {
1378
- ${w(it.size,E.smallIconSize)};
1379
- ${w(gt.size,E.smallIconSize)};
1380
-
1381
- height: ${E.smallHeight};
1382
- padding: 0 ${E.smallHorizontalPadding};
1383
- gap: ${E.smallGap};
1384
- border-radius: ${E.smallBorderRadius};
1385
- border-width: ${E.smallBorderWidth};
1379
+ ${N(ct.size,A.smallIconSize)};
1380
+ ${N(xt.size,A.smallIconSize)};
1381
+
1382
+ height: ${A.smallHeight};
1383
+ padding: 0 ${A.smallHorizontalPadding};
1384
+ gap: ${A.smallGap};
1385
+ border-radius: ${A.smallBorderRadius};
1386
+ border-width: ${A.smallBorderWidth};
1386
1387
  }
1387
1388
 
1388
1389
  .ft-button--small:focus-visible {
1389
- outline-width: ${E.smallFocusOutlineWidth};
1390
- outline-offset: ${E.smallFocusOutlineOffset};
1390
+ outline-width: ${A.smallFocusOutlineWidth};
1391
+ outline-offset: ${A.smallFocusOutlineOffset};
1391
1392
  }
1392
1393
 
1393
1394
  .ft-button--small.ft-button--icon-only {
1394
- width: ${E.smallIconOnlyWidth};
1395
+ width: ${A.smallIconOnlyWidth};
1395
1396
  padding: unset;
1396
1397
  }
1397
- `,_o];var Wo=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},Dt=class extends nt{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}};Dt.styles=[Po,El];Wo([S({type:Boolean})],Dt.prototype,"primary",void 0);Wo([S({type:Boolean})],Dt.prototype,"secondary",void 0);Wo([S({type:Boolean})],Dt.prototype,"tertiary",void 0);Wo([S({type:Boolean})],Dt.prototype,"neutral",void 0);Wo([S({type:Boolean})],Dt.prototype,"small",void 0);X("ft-button")(Zt);X("ftds-button")(Dt);var _r=class extends CustomEvent{constructor(t){super("row-click",{detail:t})}},Pr=class extends CustomEvent{constructor(t){super("change",{detail:t})}};var lt={headerBackground:r.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:r.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:r.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:r.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:r.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:r.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:r.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),columnTitleMargin:r.create("--ft-filterable-table-column-title-margin","","UNKNOWN","0 .5rem 0 0"),colorOnSurfaceHigh:r.external($.colorOnSurfaceHigh,"Design system"),titleFont:r.external($.titleFont,"Design system"),contentFont:r.external($.contentFont,"Design system")},Nl=_`
1398
+ `,ko];var Fo=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},Bt=class extends lt{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?ke.caption1medium:ke.body2medium}};Bt.styles=[Wo,$c];Fo([w({type:Boolean})],Bt.prototype,"primary",void 0);Fo([w({type:Boolean})],Bt.prototype,"secondary",void 0);Fo([w({type:Boolean})],Bt.prototype,"tertiary",void 0);Fo([w({type:Boolean})],Bt.prototype,"neutral",void 0);Fo([w({type:Boolean})],Bt.prototype,"small",void 0);tt("ft-button")(Jt);tt("ftds-button")(Bt);var kr=class extends CustomEvent{constructor(t){super("row-click",{detail:t})}},Wr=class extends CustomEvent{constructor(t){super("change",{detail:t})}};var pt={headerBackground:r.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:r.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:r.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:r.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:r.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:r.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:r.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),columnTitleMargin:r.create("--ft-filterable-table-column-title-margin","","UNKNOWN","0 .5rem 0 0"),colorOnSurfaceHigh:r.external(_.colorOnSurfaceHigh,"Design system"),titleFont:r.external(_.titleFont,"Design system"),contentFont:r.external(_.contentFont,"Design system")},Lc=$`
1398
1399
  :host {
1399
1400
  display: block;
1400
1401
  }
@@ -1410,19 +1411,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1410
1411
  .header-cell {
1411
1412
  display: flex;
1412
1413
  flex-direction: column;
1413
- background: ${lt.headerBackground};
1414
- color: ${lt.colorOnSurfaceHigh};
1414
+ background: ${pt.headerBackground};
1415
+ color: ${pt.colorOnSurfaceHigh};
1415
1416
  padding: .5rem 1rem;
1416
- font-family: ${lt.titleFont};
1417
+ font-family: ${pt.titleFont};
1417
1418
  }
1418
1419
 
1419
1420
  .header-cell--sticky {
1420
1421
  top: 0;
1421
- z-index: ${lt.stickyHeaderZIndex};
1422
+ z-index: ${pt.stickyHeaderZIndex};
1422
1423
  position: sticky;
1423
1424
 
1424
1425
  &:hover, &:focus-within {
1425
- z-index: calc(${lt.stickyHeaderZIndex} + 1);
1426
+ z-index: calc(${pt.stickyHeaderZIndex} + 1);
1426
1427
  }
1427
1428
  }
1428
1429
 
@@ -1440,17 +1441,17 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1440
1441
  }
1441
1442
 
1442
1443
  .column-title-container ft-button {
1443
- ${w(rt.backgroundColor,lt.headerBackground)};
1444
- ${w(rt.color,lt.colorOnSurfaceHigh)};
1444
+ ${N(it.backgroundColor,pt.headerBackground)};
1445
+ ${N(it.color,pt.colorOnSurfaceHigh)};
1445
1446
  }
1446
1447
 
1447
1448
  .column-title {
1448
- white-space: ${lt.columnTitleWhiteSpace};
1449
+ white-space: ${pt.columnTitleWhiteSpace};
1449
1450
  text-transform: uppercase;
1450
1451
  font-weight: normal;
1451
1452
  letter-spacing: 1.5px;
1452
1453
  font-size: 0.8em;
1453
- margin: ${lt.columnTitleMargin};
1454
+ margin: ${pt.columnTitleMargin};
1454
1455
  height: 100%;
1455
1456
  display: flex;
1456
1457
  align-items: center;
@@ -1459,7 +1460,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1459
1460
  .column-filter {
1460
1461
  flex-grow: 1;
1461
1462
  flex-shrink: 0;
1462
- ${w(z.optionsHeight,"300px")};
1463
+ ${N(F.optionsHeight,"300px")};
1463
1464
  }
1464
1465
 
1465
1466
  .column-filter:not(:empty) {
@@ -1474,31 +1475,31 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1474
1475
 
1475
1476
  .cell {
1476
1477
  padding: 1rem;
1477
- border-left-color: ${lt.headerBackground};
1478
+ border-left-color: ${pt.headerBackground};
1478
1479
  border-left-style: solid;
1479
- border-left-width: ${lt.cellVerticalBorderWidth};
1480
- border-bottom: 1px solid ${lt.headerBackground};
1480
+ border-left-width: ${pt.cellVerticalBorderWidth};
1481
+ border-bottom: 1px solid ${pt.headerBackground};
1481
1482
  overflow-x: auto;
1482
1483
  display: flex;
1483
1484
  align-items: center;
1484
- font-family: ${lt.contentFont};
1485
+ font-family: ${pt.contentFont};
1485
1486
  }
1486
1487
 
1487
1488
  /* Even is 2n+1 and odd is 2n because of the header */
1488
1489
  .row:nth-child(2n) > .cell {
1489
- background: ${lt.oddRowBackground};
1490
+ background: ${pt.oddRowBackground};
1490
1491
  }
1491
1492
 
1492
1493
  .row:nth-child(2n + 1) > .cell {
1493
- background: ${lt.evenRowBackground};
1494
+ background: ${pt.evenRowBackground};
1494
1495
  }
1495
1496
 
1496
1497
  .row:hover > .cell {
1497
- background: ${lt.rowHoverBackground};
1498
+ background: ${pt.rowHoverBackground};
1498
1499
  }
1499
1500
 
1500
1501
  .cell:last-of-type {
1501
- border-right: 1px solid ${lt.headerBackground};
1502
+ border-right: 1px solid ${pt.headerBackground};
1502
1503
  }
1503
1504
 
1504
1505
  .row:last-of-type .cell:first-of-type {
@@ -1508,7 +1509,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1508
1509
  .row:last-of-type .cell:last-of-type {
1509
1510
  border-radius: 0 0 .5rem 0;
1510
1511
  }
1511
- `;var ro=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},od=e=>T`${e}`,Al=(e,t)=>e-t,Rl=e=>""+e,$t=class extends B{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(t,o,n){this.data=t,this.columns=o,this.sort=n}render(){let t=this.sortData(this.filterData());return T`
1512
+ `;var lo=function(e,t,o,n){var i=arguments.length,l=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(i<3?c(l):i>3?c(t,o,l):c(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l},sp=e=>z`${e}`,_c=(e,t)=>e-t,kc=e=>""+e,Lt=class extends H{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(t,o,n){this.data=t,this.columns=o,this.sort=n}render(){let t=this.sortData(this.filterData());return z`
1512
1513
  <style>
1513
1514
  .table {
1514
1515
  grid-template-columns: ${this.columns.map(o=>{var n;return(n=o.gridTemplateColumn)!==null&&n!==void 0?n:"minmax(min-content, auto)"}).join(" ")};
@@ -1516,17 +1517,17 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1516
1517
  </style>
1517
1518
  <div class="table">
1518
1519
  <div class="header">
1519
- ${Bt(this.columns,(o,n)=>"header-cell-"+n,(o,n)=>this.renderHeader(o,n))}
1520
+ ${Zt(this.columns,(o,n)=>"header-cell-"+n,(o,n)=>this.renderHeader(o,n))}
1520
1521
  </div>
1521
- ${Bt(t,(o,n)=>"row-"+n,(o,n)=>T`
1522
+ ${Zt(t,(o,n)=>"row-"+n,(o,n)=>z`
1522
1523
  <div class="row"
1523
- @click=${()=>this.dispatchEvent(new _r(o))}>
1524
- ${Bt(this.columns,(i,a)=>"cell-"+a+"-"+n,(i,a)=>this.renderCell(i,a,o,n))}
1524
+ @click=${()=>this.dispatchEvent(new kr(o))}>
1525
+ ${Zt(this.columns,(i,l)=>"cell-"+l+"-"+n,(i,l)=>this.renderCell(i,l,o,n))}
1525
1526
  </div>
1526
1527
  `)}
1527
1528
  </div>
1528
- `}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((t,o,n)=>{var i;let a=this.columns[n];if(o&&o.value)switch((i=a.filter)!==null&&i!==void 0?i:"text"){case"text":return t.filter(s=>this.getValueAsString(a,s,n).toLowerCase().includes(o.value.toLowerCase()));case"select":return t.filter(s=>this.getValue(a,s)===o.value)}return t},this.data)}sortData(t){var o;if(this.currentSort&&!this.disableDataManipulation){let n=this.columns[this.currentSort.column],i=(o=n.comparator)!==null&&o!==void 0?o:Al,a=this.currentSort.order==="asc"?i:(s,l)=>-i(s,l);return[...t].sort((s,l)=>a(this.getValue(n,s),this.getValue(n,l)))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var t,o,n;this.filterOptions=[];let i=this.data,a=this.columns;for(let s in a){let l=a[s],c=(t=l.filter)!==null&&t!==void 0?t:"text";(c==="text"||c==="select")&&(this.filterOptions[s]=((o=l.options)!==null&&o!==void 0?o:[...new Set(i.map(d=>this.getValue(l,d)))]).sort((n=l.comparator)!==null&&n!==void 0?n:Al),c==="text"&&(this.filterOptions[s]=this.filterOptions[s].map(d=>this.stringifyValue(l,d,0))))}this.requestUpdate()}renderHeader(t,o){let n={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return T`
1529
- <div class="${ut(n)}"
1529
+ `}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((t,o,n)=>{var i;let l=this.columns[n];if(o&&o.value)switch((i=l.filter)!==null&&i!==void 0?i:"text"){case"text":return t.filter(c=>this.getValueAsString(l,c,n).toLowerCase().includes(o.value.toLowerCase()));case"select":return t.filter(c=>this.getValue(l,c)===o.value)}return t},this.data)}sortData(t){var o;if(this.currentSort&&!this.disableDataManipulation){let n=this.columns[this.currentSort.column],i=(o=n.comparator)!==null&&o!==void 0?o:_c,l=this.currentSort.order==="asc"?i:(c,s)=>-i(c,s);return[...t].sort((c,s)=>l(this.getValue(n,c),this.getValue(n,s)))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var t,o,n;this.filterOptions=[];let i=this.data,l=this.columns;for(let c in l){let s=l[c],d=(t=s.filter)!==null&&t!==void 0?t:"text";(d==="text"||d==="select")&&(this.filterOptions[c]=((o=s.options)!==null&&o!==void 0?o:[...new Set(i.map(u=>this.getValue(s,u)))]).sort((n=s.comparator)!==null&&n!==void 0?n:_c),d==="text"&&(this.filterOptions[c]=this.filterOptions[c].map(u=>this.stringifyValue(s,u,0))))}this.requestUpdate()}renderHeader(t,o){let n={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return z`
1530
+ <div class="${mt(n)}"
1530
1531
  part="${this.columnPart("header-cell",o)}">
1531
1532
  <div class="column-title-container"
1532
1533
  part="${this.columnPart("title-container",o)}">
@@ -1538,45 +1539,45 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1538
1539
  </div>
1539
1540
  ${this.renderColumnFilter(t,o)}
1540
1541
  </div>
1541
- `}getOppositeSortOrder(t){return t==="asc"?"desc":"asc"}renderColumnSort(t,o){var n,i;let a=this.currentSort&&this.currentSort.column===o,s=a?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",l=()=>{var u,m;let g=(u=t.defaultSortOrder)!==null&&u!==void 0?u:"asc";this.currentSort={column:o,order:a&&((m=this.currentSort)===null||m===void 0?void 0:m.order)===g?this.getOppositeSortOrder(g):g},this.dispatchChangeEvent()},c=(n=t.titleText)!==null&&n!==void 0?n:t.title,d=this.getSortOrderText(a,t),h=`Sort ${c} in ${d} order`;return!((i=t.sortable)!==null&&i!==void 0)||i?T`
1542
+ `}getOppositeSortOrder(t){return t==="asc"?"desc":"asc"}renderColumnSort(t,o){var n,i;let l=this.currentSort&&this.currentSort.column===o,c=l?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",s=()=>{var m,b;let x=(m=t.defaultSortOrder)!==null&&m!==void 0?m:"asc";this.currentSort={column:o,order:l&&((b=this.currentSort)===null||b===void 0?void 0:b.order)===x?this.getOppositeSortOrder(x):x},this.dispatchChangeEvent()},d=(n=t.titleText)!==null&&n!==void 0?n:t.title,u=this.getSortOrderText(l,t),y=`Sort ${d} in ${u} order`;return!((i=t.sortable)!==null&&i!==void 0)||i?z`
1542
1543
  <ft-button
1543
1544
  round
1544
1545
  dense
1545
1546
  iconVariant="material"
1546
- icon="${s}"
1547
- label="${h}"
1548
- @click=${l}
1547
+ icon="${c}"
1548
+ label="${y}"
1549
+ @click=${s}
1549
1550
  part="${this.columnPart("sort-button",o)}"
1550
1551
  ></ft-button>
1551
- `:F}getSortOrderText(t,o){return t?this.currentSort.order==="asc"?"descending":"ascending":o.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new Pr({filters:this.filters.map((t,o)=>({column:o,value:t.value})).filter(t=>t.value!=null),sort:this.currentSort}))}renderColumnFilter(t,o){var n,i,a,s,l;let c=h=>{this.filters[o]={value:h.detail},this.requestUpdate(),this.dispatchChangeEvent()},d=(n=this.filterOptions[o])!==null&&n!==void 0?n:[];switch((i=t.filter)!==null&&i!==void 0?i:"text"){case"text":return T`
1552
+ `:K}getSortOrderText(t,o){return t?this.currentSort.order==="asc"?"descending":"ascending":o.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new Wr({filters:this.filters.map((t,o)=>({column:o,value:t.value})).filter(t=>t.value!=null),sort:this.currentSort}))}renderColumnFilter(t,o){var n,i,l,c,s;let d=y=>{this.filters[o]={value:y.detail},this.requestUpdate(),this.dispatchChangeEvent()},u=(n=this.filterOptions[o])!==null&&n!==void 0?n:[];switch((i=t.filter)!==null&&i!==void 0?i:"text"){case"text":return z`
1552
1553
  <div class="column-filter" part="${this.columnPart("filter-container",o)}">
1553
1554
  <ft-text-field
1554
- label="Search ${(a=t.titleText)!==null&&a!==void 0?a:t.title}"
1555
- @live-change="${c}"
1555
+ label="Search ${(l=t.titleText)!==null&&l!==void 0?l:t.title}"
1556
+ @live-change="${d}"
1556
1557
  part="${this.columnPart("filter",o)}"
1557
1558
  >
1558
- ${Bt(d,u=>T`
1559
- <ft-text-field-suggestion>${u}</ft-text-field-suggestion>
1559
+ ${Zt(u,m=>z`
1560
+ <ft-text-field-suggestion>${m}</ft-text-field-suggestion>
1560
1561
  `)}
1561
1562
  </ft-text-field>
1562
1563
  </div>
1563
- `;case"select":return((s=this.filterOptions[o])!==null&&s!==void 0?s:[]).length?T`
1564
+ `;case"select":return((c=this.filterOptions[o])!==null&&c!==void 0?c:[]).length?z`
1564
1565
  <div class="column-filter" part="${this.columnPart("filter-container",o)}">
1565
- <ft-select label="Filter ${(l=t.titleText)!==null&&l!==void 0?l:t.title}"
1566
- @change=${c}
1566
+ <ft-select label="Filter ${(s=t.titleText)!==null&&s!==void 0?s:t.title}"
1567
+ @change=${d}
1567
1568
  part="${this.columnPart("filter",o)}">
1568
1569
  <ft-select-option></ft-select-option>
1569
- ${Bt(d,u=>T`
1570
- <ft-select-option .value=${u} label="${this.stringifyValue(t,u,0)}"></ft-select-option>
1570
+ ${Zt(u,m=>z`
1571
+ <ft-select-option .value=${m} label="${this.stringifyValue(t,m,0)}"></ft-select-option>
1571
1572
  `)}
1572
1573
  </ft-select>
1573
1574
  </div>
1574
- `:F}return F}columnPart(t,o){return`${t} ${t}-column-${o}`}renderCell(t,o,n,i){var a;let s=(a=t.render)!==null&&a!==void 0?a:od,l=c=>{let d=s(c,i);return typeof d=="string"?xo(d):d};return T`
1575
+ `:K}return K}columnPart(t,o){return`${t} ${t}-column-${o}`}renderCell(t,o,n,i){var l;let c=(l=t.render)!==null&&l!==void 0?l:sp,s=d=>{let u=c(d,i);return typeof u=="string"?Co(u):u};return z`
1575
1576
  <div class="cell"
1576
1577
  part="${this.columnPart("cell",o)} cell-row-${i} cell-column-${o}-row-${i}">
1577
- ${l(this.getValue(t,n))}
1578
+ ${s(this.getValue(t,n))}
1578
1579
  </div>
1579
- `}getValue(t,o){return typeof t.getter=="string"?o[t.getter]:t.getter(o)}getValueAsString(t,o,n){let i=this.getValue(t,o);return typeof t.stringify=="function"?t.stringify(i,n):Rl(i)}stringifyValue(t,o,n){return typeof t.stringify=="function"?t.stringify(o,n):Rl(o)}};$t.styles=Nl;ro([Oe([])],$t.prototype,"data",void 0);ro([Oe([])],$t.prototype,"columns",void 0);ro([Oe(void 0)],$t.prototype,"sort",void 0);ro([S({type:Boolean})],$t.prototype,"stickyHeaders",void 0);ro([S({type:Boolean})],$t.prototype,"disableDataManipulation",void 0);ro([Z()],$t.prototype,"currentSort",void 0);X("ft-filterable-table")($t);})();
1580
+ `}getValue(t,o){return typeof t.getter=="string"?o[t.getter]:t.getter(o)}getValueAsString(t,o,n){let i=this.getValue(t,o);return typeof t.stringify=="function"?t.stringify(i,n):kc(i)}stringifyValue(t,o,n){return typeof t.stringify=="function"?t.stringify(o,n):kc(o)}};Lt.styles=Lc;lo([Ne([])],Lt.prototype,"data",void 0);lo([Ne([])],Lt.prototype,"columns",void 0);lo([Ne(void 0)],Lt.prototype,"sort",void 0);lo([w({type:Boolean})],Lt.prototype,"stickyHeaders",void 0);lo([w({type:Boolean})],Lt.prototype,"disableDataManipulation",void 0);lo([X()],Lt.prototype,"currentSort",void 0);tt("ft-filterable-table")(Lt);})();
1580
1581
  /*! Bundled license information:
1581
1582
 
1582
1583
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: