@fluid-topics/ft-snap-scroll 1.1.85 → 1.1.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-snap-scroll.light.js +279 -254
- package/build/ft-snap-scroll.min.js +271 -246
- package/package.json +4 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";(()=>{var fl=Object.defineProperty;var H=(e,t)=>{for(var r in t)fl(e,r,{get:t[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,c=new WeakMap,l=new WeakMap,s=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,k=new Set(S.observedAttributes||[]);b(S,k,w);let B={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(O,B),this._definitionsByClass.set(S,B);let nt=r.call(n,O);nt||(nt=m(O),t.call(n,O,nt)),this===window.customElements&&(l.set(S,B),B.standInClass=nt);let M=this._awaitingUpgrade.get(O);if(M){this._awaitingUpgrade.delete(O);for(let T of M)c.delete(T),v(T,B,!0)}let _=this._whenDefinedPromises.get(O);return _!==void 0&&(_.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){R.push(this),n.upgrade.apply(n,arguments),R.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(k=>w.resolve=k),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,S,w){let k=this._awaitingUpgrade.get(S);k||this._awaitingUpgrade.set(S,k=new Set),w?k.add(O):k.delete(O)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let w=l.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(e,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,w),S},window.HTMLElement.prototype=e.prototype;let u=O=>O===document||O instanceof ShadowRoot,y=O=>{let S=O.getRootNode();if(!u(S)){let w=R[R.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),u(S)||(S=s.get(S)?.getRootNode()||document)}return S.customElements},m=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let k=y(w)||window.customElements,B=k._getDefinition(O);return B?v(w,B):c.set(w,k),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):c.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):c.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},b=(O,S,w)=>{if(S.size===0||w===void 0)return;let k=O.prototype.setAttribute;k&&(O.prototype.setAttribute=function(M,_){let T=M.toLowerCase();if(S.has(T)){let z=this.getAttribute(T);k.call(this,T,_),w.call(this,T,z,_)}else k.call(this,T,_)});let B=O.prototype.removeAttribute;B&&(O.prototype.removeAttribute=function(M){let _=M.toLowerCase();if(S.has(_)){let T=this.getAttribute(_);B.call(this,_),w.call(this,_,T,null)}else B.call(this,_)});let nt=O.prototype.toggleAttribute;nt&&(O.prototype.toggleAttribute=function(M,_){let T=M.toLowerCase();if(S.has(T)){let z=this.getAttribute(T);nt.call(this,T,_);let Q=this.getAttribute(T);w.call(this,T,z,Q)}else nt.call(this,T,_)})},x=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===e?Object.setPrototypeOf(O,window.HTMLElement):x(S)},v=(O,S,w=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),d=O;try{new S.elementClass}catch{x(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(k=>{O.hasAttribute(k)&&S.attributeChangedCallback.call(O,k,null,O.getAttribute(k))}),w&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=C.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let R=[document],A=(O,S,w=void 0)=>{let k=(w?Object.getPrototypeOf(w):O.prototype)[S];O.prototype[S]=function(){R.push(this);let B=k.apply(w||this,arguments);return B!==void 0&&s.set(B,this),R.pop(),B}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let P=(O,S)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...w,set(k){R.push(this),w.set.call(this,k),R.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...M){let _=S.call(this,...M);return O.set(_,this),_},w.forEach(M=>{let _=window.ElementInternals.prototype,T=_[M];_[M]=function(...z){let Q=O.get(this);if(i.get(Q).formAssociated===!0)return T?.call(this,...z);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class B{constructor(_){let T=new Map;_.forEach((z,Q)=>{let gr=z.getAttribute("name"),Pa=T.get(gr)||[];this[+Q]=z,Pa.push(z),T.set(gr,Pa)}),this.length=_.length,T.forEach((z,Q)=>{z&&(z.length===1?this[Q]=z[0]:this[Q]=new k(z))})}namedItem(_){return this[_]}}let nt=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let M=nt.get.call(this,[]),_=[];for(let T of M){let z=i.get(T);(!z||z.formAssociated===!0)&&_.push(T)}return new B(_)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{t.bind(window.customElements)(r,n,i)}catch(c){console.info(r,n,i,c)}}}var Ar={};H(Ar,{CSSResult:()=>Se,LitElement:()=>_t,ReactiveElement:()=>Ot,_$LE:()=>Tl,_$LH:()=>_l,adoptStyles:()=>Bo,css:()=>L,defaultConverter:()=>Do,getCompatibleStyle:()=>Qe,html:()=>J,isServer:()=>lp,noChange:()=>Dt,notEqual:()=>Or,nothing:()=>K,render:()=>Rr,supportsAdoptingStyleSheets:()=>Je,svg:()=>Wl,unsafeCSS:()=>Lt});var Eo=globalThis,Ro=Eo.ShadowRoot&&(Eo.ShadyCSS===void 0||Eo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wa=Symbol(),La=new WeakMap,No=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Wa)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Ro&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=La.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&La.set(r,t))}return t}toString(){return this.cssText}},_a=e=>new No(typeof e=="string"?e:e+"",void 0,Wa);var mr=(e,t)=>{if(Ro)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=Eo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},Ao=Ro?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return _a(r)})(e):e;var{is:ul,defineProperty:hl,getOwnPropertyDescriptor:gl,getOwnPropertyNames:ml,getOwnPropertySymbols:yl,getPrototypeOf:bl}=Object,Io=globalThis,$a=Io.trustedTypes,xl=$a?$a.emptyScript:"",vl=Io.reactiveElementPolyfillSupport,Ze=(e,t)=>e,Ve={toAttribute(e,t){switch(t){case Boolean:e=e?xl:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Po=(e,t)=>!ul(e,t),ka={attribute:!0,type:String,converter:Ve,reflect:!1,hasChanged:Po};Symbol.metadata??=Symbol("metadata"),Io.litPropertyMetadata??=new WeakMap;var ee=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=ka){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&hl(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:c}=gl(this.prototype,t)??{get(){return this[r]},set(l){this[r]=l}};return{get(){return i?.call(this)},set(l){let s=i?.call(this);c.call(this,l),this.requestUpdate(t,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ka}static _$Ei(){if(this.hasOwnProperty(Ze("elementProperties")))return;let t=bl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ze("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ze("properties"))){let r=this.properties,n=[...ml(r),...yl(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Ao(i))}else t!==void 0&&r.push(Ao(t));return r}static _$Eu(t,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return mr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let c=(n.converter?.toAttribute!==void 0?n.converter:Ve).toAttribute(r,n.type);this._$Em=t,c==null?this.removeAttribute(i):this.setAttribute(i,c),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let c=n.getPropertyOptions(i),l=typeof c.converter=="function"?{fromAttribute:c.converter}:c.converter?.fromAttribute!==void 0?c.converter:Ve;this._$Em=i,this[i]=l.fromAttribute(r,c.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,c){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Po)(i?c:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,c]of this._$Ep)this[i]=c;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,c]of n)c.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],c)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};ee.elementStyles=[],ee.shadowRootOptions={mode:"open"},ee[Ze("elementProperties")]=new Map,ee[Ze("finalized")]=new Map,vl?.({ReactiveElement:ee}),(Io.reactiveElementVersions??=[]).push("2.0.2");var br=globalThis,Lo=br.trustedTypes,Ta=Lo?Lo.createPolicy("lit-html",{createHTML:e=>e}):void 0,xr="$lit$",Pt=`lit$${(Math.random()+"").slice(9)}$`,vr="?"+Pt,Sl=`<${vr}>`,ne=document,Wo=()=>ne.createComment(""),Ye=e=>e===null||typeof e!="object"&&typeof e!="function",Ha=Array.isArray,Fa=e=>Ha(e)||typeof e?.[Symbol.iterator]=="function",yr=`[
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ba=/'/g,Da=/"/g,Ga=/^(?:script|style|textarea|title)$/i,Ka=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Za=Ka(1),Va=Ka(2),pt=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Ma=new WeakMap,re=ne.createTreeWalker(ne,129);function ja(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ta!==void 0?Ta.createHTML(t):t}var Ya=(e,t)=>{let r=e.length-1,n=[],i,c=t===2?"<svg>":"",l=je;for(let s=0;s<r;s++){let d=e[s],u,y,m=-1,b=0;for(;b<d.length&&(l.lastIndex=b,y=l.exec(d),y!==null);)b=l.lastIndex,l===je?y[1]==="!--"?l=za:y[1]!==void 0?l=Ua:y[2]!==void 0?(Ga.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=oe):y[3]!==void 0&&(l=oe):l===oe?y[0]===">"?(l=i??je,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,u=y[1],l=y[3]===void 0?oe:y[3]==='"'?Da:Ba):l===Da||l===Ba?l=oe:l===za||l===Ua?l=je:(l=oe,i=void 0);let x=l===oe&&e[s+1].startsWith("/>")?" ":"";c+=l===je?d+Sl:m>=0?(n.push(u),d.slice(0,m)+xr+d.slice(m)+Pt+x):d+Pt+(m===-2?s:x)}return[ja(e,c+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},qe=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let c=0,l=0,s=t.length-1,d=this.parts,[u,y]=Ya(t,r);if(this.el=e.createElement(u,n),re.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=re.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(xr)){let b=y[l++],x=i.getAttribute(m).split(Pt),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:c,name:v[2],strings:x,ctor:v[1]==="."?$o:v[1]==="?"?ko:v[1]==="@"?To:ie}),i.removeAttribute(m)}else m.startsWith(Pt)&&(d.push({type:6,index:c}),i.removeAttribute(m));if(Ga.test(i.tagName)){let m=i.textContent.split(Pt),b=m.length-1;if(b>0){i.textContent=Lo?Lo.emptyScript:"";for(let x=0;x<b;x++)i.append(m[x],Wo()),re.nextNode(),d.push({type:2,index:++c});i.append(m[b],Wo())}}}else if(i.nodeType===8)if(i.data===vr)d.push({type:2,index:c});else{let m=-1;for(;(m=i.data.indexOf(Pt,m+1))!==-1;)d.push({type:7,index:c}),m+=Pt.length-1}c++}}static createElement(t,r){let n=ne.createElement("template");return n.innerHTML=t,n}};function ae(e,t,r=e,n){if(t===pt)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,c=Ye(t)?void 0:t._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=ae(e,i._$AS(e,t.values),i,n)),t}var _o=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??ne).importNode(r,!0);re.currentNode=i;let c=re.nextNode(),l=0,s=0,d=n[0];for(;d!==void 0;){if(l===d.index){let u;d.type===2?u=new Xe(c,c.nextSibling,this,t):d.type===1?u=new d.ctor(c,d.name,d.strings,this,t):d.type===6&&(u=new zo(c,this,t)),this._$AV.push(u),d=n[++s]}l!==d?.index&&(c=re.nextNode(),l++)}return re.currentNode=ne,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Xe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ae(this,t,r),Ye(t)?t===j||t==null||t===""?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==pt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Fa(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==j&&Ye(this._$AH)?this._$AA.nextSibling.data=t:this.$(ne.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=qe.createElement(ja(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let c=new _o(i,this),l=c.u(this.options);c.p(r),this.$(l),this._$AH=c}}_$AC(t){let r=Ma.get(t.strings);return r===void 0&&Ma.set(t.strings,r=new qe(t)),r}T(t){Ha(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let c of t)i===r.length?r.push(n=new e(this.k(Wo()),this.k(Wo()),this,this.options)):n=r[i],n._$AI(c),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ie=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,c){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(t,r=this,n,i){let c=this.strings,l=!1;if(c===void 0)t=ae(this,t,r,0),l=!Ye(t)||t!==this._$AH&&t!==pt,l&&(this._$AH=t);else{let s=t,d,u;for(t=c[0],d=0;d<c.length-1;d++)u=ae(this,s[n+d],r,d),u===pt&&(u=this._$AH[d]),l||=!Ye(u)||u!==this._$AH[d],u===j?t=j:t!==j&&(t+=(u??"")+c[d+1]),this._$AH[d]=u}l&&!i&&this.O(t)}O(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},$o=class extends ie{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===j?void 0:t}},ko=class extends ie{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==j)}},To=class extends ie{constructor(t,r,n,i,c){super(t,r,n,i,c),this.type=5}_$AI(t,r=this){if((t=ae(this,t,r,0)??j)===pt)return;let n=this._$AH,i=t===j&&n!==j||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,c=t!==j&&(n===j||i);i&&this.element.removeEventListener(this.name,this,n),c&&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)}},zo=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}},qa={j:xr,P:Pt,A:vr,C:1,M:Ya,L:_o,R:Fa,V:ae,D:Xe,I:ie,H:ko,N:To,U:$o,B:zo},Ol=br.litHtmlPolyfillSupport;Ol?.(qe,Xe),(br.litHtmlVersions??=[]).push("3.1.0");var Uo=globalThis,Je=Uo.ShadowRoot&&(Uo.ShadyCSS===void 0||Uo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sr=Symbol(),Xa=new WeakMap,Se=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Sr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Je&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Xa.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Xa.set(r,t))}return t}toString(){return this.cssText}},Lt=e=>new Se(typeof e=="string"?e:e+"",void 0,Sr),L=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,c)=>n+(l=>{if(l._$cssResult$===!0)return l.cssText;if(typeof l=="number")return l;throw Error("Value passed to 'css' function must be a 'css' function result: "+l+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[c+1],e[0]);return new Se(r,e,Sr)},Bo=(e,t)=>{if(Je)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=Uo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},Qe=Je?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Lt(r)})(e):e;var{is:Cl,defineProperty:wl,getOwnPropertyDescriptor:El,getOwnPropertyNames:Nl,getOwnPropertySymbols:Rl,getPrototypeOf:Al}=Object,Mo=globalThis,Ja=Mo.trustedTypes,Il=Ja?Ja.emptyScript:"",Pl=Mo.reactiveElementPolyfillSupport,to=(e,t)=>e,Do={toAttribute(e,t){switch(t){case Boolean:e=e?Il:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Or=(e,t)=>!Cl(e,t),Qa={attribute:!0,type:String,converter:Do,reflect:!1,hasChanged:Or};Symbol.metadata??=Symbol("metadata"),Mo.litPropertyMetadata??=new WeakMap;var Ot=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,r=Qa){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&wl(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:c}=El(this.prototype,t)??{get(){return this[r]},set(l){this[r]=l}};return{get(){return i?.call(this)},set(l){let s=i?.call(this);c.call(this,l),this.requestUpdate(t,s,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Qa}static _$Ei(){if(this.hasOwnProperty(to("elementProperties")))return;let t=Al(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(to("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(to("properties"))){let r=this.properties,n=[...Nl(r),...Rl(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Qe(i))}else t!==void 0&&r.push(Qe(t));return r}static _$Eu(t,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 Bo(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,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let c=(n.converter?.toAttribute!==void 0?n.converter:Do).toAttribute(r,n.type);this._$Em=t,c==null?this.removeAttribute(i):this.setAttribute(i,c),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let c=n.getPropertyOptions(i),l=typeof c.converter=="function"?{fromAttribute:c.converter}:c.converter?.fromAttribute!==void 0?c.converter:Do;this._$Em=i,this[i]=l.fromAttribute(r,c.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,c){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Or)(i?c:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,c]of this._$Ep)this[i]=c;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,c]of n)c.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],c)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};Ot.elementStyles=[],Ot.shadowRootOptions={mode:"open"},Ot[to("elementProperties")]=new Map,Ot[to("finalized")]=new Map,Pl?.({ReactiveElement:Ot}),(Mo.reactiveElementVersions??=[]).push("2.0.2");var wr=globalThis,Ho=wr.trustedTypes,ti=Ho?Ho.createPolicy("lit-html",{createHTML:e=>e}):void 0,Er="$lit$",Wt=`lit$${(Math.random()+"").slice(9)}$`,Nr="?"+Wt,Ll=`<${Nr}>`,se=document,oo=()=>se.createComment(""),ro=e=>e===null||typeof e!="object"&&typeof e!="function",ii=Array.isArray,ci=e=>ii(e)||typeof e?.[Symbol.iterator]=="function",Cr=`[
|
|
4
|
-
\f\r]`,
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ri=/'/g,ni=/"/g,li=/^(?:script|style|textarea|title)$/i,si=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),J=si(1),Wl=si(2),Dt=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),ai=new WeakMap,le=se.createTreeWalker(se,129);function di(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ti!==void 0?ti.createHTML(t):t}var pi=(e,t)=>{let r=e.length-1,n=[],i,c=t===2?"<svg>":"",l=eo;for(let s=0;s<r;s++){let d=e[s],u,y,m=-1,b=0;for(;b<d.length&&(l.lastIndex=b,y=l.exec(d),y!==null);)b=l.lastIndex,l===eo?y[1]==="!--"?l=ei:y[1]!==void 0?l=oi:y[2]!==void 0?(li.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=ce):y[3]!==void 0&&(l=ce):l===ce?y[0]===">"?(l=i??eo,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,u=y[1],l=y[3]===void 0?ce:y[3]==='"'?ni:ri):l===ni||l===ri?l=ce:l===ei||l===oi?l=eo:(l=ce,i=void 0);let x=l===ce&&e[s+1].startsWith("/>")?" ":"";c+=l===eo?d+Ll:m>=0?(n.push(u),d.slice(0,m)+Er+d.slice(m)+Wt+x):d+Wt+(m===-2?s:x)}return[di(e,c+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},no=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let c=0,l=0,s=t.length-1,d=this.parts,[u,y]=pi(t,r);if(this.el=e.createElement(u,n),le.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=le.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Er)){let b=y[l++],x=i.getAttribute(m).split(Wt),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:c,name:v[2],strings:x,ctor:v[1]==="."?Go:v[1]==="?"?Ko:v[1]==="@"?Zo:pe}),i.removeAttribute(m)}else m.startsWith(Wt)&&(d.push({type:6,index:c}),i.removeAttribute(m));if(li.test(i.tagName)){let m=i.textContent.split(Wt),b=m.length-1;if(b>0){i.textContent=Ho?Ho.emptyScript:"";for(let x=0;x<b;x++)i.append(m[x],oo()),le.nextNode(),d.push({type:2,index:++c});i.append(m[b],oo())}}}else if(i.nodeType===8)if(i.data===Nr)d.push({type:2,index:c});else{let m=-1;for(;(m=i.data.indexOf(Wt,m+1))!==-1;)d.push({type:7,index:c}),m+=Wt.length-1}c++}}static createElement(t,r){let n=se.createElement("template");return n.innerHTML=t,n}};function de(e,t,r=e,n){if(t===Dt)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,c=ro(t)?void 0:t._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=de(e,i._$AS(e,t.values),i,n)),t}var Fo=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??se).importNode(r,!0);le.currentNode=i;let c=le.nextNode(),l=0,s=0,d=n[0];for(;d!==void 0;){if(l===d.index){let u;d.type===2?u=new Oe(c,c.nextSibling,this,t):d.type===1?u=new d.ctor(c,d.name,d.strings,this,t):d.type===6&&(u=new Vo(c,this,t)),this._$AV.push(u),d=n[++s]}l!==d?.index&&(c=le.nextNode(),l++)}return le.currentNode=se,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Oe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=de(this,t,r),ro(t)?t===K||t==null||t===""?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==Dt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ci(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&&ro(this._$AH)?this._$AA.nextSibling.data=t:this.$(se.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=no.createElement(di(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let c=new Fo(i,this),l=c.u(this.options);c.p(r),this.$(l),this._$AH=c}}_$AC(t){let r=ai.get(t.strings);return r===void 0&&ai.set(t.strings,r=new no(t)),r}T(t){ii(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let c of t)i===r.length?r.push(n=new e(this.k(oo()),this.k(oo()),this,this.options)):n=r[i],n._$AI(c),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,c){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=K}_$AI(t,r=this,n,i){let c=this.strings,l=!1;if(c===void 0)t=de(this,t,r,0),l=!ro(t)||t!==this._$AH&&t!==Dt,l&&(this._$AH=t);else{let s=t,d,u;for(t=c[0],d=0;d<c.length-1;d++)u=de(this,s[n+d],r,d),u===Dt&&(u=this._$AH[d]),l||=!ro(u)||u!==this._$AH[d],u===K?t=K:t!==K&&(t+=(u??"")+c[d+1]),this._$AH[d]=u}l&&!i&&this.O(t)}O(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Go=class extends pe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===K?void 0:t}},Ko=class extends pe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==K)}},Zo=class extends pe{constructor(t,r,n,i,c){super(t,r,n,i,c),this.type=5}_$AI(t,r=this){if((t=de(this,t,r,0)??K)===Dt)return;let n=this._$AH,i=t===K&&n!==K||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,c=t!==K&&(n===K||i);i&&this.element.removeEventListener(this.name,this,n),c&&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)}},Vo=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){de(this,t)}},_l={j:Er,P:Wt,A:Nr,C:1,M:pi,L:Fo,R:ci,V:de,D:Oe,I:pe,H:Ko,N:Zo,U:Go,B:Vo},$l=wr.litHtmlPolyfillSupport;$l?.(no,Oe),(wr.litHtmlVersions??=[]).push("3.1.0");var Rr=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let c=r?.renderBefore??null;n._$litPart$=i=new Oe(t.insertBefore(oo(),c),c,void 0,r??{})}return i._$AI(e),i};var _t=class extends Ot{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 r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Rr(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Dt}};_t._$litElement$=!0,_t.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:_t});var kl=globalThis.litElementPolyfillSupport;kl?.({LitElement:_t});var Tl={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var lp=!1;var Pr={};H(Pr,{customElement:()=>zl,eventOptions:()=>Ce,property:()=>I,query:()=>rt,queryAll:()=>Dl,queryAssignedElements:()=>Hl,queryAssignedNodes:()=>Ir,queryAsync:()=>Ml,standardProperty:()=>fi,state:()=>q});var zl=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Ul={attribute:!0,type:String,converter:Ve,reflect:!1,hasChanged:Po},fi=(e=Ul,t,r)=>{let{kind:n,metadata:i}=r,c=globalThis.litPropertyMetadata.get(i);if(c===void 0&&globalThis.litPropertyMetadata.set(i,c=new Map),c.set(r.name,e),n==="accessor"){let{name:l}=r;return{set(s){let d=t.get.call(this);t.set.call(this,s),this.requestUpdate(l,d,e)},init(s){return s!==void 0&&this.C(l,void 0,e),s}}}if(n==="setter"){let{name:l}=r;return function(s){let d=this[l];t.call(this,s),this.requestUpdate(l,d,e)}}throw Error("Unsupported decorator location: "+n)};function I(e){return(t,r)=>typeof r=="object"?fi(e,t,r):((n,i,c)=>{let l=i.hasOwnProperty(c);return i.constructor.createProperty(c,l?{...n,wrapped:!0}:n),l?Object.getOwnPropertyDescriptor(i,c):void 0})(e,t,r)}function q(e){return I({...e,state:!0,attribute:!1})}function Ce(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var yt=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function rt(e,t){return(r,n,i)=>{let c=l=>l.renderRoot?.querySelector(e)??null;if(t){let{get:l,set:s}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return yt(r,n,{get(){let d=l.call(this);return d===void 0&&(d=c(this),(d!==null||this.hasUpdated)&&s.call(this,d)),d}})}return yt(r,n,{get(){return c(this)}})}}var Bl;function Dl(e){return(t,r)=>yt(t,r,{get(){return(this.renderRoot??(Bl??=document.createDocumentFragment())).querySelectorAll(e)}})}function Ml(e){return(t,r)=>yt(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Hl(e){return(t,r)=>{let{slot:n,selector:i}=e??{},c="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,r,{get(){let l=this.renderRoot?.querySelector(c),s=l?.assignedElements(e)??[];return i===void 0?s:s.filter(d=>d.matches(i))}})}}function Ir(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Lr={};H(Lr,{repeat:()=>Kl});var Mt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ht=e=>(...t)=>({_$litDirective$:e,values:t}),Ct=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{D:Fl}=qa;var ui=()=>document.createComment(""),we=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let c=n.insertBefore(ui(),i),l=n.insertBefore(ui(),i);r=new Fl(c,l,e,e.options)}else{let c=r._$AB.nextSibling,l=r._$AM,s=l!==e;if(s){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==l._$AU&&r._$AP(d)}if(c!==i||s){let d=r._$AA;for(;d!==c;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},Ft=(e,t,r=e)=>(e._$AI(t,r),e),Gl={},hi=(e,t=Gl)=>e._$AH=t,gi=e=>e._$AH,jo=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var mi=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},Kl=Ht(class extends Ct{constructor(e){if(super(e),e.type!==Mt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let i=[],c=[],l=0;for(let s of e)i[l]=n?n(s,l):l,c[l]=r(s,l),l++;return{values:c,keys:i}}render(e,t,r){return this.ht(e,t,r).values}update(e,[t,r,n]){let i=gi(e),{values:c,keys:l}=this.ht(t,r,n);if(!Array.isArray(i))return this.dt=l,c;let s=this.dt??=[],d=[],u,y,m=0,b=i.length-1,x=0,v=c.length-1;for(;m<=b&&x<=v;)if(i[m]===null)m++;else if(i[b]===null)b--;else if(s[m]===l[x])d[x]=Ft(i[m],c[x]),m++,x++;else if(s[b]===l[v])d[v]=Ft(i[b],c[v]),b--,v--;else if(s[m]===l[v])d[v]=Ft(i[m],c[v]),we(e,d[v+1],i[m]),m++,v--;else if(s[b]===l[x])d[x]=Ft(i[b],c[x]),we(e,i[m],i[b]),b--,x++;else if(u===void 0&&(u=mi(l,x,v),y=mi(s,m,b)),u.has(s[m]))if(u.has(s[b])){let C=y.get(l[x]),R=C!==void 0?i[C]:null;if(R===null){let A=we(e,i[m]);Ft(A,c[x]),d[x]=A}else d[x]=Ft(R,c[x]),we(e,i[m],R),i[C]=null;x++}else jo(i[b]),b--;else jo(i[m]),m++;for(;x<=v;){let C=we(e,d[v+1]);Ft(C,c[x]),d[x++]=C}for(;m<=b;){let C=i[m++];C!==null&&jo(C)}return this.dt=l,hi(e,d),pt}});var Wr={};H(Wr,{classMap:()=>fe});var fe=Ht(class extends Ct{constructor(e){if(super(e),e.type!==Mt.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 r=e.element.classList;for(let n of this.it)n in t||(r.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?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return pt}});var _r={};H(_r,{styleMap:()=>Vl});var yi="important",Zl=" !"+yi,Vl=Ht(class extends Ct{constructor(e){if(super(e),e.type!==Mt.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,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=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("-")?r.removeProperty(n):r[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let c=typeof i=="string"&&i.endsWith(Zl);n.includes("-")||c?r.setProperty(n,c?i.slice(0,-11):i,c?yi:""):r[n]=i}}return pt}});var kr={};H(kr,{UnsafeHTMLDirective:()=>Ee,unsafeHTML:()=>$r});var Ee=class extends Ct{constructor(t){if(super(t),this.et=j,t.type!==Mt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===j||t==null)return this.vt=void 0,this.et=t;if(t===pt)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 r=[t];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ee.directiveName="unsafeHTML",Ee.resultType=1;var $r=Ht(Ee);var Br={};H(Br,{CacheRegistry:()=>Ur});var zr={};H(zr,{CancelablePromise:()=>Ne,CanceledPromiseError:()=>ao,cancelable:()=>Tr});var ao=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Ne=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new ao("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new ao("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Tr=e=>new Ne((t,r)=>e.then(t).catch(r));var Ur=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,r){this.loaders[t]=r,this.finalContent.delete(t)}registerFinal(t,r){this.loaders[t]=r,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Ne&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,r){this.forceClear(t),this.register(t,async()=>r),this.content[t]=r}setFinal(t,r){this.forceClear(t),this.registerFinal(t,async()=>r),this.content[t]=r}async get(t,r,n){if(this.content[t]===void 0){if(r=r??this.loaders[t],r==null)throw new Error("Unknown cache key "+t);let i=Tr(r());return this.content[t]=i,i.then(c=>(this.content[t]=c,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),c))}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 Mr={};H(Mr,{ClusteringHelper:()=>Dr});var Dr=class e{constructor(t,r,n,i){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,r){var n,i;let c=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata;return r==null?e.flattenMetadata(c):e.flattenMetadata(c.find(l=>l.key===r))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let r=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!r))if(r){let n=[],i=[];return t.hierarchicalValues.forEach(c=>{n.push(c.join(" > ")),c.length>2?i.push(`... > ${c[c.length-1]}`):i.push(c.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,r,n="No value"){var i,c;let l=e.extractResultMetadata(this.selectedResult,t),s=(i=l?.label)!==null&&i!==void 0?i:(c=this.getMetadataDescriptor(t))===null||c===void 0?void 0:c.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!=l?.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,r))}compareMetadata(t,r,n,i){if(t==null)return-1;if(r==null)return 1;let c=this.getMetadataDescriptor(n),l=c?.sortRule||"NONE",s=c?.reverseSort||!1;if(l=="ALPHABET"||l=="VERSION"){let d=t.localeCompare(r,i,{numeric:!0});return s?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(d=>{var u;return((u=e.extractResultMetadata(d,t))===null||u===void 0?void 0:u.value)==r}),c=[...e.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],l,s=-1;for(let d of n){let u=this.countMatchingMetadata(d,c);if(u>s&&(s=u,l=d,u===c.length))break}return l}countMatchingMetadata(t,r){return e.extractResultMetadata(t).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Hr={};H(Hr,{Debouncer:()=>at});var at=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,c=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){i(s);return}c(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Kr={};H(Kr,{customElement:()=>tt,isNumber:()=>Oi,jsonProperty:()=>Gr,optionalNumberProperty:()=>ts});var Fr={};H(Fr,{dateReviver:()=>Yl,deepEqual:()=>io,delay:()=>bi,eventPathContainsMatchingElement:()=>Xl,flatDeep:()=>vi,hasChanged:()=>co,last:()=>Ql,minmax:()=>Jl,parseDate:()=>Si,waitFor:()=>xi,waitUntil:()=>jl});var bi=e=>new Promise(t=>setTimeout(t,e));async function jl(e,t=10,r=2e4){await xi(async()=>await e()||void 0,t,r)}async function xi(e,t=10,r=2e4){let n=await e(),i,c;for(i=c=performance.now();n==null&&(!r||c-i<r);)await bi(t),n=await e(),c=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function vi(e,t){return e.flatMap(r=>[r,...vi(t(r),t)])}function Yl(...e){return function(t,r){return e.includes(t)?Si(r):r}}function Si(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,i)=>r+n+":"+i),new Date(e)}function ql(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!io(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(!io(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),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){var c=i[n];if(!io(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function io(e,t){try{return ql(e,t)}catch{return!1}}function co(e,t){return!io(e,t)}function Xl(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&t.some(c=>i.matches(c)))return!0}}return!1}function Jl(e,t,r){return Math.min(Math.max(e,t),r)}function Ql(e){return e[e.length-1]}var tt=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Gr(e,t){let r=()=>JSON.parse(JSON.stringify(e));return I({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:co,...t??{}})}function ts(e){return I({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Oi(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Oi(e){return!isNaN(parseFloat(e))}var Sn={};H(Sn,{designSystemVariables:()=>D});var vn={};H(vn,{DesignSystemFamily:()=>bn,DesignSystemSize:()=>xn,FtCssVariableFactory:()=>o,badge:()=>is,banner:()=>as,breadcrumb:()=>cs,button:()=>os,chart:()=>vs,checkbox:()=>Os,chip:()=>rs,collapsible:()=>bs,comboboxMultiSelect:()=>ms,comboboxSingleSelect:()=>gs,drawer:()=>ds,floatingMenu:()=>hs,foundation:()=>f,link:()=>ns,modal:()=>ss,notice:()=>Ss,notification:()=>Es,pageHeader:()=>ls,popover:()=>ys,radio:()=>ws,resolveFamilyClass:()=>Rs,resolveSizeClass:()=>As,semantic:()=>h,setVariable:()=>$,switch_:()=>xs,tabs:()=>ps,textArea:()=>us,textInput:()=>fs,toggle:()=>Cs,tooltip:()=>Ns,typographies:()=>lo,typographyBody1Medium:()=>Xr,typographyBody1Regular:()=>qr,typographyBody1Semibold:()=>Jr,typographyBody2Medium:()=>tn,typographyBody2MediumUnderline:()=>Ci,typographyBody2Regular:()=>Qr,typographyBody2Semibold:()=>en,typographyCaption1Bold:()=>pn,typographyCaption1Medium:()=>sn,typographyCaption1Semibold:()=>dn,typographyCaption2Bold:()=>hn,typographyCaption2Medium:()=>fn,typographyCaption2Semibold:()=>un,typographyCaption3Bold:()=>yn,typographyCaption3Medium:()=>gn,typographyCaption3Semibold:()=>mn,typographyDisplay:()=>Zr,typographyLabel1Bold:()=>nn,typographyLabel1Medium:()=>on,typographyLabel1Semibold:()=>rn,typographyLabel2Bold:()=>ln,typographyLabel2Medium:()=>an,typographyLabel2Semibold:()=>cn,typographyTitle1:()=>Vr,typographyTitle2:()=>jr,typographyTitle3:()=>Yr,typographyVariants:()=>es});var $t=e=>typeof e=="string"?Lt(e):e,o=class{static create(t,r,n,i){let c=s=>$t(s??i),l=L`var(${$t(t)}, ${c(i)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>L`var(${$t(t)}, ${c(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,r,n,i){let c=s=>n.get(s??i),l=L`var(${$t(t)}, ${c(i)})`;return l.name=t,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>L`var(${$t(t)}, ${c(s)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(t,r){let n=c=>t.fallbackVariable?t.fallbackVariable.get(c??t.defaultValue):$t(c??t.lastResortDefaultValue()),i=L`var(${$t(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=c=>L`var(${$t(t.name)}, ${n(c)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function $(e,t){return $t(`${e.name}: ${t}`)}var f={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Zr={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Vr={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},jr={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Yr={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},qr={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Xr={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Jr={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Qr={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},tn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ci={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},en={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},on={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},rn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},nn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},an={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},cn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ln={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},sn={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},dn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},pn={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},fn={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},un={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},hn={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},gn={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},mn={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},yn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},lo={display:Zr,"title-1":Vr,"title-2":jr,"title-3":Yr,"body-1-regular":qr,"body-1-medium":Xr,"body-1-semibold":Jr,"body-2-regular":Qr,"body-2-medium":tn,"body-2-medium-underline":Ci,"body-2-semibold":en,"label-1-medium":on,"label-1-semibold":rn,"label-1-bold":nn,"label-2-medium":an,"label-2-semibold":cn,"label-2-bold":ln,"caption-1-medium":sn,"caption-1-semibold":dn,"caption-1-bold":pn,"caption-2-medium":fn,"caption-2-semibold":un,"caption-2-bold":hn,"caption-3-medium":gn,"caption-3-semibold":mn,"caption-3-bold":yn},es=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var h={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",f.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",f.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",f.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",f.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",f.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",f.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",f.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",f.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",f.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",f.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",f.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",f.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",f.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",f.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",f.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",f.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",f.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",f.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",f.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",f.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",f.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",f.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",f.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",f.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",f.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",f.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",f.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",f.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",f.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",f.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",f.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",f.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",f.colorGray80)};var os={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",f.spacing4),largeGap:o.extend("--ft-button-large-gap","",f.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",f.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",f.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",f.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",f.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",f.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",f.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",f.spacing2),smallGap:o.extend("--ft-button-small-gap","",f.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",f.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",f.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",f.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",f.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",h.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",h.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",h.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",h.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",f.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",f.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",f.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",h.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",h.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",h.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",h.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",f.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",f.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",f.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",f.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",h.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",h.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",h.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",f.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",f.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",f.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",f.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",h.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",h.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",h.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",h.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",f.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",f.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",f.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",f.opacity40)};var rs={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",f.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",f.spacing1),largeGap:o.extend("--ft-chip-large-gap","",f.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",f.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",f.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",f.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",f.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",f.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",f.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",f.spacing05),smallGap:o.extend("--ft-chip-small-gap","",f.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",f.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",h.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",h.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",h.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",h.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",h.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",h.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",h.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",h.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",h.borderErrorSubtle)};var ns={focusOpacity:o.extend("--ft-link-focus-opacity","",f.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",h.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",h.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",h.contentInfoPrimary)};var as={iconSize:o.extend("--ft-banner-icon-size","",f.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",f.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",f.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",f.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",f.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",f.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",f.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",f.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",h.borderInfoSubtle)};var is={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",f.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",f.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",f.borderRadiusPill),color:o.extend("--ft-badge-color","",h.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",h.contentActionPrimary)};var cs={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",f.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",h.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",h.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",h.contentGlobalSubtle)};var ls={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",f.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",f.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",f.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",f.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",f.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",f.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",f.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",h.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",h.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",h.contentGlobalSecondary)};var ss={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",f.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-modal-shadow","",f.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",f.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",f.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",f.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",f.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",h.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",h.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",f.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",f.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",f.spacing6),headerGap:o.extend("--ft-modal-header-gap","",f.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",f.borderRadiusM)};var ds={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-drawer-shadow","",f.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",f.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",f.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",f.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",h.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",h.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",f.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",f.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",h.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",h.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",h.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",f.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",f.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",f.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",f.colorGray700)};var ps={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",f.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",f.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",f.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-tabs-off-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",h.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",h.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",f.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",f.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",f.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",f.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",f.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",f.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",f.opacity24),onColor:o.extend("--ft-tabs-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",h.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",h.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",f.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",f.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",f.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",f.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",h.borderActionFocusRing)};var fs={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",h.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",h.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",h.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",f.opacity40)};var us={backgroundColor:o.extend("--ft-text-area-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",h.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",h.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",f.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",f.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",f.borderRadiusM)};var hs={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",f.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",h.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",h.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",h.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",f.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",f.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",f.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",f.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",f.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",h.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",f.shadowElevation02)};var gs={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",f.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",f.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",h.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",h.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",h.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",h.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",f.opacity40)};var ms={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",h.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",h.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",h.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",h.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",f.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",f.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",f.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",f.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",f.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",f.borderRadiusM)};var ys={backgroundColor:o.extend("--ft-popover-background-color","",h.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",f.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",f.spacing6),titleColor:o.extend("--ft-popover-title-color","",h.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",h.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",h.contentActionPrimary),gap:o.extend("--ft-popover-gap","",f.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",f.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",f.shadowElevation02)};var bs={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",f.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",f.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",h.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",f.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",f.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",f.spacing3),color:o.extend("--ft-collapsible-color","",h.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",h.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",h.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",h.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",f.iconSize3)};var xs={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",f.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",f.spacing1),groupGap:o.extend("--ft-switch-group-gap","",f.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",h.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",h.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",f.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",f.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",f.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",f.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",f.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-switch-off-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",f.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",f.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",f.opacity40),onColor:o.extend("--ft-switch-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",h.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",f.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",f.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",h.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",f.borderRadiusS)};var vs={color1Light:o.extend("--ft-chart-1-light","for area color charts",f.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",f.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",f.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",f.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",f.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",f.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",f.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",f.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",f.colorRed40),color5Base:o.extend("--ft-chart-5-base","",f.colorRed60),color6Light:o.extend("--ft-chart-6-light","",f.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",f.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",f.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",f.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",f.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",f.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",f.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",f.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",f.colorGray50),color10Base:o.extend("--ft-chart-10-base","",f.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",f.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",f.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",f.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",f.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",f.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",f.colorBrand200)};var Ss={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",f.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",f.borderRadiusS),gap:o.extend("--ft-notice-gap","",f.spacing2),iconSize:o.extend("--ft-notice-icon-size","",f.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",h.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",h.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",h.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",h.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",h.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",h.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",h.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",h.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",h.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",h.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",h.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",h.contentSuccessIconOnly)};var Os={color:o.extend("--ft-checkbox-color","",h.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",h.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",h.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",h.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",f.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",f.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",f.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",f.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",f.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",f.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",f.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",f.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",f.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",f.spacing3)};var Cs={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",f.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",f.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",f.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",f.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",h.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",f.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",f.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",f.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",h.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",h.contentActionPrimary),color:o.extend("--ft-toggle-color","",h.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",h.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",f.spacing3)};var ws={color:o.extend("--ft-radio-color","",h.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",h.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",h.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",f.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",f.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",f.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",f.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",h.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",h.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",f.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",f.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",f.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",f.spacing3)};var Es={iconSize:o.extend("--ft-notification-icon-size","",f.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",f.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",f.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",f.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",h.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",h.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",h.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",h.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",h.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",f.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",f.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",f.spacing8)};var Ns={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",f.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",f.borderRadiusS),color:o.extend("--ft-tooltip-color","",h.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",h.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",f.opacity80),shadow:o.extend("--ft-tooltip-shadow","",f.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",f.spacing05)};var bn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(bn||(bn={}));var xn;(function(e){e.large="large",e.medium="medium",e.small="small"})(xn||(xn={}));function Rs(e){return`design-system--family-${e}`}function As(e){return`design-system--size-${e}`}var D={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var En={};H(En,{FtNotificationEvent:()=>On,PostResizeEvent:()=>wn,PreResizeEvent:()=>Cn});var On=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Cn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},wn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var zn={};H(zn,{computeOffsetPosition:()=>Tn});var Ei=["top","right","bottom","left"],wi=["start","end"],Rn=Ei.reduce((e,t)=>e.concat(t,t+"-"+wi[0],t+"-"+wi[1]),[]),so=Math.min,Gt=Math.max,po=Math.round;var kt=e=>({x:e,y:e}),Is={left:"right",right:"left",bottom:"top",top:"bottom"},Ps={start:"end",end:"start"};function An(e,t,r){return Gt(e,so(t,r))}function Yo(e,t){return typeof e=="function"?e(t):e}function Re(e){return e.split("-")[0]}function Kt(e){return e.split("-")[1]}function In(e){return e==="x"?"y":"x"}function Pn(e){return e==="y"?"height":"width"}function qo(e){return["top","bottom"].includes(Re(e))?"y":"x"}function Ln(e){return In(qo(e))}function Ni(e,t,r){r===void 0&&(r=!1);let n=Kt(e),i=Ln(e),c=Pn(i),l=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(l=Nn(l)),[l,Nn(l)]}function Ri(e){return e.replace(/start|end/g,t=>Ps[t])}function Nn(e){return e.replace(/left|right|bottom|top/g,t=>Is[t])}function Ls(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ai(e){return typeof e!="number"?Ls(e):{top:e,right:e,bottom:e,left:e}}function ue(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ii(e,t,r){let{reference:n,floating:i}=e,c=qo(t),l=Ln(t),s=Pn(l),d=Re(t),u=c==="y",y=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,b=n[s]/2-i[s]/2,x;switch(d){case"top":x={x:y,y:n.y-i.height};break;case"bottom":x={x:y,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:m};break;case"left":x={x:n.x-i.width,y:m};break;default:x={x:n.x,y:n.y}}switch(Kt(t)){case"start":x[l]-=b*(r&&u?-1:1);break;case"end":x[l]+=b*(r&&u?-1:1);break}return x}var Pi=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:c=[],platform:l}=r,s=c.filter(Boolean),d=await(l.isRTL==null?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:y,y:m}=Ii(u,n,d),b=n,x={},v=0;for(let C=0;C<s.length;C++){let{name:R,fn:A}=s[C],{x:P,y:O,data:S,reset:w}=await A({x:y,y:m,initialPlacement:n,placement:b,strategy:i,middlewareData:x,rects:u,platform:l,elements:{reference:e,floating:t}});if(y=P??y,m=O??m,x={...x,[R]:{...x[R],...S}},w&&v<=50){v++,typeof w=="object"&&(w.placement&&(b=w.placement),w.rects&&(u=w.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:y,y:m}=Ii(u,b,d)),C=-1;continue}}return{x:y,y:m,placement:b,strategy:i,middlewareData:x}};async function Wn(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:c,rects:l,elements:s,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:b=!1,padding:x=0}=Yo(t,e),v=Ai(x),R=s[b?m==="floating"?"reference":"floating":m],A=ue(await c.getClippingRect({element:(r=await(c.isElement==null?void 0:c.isElement(R)))==null||r?R:R.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(s.floating)),boundary:u,rootBoundary:y,strategy:d})),P=m==="floating"?{...l.floating,x:n,y:i}:l.reference,O=await(c.getOffsetParent==null?void 0:c.getOffsetParent(s.floating)),S=await(c.isElement==null?void 0:c.isElement(O))?await(c.getScale==null?void 0:c.getScale(O))||{x:1,y:1}:{x:1,y:1},w=ue(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:O,strategy:d}):P);return{top:(A.top-w.top+v.top)/S.y,bottom:(w.bottom-A.bottom+v.bottom)/S.y,left:(A.left-w.left+v.left)/S.x,right:(w.right-A.right+v.right)/S.x}}function Ws(e,t,r){return(e?[...r.filter(i=>Kt(i)===e),...r.filter(i=>Kt(i)!==e)]:r.filter(i=>Re(i)===i)).filter(i=>e?Kt(i)===e||(t?Ri(i)!==i:!1):!0)}var _n=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:c,middlewareData:l,placement:s,platform:d,elements:u}=t,{crossAxis:y=!1,alignment:m,allowedPlacements:b=Rn,autoAlignment:x=!0,...v}=Yo(e,t),C=m!==void 0||b===Rn?Ws(m||null,x,b):b,R=await Wn(t,v),A=((r=l.autoPlacement)==null?void 0:r.index)||0,P=C[A];if(P==null)return{};let O=Ni(P,c,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(s!==P)return{reset:{placement:C[0]}};let S=[R[Re(P)],R[O[0]],R[O[1]]],w=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:S}],k=C[A+1];if(k)return{data:{index:A+1,overflows:w},reset:{placement:k}};let B=w.map(_=>{let T=Kt(_.placement);return[_.placement,T&&y?_.overflows.slice(0,2).reduce((z,Q)=>z+Q,0):_.overflows[0],_.overflows]}).sort((_,T)=>_[1]-T[1]),M=((i=B.filter(_=>_[2].slice(0,Kt(_[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||B[0][0];return M!==s?{data:{index:A+1,overflows:w},reset:{placement:M}}:{}}}};var $n=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:c=!0,crossAxis:l=!1,limiter:s={fn:R=>{let{x:A,y:P}=R;return{x:A,y:P}}},...d}=Yo(e,t),u={x:r,y:n},y=await Wn(t,d),m=qo(Re(i)),b=In(m),x=u[b],v=u[m];if(c){let R=b==="y"?"top":"left",A=b==="y"?"bottom":"right",P=x+y[R],O=x-y[A];x=An(P,x,O)}if(l){let R=m==="y"?"top":"left",A=m==="y"?"bottom":"right",P=v+y[R],O=v-y[A];v=An(P,v,O)}let C=s.fn({...t,[b]:x,[m]:v});return{...C,data:{x:C.x-r,y:C.y-n}}}}};function Tt(e){return Wi(e)?(e.nodeName||"").toLowerCase():"#document"}function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function zt(e){var t;return(t=(Wi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Wi(e){return e instanceof Node||e instanceof it(e).Node}function wt(e){return e instanceof Element||e instanceof it(e).Element}function bt(e){return e instanceof HTMLElement||e instanceof it(e).HTMLElement}function Li(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof it(e).ShadowRoot}function Ae(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=ft(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function _i(e){return["table","td","th"].includes(Tt(e))}function Jo(e){let t=Qo(),r=ft(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function $i(e){let t=he(e);for(;bt(t)&&!fo(t);){if(Jo(t))return t;t=he(t)}return null}function Qo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fo(e){return["html","body","#document"].includes(Tt(e))}function ft(e){return it(e).getComputedStyle(e)}function uo(e){return wt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function he(e){if(Tt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Li(e)&&e.host||zt(e);return Li(t)?t.host:t}function ki(e){let t=he(e);return fo(t)?e.ownerDocument?e.ownerDocument.body:e.body:bt(t)&&Ae(t)?t:ki(t)}function Xo(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=ki(e),c=i===((n=e.ownerDocument)==null?void 0:n.body),l=it(i);return c?t.concat(l,l.visualViewport||[],Ae(i)?i:[],l.frameElement&&r?Xo(l.frameElement):[]):t.concat(i,Xo(i,[],r))}function Ui(e){let t=ft(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=bt(e),c=i?e.offsetWidth:r,l=i?e.offsetHeight:n,s=po(r)!==c||po(n)!==l;return s&&(r=c,n=l),{width:r,height:n,$:s}}function Bi(e){return wt(e)?e:e.contextElement}function Ie(e){let t=Bi(e);if(!bt(t))return kt(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:c}=Ui(t),l=(c?po(r.width):r.width)/n,s=(c?po(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}var _s=kt(0);function Di(e){let t=it(e);return!Qo()||!t.visualViewport?_s:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $s(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==it(e)?!1:t}function ho(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),c=Bi(e),l=kt(1);t&&(n?wt(n)&&(l=Ie(n)):l=Ie(e));let s=$s(c,r,n)?Di(c):kt(0),d=(i.left+s.x)/l.x,u=(i.top+s.y)/l.y,y=i.width/l.x,m=i.height/l.y;if(c){let b=it(c),x=n&&wt(n)?it(n):n,v=b.frameElement;for(;v&&n&&x!==b;){let C=Ie(v),R=v.getBoundingClientRect(),A=ft(v),P=R.left+(v.clientLeft+parseFloat(A.paddingLeft))*C.x,O=R.top+(v.clientTop+parseFloat(A.paddingTop))*C.y;d*=C.x,u*=C.y,y*=C.x,m*=C.y,d+=P,u+=O,v=it(v).frameElement}}return ue({width:y,height:m,x:d,y:u})}function ks(e){let{rect:t,offsetParent:r,strategy:n}=e,i=bt(r),c=zt(r);if(r===c)return t;let l={scrollLeft:0,scrollTop:0},s=kt(1),d=kt(0);if((i||!i&&n!=="fixed")&&((Tt(r)!=="body"||Ae(c))&&(l=uo(r)),bt(r))){let u=ho(r);s=Ie(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-l.scrollLeft*s.x+d.x,y:t.y*s.y-l.scrollTop*s.y+d.y}}function Ts(e){return Array.from(e.getClientRects())}function Mi(e){return ho(zt(e)).left+uo(e).scrollLeft}function zs(e){let t=zt(e),r=uo(e),n=e.ownerDocument.body,i=Gt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),c=Gt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+Mi(e),s=-r.scrollTop;return ft(n).direction==="rtl"&&(l+=Gt(t.clientWidth,n.clientWidth)-i),{width:i,height:c,x:l,y:s}}function Us(e,t){let r=it(e),n=zt(e),i=r.visualViewport,c=n.clientWidth,l=n.clientHeight,s=0,d=0;if(i){c=i.width,l=i.height;let u=Qo();(!u||u&&t==="fixed")&&(s=i.offsetLeft,d=i.offsetTop)}return{width:c,height:l,x:s,y:d}}function Bs(e,t){let r=ho(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,c=bt(e)?Ie(e):kt(1),l=e.clientWidth*c.x,s=e.clientHeight*c.y,d=i*c.x,u=n*c.y;return{width:l,height:s,x:d,y:u}}function Ti(e,t,r){let n;if(t==="viewport")n=Us(e,r);else if(t==="document")n=zs(zt(e));else if(wt(t))n=Bs(t,r);else{let i=Di(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return ue(n)}function Hi(e,t){let r=he(e);return r===t||!wt(r)||fo(r)?!1:ft(r).position==="fixed"||Hi(r,t)}function Ds(e,t){let r=t.get(e);if(r)return r;let n=Xo(e,[],!1).filter(s=>wt(s)&&Tt(s)!=="body"),i=null,c=ft(e).position==="fixed",l=c?he(e):e;for(;wt(l)&&!fo(l);){let s=ft(l),d=Jo(l);!d&&s.position==="fixed"&&(i=null),(c?!d&&!i:!d&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ae(l)&&!d&&Hi(e,l))?n=n.filter(y=>y!==l):i=s,l=he(l)}return t.set(e,n),n}function Ms(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,l=[...r==="clippingAncestors"?Ds(t,this._c):[].concat(r),n],s=l[0],d=l.reduce((u,y)=>{let m=Ti(t,y,i);return u.top=Gt(m.top,u.top),u.right=so(m.right,u.right),u.bottom=so(m.bottom,u.bottom),u.left=Gt(m.left,u.left),u},Ti(t,s,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Hs(e){return Ui(e)}function Fs(e,t,r){let n=bt(t),i=zt(t),c=r==="fixed",l=ho(e,!0,c,t),s={scrollLeft:0,scrollTop:0},d=kt(0);if(n||!n&&!c)if((Tt(t)!=="body"||Ae(i))&&(s=uo(t)),n){let u=ho(t,!0,c,t);d.x=u.x+t.clientLeft,d.y=u.y+t.clientTop}else i&&(d.x=Mi(i));return{x:l.left+s.scrollLeft-d.x,y:l.top+s.scrollTop-d.y,width:l.width,height:l.height}}function zi(e,t){return!bt(e)||ft(e).position==="fixed"?null:t?t(e):e.offsetParent}function Fi(e,t){let r=it(e);if(!bt(e))return r;let n=zi(e,t);for(;n&&_i(n)&&ft(n).position==="static";)n=zi(n,t);return n&&(Tt(n)==="html"||Tt(n)==="body"&&ft(n).position==="static"&&!Jo(n))?r:n||$i(e)||r}var Gs=async function(e){let{reference:t,floating:r,strategy:n}=e,i=this.getOffsetParent||Fi,c=this.getDimensions;return{reference:Fs(t,await i(r),n),floating:{x:0,y:0,...await c(r)}}};function Ks(e){return ft(e).direction==="rtl"}var tr={convertOffsetParentRelativeRectToViewportRelativeRect:ks,getDocumentElement:zt,getClippingRect:Ms,getOffsetParent:Fi,getElementRects:Gs,getClientRects:Ts,getDimensions:Hs,getScale:Ie,isElement:wt,isRTL:Ks};var Gi=(e,t,r)=>{let n=new Map,i={platform:tr,...r},c={...i.platform,_c:n};return Pi(e,t,{...i,platform:c})};function Ki(e){return Zs(e)}function kn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Zs(e){for(let t=e;t;t=kn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=kn(e);t;t=kn(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Tn(e,t,r){return Gi(e,t,{platform:{...tr,getOffsetParent:n=>tr.getOffsetParent(n,Ki)},middleware:[$n({crossAxis:!0}),_n({allowedPlacements:[r]})]})}var Bn={};H(Bn,{FtLitElement:()=>G});var Un={};H(Un,{ScopedRegistryLitElement:()=>go});var er=window,Vs=er.ShadowRoot&&(er.ShadyCSS===void 0||er.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gg=Symbol();var Zi=(e,t)=>{Vs?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=er.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})};var go=class extends _t{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,c])=>t.registry.define(i,c)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Zi(n,t.elementStyles),n}};var or=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(c=(i<3?l(c):i>3?l(t,r,c):l(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Yi,Vi=Symbol("constructorPrototype"),ji=Symbol("constructorName"),qi=Symbol("exportpartsDebouncer"),G=class extends go{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Yi]=new at(5),this[ji]=this.constructor.name,this[Vi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ji]&&Object.setPrototypeOf(this,this[Vi])}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 r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(c=>c.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(c){console.error(c,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let c=document.createElement("style");c.classList.add("ft-lit-element--custom-stylesheet"),c.innerHTML=this.customStylesheet,this.shadowRoot.append(c)}}scheduleExportpartsUpdate(){var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[qi].run(()=>{var i,c;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((c=this.exportpartsPrefixes)===null||c===void 0?void 0:c.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,n,i,c,l,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=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(c=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&c!==void 0?c:[],v=(s=(l=b.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(C=>C.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...x,...v).filter(d).map(C=>C.trim()).forEach(C=>y.add(C))}if(y.size===0){this.removeAttribute("exportparts");return}let m=[...y.values()].flatMap(b=>u.map(x=>`${b}:${x}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Yi=qi;or([I()],G.prototype,"exportpartsPrefix",void 0);or([Gr([])],G.prototype,"exportpartsPrefixes",void 0);or([I()],G.prototype,"customStylesheet",void 0);or([q()],G.prototype,"useAdoptedStyleSheets",void 0);var Xi={};var Hn={};H(Hn,{highlightHtml:()=>qs,highlightHtmlColorCssVariable:()=>Ji,highlightHtmlStyles:()=>Ys});var ge=class e{constructor(t,r=!0,n=[],i=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(t,r){let n=typeof r=="string"?[r]:r,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let c=!1;return n.every(l=>i.call(t,l)?(c=!0,!1):!0),c}else return!1}getContexts(){let t,r=[];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=r.filter(c=>c.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let i;try{let c=t.contentWindow;if(i=c.document,!c||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let i=!1,c=null,l=()=>{if(!i){i=!0,clearTimeout(c);try{this.isIframeBlank(t)||(t.removeEventListener("load",l),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",l),c=setTimeout(l,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(t,r,n,i=()=>{}){let c=t.querySelectorAll("iframe"),l=c.length,s=0;c=Array.prototype.slice.call(c);let d=()=>{--l<=0&&i(s)};l||d(),c.forEach(u=>{e.matches(u,this.exclude)?d():this.onIframeReady(u,y=>{r(u)&&(s++,n(y)),d()},d)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let i=t.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_PRECEDING;if(i&c)if(r!==null){let l=r.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_FOLLOWING;if(l&s)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,i){let c=!1,l=!1;return i.forEach((s,d)=>{s.val===n&&(c=d,l=s.handled)}),this.compareNodeIframe(t,r,n)?(c===!1&&!l?i.push({val:n,handled:!0}):c!==!1&&!l&&(i[c].handled=!0),!0):(c===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,i){t.forEach(c=>{c.handled||this.getIframeContents(c.val,l=>{this.createInstanceOnIframe(l).forEachNode(r,n,i)})})}iterateThroughNodes(t,r,n,i,c){let l=this.createIterator(r,t,i),s=[],d=[],u,y,m=()=>({prevNode:y,node:u}=this.getIteratorNode(l),u);for(;m();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(u,y,b,s),b=>{this.createInstanceOnIframe(b).forEachNode(t,x=>d.push(x),i)}),d.push(u);d.forEach(b=>{n(b)}),this.iframes&&this.handleOpenIframes(s,t,n,i),c()}forEachNode(t,r,n,i=()=>{}){let c=this.getContexts(),l=c.length;l||i(),c.forEach(s=>{let d=()=>{this.iterateThroughNodes(t,s,r,n,()=>{--l<=0&&i()})};this.iframes?this.waitForIframes(s,d):d()})}};var mo=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.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 ge(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`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 r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let c in r)if(r.hasOwnProperty(c)){let l=r[c],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(l):this.escapeStr(l);s!==""&&d!==""&&(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,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,i)=>{let c=i.charAt(n+1);return/[(|)\\]/.test(c)||c===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(c=>{n.every(l=>{if(l.indexOf(c)!==-1){if(i.indexOf(l)>-1)return!1;t=t.replace(new RegExp(`[${l}]`,`gm${r}`),`[${l}]`),i.push(l)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,c=typeof n=="string"?[]:n.limiters,l="";switch(c.forEach(s=>{l+=`|${this.escapeStr(s)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return l="\\s"+(l||this.escapeStr(r)),`()([^${l}]*${t}[^${l}]*)`;case"exactly":return`(^|\\s${l})(${t})(?=$|\\s${l})`}}getSeparatedKeywords(t){let r=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(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 r=[],n=0;return t.sort((i,c)=>i.start-c.start).forEach(i=>{let{start:c,end:l,valid:s}=this.callNoMatchOnInvalidRanges(i,n);s&&(i.start=c,i.length=l-c,r.push(i),n=l)}),r}callNoMatchOnInvalidRanges(t,r){let n,i,c=!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-r>0&&i-n>0?c=!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:c}}checkWhitespaceRanges(t,r,n){let i,c=!0,l=n.length,s=r-l,d=parseInt(t.start,10)-s;return d=d>l?l:d,i=d+parseInt(t.length,10),i>l&&(i=l,this.log(`End range automatically set to the max value of ${l}`)),d<0||i-d<0||d>l||i>l?(c=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(c=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:c}}getTextNodes(t){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:n})})}matchesExclude(t){return ge.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let i=this.opt.element?this.opt.element:"mark",c=t.splitText(r),l=c.splitText(n-r),s=document.createElement(i);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=c.textContent,c.parentNode.replaceChild(s,c),l}wrapRangeInMappedTextNode(t,r,n,i,c){t.nodes.every((l,s)=>{let d=t.nodes[s+1];if(typeof d>"u"||d.start>r){if(!i(l.node))return!1;let u=r-l.start,y=(n>l.end?l.end:n)-l.start,m=t.value.substr(0,l.start),b=t.value.substr(y+l.start);if(l.node=this.wrapRangeInTextNode(l.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,c(l.node.previousSibling,l.start),n>l.end)r=l.end;else return!1}return!0})}wrapMatches(t,r,n,i,c){let l=r===0?0:r+1;this.getTextNodes(s=>{s.nodes.forEach(d=>{d=d.node;let u;for(;(u=t.exec(d.textContent))!==null&&u[l]!=="";){if(!n(u[l],d))continue;let y=u.index;if(l!==0)for(let m=1;m<l;m++)y+=u[m].length;d=this.wrapRangeInTextNode(d,y,y+u[l].length),i(d.previousSibling),t.lastIndex=0}}),c()})}wrapMatchesAcrossElements(t,r,n,i,c){let l=r===0?0:r+1;this.getTextNodes(s=>{let d;for(;(d=t.exec(s.value))!==null&&d[l]!=="";){let u=d.index;if(l!==0)for(let m=1;m<l;m++)u+=d[m].length;let y=u+d[l].length;this.wrapRangeInMappedTextNode(s,u,y,m=>n(d[l],m),(m,b)=>{t.lastIndex=b,i(m)})}c()})}wrapRangeFromIndex(t,r,n,i){this.getTextNodes(c=>{let l=c.value.length;t.forEach((s,d)=>{let{start:u,end:y,valid:m}=this.checkWhitespaceRanges(s,l,c.value);m&&this.wrapRangeInMappedTextNode(c,u,y,b=>r(b,s,c.value.substring(u,y),d),b=>{n(b,s)})}),i()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.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,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",c=l=>{n++,this.opt.each(l)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(l,s)=>this.opt.filter(s,l,n),c,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,i="wrapMatches",{keywords:c,length:l}=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),c[l-1]===u?this.opt.done(n):d(c[c.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),l===0?this.opt.done(n):d(c[0])}markRanges(t,r){this.opt=r;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,(c,l,s,d)=>this.opt.filter(c,l,s,d),(c,l)=>{n++,this.opt.each(c,l)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=ge.matches(n,r),c=this.matchesExclude(n);return!i||c?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Dn(e){let t=new mo(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var js=Dn,Ji=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ys=L`
|
|
1
|
+
"use strict";(()=>{var fl=Object.defineProperty;var z=(e,t)=>{for(var o in t)fl(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 S=b.prototype.attributeChangedCallback,T=new Set(b.observedAttributes||[]);m(b,T,S);let M={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(x,M),this._definitionsByClass.set(b,M);let ot=o.call(n,x);ot||(ot=u(x),t.call(n,x,ot)),this===window.customElements&&(s.set(b,M),M.standInClass=ot);let W=this._awaitingUpgrade.get(x);if(W){this._awaitingUpgrade.delete(x);for(let L of W)a.delete(L),g(L,M,!0)}let _=this._whenDefinedPromises.get(x);return _!==void 0&&(_.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(T=>S.resolve=T),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let T=this._awaitingUpgrade.get(b);T||this._awaitingUpgrade.set(b,T=new Set),S?T.add(x):T.delete(x)}};let c;window.HTMLElement=function(){let b=c;if(b)return c=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(e,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=e.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let S=C[C.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),d(b)||(b=l.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let T=h(S)||window.customElements,M=T._getDefinition(x);return M?g(S,M):a.set(S,T),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let T=x.prototype.setAttribute;T&&(x.prototype.setAttribute=function(W,_){let L=W.toLowerCase();if(b.has(L)){let I=this.getAttribute(L);T.call(this,L,_),S.call(this,L,I,_)}else T.call(this,L,_)});let M=x.prototype.removeAttribute;M&&(x.prototype.removeAttribute=function(W){let _=W.toLowerCase();if(b.has(_)){let L=this.getAttribute(_);M.call(this,_),S.call(this,_,L,null)}else M.call(this,_)});let ot=x.prototype.toggleAttribute;ot&&(x.prototype.toggleAttribute=function(W,_){let L=W.toLowerCase();if(b.has(L)){let I=this.getAttribute(L);ot.call(this,L,_);let Y=this.getAttribute(L);S.call(this,L,I,Y)}else ot.call(this,L,_)})},y=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):y(b)},g=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),c=x;try{new b.elementClass}catch{y(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(T=>{x.hasAttribute(T)&&b.attributeChangedCallback.call(x,T,null,x.getAttribute(T))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let C=[document],E=(x,b,S=void 0)=>{let T=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){C.push(this);let M=T.apply(S||this,arguments);return M!==void 0&&l.set(M,this),C.pop(),M}};E(ShadowRoot,"createElement",document),E(ShadowRoot,"importNode",document),E(Element,"insertAdjacentHTML");let A=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(T){C.push(this),S.set.call(this,T),C.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let _=b.call(this,...W);return x.set(_,this),_},S.forEach(W=>{let _=window.ElementInternals.prototype,L=_[W];_[W]=function(...I){let Y=x.get(this);if(i.get(Y).formAssociated===!0)return L?.call(this,...I);throw new DOMException(`Failed to execute ${L} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class M{constructor(_){let L=new Map;_.forEach((I,Y)=>{let ho=I.getAttribute("name"),$i=L.get(ho)||[];this[+Y]=I,$i.push(I),L.set(ho,$i)}),this.length=_.length,L.forEach((I,Y)=>{I&&(I.length===1?this[Y]=I[0]:this[Y]=new T(I))})}namedItem(_){return this[_]}}let ot=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=ot.get.call(this,[]),_=[];for(let L of W){let I=i.get(L);(!I||I.formAssociated===!0)&&_.push(L)}return new M(_)}})}}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 Ao={};z(Ao,{CSSResult:()=>xe,LitElement:()=>_t,ReactiveElement:()=>xt,_$LE:()=>Ml,_$LH:()=>Ll,adoptStyles:()=>kr,css:()=>$,defaultConverter:()=>Mr,getCompatibleStyle:()=>Xe,html:()=>q,isServer:()=>id,noChange:()=>Wt,notEqual:()=>So,nothing:()=>H,render:()=>No,supportsAdoptingStyleSheets:()=>Ye,svg:()=>Tl,unsafeCSS:()=>ne});var Sr=globalThis,wr=Sr.ShadowRoot&&(Sr.ShadyCSS===void 0||Sr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Li=Symbol(),Ti=new WeakMap,Or=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Li)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(wr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ti.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ti.set(o,t))}return t}toString(){return this.cssText}},Ii=e=>new Or(typeof e=="string"?e:e+"",void 0,Li);var mo=(e,t)=>{if(wr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Sr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Cr=wr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Ii(o)})(e):e;var{is:ul,defineProperty:hl,getOwnPropertyDescriptor:ml,getOwnPropertyNames:yl,getOwnPropertySymbols:gl,getPrototypeOf:bl}=Object,Er=globalThis,ki=Er.trustedTypes,xl=ki?ki.emptyScript:"",vl=Er.reactiveElementPolyfillSupport,je=(e,t)=>e,Ve={toAttribute(e,t){switch(t){case Boolean:e=e?xl: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}},Nr=(e,t)=>!ul(e,t),Mi={attribute:!0,type:String,converter:Ve,reflect:!1,hasChanged:Nr};Symbol.metadata??=Symbol("metadata"),Er.litPropertyMetadata??=new WeakMap;var Jt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Mi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&hl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=ml(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)??Mi}static _$Ei(){if(this.hasOwnProperty(je("elementProperties")))return;let t=bl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(je("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(je("properties"))){let o=this.properties,n=[...yl(o),...gl(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(Cr(i))}else t!==void 0&&o.push(Cr(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 mo(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:Ve).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:Ve;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??Nr)(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){}};Jt.elementStyles=[],Jt.shadowRootOptions={mode:"open"},Jt[je("elementProperties")]=new Map,Jt[je("finalized")]=new Map,vl?.({ReactiveElement:Jt}),(Er.reactiveElementVersions??=[]).push("2.0.2");var go=globalThis,Ar=go.trustedTypes,Di=Ar?Ar.createPolicy("lit-html",{createHTML:e=>e}):void 0,bo="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,xo="?"+At,Sl=`<${xo}>`,ee=document,Rr=()=>ee.createComment(""),Ge=e=>e===null||typeof e!="object"&&typeof e!="function",Fi=Array.isArray,ji=e=>Fi(e)||typeof e?.[Symbol.iterator]=="function",yo=`[
|
|
2
|
+
\f\r]`,Ke=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wi=/-->/g,zi=/>/g,Qt=RegExp(`>|${yo}(?:([^\\s"'>=/]+)(${yo}*=${yo}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ui=/'/g,Bi=/"/g,Vi=/^(?:script|style|textarea|title)$/i,Ki=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Gi=Ki(1),Zi=Ki(2),lt=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),Hi=new WeakMap,te=ee.createTreeWalker(ee,129);function qi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Di!==void 0?Di.createHTML(t):t}var Yi=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Ke;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===Ke?h[1]==="!--"?s=Wi:h[1]!==void 0?s=zi:h[2]!==void 0?(Vi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Qt):h[3]!==void 0&&(s=Qt):s===Qt?h[0]===">"?(s=i??Ke,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Qt:h[3]==='"'?Bi:Ui):s===Bi||s===Ui?s=Qt:s===Wi||s===zi?s=Ke:(s=Qt,i=void 0);let y=s===Qt&&e[l+1].startsWith("/>")?" ":"";a+=s===Ke?c+Sl:u>=0?(n.push(d),c.slice(0,u)+bo+c.slice(u)+At+y):c+At+(u===-2?l:y)}return[qi(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Ze=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]=Yi(t,o);if(this.el=e.createElement(d,n),te.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=te.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(bo)){let m=h[s++],y=i.getAttribute(u).split(At),g=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?Pr:g[1]==="?"?$r:g[1]==="@"?Tr:oe}),i.removeAttribute(u)}else u.startsWith(At)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(Vi.test(i.tagName)){let u=i.textContent.split(At),m=u.length-1;if(m>0){i.textContent=Ar?Ar.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],Rr()),te.nextNode(),c.push({type:2,index:++a});i.append(u[m],Rr())}}}else if(i.nodeType===8)if(i.data===xo)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(At,u+1))!==-1;)c.push({type:7,index:a}),u+=At.length-1}a++}}static createElement(t,o){let n=ee.createElement("template");return n.innerHTML=t,n}};function re(e,t,o=e,n){if(t===lt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Ge(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=re(e,i._$AS(e,t.values),i,n)),t}var _r=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ee).importNode(o,!0);te.currentNode=i;let a=te.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new qe(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new Lr(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=te.nextNode(),s++)}return te.currentNode=ee,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++}},qe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=re(this,t,o),Ge(t)?t===V||t==null||t===""?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==lt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ji(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==V&&Ge(this._$AH)?this._$AA.nextSibling.data=t:this.$(ee.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=Ze.createElement(qi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new _r(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Hi.get(t.strings);return o===void 0&&Hi.set(t.strings,o=new Ze(t)),o}T(t){Fi(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Rr()),this.k(Rr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},oe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=V,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=re(this,t,o,0),s=!Ge(t)||t!==this._$AH&&t!==lt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=re(this,l[n+c],o,c),d===lt&&(d=this._$AH[c]),s||=!Ge(d)||d!==this._$AH[c],d===V?t=V:t!==V&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Pr=class extends oe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===V?void 0:t}},$r=class extends oe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==V)}},Tr=class extends oe{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=re(this,t,o,0)??V)===lt)return;let n=this._$AH,i=t===V&&n!==V||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Lr=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){re(this,t)}},Xi={j:bo,P:At,A:xo,C:1,M:Yi,L:_r,R:ji,V:re,D:qe,I:oe,H:$r,N:Tr,U:Pr,B:Lr},Ol=go.litHtmlPolyfillSupport;Ol?.(Ze,qe),(go.litHtmlVersions??=[]).push("3.1.0");var Ir=globalThis,Ye=Ir.ShadowRoot&&(Ir.ShadyCSS===void 0||Ir.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vo=Symbol(),Ji=new WeakMap,xe=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==vo)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(Ye&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ji.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ji.set(o,t))}return t}toString(){return this.cssText}},ne=e=>new xe(typeof e=="string"?e:e+"",void 0,vo),$=(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 xe(o,e,vo)},kr=(e,t)=>{if(Ye)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Ir.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Xe=Ye?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return ne(o)})(e):e;var{is:wl,defineProperty:Cl,getOwnPropertyDescriptor:El,getOwnPropertyNames:Nl,getOwnPropertySymbols:Al,getPrototypeOf:Rl}=Object,Dr=globalThis,Qi=Dr.trustedTypes,_l=Qi?Qi.emptyScript:"",Pl=Dr.reactiveElementPolyfillSupport,Je=(e,t)=>e,Mr={toAttribute(e,t){switch(t){case Boolean:e=e?_l: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}},So=(e,t)=>!wl(e,t),ta={attribute:!0,type:String,converter:Mr,reflect:!1,hasChanged:So};Symbol.metadata??=Symbol("metadata"),Dr.litPropertyMetadata??=new WeakMap;var xt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=ta){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Cl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=El(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)??ta}static _$Ei(){if(this.hasOwnProperty(Je("elementProperties")))return;let t=Rl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Je("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Je("properties"))){let o=this.properties,n=[...Nl(o),...Al(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(Xe(i))}else t!==void 0&&o.push(Xe(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 kr(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:Mr).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:Mr;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??So)(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){}};xt.elementStyles=[],xt.shadowRootOptions={mode:"open"},xt[Je("elementProperties")]=new Map,xt[Je("finalized")]=new Map,Pl?.({ReactiveElement:xt}),(Dr.reactiveElementVersions??=[]).push("2.0.2");var wo=globalThis,Wr=wo.trustedTypes,ea=Wr?Wr.createPolicy("lit-html",{createHTML:e=>e}):void 0,Co="$lit$",Rt=`lit$${(Math.random()+"").slice(9)}$`,Eo="?"+Rt,$l=`<${Eo}>`,se=document,tr=()=>se.createComment(""),er=e=>e===null||typeof e!="object"&&typeof e!="function",sa=Array.isArray,la=e=>sa(e)||typeof e?.[Symbol.iterator]=="function",Oo=`[
|
|
4
|
+
\f\r]`,Qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ra=/-->/g,oa=/>/g,ie=RegExp(`>|${Oo}(?:([^\\s"'>=/]+)(${Oo}*=${Oo}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),na=/'/g,ia=/"/g,ca=/^(?:script|style|textarea|title)$/i,pa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),q=pa(1),Tl=pa(2),Wt=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),aa=new WeakMap,ae=se.createTreeWalker(se,129);function da(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ea!==void 0?ea.createHTML(t):t}var fa=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Qe;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===Qe?h[1]==="!--"?s=ra:h[1]!==void 0?s=oa:h[2]!==void 0?(ca.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ie):h[3]!==void 0&&(s=ie):s===ie?h[0]===">"?(s=i??Qe,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?ie:h[3]==='"'?ia:na):s===ia||s===na?s=ie:s===ra||s===oa?s=Qe:(s=ie,i=void 0);let y=s===ie&&e[l+1].startsWith("/>")?" ":"";a+=s===Qe?c+$l:u>=0?(n.push(d),c.slice(0,u)+Co+c.slice(u)+Rt+y):c+Rt+(u===-2?l:y)}return[da(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},rr=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]=fa(t,o);if(this.el=e.createElement(d,n),ae.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ae.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Co)){let m=h[s++],y=i.getAttribute(u).split(Rt),g=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?Ur:g[1]==="?"?Br:g[1]==="@"?Hr:ce}),i.removeAttribute(u)}else u.startsWith(Rt)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(ca.test(i.tagName)){let u=i.textContent.split(Rt),m=u.length-1;if(m>0){i.textContent=Wr?Wr.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],tr()),ae.nextNode(),c.push({type:2,index:++a});i.append(u[m],tr())}}}else if(i.nodeType===8)if(i.data===Eo)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Rt,u+1))!==-1;)c.push({type:7,index:a}),u+=Rt.length-1}a++}}static createElement(t,o){let n=se.createElement("template");return n.innerHTML=t,n}};function le(e,t,o=e,n){if(t===Wt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=er(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=le(e,i._$AS(e,t.values),i,n)),t}var zr=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??se).importNode(o,!0);ae.currentNode=i;let a=ae.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new ve(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new Fr(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=ae.nextNode(),s++)}return ae.currentNode=se,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++}},ve=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=H,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=le(this,t,o),er(t)?t===H||t==null||t===""?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==Wt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):la(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!==H&&er(this._$AH)?this._$AA.nextSibling.data=t:this.$(se.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=rr.createElement(da(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new zr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=aa.get(t.strings);return o===void 0&&aa.set(t.strings,o=new rr(t)),o}T(t){sa(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(tr()),this.k(tr()),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))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=H,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=H}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=le(this,t,o,0),s=!er(t)||t!==this._$AH&&t!==Wt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=le(this,l[n+c],o,c),d===Wt&&(d=this._$AH[c]),s||=!er(d)||d!==this._$AH[c],d===H?t=H:t!==H&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ur=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===H?void 0:t}},Br=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},Hr=class extends ce{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=le(this,t,o,0)??H)===Wt)return;let n=this._$AH,i=t===H&&n!==H||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==H&&(n===H||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)}},Fr=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){le(this,t)}},Ll={j:Co,P:Rt,A:Eo,C:1,M:fa,L:zr,R:la,V:le,D:ve,I:ce,H:Br,N:Hr,U:Ur,B:Fr},Il=wo.litHtmlPolyfillSupport;Il?.(rr,ve),(wo.litHtmlVersions??=[]).push("3.1.0");var No=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new ve(t.insertBefore(tr(),a),a,void 0,o??{})}return i._$AI(e),i};var _t=class extends xt{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=No(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Wt}};_t._$litElement$=!0,_t.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:_t});var kl=globalThis.litElementPolyfillSupport;kl?.({LitElement:_t});var Ml={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var id=!1;var _o={};z(_o,{customElement:()=>Dl,eventOptions:()=>Se,property:()=>N,query:()=>tt,queryAll:()=>Ul,queryAssignedElements:()=>Hl,queryAssignedNodes:()=>Ro,queryAsync:()=>Bl,standardProperty:()=>ua,state:()=>G});var Dl=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Wl={attribute:!0,type:String,converter:Ve,reflect:!1,hasChanged:Nr},ua=(e=Wl,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 N(e){return(t,o)=>typeof o=="object"?ua(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function G(e){return N({...e,state:!0,attribute:!1})}function Se(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var ht=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function tt(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 ht(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 ht(o,n,{get(){return a(this)}})}}var zl;function Ul(e){return(t,o)=>ht(t,o,{get(){return(this.renderRoot??(zl??=document.createDocumentFragment())).querySelectorAll(e)}})}function Bl(e){return(t,o)=>ht(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Hl(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ht(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 Ro(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ht(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Po={};z(Po,{repeat:()=>Vl});var zt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ut=e=>(...t)=>({_$litDirective$:e,values:t}),vt=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:Fl}=Xi;var ha=()=>document.createComment(""),Oe=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(ha(),i),s=n.insertBefore(ha(),i);o=new Fl(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},Bt=(e,t,o=e)=>(e._$AI(t,o),e),jl={},ma=(e,t=jl)=>e._$AH=t,ya=e=>e._$AH,jr=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var ga=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Vl=Ut(class extends vt{constructor(e){if(super(e),e.type!==zt.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=ya(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,h,u=0,m=i.length-1,y=0,g=a.length-1;for(;u<=m&&y<=g;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(l[u]===s[y])c[y]=Bt(i[u],a[y]),u++,y++;else if(l[m]===s[g])c[g]=Bt(i[m],a[g]),m--,g--;else if(l[u]===s[g])c[g]=Bt(i[u],a[g]),Oe(e,c[g+1],i[u]),u++,g--;else if(l[m]===s[y])c[y]=Bt(i[m],a[y]),Oe(e,i[u],i[m]),m--,y++;else if(d===void 0&&(d=ga(s,y,g),h=ga(l,u,m)),d.has(l[u]))if(d.has(l[m])){let v=h.get(s[y]),C=v!==void 0?i[v]:null;if(C===null){let E=Oe(e,i[u]);Bt(E,a[y]),c[y]=E}else c[y]=Bt(C,a[y]),Oe(e,i[u],C),i[v]=null;y++}else jr(i[m]),m--;else jr(i[u]),u++;for(;y<=g;){let v=Oe(e,c[g+1]);Bt(v,a[y]),c[y++]=v}for(;u<=m;){let v=i[u++];v!==null&&jr(v)}return this.dt=s,ma(e,c),lt}});var $o={};z($o,{classMap:()=>pe});var pe=Ut(class extends vt{constructor(e){if(super(e),e.type!==zt.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return lt}});var To={};z(To,{styleMap:()=>Gl});var ba="important",Kl=" !"+ba,Gl=Ut(class extends vt{constructor(e){if(super(e),e.type!==zt.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(Kl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?ba:""):o[n]=i}}return lt}});var Io={};z(Io,{UnsafeHTMLDirective:()=>we,unsafeHTML:()=>Lo});var we=class extends vt{constructor(t){if(super(t),this.et=V,t.type!==zt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===V||t==null)return this.vt=void 0,this.et=t;if(t===lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};we.directiveName="unsafeHTML",we.resultType=1;var Lo=Ut(we);var Wo={};z(Wo,{CacheRegistry:()=>Do});var Mo={};z(Mo,{CancelablePromise:()=>Ce,CanceledPromiseError:()=>or,cancelable:()=>ko});var or=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Ce=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new or("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new or("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ko=e=>new Ce((t,o)=>e.then(t).catch(o));var Do=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 Ce&&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=ko(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Uo={};z(Uo,{ClusteringHelper:()=>zo});var zo=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,o){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata;return o==null?e.flattenMetadata(a):e.flattenMetadata(a.find(s=>s.key===o))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let o=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!o))if(o){let n=[],i=[];return t.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,o,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),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 Bo={};z(Bo,{Debouncer:()=>nt});var nt=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 jo={};z(jo,{customElement:()=>X,isNumber:()=>wa,jsonProperty:()=>Fo,optionalNumberProperty:()=>tc});var Ho={};z(Ho,{dateReviver:()=>ql,deepEqual:()=>nr,delay:()=>xa,eventPathContainsMatchingElement:()=>Xl,flatDeep:()=>Sa,hasChanged:()=>ir,last:()=>Ql,minmax:()=>Jl,parseDate:()=>Oa,waitFor:()=>va,waitUntil:()=>Zl});var xa=e=>new Promise(t=>setTimeout(t,e));async function Zl(e,t=10,o=2e4){await va(async()=>await e()||void 0,t,o)}async function va(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await xa(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Sa(e,t){return e.flatMap(o=>[o,...Sa(t(o),t)])}function ql(...e){return function(t,o){return e.includes(t)?Oa(o):o}}function Oa(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function Yl(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(!nr(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(!nr(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(!nr(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function nr(e,t){try{return Yl(e,t)}catch{return!1}}function ir(e,t){return!nr(e,t)}function Xl(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 Jl(e,t,o){return Math.min(Math.max(e,t),o)}function Ql(e){return e[e.length-1]}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Fo(e,t){let o=()=>JSON.parse(JSON.stringify(e));return N({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:ir,...t??{}})}function tc(e){return N({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 vn={};z(vn,{designSystemVariables:()=>D});var xn={};z(xn,{DesignSystemFamily:()=>de,DesignSystemSize:()=>$t,FtCssVariableFactory:()=>r,badge:()=>ic,banner:()=>nc,breadcrumb:()=>ac,button:()=>O,chart:()=>xc,checkbox:()=>Sc,chip:()=>rc,collapsible:()=>gc,comboboxMultiSelect:()=>mc,comboboxSingleSelect:()=>hc,drawer:()=>cc,floatingMenu:()=>uc,foundation:()=>p,link:()=>oc,modal:()=>lc,notice:()=>vc,notification:()=>Cc,pageHeader:()=>sc,popover:()=>yc,radio:()=>wc,resolveFamilyClass:()=>gn,resolveSizeClass:()=>bn,semantic:()=>f,setVariable:()=>P,switch_:()=>bc,tabs:()=>pc,textArea:()=>fc,textInput:()=>dc,toggle:()=>Oc,tooltip:()=>Ec,typographies:()=>ar,typographyBody1Medium:()=>Yo,typographyBody1Regular:()=>qo,typographyBody1Semibold:()=>Xo,typographyBody2Medium:()=>Qo,typographyBody2MediumUnderline:()=>Ca,typographyBody2Regular:()=>Jo,typographyBody2Semibold:()=>tn,typographyCaption1Bold:()=>pn,typographyCaption1Medium:()=>ln,typographyCaption1Semibold:()=>cn,typographyCaption2Bold:()=>un,typographyCaption2Medium:()=>dn,typographyCaption2Semibold:()=>fn,typographyCaption3Bold:()=>yn,typographyCaption3Medium:()=>hn,typographyCaption3Semibold:()=>mn,typographyDisplay:()=>Vo,typographyLabel1Bold:()=>on,typographyLabel1Medium:()=>en,typographyLabel1Semibold:()=>rn,typographyLabel2Bold:()=>sn,typographyLabel2Medium:()=>nn,typographyLabel2Semibold:()=>an,typographyTitle1:()=>Ko,typographyTitle2:()=>Go,typographyTitle3:()=>Zo,typographyVariants:()=>ec});var Pt=e=>typeof e=="string"?ne(e):e,r=class{static create(t,o,n,i){let a=l=>Pt(l??i),s=$`var(${Pt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>$`var(${Pt(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=$`var(${Pt(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(${Pt(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):Pt(a??t.lastResortDefaultValue()),i=$`var(${Pt(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(${Pt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function P(e,t){return Pt(`${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)")},Vo={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")},Ko={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")},Go={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")},Zo={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")},qo={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")},Yo={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")},Xo={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")},Jo={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")},Qo={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ca={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},tn={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")},en={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")},rn={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")},on={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")},nn={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")},an={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")},sn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ln={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},cn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},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")},dn={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")},fn={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")},un={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")},hn={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")},mn={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},yn={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},ar={display:Vo,"title-1":Ko,"title-2":Go,"title-3":Zo,"body-1-regular":qo,"body-1-medium":Yo,"body-1-semibold":Xo,"body-2-regular":Jo,"body-2-medium":Qo,"body-2-medium-underline":Ca,"body-2-semibold":tn,"label-1-medium":en,"label-1-semibold":rn,"label-1-bold":on,"label-2-medium":nn,"label-2-semibold":an,"label-2-bold":sn,"caption-1-medium":ln,"caption-1-semibold":cn,"caption-1-bold":pn,"caption-2-medium":dn,"caption-2-semibold":fn,"caption-2-bold":un,"caption-3-medium":hn,"caption-3-semibold":mn,"caption-3-bold":yn},ec=["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 O={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 rc={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.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","",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.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","",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.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","",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 oc={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 nc={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 ic={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 ac={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 sc={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",p.spacing6),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 lc={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 pc={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),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),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),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),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity24),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-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 dc={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 fc={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 uc={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),shadow:r.extend("--ft-floating-menu-shadow","",p.shadowElevation02)};var hc={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 mc={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 yc={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 gc={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 bc={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 xc={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 vc={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 Sc={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 Oc={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 Cc={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 Ec={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.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",p.spacing05)};var de;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(de||(de={}));var $t;(function(e){e.large="large",e.medium="medium",e.small="small"})($t||($t={}));function gn(e){return`ftds--family-${e}`}function bn(e){return`ftds--size-${e}`}var D={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Cn={};z(Cn,{FtNotificationEvent:()=>Sn,PostResizeEvent:()=>wn,PreResizeEvent:()=>On});var Sn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},On=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},wn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Mn={};z(Mn,{computeOffsetPosition:()=>kn});var Na=["top","right","bottom","left"],Ea=["start","end"],Nn=Na.reduce((e,t)=>e.concat(t,t+"-"+Ea[0],t+"-"+Ea[1]),[]),sr=Math.min,Ht=Math.max,lr=Math.round;var Tt=e=>({x:e,y:e}),Nc={left:"right",right:"left",bottom:"top",top:"bottom"},Ac={start:"end",end:"start"};function An(e,t,o){return Ht(e,sr(t,o))}function Vr(e,t){return typeof e=="function"?e(t):e}function Ee(e){return e.split("-")[0]}function Ft(e){return e.split("-")[1]}function Rn(e){return e==="x"?"y":"x"}function _n(e){return e==="y"?"height":"width"}function Kr(e){return["top","bottom"].includes(Ee(e))?"y":"x"}function Pn(e){return Rn(Kr(e))}function Aa(e,t,o){o===void 0&&(o=!1);let n=Ft(e),i=Pn(e),a=_n(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=En(s)),[s,En(s)]}function Ra(e){return e.replace(/start|end/g,t=>Ac[t])}function En(e){return e.replace(/left|right|bottom|top/g,t=>Nc[t])}function Rc(e){return{top:0,right:0,bottom:0,left:0,...e}}function _a(e){return typeof e!="number"?Rc(e):{top:e,right:e,bottom:e,left:e}}function fe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Pa(e,t,o){let{reference:n,floating:i}=e,a=Kr(t),s=Pn(t),l=_n(s),c=Ee(t),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,y;switch(c){case"top":y={x:h,y:n.y-i.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:u};break;case"left":y={x:n.x-i.width,y:u};break;default:y={x:n.x,y:n.y}}switch(Ft(t)){case"start":y[s]-=m*(o&&d?-1:1);break;case"end":y[s]+=m*(o&&d?-1:1);break}return y}var $a=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}=Pa(d,n,c),m=n,y={},g=0;for(let v=0;v<l.length;v++){let{name:C,fn:E}=l[v],{x:A,y:x,data:b,reset:S}=await E({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:y,rects:d,platform:s,elements:{reference:e,floating:t}});if(h=A??h,u=x??u,y={...y,[C]:{...y[C],...b}},S&&g<=50){g++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(d=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:h,y:u}=Pa(d,m,c)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:y}};async function $n(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:y=0}=Vr(t,e),g=_a(y),C=l[m?u==="floating"?"reference":"floating":u],E=fe(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(C)))==null||o?C:C.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:c})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=fe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:x,strategy:c}):A);return{top:(E.top-S.top+g.top)/b.y,bottom:(S.bottom-E.bottom+g.bottom)/b.y,left:(E.left-S.left+g.left)/b.x,right:(S.right-E.right+g.right)/b.x}}function _c(e,t,o){return(e?[...o.filter(i=>Ft(i)===e),...o.filter(i=>Ft(i)!==e)]:o.filter(i=>Ee(i)===i)).filter(i=>e?Ft(i)===e||(t?Ra(i)!==i:!1):!0)}var Tn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=Nn,autoAlignment:y=!0,...g}=Vr(e,t),v=u!==void 0||m===Nn?_c(u||null,y,m):m,C=await $n(t,g),E=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[E];if(A==null)return{};let x=Aa(A,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==A)return{reset:{placement:v[0]}};let b=[C[Ee(A)],C[x[0]],C[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:b}],T=v[E+1];if(T)return{data:{index:E+1,overflows:S},reset:{placement:T}};let M=S.map(_=>{let L=Ft(_.placement);return[_.placement,L&&h?_.overflows.slice(0,2).reduce((I,Y)=>I+Y,0):_.overflows[0],_.overflows]}).sort((_,L)=>_[1]-L[1]),W=((i=M.filter(_=>_[2].slice(0,Ft(_[0])?2:3).every(L=>L<=0))[0])==null?void 0:i[0])||M[0][0];return W!==l?{data:{index:E+1,overflows:S},reset:{placement:W}}:{}}}};var Ln=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:C=>{let{x:E,y:A}=C;return{x:E,y:A}}},...c}=Vr(e,t),d={x:o,y:n},h=await $n(t,c),u=Kr(Ee(i)),m=Rn(u),y=d[m],g=d[u];if(a){let C=m==="y"?"top":"left",E=m==="y"?"bottom":"right",A=y+h[C],x=y-h[E];y=An(A,y,x)}if(s){let C=u==="y"?"top":"left",E=u==="y"?"bottom":"right",A=g+h[C],x=g-h[E];g=An(A,g,x)}let v=l.fn({...t,[m]:y,[u]:g});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function Lt(e){return La(e)?(e.nodeName||"").toLowerCase():"#document"}function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function It(e){var t;return(t=(La(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function La(e){return e instanceof Node||e instanceof it(e).Node}function St(e){return e instanceof Element||e instanceof it(e).Element}function mt(e){return e instanceof HTMLElement||e instanceof it(e).HTMLElement}function Ta(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof it(e).ShadowRoot}function Ne(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=ct(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Ia(e){return["table","td","th"].includes(Lt(e))}function Zr(e){let t=qr(),o=ct(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ka(e){let t=ue(e);for(;mt(t)&&!cr(t);){if(Zr(t))return t;t=ue(t)}return null}function qr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function cr(e){return["html","body","#document"].includes(Lt(e))}function ct(e){return it(e).getComputedStyle(e)}function pr(e){return St(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ue(e){if(Lt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ta(e)&&e.host||It(e);return Ta(t)?t.host:t}function Ma(e){let t=ue(e);return cr(t)?e.ownerDocument?e.ownerDocument.body:e.body:mt(t)&&Ne(t)?t:Ma(t)}function Gr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Ma(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=it(i);return a?t.concat(s,s.visualViewport||[],Ne(i)?i:[],s.frameElement&&o?Gr(s.frameElement):[]):t.concat(i,Gr(i,[],o))}function za(e){let t=ct(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=mt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=lr(o)!==a||lr(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function Ua(e){return St(e)?e:e.contextElement}function Ae(e){let t=Ua(e);if(!mt(t))return Tt(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=za(t),s=(a?lr(o.width):o.width)/n,l=(a?lr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Pc=Tt(0);function Ba(e){let t=it(e);return!qr()||!t.visualViewport?Pc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $c(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==it(e)?!1:t}function dr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Ua(e),s=Tt(1);t&&(n?St(n)&&(s=Ae(n)):s=Ae(e));let l=$c(a,o,n)?Ba(a):Tt(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=it(a),y=n&&St(n)?it(n):n,g=m.frameElement;for(;g&&n&&y!==m;){let v=Ae(g),C=g.getBoundingClientRect(),E=ct(g),A=C.left+(g.clientLeft+parseFloat(E.paddingLeft))*v.x,x=C.top+(g.clientTop+parseFloat(E.paddingTop))*v.y;c*=v.x,d*=v.y,h*=v.x,u*=v.y,c+=A,d+=x,g=it(g).frameElement}}return fe({width:h,height:u,x:c,y:d})}function Tc(e){let{rect:t,offsetParent:o,strategy:n}=e,i=mt(o),a=It(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Tt(1),c=Tt(0);if((i||!i&&n!=="fixed")&&((Lt(o)!=="body"||Ne(a))&&(s=pr(o)),mt(o))){let d=dr(o);l=Ae(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 Lc(e){return Array.from(e.getClientRects())}function Ha(e){return dr(It(e)).left+pr(e).scrollLeft}function Ic(e){let t=It(e),o=pr(e),n=e.ownerDocument.body,i=Ht(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Ht(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ha(e),l=-o.scrollTop;return ct(n).direction==="rtl"&&(s+=Ht(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function kc(e,t){let o=it(e),n=It(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=qr();(!d||d&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function Mc(e,t){let o=dr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=mt(e)?Ae(e):Tt(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 Da(e,t,o){let n;if(t==="viewport")n=kc(e,o);else if(t==="document")n=Ic(It(e));else if(St(t))n=Mc(t,o);else{let i=Ba(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return fe(n)}function Fa(e,t){let o=ue(e);return o===t||!St(o)||cr(o)?!1:ct(o).position==="fixed"||Fa(o,t)}function Dc(e,t){let o=t.get(e);if(o)return o;let n=Gr(e,[],!1).filter(l=>St(l)&&Lt(l)!=="body"),i=null,a=ct(e).position==="fixed",s=a?ue(e):e;for(;St(s)&&!cr(s);){let l=ct(s),c=Zr(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ne(s)&&!c&&Fa(e,s))?n=n.filter(h=>h!==s):i=l,s=ue(s)}return t.set(e,n),n}function Wc(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Dc(t,this._c):[].concat(o),n],l=s[0],c=s.reduce((d,h)=>{let u=Da(t,h,i);return d.top=Ht(u.top,d.top),d.right=sr(u.right,d.right),d.bottom=sr(u.bottom,d.bottom),d.left=Ht(u.left,d.left),d},Da(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function zc(e){return za(e)}function Uc(e,t,o){let n=mt(t),i=It(t),a=o==="fixed",s=dr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},c=Tt(0);if(n||!n&&!a)if((Lt(t)!=="body"||Ne(i))&&(l=pr(t)),n){let d=dr(t,!0,a,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else i&&(c.x=Ha(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Wa(e,t){return!mt(e)||ct(e).position==="fixed"?null:t?t(e):e.offsetParent}function ja(e,t){let o=it(e);if(!mt(e))return o;let n=Wa(e,t);for(;n&&Ia(n)&&ct(n).position==="static";)n=Wa(n,t);return n&&(Lt(n)==="html"||Lt(n)==="body"&&ct(n).position==="static"&&!Zr(n))?o:n||ka(e)||o}var Bc=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||ja,a=this.getDimensions;return{reference:Uc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Hc(e){return ct(e).direction==="rtl"}var Yr={convertOffsetParentRelativeRectToViewportRelativeRect:Tc,getDocumentElement:It,getClippingRect:Wc,getOffsetParent:ja,getElementRects:Bc,getClientRects:Lc,getDimensions:zc,getScale:Ae,isElement:St,isRTL:Hc};var Va=(e,t,o)=>{let n=new Map,i={platform:Yr,...o},a={...i.platform,_c:n};return $a(e,t,{...i,platform:a})};function Ka(e){return Fc(e)}function In(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Fc(e){for(let t=e;t;t=In(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=In(e);t;t=In(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 kn(e,t,o){return Va(e,t,{platform:{...Yr,getOffsetParent:n=>Yr.getOffsetParent(n,Ka)},middleware:[Ln({crossAxis:!0}),Tn({allowedPlacements:[o]})]})}var Un={};z(Un,{FtdsBase:()=>zn,toFtdsBase:()=>Qr});var Wn={};z(Wn,{FtLitElement:()=>U});var Dn={};z(Dn,{ScopedRegistryLitElement:()=>fr});var Xr=window,jc=Xr.ShadowRoot&&(Xr.ShadyCSS===void 0||Xr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fm=Symbol();var Ga=(e,t)=>{jc?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 fr=class extends _t{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ga(n,t.elementStyles),n}};var Jr=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},Ya,Za=Symbol("constructorPrototype"),qa=Symbol("constructorName"),Xa=Symbol("exportpartsDebouncer"),U=class extends fr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ya]=new nt(5),this[qa]=this.constructor.name,this[Za]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[qa]&&Object.setPrototypeOf(this,this[Za])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Xa].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,l;let c=m=>m!=null&&m.trim().length>0,d=t.filter(c).map(m=>m.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],g=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...y,...g).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(y=>`${m}:${y}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Ya=Xa;Jr([N()],U.prototype,"exportpartsPrefix",void 0);Jr([Fo([])],U.prototype,"exportpartsPrefixes",void 0);Jr([N()],U.prototype,"customStylesheet",void 0);Jr([G()],U.prototype,"useAdoptedStyleSheets",void 0);var Ja=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};function Qr(e){class t extends e{constructor(){super(...arguments),this.size=$t.medium,this.family=de.neutral}getDesignSystemBaseClasses(){return{[gn(this.family)]:!0,[bn(this.size)]:!0}}}return Ja([N()],t.prototype,"size",void 0),Ja([N()],t.prototype,"family",void 0),t}var zn=class extends Qr(U){};var Qa={};var Fn={};z(Fn,{highlightHtml:()=>Gc,highlightHtmlColorCssVariable:()=>ts,highlightHtmlStyles:()=>Kc});var he=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{e.matches(d,this.exclude)?c():this.onIframeReady(d,h=>{o(d)&&(l++,n(h)),c()},c)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),l=[],c=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(d,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,y=>c.push(y),i)}),c.push(d);c.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var ur=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new he(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],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 he.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let c=t.nodes[l+1];if(typeof c>"u"||c.start>o){if(!i(s.node))return!1;let d=o-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),t.value=u+m,t.nodes.forEach((y,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=t.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;c=this.wrapRangeInTextNode(c,h,h+d[s].length),i(c.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let c;for(;(c=t.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let u=1;u<s;u++)d+=c[u].length;let h=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,h,u=>n(c[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,c)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>o(m,l,a.value.substring(d,h),c),m=>{n(m,l)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",c=d=>{let h=new RegExp(this.createRegExp(d),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,y)=>this.opt.filter(y,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=he.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Bn(e){let t=new ur(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 Vc=Bn,ts=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Kc=$`
|
|
7
7
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
8
|
+
background: ${ts};
|
|
9
9
|
}
|
|
10
|
-
`,
|
|
10
|
+
`,Hn={className:"highlight-html-match"};function Gc(e,t){var o;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new Vc(e);i.unmark(Hn),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...Hn,separateWordSearch:!0}),((o=t.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Hn,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var jn={};z(jn,{noTextSelect:()=>hr,safariEllipsisFix:()=>mr,wordWrap:()=>Zc});var hr=$`
|
|
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.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
16
16
|
-ms-user-select: none;
|
|
17
17
|
user-select: none;
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`,Zc=$`
|
|
20
20
|
.ft-word-wrap {
|
|
21
21
|
white-space: normal;
|
|
22
22
|
word-wrap: break-word;
|
|
@@ -28,7 +28,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
28
28
|
-webkit-hyphens: auto;
|
|
29
29
|
hyphens: auto
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,mr=$`
|
|
32
32
|
.ft-safari-ellipsis-fix {
|
|
33
33
|
margin-right: 0;
|
|
34
34
|
|
|
@@ -39,7 +39,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
39
39
|
display: inline-block;
|
|
40
40
|
width: 0;
|
|
41
41
|
}
|
|
42
|
-
`;var Qi={};var Kn={};H(Kn,{ParametrizedLabelResolver:()=>Gn});var Gn=class{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,i;t=this.resolvePluralKey(t,r);let c=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return r.forEach((l,s)=>c=c.replace(new RegExp(`\\{${s}([^}]*)\\}`,"g"),(d,u)=>this.formatValue(l,u))),c}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,r){return t instanceof Date?this.formatDate(t,r):t??""}formatDate(t,r){let n=i=>r?.includes("date")?t.toLocaleDateString(i):r?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ba={};H(ba,{FtCommandQueue:()=>xo,FtLitElementRedux:()=>Pe,FtReduxStore:()=>ya,clearAllStores:()=>zd,isFtReduxStore:()=>me,redux:()=>Qs,reduxEventListener:()=>td,reduxReactive:()=>Js});var Js=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},Qs=e=>{let t=e??{};return(r,n)=>{var i;let c={hasChanged:co,attribute:!1,...t};I(c)(r,n);let l=r.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:s=>s[n],store:t.store})}},td=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var xo=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function me(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var tc,ec,oc,rr=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),ye=Symbol("internalStores"),Pe=class extends G{constructor(){super(...arguments),this[tc]=new Map,this[ec]=new Map,this[oc]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ye].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[ye].get(t)}addStore(t,r){var n;r=(n=r??(me(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,t)}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[ye].delete(r)}setupStore(t,r){this[ye].set(t,r),this.subscribeToStore(t,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ye].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(t.store);i&&(t.store?this[Zt].has(t.store):this[Zt].size>0)&&(this[r]=t.selector(i.getState(),this))}})}subscribeToStore(t,r){var n;this[Zt].set(t,r.subscribe(()=>this.updateFromStores())),me(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,c)=>{if(typeof this[c]=="function"&&(!i.store||r.name===i.store)){let l=s=>this[c](s);r.eventBus.addEventListener(i.eventName,l),this[rr].push(()=>r.eventBus.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zt].forEach((t,r)=>this.unsubscribeFromStore(r)),this[rr].forEach(t=>t()),this[rr]=[]}unsubscribeFromStore(t){this[Zt].has(t)&&this[Zt].get(t)(),this[Zt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};tc=Zt,ec=ye,oc=rr;Pe.reduxProperties=new Map;Pe.reduxReactiveProperties=new Set;Pe.reduxEventListeners=new Map;function gt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var i,c;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ut(e){return!!e&&!!e[F]}function xt(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===ld}(e)||Array.isArray(e)||!!e[sc]||!!(!((t=e.constructor)===null||t===void 0)&&t[sc])||ta(e)||ea(e))}function be(e,t,r){r===void 0&&(r=!1),_e(e)===0?(r?Object.keys:We)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function _e(e){var t=e[F];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ta(e)?2:ea(e)?3:0}function Le(e,t){return _e(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ed(e,t){return _e(e)===2?e.get(t):e[t]}function dc(e,t,r){var n=_e(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function pc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ta(e){return id&&e instanceof Map}function ea(e){return cd&&e instanceof Set}function Vt(e){return e.o||e.t}function oa(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=hc(e);delete t[F];for(var r=We(t),n=0;n<r.length;n++){var i=r[n],c=t[i];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(t[i]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function ra(e,t){return t===void 0&&(t=!1),na(e)||Ut(e)||!xt(e)||(_e(e)>1&&(e.set=e.add=e.clear=e.delete=od),Object.freeze(e),t&&be(e,function(r,n){return ra(n,!0)},!0)),e}function od(){gt(2)}function na(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Et(e){var t=Qn[e];return t||gt(18,e),t}function rd(e,t){Qn[e]||(Qn[e]=t)}function qn(){return So}function Zn(e,t){t&&(Et("Patches"),e.u=[],e.s=[],e.v=t)}function nr(e){Xn(e),e.p.forEach(nd),e.p=null}function Xn(e){e===So&&(So=e.l)}function rc(e){return So={p:[],l:So,h:e,m:!0,_:0}}function nd(e){var t=e[F];t.i===0||t.i===1?t.j():t.g=!0}function Vn(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Et("ES5").S(t,e,n),n?(r[F].P&&(nr(t),gt(4)),xt(e)&&(e=ar(t,e),t.l||ir(t,e)),t.u&&Et("Patches").M(r[F].t,e,t.u,t.s)):e=ar(t,r,[]),nr(t),t.u&&t.v(t.u,t.s),e!==uc?e:void 0}function ar(e,t,r){if(na(t))return t;var n=t[F];if(!n)return be(t,function(s,d){return nc(e,n,t,s,d,r)},!0),t;if(n.A!==e)return t;if(!n.P)return ir(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=oa(n.k):n.o,c=i,l=!1;n.i===3&&(c=new Set(i),i.clear(),l=!0),be(c,function(s,d){return nc(e,n,i,s,d,r,l)}),ir(e,i,!1),r&&e.u&&Et("Patches").N(n,r,e.u,e.s)}return n.o}function nc(e,t,r,n,i,c,l){if(Ut(i)){var s=ar(e,i,c&&t&&t.i!==3&&!Le(t.R,n)?c.concat(n):void 0);if(dc(r,n,s),!Ut(s))return;e.m=!1}else l&&r.add(i);if(xt(i)&&!na(i)){if(!e.h.D&&e._<1)return;ar(e,i),t&&t.A.l||ir(e,i)}}function ir(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&ra(t,r)}function jn(e,t){var r=e[F];return(r?Vt(r):e)[t]}function ac(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function jt(e){e.P||(e.P=!0,e.l&&jt(e.l))}function Yn(e){e.o||(e.o=oa(e.t))}function Jn(e,t,r){var n=ta(t)?Et("MapSet").F(t,r):ea(t)?Et("MapSet").T(t,r):e.O?function(i,c){var l=Array.isArray(i),s={i:l?1:0,A:c?c.A:qn(),P:!1,I:!1,R:{},l:c,t:i,k:null,o:null,j:null,C:!1},d=s,u=Oo;l&&(d=[s],u=vo);var y=Proxy.revocable(d,u),m=y.revoke,b=y.proxy;return s.k=b,s.j=m,b}(t,r):Et("ES5").J(t,r);return(r?r.A:qn()).p.push(n),n}function ad(e){return Ut(e)||gt(22,e),function t(r){if(!xt(r))return r;var n,i=r[F],c=_e(r);if(i){if(!i.P&&(i.i<4||!Et("ES5").K(i)))return i.t;i.I=!0,n=ic(r,c),i.I=!1}else n=ic(r,c);return be(n,function(l,s){i&&ed(i.t,l)===s||dc(n,l,t(s))}),c===3?new Set(n):n}(e)}function ic(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return oa(e)}function fc(){function e(l,s){var d=c[l];return d?d.enumerable=s:c[l]=d={configurable:!0,enumerable:s,get:function(){var u=this[F];return Oo.get(u,l)},set:function(u){var y=this[F];Oo.set(y,l,u)}},d}function t(l){for(var s=l.length-1;s>=0;s--){var d=l[s][F];if(!d.P)switch(d.i){case 5:n(d)&&jt(d);break;case 4:r(d)&&jt(d)}}}function r(l){for(var s=l.t,d=l.k,u=We(d),y=u.length-1;y>=0;y--){var m=u[y];if(m!==F){var b=s[m];if(b===void 0&&!Le(s,m))return!0;var x=d[m],v=x&&x[F];if(v?v.t!==b:!pc(x,b))return!0}}var C=!!s[F];return u.length!==We(s).length+(C?0:1)}function n(l){var s=l.k;if(s.length!==l.t.length)return!0;var d=Object.getOwnPropertyDescriptor(s,s.length-1);if(d&&!d.get)return!0;for(var u=0;u<s.length;u++)if(!s.hasOwnProperty(u))return!0;return!1}function i(l){l.g&>(3,JSON.stringify(Vt(l)))}var c={};rd("ES5",{J:function(l,s){var d=Array.isArray(l),u=function(m,b){if(m){for(var x=Array(b.length),v=0;v<b.length;v++)Object.defineProperty(x,""+v,e(v,!0));return x}var C=hc(b);delete C[F];for(var R=We(C),A=0;A<R.length;A++){var P=R[A];C[P]=e(P,m||!!C[P].enumerable)}return Object.create(Object.getPrototypeOf(b),C)}(d,l),y={i:d?5:4,A:s?s.A:qn(),P:!1,I:!1,R:{},l:s,t:l,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,F,{value:y,writable:!0}),u},S:function(l,s,d){d?Ut(s)&&s[F].A===l&&t(l.p):(l.u&&function u(y){if(y&&typeof y=="object"){var m=y[F];if(m){var b=m.t,x=m.k,v=m.R,C=m.i;if(C===4)be(x,function(S){S!==F&&(b[S]!==void 0||Le(b,S)?v[S]||u(x[S]):(v[S]=!0,jt(m)))}),be(b,function(S){x[S]!==void 0||Le(x,S)||(v[S]=!1,jt(m))});else if(C===5){if(n(m)&&(jt(m),v.length=!0),x.length<b.length)for(var R=x.length;R<b.length;R++)v[R]=!1;else for(var A=b.length;A<x.length;A++)v[A]=!0;for(var P=Math.min(x.length,b.length),O=0;O<P;O++)x.hasOwnProperty(O)||(v[O]=!0),v[O]===void 0&&u(x[O])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var cc,So,aa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",id=typeof Map<"u",cd=typeof Set<"u",lc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",uc=aa?Symbol.for("immer-nothing"):((cc={})["immer-nothing"]=!0,cc),sc=aa?Symbol.for("immer-draftable"):"__$immer_draftable",F=aa?Symbol.for("immer-state"):"__$immer_state";var ld=""+Object.prototype.constructor,We=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,hc=Object.getOwnPropertyDescriptors||function(e){var t={};return We(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Qn={},Oo={get:function(e,t){if(t===F)return e;var r=Vt(e);if(!Le(r,t))return function(i,c,l){var s,d=ac(c,l);return d?"value"in d?d.value:(s=d.get)===null||s===void 0?void 0:s.call(i.k):void 0}(e,r,t);var n=r[t];return e.I||!xt(n)?n:n===jn(e.t,t)?(Yn(e),e.o[t]=Jn(e.A.h,n,e)):n},has:function(e,t){return t in Vt(e)},ownKeys:function(e){return Reflect.ownKeys(Vt(e))},set:function(e,t,r){var n=ac(Vt(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var i=jn(Vt(e),t),c=i?.[F];if(c&&c.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(pc(r,i)&&(r!==void 0||Le(e.t,t)))return!0;Yn(e),jt(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return jn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Yn(e),jt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Vt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){gt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){gt(12)}},vo={};be(Oo,function(e,t){vo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),vo.deleteProperty=function(e,t){return vo.set.call(this,e,t,void 0)},vo.set=function(e,t,r){return Oo.set.call(this,e[0],t,r,e[0])};var sd=function(){function e(r){var n=this;this.O=lc,this.D=!0,this.produce=function(i,c,l){if(typeof i=="function"&&typeof c!="function"){var s=c;c=i;var d=n;return function(C){var R=this;C===void 0&&(C=s);for(var A=arguments.length,P=Array(A>1?A-1:0),O=1;O<A;O++)P[O-1]=arguments[O];return d.produce(C,function(S){var w;return(w=c).call.apply(w,[R,S].concat(P))})}}var u;if(typeof c!="function"&>(6),l!==void 0&&typeof l!="function"&>(7),xt(i)){var y=rc(n),m=Jn(n,i,void 0),b=!0;try{u=c(m),b=!1}finally{b?nr(y):Xn(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return Zn(y,l),Vn(C,y)},function(C){throw nr(y),C}):(Zn(y,l),Vn(u,y))}if(!i||typeof i!="object"){if((u=c(i))===void 0&&(u=i),u===uc&&(u=void 0),n.D&&ra(u,!0),l){var x=[],v=[];Et("Patches").M(i,u,x,v),l(x,v)}return u}gt(21,i)},this.produceWithPatches=function(i,c){if(typeof i=="function")return function(u){for(var y=arguments.length,m=Array(y>1?y-1:0),b=1;b<y;b++)m[b-1]=arguments[b];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(m))})};var l,s,d=n.produce(i,c,function(u,y){l=u,s=y});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,l,s]}):[d,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){xt(r)||gt(8),Ut(r)&&(r=ad(r));var n=rc(this),i=Jn(this,r,void 0);return i[F].C=!0,Xn(n),i},t.finishDraft=function(r,n){var i=r&&r[F],c=i.A;return Zn(c,n),Vn(void 0,c)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!lc&>(20),this.O=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var c=n[i];if(c.path.length===0&&c.op==="replace"){r=c.value;break}}i>-1&&(n=n.slice(i+1));var l=Et("Patches").$;return Ut(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},e}(),ut=new sd,dd=ut.produce,Dg=ut.produceWithPatches.bind(ut),Mg=ut.setAutoFreeze.bind(ut),Hg=ut.setUseProxies.bind(ut),Fg=ut.applyPatches.bind(ut),Gg=ut.createDraft.bind(ut),Kg=ut.finishDraft.bind(ut),cr=dd;function Yt(e){"@babel/helpers - typeof";return Yt=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},Yt(e)}function ia(e,t){if(Yt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Yt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ca(e){var t=ia(e,"string");return Yt(t)==="symbol"?t:String(t)}function la(e,t,r){return t=ca(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function lr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gc(Object(r),!0).forEach(function(n){la(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function et(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 mc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),sa=function(){return Math.random().toString(36).substring(7).split("").join(".")},sr={INIT:"@@redux/INIT"+sa(),REPLACE:"@@redux/REPLACE"+sa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sa()}};function pd(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 da(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(et(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(et(1));return r(da)(e,t)}if(typeof e!="function")throw new Error(et(2));var i=e,c=t,l=[],s=l,d=!1;function u(){s===l&&(s=l.slice())}function y(){if(d)throw new Error(et(3));return c}function m(C){if(typeof C!="function")throw new Error(et(4));if(d)throw new Error(et(5));var R=!0;return u(),s.push(C),function(){if(R){if(d)throw new Error(et(6));R=!1,u();var P=s.indexOf(C);s.splice(P,1),l=null}}}function b(C){if(!pd(C))throw new Error(et(7));if(typeof C.type>"u")throw new Error(et(8));if(d)throw new Error(et(9));try{d=!0,c=i(c,C)}finally{d=!1}for(var R=l=s,A=0;A<R.length;A++){var P=R[A];P()}return C}function x(C){if(typeof C!="function")throw new Error(et(10));i=C,b({type:sr.REPLACE})}function v(){var C,R=m;return C={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(et(11));function O(){P.next&&P.next(y())}O();var S=R(O);return{unsubscribe:S}}},C[mc]=function(){return this},C}return b({type:sr.INIT}),n={dispatch:b,subscribe:m,getState:y,replaceReducer:x},n[mc]=v,n}function fd(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:sr.INIT});if(typeof n>"u")throw new Error(et(12));if(typeof r(void 0,{type:sr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(et(13))})}function yc(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var c=Object.keys(r),l,s;try{fd(r)}catch(d){s=d}return function(u,y){if(u===void 0&&(u={}),s)throw s;if(0)var m;for(var b=!1,x={},v=0;v<c.length;v++){var C=c[v],R=r[C],A=u[C],P=R(A,y);if(typeof P>"u"){var O=y&&y.type;throw new Error(et(14))}x[C]=P,b=b||P!==A}return b=b||c.length!==Object.keys(u).length,b?x:u}}function $e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];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 bc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),c=function(){throw new Error(et(15))},l={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},s=t.map(function(d){return d(l)});return c=$e.apply(void 0,s)(i.dispatch),lr(lr({},i),{},{dispatch:c})}}}function xc(e){var t=function(n){var i=n.dispatch,c=n.getState;return function(l){return function(s){return typeof s=="function"?s(i,c,e):l(s)}}};return t}var vc=xc();vc.withExtraArgument=xc;var pa=vc;var Ec=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(n[c]=i[c])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ud=function(e,t){var r={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},n,i,c,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(u){return function(y){return d([u,y])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(c=u[0]&2?i.return:u[0]?i.throw||((c=i.return)&&c.call(i),0):i.next)&&!(c=c.call(i,u[1])).done)return c;switch(i=0,c&&(u=[u[0]&2,c.value]),u[0]){case 0:case 1:c=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(c=r.trys,!(c=c.length>0&&c[c.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!c||u[1]>c[0]&&u[1]<c[3])){r.label=u[1];break}if(u[0]===6&&r.label<c[1]){r.label=c[1],c=u;break}if(c&&r.label<c[2]){r.label=c[2],r.ops.push(u);break}c[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(y){u=[6,y],i=0}finally{n=c=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},ke=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},hd=Object.defineProperty,gd=Object.defineProperties,md=Object.getOwnPropertyDescriptors,Sc=Object.getOwnPropertySymbols,yd=Object.prototype.hasOwnProperty,bd=Object.prototype.propertyIsEnumerable,Oc=function(e,t,r){return t in e?hd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},qt=function(e,t){for(var r in t||(t={}))yd.call(t,r)&&Oc(e,r,t[r]);if(Sc)for(var n=0,i=Sc(t);n<i.length;n++){var r=i[n];bd.call(t,r)&&Oc(e,r,t[r])}return e},fa=function(e,t){return gd(e,md(t))},xd=function(e,t,r){return new Promise(function(n,i){var c=function(d){try{s(r.next(d))}catch(u){i(u)}},l=function(d){try{s(r.throw(d))}catch(u){i(u)}},s=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(c,l)};s((r=r.apply(e,t)).next())})};var vd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?$e:$e.apply(null,arguments)},sm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Sd(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var Od=function(e){Ec(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,ke([void 0],r[0].concat(this)))):new(t.bind.apply(t,ke([void 0],r.concat(this))))},t}(Array),Cd=function(e){Ec(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,ke([void 0],r[0].concat(this)))):new(t.bind.apply(t,ke([void 0],r.concat(this))))},t}(Array);function ga(e){return xt(e)?cr(e,function(){}):e}function wd(e){return typeof e=="boolean"}function Ed(){return function(t){return Nd(t)}}function Nd(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,c=e.serializableCheck,l=c===void 0?!0:c,s=new Od;if(r&&(wd(r)?s.push(pa):s.push(pa.withExtraArgument(r.extraArgument))),0){if(i)var d;if(l)var u}return s}var ua=!0;function Nc(e){var t=Ed(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,c=r.middleware,l=c===void 0?t():c,s=r.devTools,d=s===void 0?!0:s,u=r.preloadedState,y=u===void 0?void 0:u,m=r.enhancers,b=m===void 0?void 0:m,x;if(typeof i=="function")x=i;else if(Sd(i))x=yc(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=l;if(typeof v=="function"&&(v=v(t),!ua&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ua&&v.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=bc.apply(void 0,v),R=$e;d&&(R=vd(qt({trace:!ua},typeof d=="object"&&d)));var A=new Cd(C),P=A;Array.isArray(b)?P=ke([C],b):typeof b=="function"&&(P=b(A));var O=R.apply(void 0,P);return da(x,y,O)}function Xt(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var c=t.apply(void 0,n);if(!c)throw new Error("prepareAction did not return an object");return qt(qt({type:e,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function Rc(e){var t={},r=[],n,i={addCase:function(c,l){var s=typeof c=="string"?c:c.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=l,i},addMatcher:function(c,l){return r.push({matcher:c,reducer:l}),i},addDefaultCase:function(c){return n=c,i}};return e(i),[t,r,n]}function Rd(e){return typeof e=="function"}function Ad(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?Rc(t):[t,r,n],c=i[0],l=i[1],s=i[2],d;if(Rd(e))d=function(){return ga(e())};else{var u=ga(e);d=function(){return u}}function y(m,b){m===void 0&&(m=d());var x=ke([c[b.type]],l.filter(function(v){var C=v.matcher;return C(b)}).map(function(v){var C=v.reducer;return C}));return x.filter(function(v){return!!v}).length===0&&(x=[s]),x.reduce(function(v,C){if(C)if(Ut(v)){var R=v,A=C(R,b);return A===void 0?v:A}else{if(xt(v))return cr(v,function(P){return C(P,b)});var A=C(v,b);if(A===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return v},m)}return y.getInitialState=d,y}function Id(e,t){return e+"/"+t}function Ac(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ga(e.initialState),n=e.reducers||{},i=Object.keys(n),c={},l={},s={};i.forEach(function(y){var m=n[y],b=Id(t,y),x,v;"reducer"in m?(x=m.reducer,v=m.prepare):x=m,c[y]=x,l[b]=x,s[y]=v?Xt(b,v):Xt(b)});function d(){var y=typeof e.extraReducers=="function"?Rc(e.extraReducers):[e.extraReducers],m=y[0],b=m===void 0?{}:m,x=y[1],v=x===void 0?[]:x,C=y[2],R=C===void 0?void 0:C,A=qt(qt({},b),l);return Ad(r,function(P){for(var O in A)P.addCase(O,A[O]);for(var S=0,w=v;S<w.length;S++){var k=w[S];P.addMatcher(k.matcher,k.reducer)}R&&P.addDefaultCase(R)})}var u;return{name:t,reducer:function(y,m){return u||(u=d()),u(y,m)},actions:s,caseReducers:c,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Pd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ld=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Pd[Math.random()*64|0];return t},Wd=["name","message","stack","code"],ha=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Cc=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),_d=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=Wd;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},um=function(){function e(t,r,n){var i=Xt(t+"/fulfilled",function(y,m,b,x){return{payload:y,meta:fa(qt({},x||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),c=Xt(t+"/pending",function(y,m,b){return{payload:void 0,meta:fa(qt({},b||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),l=Xt(t+"/rejected",function(y,m,b,x,v){return{payload:x,error:(n&&n.serializeError||_d)(y||"Rejected"),meta:fa(qt({},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):Ld(),C=new d,R,A=!1;function P(S){R=S,C.abort()}var O=function(){return xd(this,null,function(){var S,w,k,B,nt,M,_;return ud(this,function(T){switch(T.label){case 0:return T.trys.push([0,4,,5]),B=(S=n?.condition)==null?void 0:S.call(n,y,{getState:b,extra:x}),kd(B)?[4,B]:[3,2];case 1:B=T.sent(),T.label=2;case 2:if(B===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,nt=new Promise(function(z,Q){return C.signal.addEventListener("abort",function(){return Q({name:"AbortError",message:R||"Aborted"})})}),m(c(v,y,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:v,arg:y},{getState:b,extra:x}))),[4,Promise.race([nt,Promise.resolve(r(y,{dispatch:m,getState:b,extra:x,requestId:v,signal:C.signal,abort:P,rejectWithValue:function(z,Q){return new ha(z,Q)},fulfillWithValue:function(z,Q){return new Cc(z,Q)}})).then(function(z){if(z instanceof ha)throw z;return z instanceof Cc?i(z.payload,v,y,z.meta):i(z,v,y)})])];case 3:return k=T.sent(),[3,5];case 4:return M=T.sent(),k=M instanceof ha?l(null,v,y,M.payload,M.meta):l(M,v,y),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&l.match(k)&&k.meta.condition,_||m(k),[2,k]}})})}();return Object.assign(O,{abort:P,requestId:v,arg:y,unwrap:function(){return O.then($d)}})}}return Object.assign(u,{pending:c,rejected:l,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function $d(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function kd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ic="listener",Pc="completed",Lc="cancelled",hm="task-"+Lc,gm="task-"+Pc,mm=Ic+"-"+Lc,ym=Ic+"-"+Pc;var ma="listenerMiddleware";var bm=Xt(ma+"/add"),xm=Xt(ma+"/removeAll"),vm=Xt(ma+"/remove");var wc,Sm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(wc||(wc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Td=function(e){return function(t){setTimeout(t,e)}},Om=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Td(10);fc();window.ftReduxStores||(window.ftReduxStores={});var ya=class e{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,c=window.ftReduxStores[n];if(me(c))return c;if(i==null)return;let l=Ac({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=Nc({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:l.reducer(d,u)});return window.ftReduxStores[i.name]=new e(l,s)}constructor(t,r){this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new xo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,c)=>{let l=i,s=n[l];return s?(...d)=>{let u=s(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[l]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(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 zd(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))me(t)&&t.clear()}var xa={};H(xa,{serializeRequest:()=>Bd});function Ud(e){return`"${e}"`}function Bd(e,t){var r,n,i,c;let l=new URLSearchParams({"content-lang":(r=t.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&l.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&l.append("scope",t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&l.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let d=t.periodFilter.period,u=d?`_${d.from}_${d.to}`:"";l.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"&&l.append("sort","last_update"),((c=t.filters)===null||c===void 0?void 0:c.length)>0){let d=t.filters.map(u=>{let y=u.values.map(m=>m.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(m=>encodeURIComponent(Ud(m))).join("_");return`${u.key}~${y}`}).join("*");l.append("filters",d)}return new URL(`${e.replace(/\/+$/,"")}/search?${l.toString()}`).href}var Sa={};H(Sa,{toFtFormComponent:()=>va});var dr=Symbol("elementInternals");function va(e,t){class r extends e{static get formAssociated(){return!0}get form(){return this[dr].form}constructor(...i){super(i),this[dr]=this.attachInternals(),this[dr].role=t}setFormValue(i){this[dr].setFormValue(i)}}return r}var pr=class{static format(t,r,n,i){return window.moment?window.moment(t).locale(r).format(this.getDateFormat(n,i)):t}static getDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}};var Oa,Ca,wa,Ea,Co=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((wa=(Ca=(Oa=window.safari)===null||Oa===void 0?void 0:Oa.pushNotification)===null||Ca===void 0?void 0:Ca.toString())!==null&&wa!==void 0?wa:"")==="[object SafariRemoteNotification]",Dd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ea=window.ftGlobals)!==null&&Ea!==void 0?Ea:{lit:Ar,litDecorators:Pr,litRepeat:Lr,litClassMap:Wr,litStyleMap:_r,litUnsafeHTML:kr,wcUtils:{...Br,...zr,...Mr,...pr,...Hr,...Kr,...Sn,...En,...zn,...vn,...Bn,...Xi,...Fr,...Hn,...Fn,...Qi,...Kn,...ba,...Un,...xa,...Sa,isSafari:Co,isTouchScreen:Dd}};var Wc=o.extend("--ft-ripple-color","",D.colorContent),U={color:Wc,backgroundColor:o.extend("--ft-ripple-background-color","",Wc),opacityContentOnSurfacePressed:o.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},_c=o.extend("--ft-ripple-color","",D.colorPrimary),$c={color:_c,backgroundColor:o.extend("--ft-ripple-background-color","",_c)},kc=o.extend("--ft-ripple-color","",D.colorSecondary),Tc={color:kc,backgroundColor:o.extend("--ft-ripple-background-color","",kc)},zc=L`
|
|
42
|
+
`;var es={};var Kn={};z(Kn,{ParametrizedLabelResolver:()=>Vn});var Vn=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 xi={};z(xi,{FtCommandQueue:()=>yr,FtLitElementRedux:()=>Re,FtReduxStore:()=>bi,clearAllStores:()=>Ip,isFtReduxStore:()=>me,redux:()=>Yc,reduxEventListener:()=>Xc,reduxReactive:()=>qc});var qc=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},Yc=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:ir,attribute:!1,...t};N(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})}},Xc=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var yr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function me(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var rs,os,ns,to=Symbol("internalReduxEventsUnsubscribers"),jt=Symbol("internalStoresUnsubscribers"),ye=Symbol("internalStores"),Re=class extends U{constructor(){super(...arguments),this[rs]=new Map,this[os]=new Map,this[ns]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ye].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[ye].get(t)}addStore(t,o){var n;o=(n=o??(me(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[ye].delete(o)}setupStore(t,o){this[ye].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ye].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[jt].has(t.store):this[jt].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[jt].set(t,o.subscribe(()=>this.updateFromStores())),me(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[to].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[jt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[to].forEach(t=>t()),this[to]=[]}unsubscribeFromStore(t){this[jt].has(t)&&this[jt].get(t)(),this[jt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};rs=jt,os=ye,ns=to;Re.reduxProperties=new Map;Re.reduxReactiveProperties=new Set;Re.reduxEventListeners=new Map;function ft(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function kt(e){return!!e&&!!e[B]}function yt(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)===ip}(e)||Array.isArray(e)||!!e[ds]||!!(!((t=e.constructor)===null||t===void 0)&&t[ds])||ei(e)||ri(e))}function ge(e,t,o){o===void 0&&(o=!1),$e(e)===0?(o?Object.keys:Pe)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function $e(e){var t=e[B];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ei(e)?2:ri(e)?3:0}function _e(e,t){return $e(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Jc(e,t){return $e(e)===2?e.get(t):e[t]}function fs(e,t,o){var n=$e(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function us(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ei(e){return op&&e instanceof Map}function ri(e){return np&&e instanceof Set}function Vt(e){return e.o||e.t}function oi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ys(e);delete t[B];for(var o=Pe(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 ni(e,t){return t===void 0&&(t=!1),ii(e)||kt(e)||!yt(e)||($e(e)>1&&(e.set=e.add=e.clear=e.delete=Qc),Object.freeze(e),t&&ge(e,function(o,n){return ni(n,!0)},!0)),e}function Qc(){ft(2)}function ii(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ot(e){var t=ti[e];return t||ft(18,e),t}function tp(e,t){ti[e]||(ti[e]=t)}function Xn(){return br}function Gn(e,t){t&&(Ot("Patches"),e.u=[],e.s=[],e.v=t)}function eo(e){Jn(e),e.p.forEach(ep),e.p=null}function Jn(e){e===br&&(br=e.l)}function is(e){return br={p:[],l:br,h:e,m:!0,_:0}}function ep(e){var t=e[B];t.i===0||t.i===1?t.j():t.g=!0}function Zn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Ot("ES5").S(t,e,n),n?(o[B].P&&(eo(t),ft(4)),yt(e)&&(e=ro(t,e),t.l||oo(t,e)),t.u&&Ot("Patches").M(o[B].t,e,t.u,t.s)):e=ro(t,o,[]),eo(t),t.u&&t.v(t.u,t.s),e!==ms?e:void 0}function ro(e,t,o){if(ii(t))return t;var n=t[B];if(!n)return ge(t,function(l,c){return as(e,n,t,l,c,o)},!0),t;if(n.A!==e)return t;if(!n.P)return oo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=oi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ge(a,function(l,c){return as(e,n,i,l,c,o,s)}),oo(e,i,!1),o&&e.u&&Ot("Patches").N(n,o,e.u,e.s)}return n.o}function as(e,t,o,n,i,a,s){if(kt(i)){var l=ro(e,i,a&&t&&t.i!==3&&!_e(t.R,n)?a.concat(n):void 0);if(fs(o,n,l),!kt(l))return;e.m=!1}else s&&o.add(i);if(yt(i)&&!ii(i)){if(!e.h.D&&e._<1)return;ro(e,i),t&&t.A.l||oo(e,i)}}function oo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&ni(t,o)}function qn(e,t){var o=e[B];return(o?Vt(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 Kt(e){e.P||(e.P=!0,e.l&&Kt(e.l))}function Yn(e){e.o||(e.o=oi(e.t))}function Qn(e,t,o){var n=ei(t)?Ot("MapSet").F(t,o):ri(t)?Ot("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Xn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=xr;s&&(c=[l],d=gr);var h=Proxy.revocable(c,d),u=h.revoke,m=h.proxy;return l.k=m,l.j=u,m}(t,o):Ot("ES5").J(t,o);return(o?o.A:Xn()).p.push(n),n}function rp(e){return kt(e)||ft(22,e),function t(o){if(!yt(o))return o;var n,i=o[B],a=$e(o);if(i){if(!i.P&&(i.i<4||!Ot("ES5").K(i)))return i.t;i.I=!0,n=ls(o,a),i.I=!1}else n=ls(o,a);return ge(n,function(s,l){i&&Jc(i.t,s)===l||fs(n,s,t(l))}),a===3?new Set(n):n}(e)}function ls(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return oi(e)}function hs(){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[B];return xr.get(d,s)},set:function(d){var h=this[B];xr.set(h,s,d)}},c}function t(s){for(var l=s.length-1;l>=0;l--){var c=s[l][B];if(!c.P)switch(c.i){case 5:n(c)&&Kt(c);break;case 4:o(c)&&Kt(c)}}}function o(s){for(var l=s.t,c=s.k,d=Pe(c),h=d.length-1;h>=0;h--){var u=d[h];if(u!==B){var m=l[u];if(m===void 0&&!_e(l,u))return!0;var y=c[u],g=y&&y[B];if(g?g.t!==m:!us(y,m))return!0}}var v=!!l[B];return d.length!==Pe(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&&ft(3,JSON.stringify(Vt(s)))}var a={};tp("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(u,m){if(u){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,e(g,!0));return y}var v=ys(m);delete v[B];for(var C=Pe(v),E=0;E<C.length;E++){var A=C[E];v[A]=e(A,u||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(c,s),h={i:c?5:4,A:l?l.A:Xn(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,B,{value:h,writable:!0}),d},S:function(s,l,c){c?kt(l)&&l[B].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[B];if(u){var m=u.t,y=u.k,g=u.R,v=u.i;if(v===4)ge(y,function(b){b!==B&&(m[b]!==void 0||_e(m,b)?g[b]||d(y[b]):(g[b]=!0,Kt(u)))}),ge(m,function(b){y[b]!==void 0||_e(y,b)||(g[b]=!1,Kt(u))});else if(v===5){if(n(u)&&(Kt(u),g.length=!0),y.length<m.length)for(var C=y.length;C<m.length;C++)g[C]=!1;else for(var E=m.length;E<y.length;E++)g[E]=!0;for(var A=Math.min(y.length,m.length),x=0;x<A;x++)y.hasOwnProperty(x)||(g[x]=!0),g[x]===void 0&&d(y[x])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var cs,br,ai=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",op=typeof Map<"u",np=typeof Set<"u",ps=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ms=ai?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),ds=ai?Symbol.for("immer-draftable"):"__$immer_draftable",B=ai?Symbol.for("immer-state"):"__$immer_state";var ip=""+Object.prototype.constructor,Pe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ys=Object.getOwnPropertyDescriptors||function(e){var t={};return Pe(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ti={},xr={get:function(e,t){if(t===B)return e;var o=Vt(e);if(!_e(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||!yt(n)?n:n===qn(e.t,t)?(Yn(e),e.o[t]=Qn(e.A.h,n,e)):n},has:function(e,t){return t in Vt(e)},ownKeys:function(e){return Reflect.ownKeys(Vt(e))},set:function(e,t,o){var n=ss(Vt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=qn(Vt(e),t),a=i?.[B];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(us(o,i)&&(o!==void 0||_e(e.t,t)))return!0;Yn(e),Kt(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 qn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Yn(e),Kt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Vt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){ft(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ft(12)}},gr={};ge(xr,function(e,t){gr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),gr.deleteProperty=function(e,t){return gr.set.call(this,e,t,void 0)},gr.set=function(e,t,o){return xr.set.call(this,e[0],t,o,e[0])};var ap=function(){function e(o){var n=this;this.O=ps,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 C=this;v===void 0&&(v=l);for(var E=arguments.length,A=Array(E>1?E-1:0),x=1;x<E;x++)A[x-1]=arguments[x];return c.produce(v,function(b){var S;return(S=a).call.apply(S,[C,b].concat(A))})}}var d;if(typeof a!="function"&&ft(6),s!==void 0&&typeof s!="function"&&ft(7),yt(i)){var h=is(n),u=Qn(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?eo(h):Jn(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return Gn(h,s),Zn(v,h)},function(v){throw eo(h),v}):(Gn(h,s),Zn(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===ms&&(d=void 0),n.D&&ni(d,!0),s){var y=[],g=[];Ot("Patches").M(i,d,y,g),s(y,g)}return d}ft(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(d,function(y){return i.apply(void 0,[y].concat(u))})};var s,l,c=n.produce(i,a,function(d,h){s=d,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){yt(o)||ft(8),kt(o)&&(o=rp(o));var n=is(this),i=Qn(this,o,void 0);return i[B].C=!0,Jn(n),i},t.finishDraft=function(o,n){var i=o&&o[B],a=i.A;return Gn(a,n),Zn(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ps&&ft(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=Ot("Patches").$;return kt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),pt=new ap,sp=pt.produce,Um=pt.produceWithPatches.bind(pt),Bm=pt.setAutoFreeze.bind(pt),Hm=pt.setUseProxies.bind(pt),Fm=pt.applyPatches.bind(pt),jm=pt.createDraft.bind(pt),Vm=pt.finishDraft.bind(pt),no=sp;function Gt(e){"@babel/helpers - typeof";return Gt=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},Gt(e)}function si(e,t){if(Gt(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Gt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function li(e){var t=si(e,"string");return Gt(t)==="symbol"?t:String(t)}function ci(e,t,o){return t=li(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function gs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function io(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?gs(Object(o),!0).forEach(function(n){ci(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):gs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function J(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 bs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),pi=function(){return Math.random().toString(36).substring(7).split("").join(".")},ao={INIT:"@@redux/INIT"+pi(),REPLACE:"@@redux/REPLACE"+pi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pi()}};function lp(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 di(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(J(1));return o(di)(e,t)}if(typeof e!="function")throw new Error(J(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(J(3));return a}function u(v){if(typeof v!="function")throw new Error(J(4));if(c)throw new Error(J(5));var C=!0;return d(),l.push(v),function(){if(C){if(c)throw new Error(J(6));C=!1,d();var A=l.indexOf(v);l.splice(A,1),s=null}}}function m(v){if(!lp(v))throw new Error(J(7));if(typeof v.type>"u")throw new Error(J(8));if(c)throw new Error(J(9));try{c=!0,a=i(a,v)}finally{c=!1}for(var C=s=l,E=0;E<C.length;E++){var A=C[E];A()}return v}function y(v){if(typeof v!="function")throw new Error(J(10));i=v,m({type:ao.REPLACE})}function g(){var v,C=u;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(J(11));function x(){A.next&&A.next(h())}x();var b=C(x);return{unsubscribe:b}}},v[bs]=function(){return this},v}return m({type:ao.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:y},n[bs]=g,n}function cp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:ao.INIT});if(typeof n>"u")throw new Error(J(12));if(typeof o(void 0,{type:ao.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function xs(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{cp(o)}catch(c){l=c}return function(d,h){if(d===void 0&&(d={}),l)throw l;if(0)var u;for(var m=!1,y={},g=0;g<a.length;g++){var v=a[g],C=o[v],E=d[v],A=C(E,h);if(typeof A>"u"){var x=h&&h.type;throw new Error(J(14))}y[v]=A,m=m||A!==E}return m=m||a.length!==Object.keys(d).length,m?y:d}}function Te(){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 vs(){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(J(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(c){return c(s)});return a=Te.apply(void 0,l)(i.dispatch),io(io({},i),{},{dispatch:a})}}}function Ss(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 Os=Ss();Os.withExtraArgument=Ss;var fi=Os;var As=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)}}(),pp=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}}},Le=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},dp=Object.defineProperty,fp=Object.defineProperties,up=Object.getOwnPropertyDescriptors,ws=Object.getOwnPropertySymbols,hp=Object.prototype.hasOwnProperty,mp=Object.prototype.propertyIsEnumerable,Cs=function(e,t,o){return t in e?dp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Zt=function(e,t){for(var o in t||(t={}))hp.call(t,o)&&Cs(e,o,t[o]);if(ws)for(var n=0,i=ws(t);n<i.length;n++){var o=i[n];mp.call(t,o)&&Cs(e,o,t[o])}return e},ui=function(e,t){return fp(e,up(t))},yp=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 gp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Te:Te.apply(null,arguments)},cy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function bp(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 xp=function(e){As(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,Le([void 0],o[0].concat(this)))):new(t.bind.apply(t,Le([void 0],o.concat(this))))},t}(Array),vp=function(e){As(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,Le([void 0],o[0].concat(this)))):new(t.bind.apply(t,Le([void 0],o.concat(this))))},t}(Array);function yi(e){return yt(e)?no(e,function(){}):e}function Sp(e){return typeof e=="boolean"}function Op(){return function(t){return wp(t)}}function wp(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 xp;if(o&&(Sp(o)?l.push(fi):l.push(fi.withExtraArgument(o.extraArgument))),0){if(i)var c;if(s)var d}return l}var hi=!0;function Rs(e){var t=Op(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,l=o.devTools,c=l===void 0?!0:l,d=o.preloadedState,h=d===void 0?void 0:d,u=o.enhancers,m=u===void 0?void 0:u,y;if(typeof i=="function")y=i;else if(bp(i))y=xs(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=s;if(typeof g=="function"&&(g=g(t),!hi&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!hi&&g.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=vs.apply(void 0,g),C=Te;c&&(C=gp(Zt({trace:!hi},typeof c=="object"&&c)));var E=new vp(v),A=E;Array.isArray(m)?A=Le([v],m):typeof m=="function"&&(A=m(E));var x=C.apply(void 0,A);return di(y,h,x)}function qt(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Zt(Zt({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 _s(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 Cp(e){return typeof e=="function"}function Ep(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?_s(t):[t,o,n],a=i[0],s=i[1],l=i[2],c;if(Cp(e))c=function(){return yi(e())};else{var d=yi(e);c=function(){return d}}function h(u,m){u===void 0&&(u=c());var y=Le([a[m.type]],s.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return y.filter(function(g){return!!g}).length===0&&(y=[l]),y.reduce(function(g,v){if(v)if(kt(g)){var C=g,E=v(C,m);return E===void 0?g:E}else{if(yt(g))return no(g,function(A){return v(A,m)});var E=v(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},u)}return h.getInitialState=c,h}function Np(e,t){return e+"/"+t}function Ps(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:yi(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var u=n[h],m=Np(t,h),y,g;"reducer"in u?(y=u.reducer,g=u.prepare):y=u,a[h]=y,s[m]=y,l[h]=g?qt(m,g):qt(m)});function c(){var h=typeof e.extraReducers=="function"?_s(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,y=h[1],g=y===void 0?[]:y,v=h[2],C=v===void 0?void 0:v,E=Zt(Zt({},m),s);return Ep(o,function(A){for(var x in E)A.addCase(x,E[x]);for(var b=0,S=g;b<S.length;b++){var T=S[b];A.addMatcher(T.matcher,T.reducer)}C&&A.addDefaultCase(C)})}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 Ap="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Rp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Ap[Math.random()*64|0];return t},_p=["name","message","stack","code"],mi=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Es=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Pp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=_p;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},uy=function(){function e(t,o,n){var i=qt(t+"/fulfilled",function(h,u,m,y){return{payload:h,meta:ui(Zt({},y||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=qt(t+"/pending",function(h,u,m){return{payload:void 0,meta:ui(Zt({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=qt(t+"/rejected",function(h,u,m,y,g){return{payload:y,error:(n&&n.serializeError||Pp)(h||"Rejected"),meta:ui(Zt({},g||{}),{arg:m,requestId:u,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,y){var g=n?.idGenerator?n.idGenerator(h):Rp(),v=new c,C,E=!1;function A(b){C=b,v.abort()}var x=function(){return yp(this,null,function(){var b,S,T,M,ot,W,_;return pp(this,function(L){switch(L.label){case 0:return L.trys.push([0,4,,5]),M=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:y}),Tp(M)?[4,M]:[3,2];case 1:M=L.sent(),L.label=2;case 2:if(M===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,ot=new Promise(function(I,Y){return v.signal.addEventListener("abort",function(){return Y({name:"AbortError",message:C||"Aborted"})})}),u(a(g,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:g,arg:h},{getState:m,extra:y}))),[4,Promise.race([ot,Promise.resolve(o(h,{dispatch:u,getState:m,extra:y,requestId:g,signal:v.signal,abort:A,rejectWithValue:function(I,Y){return new mi(I,Y)},fulfillWithValue:function(I,Y){return new Es(I,Y)}})).then(function(I){if(I instanceof mi)throw I;return I instanceof Es?i(I.payload,g,h,I.meta):i(I,g,h)})])];case 3:return T=L.sent(),[3,5];case 4:return W=L.sent(),T=W instanceof mi?s(null,g,h,W.payload,W.meta):s(W,g,h),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&s.match(T)&&T.meta.condition,_||u(T),[2,T]}})})}();return Object.assign(x,{abort:A,requestId:g,arg:h,unwrap:function(){return x.then($p)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function $p(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Tp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var $s="listener",Ts="completed",Ls="cancelled",hy="task-"+Ls,my="task-"+Ts,yy=$s+"-"+Ls,gy=$s+"-"+Ts;var gi="listenerMiddleware";var by=qt(gi+"/add"),xy=qt(gi+"/removeAll"),vy=qt(gi+"/remove");var Ns,Sy=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ns||(Ns=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Lp=function(e){return function(t){setTimeout(t,e)}},Oy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Lp(10);hs();window.ftReduxStores||(window.ftReduxStores={});var bi=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(me(a))return a;if(i==null)return;let s=Ps({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Rs({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 yr,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 Ip(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))me(t)&&t.clear()}var vi={};z(vi,{serializeRequest:()=>Mp});function kp(e){return`"${e}"`}function Mp(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(kp(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Oi={};z(Oi,{toFtFormComponent:()=>Si});var so=Symbol("elementInternals");function Si(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[so].form}constructor(...i){super(i),this[so]=this.attachInternals(),this[so].role=t}setFormValue(i){this[so].setFormValue(i)}}return o}var lo=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var wi,Ci,Ei,Ni,vr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ei=(Ci=(wi=window.safari)===null||wi===void 0?void 0:wi.pushNotification)===null||Ci===void 0?void 0:Ci.toString())!==null&&Ei!==void 0?Ei:"")==="[object SafariRemoteNotification]",Dp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ni=window.ftGlobals)!==null&&Ni!==void 0?Ni:{lit:Ao,litDecorators:_o,litRepeat:Po,litClassMap:$o,litStyleMap:To,litUnsafeHTML:Io,wcUtils:{...Wo,...Mo,...Uo,...lo,...Bo,...jo,...vn,...Cn,...Mn,...xn,...Un,...Wn,...Qa,...Ho,...Fn,...jn,...es,...Kn,...xi,...Dn,...vi,...Oi,isSafari:vr,isTouchScreen:Dp}};var Is=r.extend("--ft-ripple-color","",D.colorContent),k={color:Is,backgroundColor:r.extend("--ft-ripple-background-color","",Is),opacityContentOnSurfacePressed:r.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},ks=r.extend("--ft-ripple-color","",D.colorPrimary),Ms={color:ks,backgroundColor:r.extend("--ft-ripple-background-color","",ks)},Ds=r.extend("--ft-ripple-color","",D.colorSecondary),Ws={color:Ds,backgroundColor:r.extend("--ft-ripple-background-color","",Ds)},zs=$`
|
|
43
43
|
:host {
|
|
44
44
|
display: contents;
|
|
45
45
|
}
|
|
@@ -52,7 +52,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
52
52
|
|
|
53
53
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
54
54
|
overflow: hidden;
|
|
55
|
-
border-radius: ${
|
|
55
|
+
border-radius: ${k.borderRadius};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.ft-ripple .ft-ripple--background,
|
|
@@ -86,27 +86,27 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.ft-ripple .ft-ripple--background {
|
|
89
|
-
background-color: ${
|
|
89
|
+
background-color: ${k.backgroundColor};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.ft-ripple .ft-ripple--effect {
|
|
93
|
-
background-color: ${
|
|
93
|
+
background-color: ${k.color};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
97
|
-
background-color: ${
|
|
97
|
+
background-color: ${Ws.backgroundColor};
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
101
|
-
background-color: ${
|
|
101
|
+
background-color: ${Ws.color};
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
105
|
-
background-color: ${
|
|
105
|
+
background-color: ${Ms.backgroundColor};
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
109
|
-
background-color: ${
|
|
109
|
+
background-color: ${Ms.color};
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.ft-ripple .ft-ripple--background {
|
|
@@ -136,23 +136,23 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
139
|
-
opacity: ${
|
|
139
|
+
opacity: ${k.opacityContentOnSurfaceHover};
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
143
|
-
opacity: ${
|
|
143
|
+
opacity: ${k.opacityContentOnSurfaceSelected};
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
147
|
-
opacity: ${
|
|
147
|
+
opacity: ${k.opacityContentOnSurfaceFocused};
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
151
|
-
opacity: ${
|
|
151
|
+
opacity: ${k.opacityContentOnSurfacePressed};
|
|
152
152
|
transform: translate(-50%, -50%) scale(1);
|
|
153
153
|
}
|
|
154
|
-
`;function
|
|
155
|
-
.ft-typography--${
|
|
154
|
+
`;function Us(e){let t=ar[e];return $`
|
|
155
|
+
.ft-typography--${ne(e)} {
|
|
156
156
|
font-family: ${t.fontFamily};
|
|
157
157
|
font-size: ${t.fontSize};
|
|
158
158
|
font-weight: ${t.fontWeight};
|
|
@@ -160,17 +160,54 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
160
160
|
line-height: ${t.lineHeight};
|
|
161
161
|
text-transform: ${t.textCase};
|
|
162
162
|
}
|
|
163
|
-
`}var
|
|
163
|
+
`}var Bs=r.extend("--ft-typography-font-family","",D.titleFont),Mt=r.extend("--ft-typography-font-family","",D.contentFont),R={fontFamily:Mt,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")},Ie={fontFamily:r.extend("--ft-typography-title-font-family","",Bs),fontSize:r.extend("--ft-typography-title-font-size","",R.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",R.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",R.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",R.textTransform,"inherit")},ke={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Bs),fontSize:r.extend("--ft-typography-title-dense-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",R.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",R.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",R.textTransform,"inherit")},Me={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Mt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",R.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",R.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",R.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",R.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",R.textTransform,"inherit")},De={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Mt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",R.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",R.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",R.textTransform,"inherit")},We={fontFamily:r.extend("--ft-typography-body1-font-family","",Mt),fontSize:r.extend("--ft-typography-body1-font-size","",R.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",R.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",R.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",R.textTransform,"inherit")},ze={fontFamily:r.extend("--ft-typography-body2-font-family","",Mt),fontSize:r.extend("--ft-typography-body2-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",R.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",R.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",R.textTransform,"inherit")},Ue={fontFamily:r.extend("--ft-typography-caption-font-family","",Mt),fontSize:r.extend("--ft-typography-caption-font-size","",R.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",R.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",R.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",R.textTransform,"inherit")},Be={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Mt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",R.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",R.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",R.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",R.textTransform,"inherit")},He={fontFamily:r.extend("--ft-typography-overline-font-family","",Mt),fontSize:r.extend("--ft-typography-overline-font-size","",R.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",R.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",R.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",R.textTransform,"uppercase")},wt={fontFamily:r.extend("--ft-typography-button-font-family","",Mt),fontSize:r.extend("--ft-typography-button-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",R.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",R.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",R.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",R.textTransform,"uppercase")},Hs=$`
|
|
164
164
|
.ft-typography--title {
|
|
165
|
-
font-family: ${
|
|
166
|
-
font-size: ${
|
|
167
|
-
font-weight: ${
|
|
168
|
-
letter-spacing: ${
|
|
169
|
-
line-height: ${
|
|
170
|
-
text-transform: ${
|
|
171
|
-
}
|
|
172
|
-
`,
|
|
165
|
+
font-family: ${Ie.fontFamily};
|
|
166
|
+
font-size: ${Ie.fontSize};
|
|
167
|
+
font-weight: ${Ie.fontWeight};
|
|
168
|
+
letter-spacing: ${Ie.letterSpacing};
|
|
169
|
+
line-height: ${Ie.lineHeight};
|
|
170
|
+
text-transform: ${Ie.textTransform};
|
|
171
|
+
}
|
|
172
|
+
`,Fs=$`
|
|
173
173
|
.ft-typography--title-dense {
|
|
174
|
+
font-family: ${ke.fontFamily};
|
|
175
|
+
font-size: ${ke.fontSize};
|
|
176
|
+
font-weight: ${ke.fontWeight};
|
|
177
|
+
letter-spacing: ${ke.letterSpacing};
|
|
178
|
+
line-height: ${ke.lineHeight};
|
|
179
|
+
text-transform: ${ke.textTransform};
|
|
180
|
+
}
|
|
181
|
+
`,js=$`
|
|
182
|
+
.ft-typography--subtitle1 {
|
|
183
|
+
font-family: ${Me.fontFamily};
|
|
184
|
+
font-size: ${Me.fontSize};
|
|
185
|
+
font-weight: ${Me.fontWeight};
|
|
186
|
+
letter-spacing: ${Me.letterSpacing};
|
|
187
|
+
line-height: ${Me.lineHeight};
|
|
188
|
+
text-transform: ${Me.textTransform};
|
|
189
|
+
}
|
|
190
|
+
`,Vs=$`
|
|
191
|
+
.ft-typography--subtitle2 {
|
|
192
|
+
font-family: ${De.fontFamily};
|
|
193
|
+
font-size: ${De.fontSize};
|
|
194
|
+
font-weight: ${De.fontWeight};
|
|
195
|
+
letter-spacing: ${De.letterSpacing};
|
|
196
|
+
line-height: ${De.lineHeight};
|
|
197
|
+
text-transform: ${De.textTransform};
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
`,Ks=$`
|
|
201
|
+
.ft-typography--body1 {
|
|
202
|
+
font-family: ${We.fontFamily};
|
|
203
|
+
font-size: ${We.fontSize};
|
|
204
|
+
font-weight: ${We.fontWeight};
|
|
205
|
+
letter-spacing: ${We.letterSpacing};
|
|
206
|
+
line-height: ${We.lineHeight};
|
|
207
|
+
text-transform: ${We.textTransform};
|
|
208
|
+
}
|
|
209
|
+
`,Gs=$`
|
|
210
|
+
.ft-typography--body2 {
|
|
174
211
|
font-family: ${ze.fontFamily};
|
|
175
212
|
font-size: ${ze.fontSize};
|
|
176
213
|
font-weight: ${ze.fontWeight};
|
|
@@ -178,8 +215,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
178
215
|
line-height: ${ze.lineHeight};
|
|
179
216
|
text-transform: ${ze.textTransform};
|
|
180
217
|
}
|
|
181
|
-
`,
|
|
182
|
-
.ft-typography--
|
|
218
|
+
`,Zs=$`
|
|
219
|
+
.ft-typography--caption {
|
|
183
220
|
font-family: ${Ue.fontFamily};
|
|
184
221
|
font-size: ${Ue.fontSize};
|
|
185
222
|
font-weight: ${Ue.fontWeight};
|
|
@@ -187,8 +224,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
187
224
|
line-height: ${Ue.lineHeight};
|
|
188
225
|
text-transform: ${Ue.textTransform};
|
|
189
226
|
}
|
|
190
|
-
`,
|
|
191
|
-
.ft-typography--
|
|
227
|
+
`,qs=$`
|
|
228
|
+
.ft-typography--breadcrumb {
|
|
192
229
|
font-family: ${Be.fontFamily};
|
|
193
230
|
font-size: ${Be.fontSize};
|
|
194
231
|
font-weight: ${Be.fontWeight};
|
|
@@ -196,27 +233,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
196
233
|
line-height: ${Be.lineHeight};
|
|
197
234
|
text-transform: ${Be.textTransform};
|
|
198
235
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
.ft-typography--body1 {
|
|
202
|
-
font-family: ${De.fontFamily};
|
|
203
|
-
font-size: ${De.fontSize};
|
|
204
|
-
font-weight: ${De.fontWeight};
|
|
205
|
-
letter-spacing: ${De.letterSpacing};
|
|
206
|
-
line-height: ${De.lineHeight};
|
|
207
|
-
text-transform: ${De.textTransform};
|
|
208
|
-
}
|
|
209
|
-
`,Kc=L`
|
|
210
|
-
.ft-typography--body2 {
|
|
211
|
-
font-family: ${Me.fontFamily};
|
|
212
|
-
font-size: ${Me.fontSize};
|
|
213
|
-
font-weight: ${Me.fontWeight};
|
|
214
|
-
letter-spacing: ${Me.letterSpacing};
|
|
215
|
-
line-height: ${Me.lineHeight};
|
|
216
|
-
text-transform: ${Me.textTransform};
|
|
217
|
-
}
|
|
218
|
-
`,Zc=L`
|
|
219
|
-
.ft-typography--caption {
|
|
236
|
+
`,Ys=$`
|
|
237
|
+
.ft-typography--overline {
|
|
220
238
|
font-family: ${He.fontFamily};
|
|
221
239
|
font-size: ${He.fontSize};
|
|
222
240
|
font-weight: ${He.fontWeight};
|
|
@@ -224,38 +242,20 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
224
242
|
line-height: ${He.lineHeight};
|
|
225
243
|
text-transform: ${He.textTransform};
|
|
226
244
|
}
|
|
227
|
-
`,
|
|
228
|
-
.ft-typography--breadcrumb {
|
|
229
|
-
font-family: ${Fe.fontFamily};
|
|
230
|
-
font-size: ${Fe.fontSize};
|
|
231
|
-
font-weight: ${Fe.fontWeight};
|
|
232
|
-
letter-spacing: ${Fe.letterSpacing};
|
|
233
|
-
line-height: ${Fe.lineHeight};
|
|
234
|
-
text-transform: ${Fe.textTransform};
|
|
235
|
-
}
|
|
236
|
-
`,jc=L`
|
|
237
|
-
.ft-typography--overline {
|
|
238
|
-
font-family: ${Ge.fontFamily};
|
|
239
|
-
font-size: ${Ge.fontSize};
|
|
240
|
-
font-weight: ${Ge.fontWeight};
|
|
241
|
-
letter-spacing: ${Ge.letterSpacing};
|
|
242
|
-
line-height: ${Ge.lineHeight};
|
|
243
|
-
text-transform: ${Ge.textTransform};
|
|
244
|
-
}
|
|
245
|
-
`,Yc=L`
|
|
245
|
+
`,Xs=$`
|
|
246
246
|
.ft-typography--button {
|
|
247
|
-
font-family: ${
|
|
248
|
-
font-size: ${
|
|
249
|
-
font-weight: ${
|
|
250
|
-
letter-spacing: ${
|
|
251
|
-
line-height: ${
|
|
252
|
-
text-transform: ${
|
|
253
|
-
}
|
|
254
|
-
`,
|
|
247
|
+
font-family: ${wt.fontFamily};
|
|
248
|
+
font-size: ${wt.fontSize};
|
|
249
|
+
font-weight: ${wt.fontWeight};
|
|
250
|
+
letter-spacing: ${wt.letterSpacing};
|
|
251
|
+
line-height: ${wt.lineHeight};
|
|
252
|
+
text-transform: ${wt.textTransform};
|
|
253
|
+
}
|
|
254
|
+
`,Js=$`
|
|
255
255
|
.ft-typography {
|
|
256
256
|
vertical-align: inherit;
|
|
257
257
|
}
|
|
258
|
-
`,
|
|
258
|
+
`,Qs=[Object.keys(ar).map(e=>Us(e))];var et={color:r.extend("--ft-loader-color","",D.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},tl=$`
|
|
259
259
|
:host {
|
|
260
260
|
line-height: 0;
|
|
261
261
|
}
|
|
@@ -264,8 +264,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
264
264
|
display: inline-block;
|
|
265
265
|
position: relative;
|
|
266
266
|
|
|
267
|
-
width: ${
|
|
268
|
-
height: ${
|
|
267
|
+
width: ${et.size};
|
|
268
|
+
height: ${et.size};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.ft-loader div {
|
|
@@ -274,7 +274,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
274
274
|
width: 25%;
|
|
275
275
|
height: 25%;
|
|
276
276
|
border-radius: 50%;
|
|
277
|
-
background: ${
|
|
277
|
+
background: ${et.color};
|
|
278
278
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -321,10 +321,10 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
321
321
|
transform: translate(0, 0);
|
|
322
322
|
}
|
|
323
323
|
100% {
|
|
324
|
-
transform: translate(calc(0.35 * ${
|
|
324
|
+
transform: translate(calc(0.35 * ${et.size}), 0);
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
`;var
|
|
327
|
+
`;var rt={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")},el=$`
|
|
328
328
|
:host, i.ft-icon {
|
|
329
329
|
display: inline-flex;
|
|
330
330
|
align-items: center;
|
|
@@ -333,14 +333,14 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
:host {
|
|
336
|
-
width: ${
|
|
337
|
-
height: ${
|
|
336
|
+
width: ${rt.size};
|
|
337
|
+
height: ${rt.size};
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
i.ft-icon {
|
|
341
341
|
width: 100%;
|
|
342
342
|
height: 100%;
|
|
343
|
-
font-size: ${
|
|
343
|
+
font-size: ${rt.size};
|
|
344
344
|
line-height: 1;
|
|
345
345
|
font-weight: normal;
|
|
346
346
|
text-transform: none;
|
|
@@ -351,28 +351,28 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
351
351
|
text-rendering: auto;
|
|
352
352
|
-webkit-font-smoothing: antialiased;
|
|
353
353
|
-moz-osx-font-smoothing: grayscale;
|
|
354
|
-
vertical-align: ${
|
|
354
|
+
vertical-align: ${rt.verticalAlign};
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
i.ft-icon.ft-icon--fluid-topics {
|
|
358
|
-
font-family: ${
|
|
358
|
+
font-family: ${rt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
359
359
|
|
|
360
360
|
/* Ugly fix because font is broken */
|
|
361
|
-
font-size: calc(0.75 * ${
|
|
362
|
-
line-height: ${
|
|
361
|
+
font-size: calc(0.75 * ${rt.size});
|
|
362
|
+
line-height: ${rt.size};
|
|
363
363
|
position: relative;
|
|
364
364
|
top: -4%;
|
|
365
365
|
justify-content: center;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
.ft-icon--file-format {
|
|
369
|
-
font-family: ${
|
|
369
|
+
font-family: ${rt.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
.ft-icon--material {
|
|
373
|
-
font-family: ${
|
|
373
|
+
font-family: ${rt.materialFontFamily}, "Material Icons", sans-serif;
|
|
374
374
|
}
|
|
375
|
-
`;var
|
|
375
|
+
`;var rl=r.extend("--ft-button-color","",D.colorPrimary),K={backgroundColor:r.extend("--ft-button-background-color","",D.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",D.borderRadiusL),color:rl,fontSize:r.extend("--ft-button-font-size","",wt.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",rl),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(D.colorOpacityDisabled,"Design system")},ol=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",D.colorOnPrimary)),Ai={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",D.colorPrimary)),color:ol,rippleColor:r.extend("--ft-button-primary-ripple-color","",ol)},Ct={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",D.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")},nl=[$`
|
|
376
376
|
:host {
|
|
377
377
|
display: inline-block;
|
|
378
378
|
max-width: 100%;
|
|
@@ -383,7 +383,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
383
383
|
box-shadow: 0px 0px 0px transparent;
|
|
384
384
|
border: 0px solid transparent;
|
|
385
385
|
text-shadow: 0px 0px 0px transparent;
|
|
386
|
-
font-size: ${
|
|
386
|
+
font-size: ${K.fontSize};
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
button:hover {
|
|
@@ -412,31 +412,31 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
412
412
|
border: none;
|
|
413
413
|
pointer-events: auto;
|
|
414
414
|
|
|
415
|
-
--ft-button-internal-line-height: max(calc(${
|
|
416
|
-
--ft-button-internal-color: ${
|
|
417
|
-
${
|
|
418
|
-
${
|
|
415
|
+
--ft-button-internal-line-height: max(calc(${K.fontSize} + 2px), ${K.iconSize});
|
|
416
|
+
--ft-button-internal-color: ${K.color};
|
|
417
|
+
${P(rt.size,K.iconSize)};
|
|
418
|
+
${P(k.color,K.rippleColor)};
|
|
419
419
|
|
|
420
|
-
border-radius: ${
|
|
421
|
-
padding: ${
|
|
422
|
-
background-color: ${
|
|
420
|
+
border-radius: ${K.borderRadius};
|
|
421
|
+
padding: ${K.verticalPadding} ${K.horizontalPadding};
|
|
422
|
+
background-color: ${K.backgroundColor};
|
|
423
423
|
color: var(--ft-button-internal-color);
|
|
424
424
|
-webkit-mask-image: radial-gradient(white, black);
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
.ft-button.ft-button--outlined {
|
|
428
428
|
border: 1px solid var(--ft-button-internal-color);
|
|
429
|
-
padding: calc(${
|
|
429
|
+
padding: calc(${K.verticalPadding} - 1px) calc(${K.horizontalPadding} - 1px);
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
.ft-button.ft-button--dense {
|
|
433
|
-
padding: ${
|
|
434
|
-
border-radius: ${
|
|
435
|
-
gap: ${
|
|
433
|
+
padding: ${Ct.verticalPadding} ${Ct.horizontalPadding};
|
|
434
|
+
border-radius: ${Ct.borderRadius};
|
|
435
|
+
gap: ${Ct.iconPadding};
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
439
|
-
padding: calc(${
|
|
439
|
+
padding: calc(${Ct.verticalPadding} - 1px) calc(${Ct.horizontalPadding} - 1px);
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
.ft-button:not([disabled]):hover {
|
|
@@ -444,22 +444,22 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
.ft-button--round {
|
|
447
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
447
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${K.verticalPadding});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
.ft-button--round.ft-button--dense {
|
|
451
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
451
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ct.verticalPadding});
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
.ft-button[disabled] {
|
|
455
455
|
filter: grayscale(1);
|
|
456
|
-
opacity: ${
|
|
456
|
+
opacity: ${K.opacityDisabled};
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-button.ft-button--primary {
|
|
460
|
-
background-color: ${
|
|
461
|
-
--ft-button-internal-color: ${
|
|
462
|
-
${
|
|
460
|
+
background-color: ${Ai.backgroundColor};
|
|
461
|
+
--ft-button-internal-color: ${Ai.color};
|
|
462
|
+
${P(k.color,Ai.rippleColor)};
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
.ft-button:focus {
|
|
@@ -472,13 +472,13 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
472
472
|
white-space: nowrap;
|
|
473
473
|
text-overflow: ellipsis;
|
|
474
474
|
display: block;
|
|
475
|
-
margin: 0 ${
|
|
476
|
-
${
|
|
477
|
-
${
|
|
475
|
+
margin: 0 ${K.iconPadding};
|
|
476
|
+
${P(wt.fontSize,"1em")};
|
|
477
|
+
${P(wt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
.ft-button--dense .ft-button--label {
|
|
481
|
-
margin: 0 ${
|
|
481
|
+
margin: 0 ${Ct.iconPadding};
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
.ft-button--label[hidden] {
|
|
@@ -491,13 +491,13 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
.ft-button--label[hidden] + [part="icon"] {
|
|
494
|
-
margin: 0 calc(${
|
|
495
|
-
padding: 0 ${
|
|
494
|
+
margin: 0 calc(${K.horizontalPadding} * -1);
|
|
495
|
+
padding: 0 ${K.verticalPadding};
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
499
|
-
margin: 0 calc(${
|
|
500
|
-
padding: 0 ${
|
|
499
|
+
margin: 0 calc(${Ct.horizontalPadding} * -1);
|
|
500
|
+
padding: 0 ${Ct.verticalPadding};
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -505,29 +505,29 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
ft-loader {
|
|
508
|
-
${
|
|
509
|
-
${
|
|
508
|
+
${P(et.size,K.iconSize)};
|
|
509
|
+
${P(et.color,"var(--ft-button-internal-color)")};
|
|
510
510
|
}
|
|
511
|
-
`,
|
|
511
|
+
`,hr];var at=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},F=class extends U{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new nt(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 nt(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 q`
|
|
512
512
|
<style>
|
|
513
513
|
.ft-ripple .ft-ripple--effect {
|
|
514
514
|
left: ${this.originX}px;
|
|
515
515
|
top: ${this.originY}px;
|
|
516
516
|
}
|
|
517
517
|
</style>
|
|
518
|
-
<div class="${
|
|
518
|
+
<div class="${pe(t)}">
|
|
519
519
|
<div class="ft-ripple--background"></div>
|
|
520
520
|
<div class="ft-ripple--effect"></div>
|
|
521
521
|
</div>
|
|
522
|
-
`}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
|
|
523
|
-
<${
|
|
522
|
+
`}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()}};F.elementDefinitions={};F.styles=zs;at([N({type:Boolean})],F.prototype,"primary",void 0);at([N({type:Boolean})],F.prototype,"secondary",void 0);at([N({type:Boolean})],F.prototype,"unbounded",void 0);at([N({type:Boolean})],F.prototype,"activated",void 0);at([N({type:Boolean})],F.prototype,"selected",void 0);at([N({type:Boolean})],F.prototype,"disabled",void 0);at([G()],F.prototype,"hovered",void 0);at([G()],F.prototype,"focused",void 0);at([G()],F.prototype,"pressed",void 0);at([G()],F.prototype,"rippling",void 0);at([G()],F.prototype,"originX",void 0);at([G()],F.prototype,"originY",void 0);at([tt(".ft-ripple")],F.prototype,"ripple",void 0);at([tt(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0);X("ft-ripple")(F);var al=Symbol.for(""),Wp=e=>{if(e?.r===al)return e?._$litStatic$},Ri=e=>({_$litStatic$:e,r:al});var il=new Map,sl=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=Wp(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=il.get(u))===void 0&&(s.raw=s,il.set(u,t=s)),o=l}return e(t,...o)},_i=sl(Gi),gb=sl(Zi);var Yt;(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"})(Yt||(Yt={}));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},gt=class extends U{constructor(){super(...arguments),this.variant=Yt.body1}render(){return this.element?_i`
|
|
523
|
+
<${Ri(this.element)}
|
|
524
524
|
part="text"
|
|
525
525
|
class="ft-typography ft-typography--${this.variant}">
|
|
526
526
|
<slot></slot>
|
|
527
|
-
</${
|
|
528
|
-
`:
|
|
527
|
+
</${Ri(this.element)}>
|
|
528
|
+
`:_i`
|
|
529
529
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
530
|
-
`}};
|
|
530
|
+
`}};gt.styles=[Hs,Fs,js,Vs,Ks,Gs,Zs,qs,Ys,Xs,Js,...Qs];ll([N()],gt.prototype,"element",void 0);ll([N()],gt.prototype,"variant",void 0);X("ft-typography")(gt);var Fe={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(D.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},cl=$`
|
|
531
531
|
.ft-tooltip--container {
|
|
532
532
|
display: block;
|
|
533
533
|
}
|
|
@@ -542,21 +542,21 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
542
542
|
box-sizing: border-box;
|
|
543
543
|
overflow: hidden;
|
|
544
544
|
width: max-content;
|
|
545
|
-
max-width: ${
|
|
545
|
+
max-width: ${Fe.maxWidth};
|
|
546
546
|
text-align: center;
|
|
547
|
-
padding: ${
|
|
548
|
-
z-index: ${
|
|
547
|
+
padding: ${Fe.distance};
|
|
548
|
+
z-index: ${Fe.zIndex};
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
.ft-tooltip--content {
|
|
552
552
|
padding: 4px 8px;
|
|
553
|
-
border-radius: ${
|
|
554
|
-
background-color: ${
|
|
555
|
-
color: ${
|
|
553
|
+
border-radius: ${Fe.borderRadiusS};
|
|
554
|
+
background-color: ${Fe.backgroundColor};
|
|
555
|
+
color: ${Fe.color};
|
|
556
556
|
position: relative;
|
|
557
557
|
word-break: break-word;
|
|
558
558
|
}
|
|
559
|
-
`;var
|
|
559
|
+
`;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},j=class extends U{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new nt,this.revealDebouncer=new nt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return q`
|
|
560
560
|
<div part="container"
|
|
561
561
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
562
562
|
@mouseenter=${this.onHover}
|
|
@@ -574,46 +574,45 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
574
574
|
</div>
|
|
575
575
|
</div>
|
|
576
576
|
</div>
|
|
577
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&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(r=>r.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="",Tn(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",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,r){return Math.max(t,Math.min(0,-r))}};V.elementDefinitions={"ft-typography":vt};V.styles=cl;dt([I()],V.prototype,"text",void 0);dt([I({type:Boolean})],V.prototype,"manual",void 0);dt([I({type:Boolean})],V.prototype,"inline",void 0);dt([I({type:Number})],V.prototype,"delay",void 0);dt([I()],V.prototype,"position",void 0);dt([Ir()],V.prototype,"slotNodes",void 0);dt([rt(".ft-tooltip--container")],V.prototype,"container",void 0);dt([rt(".ft-tooltip")],V.prototype,"tooltip",void 0);dt([rt(".ft-tooltip--content")],V.prototype,"tooltipContent",void 0);dt([q()],V.prototype,"visible",void 0);dt([Ce({passive:!0})],V.prototype,"onTouch",null);dt([Ce({passive:!0})],V.prototype,"onHover",null);dt([Ce({passive:!0})],V.prototype,"onOut",null);dt([Ce({passive:!0})],V.prototype,"onClick",null);tt("ft-tooltip")(V);var fr;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.EYE="",e.SHARE="󨃱"})(fr||(fr={}));var E;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(E||(E={}));var Yb=new Map([...["abw"].map(e=>[e,E.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,E.AUDIO]),...["avi"].map(e=>[e,E.AVI]),...["chm","xhs"].map(e=>[e,E.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,E.CODE]),...["csv"].map(e=>[e,E.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,E.DITA]),...["epub"].map(e=>[e,E.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,E.EXCEL]),...["flac"].map(e=>[e,E.FLAC]),...["gif"].map(e=>[e,E.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,E.GZIP]),...["html","htm","xhtml"].map(e=>[e,E.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,E.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,E.JPEG]),...["json"].map(e=>[e,E.JSON]),...["m4a","m4p"].map(e=>[e,E.M4A]),...["mov","qt"].map(e=>[e,E.MOV]),...["mp3"].map(e=>[e,E.MP3]),...["mp4","m4v"].map(e=>[e,E.MP4]),...["ogg","oga"].map(e=>[e,E.OGG]),...["pdf","ps"].map(e=>[e,E.PDF]),...["png"].map(e=>[e,E.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,E.POWERPOINT]),...["rar"].map(e=>[e,E.RAR]),...["stp"].map(e=>[e,E.STP]),...["txt","rtf","md","mdown"].map(e=>[e,E.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,E.VIDEO]),...["wav"].map(e=>[e,E.WAV]),...["wma"].map(e=>[e,E.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,E.WORD]),...["xml","xsl","rdf"].map(e=>[e,E.XML]),...["yaml","yml","x-yaml"].map(e=>[e,E.YAML]),...["zip"].map(e=>[e,E.ZIP])]);var qb={[E.ABW]:"#91ABC6",[E.AUDIO]:"#1795E3",[E.AVI]:"#E63324",[E.CHM]:"#71C3EB",[E.CODE]:"#71C3EB",[E.CSV]:"#1F7345",[E.DITA]:"#71C3EB",[E.EPUB]:"#85B926",[E.EXCEL]:"#1F7345",[E.FLAC]:"#1795E3",[E.GIF]:"#59B031",[E.GZIP]:"#F8AB36",[E.HTML]:"#71C3EB",[E.IMAGE]:"#59B031",[E.JPEG]:"#59B031",[E.JSON]:"#71C3EB",[E.M4A]:"#1795E3",[E.MOV]:"#E63324",[E.MP3]:"#1795E3",[E.MP4]:"#E63324",[E.OGG]:"#1795E3",[E.PDF]:"#E44948",[E.PNG]:"#59B031",[E.POWERPOINT]:"#B54A2B",[E.RAR]:"#F8AB36",[E.STP]:"#3764B1",[E.TEXT]:"#3162AB",[E.UNKNOWN]:"#999999",[E.VIDEO]:"#E63324",[E.WAV]:"#1795E3",[E.WMA]:"#1795E3",[E.WORD]:"#3162AB",[E.XML]:"#71C3EB",[E.YAML]:"#71C3EB",[E.ZIP]:"#F8AB36"};var Jt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Jt||(Jt={}));var ur=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(c=(i<3?l(c):i>3?l(t,r,c):l(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},mt=class extends G{constructor(){super(...arguments),this.resolvedIcon=K}render(){let t=this.variant&&Object.values(Jt).includes(this.variant)?this.variant:Jt.fluid_topics,r=t!==Jt.material||!!this.value;return J`
|
|
577
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",kn(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))}};j.elementDefinitions={"ft-typography":gt};j.styles=cl;st([N()],j.prototype,"text",void 0);st([N({type:Boolean})],j.prototype,"manual",void 0);st([N({type:Boolean})],j.prototype,"inline",void 0);st([N({type:Number})],j.prototype,"delay",void 0);st([N()],j.prototype,"position",void 0);st([Ro()],j.prototype,"slotNodes",void 0);st([tt(".ft-tooltip--container")],j.prototype,"container",void 0);st([tt(".ft-tooltip")],j.prototype,"tooltip",void 0);st([tt(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);st([G()],j.prototype,"visible",void 0);st([Se({passive:!0})],j.prototype,"onTouch",null);st([Se({passive:!0})],j.prototype,"onHover",null);st([Se({passive:!0})],j.prototype,"onOut",null);st([Se({passive:!0})],j.prototype,"onClick",null);X("ft-tooltip")(j);var co;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.EYE="",e.SHARE="󨃱"})(co||(co={}));var w;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(w||(w={}));var Yb=new Map([...["abw"].map(e=>[e,w.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,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.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,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.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,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.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,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var Xb={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var Et;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Et||(Et={}));var po=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var 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},ut=class extends U{constructor(){super(...arguments),this.resolvedIcon=H}render(){let t=this.variant&&Object.values(Et).includes(this.variant)?this.variant:Et.fluid_topics,o=t!==Et.material||!!this.value;return q`
|
|
578
578
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
579
|
-
${
|
|
580
|
-
<slot ?hidden=${
|
|
579
|
+
${Lo(this.resolvedIcon)}
|
|
580
|
+
<slot ?hidden=${o}></slot>
|
|
581
581
|
</i>
|
|
582
|
-
`}get textContent(){var t,
|
|
582
|
+
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case Et.file_format:this.resolvedIcon=(t=w[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Et.material:this.resolvedIcon=this.value||H;break;default:this.resolvedIcon=(o=co[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ut.elementDefinitions={};ut.styles=el;po([N()],ut.prototype,"variant",void 0);po([N()],ut.prototype,"value",void 0);po([G()],ut.prototype,"resolvedIcon",void 0);po([tt("slot")],ut.prototype,"slottedContent",void 0);X("ft-icon")(ut);var be=class extends U{render(){return q`
|
|
583
583
|
<div class="ft-loader">
|
|
584
584
|
<div></div>
|
|
585
585
|
<div></div>
|
|
586
586
|
<div></div>
|
|
587
587
|
<div></div>
|
|
588
588
|
</div>
|
|
589
|
-
`}};
|
|
589
|
+
`}};be.styles=tl;X("ft-loader")(be);var dt=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},Z=class extends Si(U,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}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(q`
|
|
590
590
|
<button part="button"
|
|
591
|
-
class="${
|
|
591
|
+
class="${pe(this.buttonClasses)}"
|
|
592
592
|
aria-label="${this.getLabel()}"
|
|
593
593
|
?disabled=${this.isDisabled()}>
|
|
594
594
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
595
595
|
<ft-typography part="label"
|
|
596
596
|
variant=${this.typographyVariant}
|
|
597
597
|
element="span"
|
|
598
|
-
class="ft-button--label ${
|
|
598
|
+
class="ft-button--label ${vr?"ft-safari-ellipsis-fix":""}"
|
|
599
599
|
?hidden=${!this.hasTextContent()}>
|
|
600
600
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
601
601
|
</ft-typography>
|
|
602
602
|
${this.resolveIcon()}
|
|
603
603
|
</button>
|
|
604
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
604
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?q`
|
|
605
605
|
<ft-tooltip part="tooltip"
|
|
606
606
|
text="${this.getLabel()}"
|
|
607
607
|
position="${this.tooltipPosition}">
|
|
608
608
|
${t}
|
|
609
609
|
</ft-tooltip>
|
|
610
|
-
`:t}resolveIcon(){return this.loading?
|
|
611
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
610
|
+
`:t}resolveIcon(){return this.loading?q`
|
|
611
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?q`
|
|
612
612
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
613
|
-
`:
|
|
613
|
+
`:q`
|
|
614
614
|
<slot part="icon" name="icon"></slot>
|
|
615
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};X.elementDefinitions={"ft-ripple":Z,"ft-tooltip":V,"ft-typography":vt,"ft-icon":mt,"ft-loader":ve};ht([I({type:String,reflect:!0})],X.prototype,"role",void 0);ht([I()],X.prototype,"type",void 0);ht([I({type:Boolean})],X.prototype,"disabled",void 0);ht([I()],X.prototype,"label",void 0);ht([I()],X.prototype,"icon",void 0);ht([I()],X.prototype,"iconVariant",void 0);ht([I({type:Boolean})],X.prototype,"trailingIcon",void 0);ht([I({type:Boolean})],X.prototype,"loading",void 0);ht([I()],X.prototype,"tooltipPosition",void 0);ht([I({type:Boolean})],X.prototype,"hideTooltip",void 0);ht([I({type:Boolean})],X.prototype,"forceTooltip",void 0);ht([rt(".ft-button")],X.prototype,"button",void 0);ht([rt(".ft-button--label slot")],X.prototype,"slottedContent",void 0);var hr=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(c=(i<3?l(c):i>3?l(t,r,c):l(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},St=class extends X{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};St.styles=[bo,ol];hr([I({type:Boolean})],St.prototype,"primary",void 0);hr([I({type:Boolean})],St.prototype,"outlined",void 0);hr([I({type:Boolean})],St.prototype,"dense",void 0);hr([I({type:Boolean})],St.prototype,"round",void 0);var Qt=e=>typeof e=="string"?Lt(e):e,a=class{static create(t,r,n,i){let c=s=>Qt(s??i),l=L`var(${Qt(t)}, ${c(i)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>L`var(${Qt(t)}, ${c(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,r,n,i){let c=s=>n.get(s??i),l=L`var(${Qt(t)}, ${c(i)})`;return l.name=t,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>L`var(${Qt(t)}, ${c(s)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(t,r){let n=c=>t.fallbackVariable?t.fallbackVariable.get(c??t.defaultValue):Qt(c??t.lastResortDefaultValue()),i=L`var(${Qt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=c=>L`var(${Qt(t.name)}, ${n(c)})`,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)")},H0={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")},F0={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")},G0={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")},K0={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")},Z0={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")},V0={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")},j0={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")},Y0={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")},q0={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")},X0={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")},J0={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")},Q0={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")},tx={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")},ex={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")},ox={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")},rx={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")},nx={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")},ax={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")},ix={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")},cx={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")},lx={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")},sx={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")},dx={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")},px={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")},fx={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")},ux={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.
|
|
616
|
-
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 N={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 Ex={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 Px={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 kx={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 Dx={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 Kx={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 qx={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 ev={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 iv={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 pv={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 mv={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 Sv={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 Nv={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 Lv={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 Tv={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 Mv={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 Zv={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 Xv={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 eS={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 iS={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 pS={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 mS={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 SS={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 NS={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 LS={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 ll;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(ll||(ll={}));var sl;(function(e){e.large="large",e.medium="medium",e.small="small"})(sl||(sl={}));var dl=[L`
|
|
615
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Z.elementDefinitions={"ft-ripple":F,"ft-tooltip":j,"ft-typography":gt,"ft-icon":ut,"ft-loader":be};dt([N({type:String,reflect:!0})],Z.prototype,"role",void 0);dt([N()],Z.prototype,"type",void 0);dt([N({type:Boolean})],Z.prototype,"disabled",void 0);dt([N()],Z.prototype,"label",void 0);dt([N()],Z.prototype,"icon",void 0);dt([N()],Z.prototype,"iconVariant",void 0);dt([N({type:Boolean})],Z.prototype,"trailingIcon",void 0);dt([N({type:Boolean})],Z.prototype,"loading",void 0);dt([N()],Z.prototype,"tooltipPosition",void 0);dt([N({type:Boolean})],Z.prototype,"hideTooltip",void 0);dt([N({type:Boolean})],Z.prototype,"forceTooltip",void 0);dt([tt(".ft-button")],Z.prototype,"button",void 0);dt([tt(".ft-button--label slot")],Z.prototype,"slottedContent",void 0);var fo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var 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},bt=class extends Z{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"}};bt.styles=[mr,nl];fo([N({type:Boolean})],bt.prototype,"primary",void 0);fo([N({type:Boolean})],bt.prototype,"outlined",void 0);fo([N({type:Boolean})],bt.prototype,"dense",void 0);fo([N({type:Boolean})],bt.prototype,"round",void 0);var pl=[$`
|
|
617
616
|
:host {
|
|
618
617
|
display: inline-block;
|
|
619
618
|
max-width: 100%;
|
|
@@ -663,7 +662,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
663
662
|
}
|
|
664
663
|
|
|
665
664
|
.ft-button:focus-visible {
|
|
666
|
-
outline-color: ${
|
|
665
|
+
outline-color: ${O.focusFocusRingColor};
|
|
667
666
|
outline-style: solid;
|
|
668
667
|
}
|
|
669
668
|
|
|
@@ -689,149 +688,175 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
689
688
|
display: none;
|
|
690
689
|
}
|
|
691
690
|
|
|
691
|
+
.ft-button.ft-button--icon-only {
|
|
692
|
+
padding: unset;
|
|
693
|
+
border-radius: 50%;
|
|
694
|
+
}
|
|
695
|
+
|
|
692
696
|
/** Primary styles **/
|
|
693
697
|
|
|
694
698
|
.ft-button--primary {
|
|
695
|
-
${
|
|
699
|
+
${P(et.color,O.primaryIconColor)};
|
|
696
700
|
|
|
697
|
-
${
|
|
698
|
-
${
|
|
699
|
-
${
|
|
700
|
-
${
|
|
701
|
-
${
|
|
701
|
+
${P(k.color,O.primaryStateLayerColor)};
|
|
702
|
+
${P(k.opacityContentOnSurfaceHover,O.primaryHoverStateLayerOpacity)};
|
|
703
|
+
${P(k.opacityContentOnSurfaceFocused,O.primaryFocusStateLayerOpacity)};
|
|
704
|
+
${P(k.opacityContentOnSurfaceSelected,O.primaryActiveStateLayerOpacity)};
|
|
705
|
+
${P(k.opacityContentOnSurfacePressed,O.primaryActiveStateLayerOpacity)};
|
|
702
706
|
|
|
703
|
-
background-color: ${
|
|
704
|
-
color: ${
|
|
707
|
+
background-color: ${O.primaryBackgroundColor};
|
|
708
|
+
color: ${O.primaryColor};
|
|
705
709
|
border-style: none;
|
|
706
710
|
}
|
|
707
711
|
|
|
708
712
|
.ft-button--primary[disabled] {
|
|
709
|
-
opacity: ${
|
|
713
|
+
opacity: ${O.primaryDisabledComponentOpacity};
|
|
710
714
|
}
|
|
711
715
|
|
|
712
716
|
.ft-button--primary ft-icon {
|
|
713
|
-
color: ${
|
|
717
|
+
color: ${O.primaryIconColor};
|
|
714
718
|
}
|
|
715
719
|
|
|
716
720
|
/** Secondary styles **/
|
|
717
721
|
|
|
718
722
|
.ft-button--secondary {
|
|
719
|
-
${
|
|
723
|
+
${P(et.color,O.secondaryIconColor)};
|
|
720
724
|
|
|
721
|
-
${
|
|
722
|
-
${
|
|
723
|
-
${
|
|
724
|
-
${
|
|
725
|
-
${
|
|
725
|
+
${P(k.color,O.secondaryStateLayerColor)};
|
|
726
|
+
${P(k.opacityContentOnSurfaceHover,O.secondaryHoverStateLayerOpacity)};
|
|
727
|
+
${P(k.opacityContentOnSurfaceFocused,O.secondaryFocusStateLayerOpacity)};
|
|
728
|
+
${P(k.opacityContentOnSurfaceSelected,O.secondaryActiveStateLayerOpacity)};
|
|
729
|
+
${P(k.opacityContentOnSurfacePressed,O.secondaryActiveStateLayerOpacity)};
|
|
726
730
|
|
|
727
|
-
background-color: ${
|
|
728
|
-
color: ${
|
|
729
|
-
border-color: ${
|
|
731
|
+
background-color: ${O.secondaryBackgroundColor};
|
|
732
|
+
color: ${O.secondaryColor};
|
|
733
|
+
border-color: ${O.secondaryBorderColor};
|
|
730
734
|
border-style: solid;
|
|
731
735
|
}
|
|
732
736
|
|
|
733
737
|
.ft-button--secondary[disabled] {
|
|
734
|
-
opacity: ${
|
|
738
|
+
opacity: ${O.secondaryDisabledComponentOpacity};
|
|
735
739
|
}
|
|
736
740
|
|
|
737
741
|
.ft-button--secondary ft-icon {
|
|
738
|
-
color: ${
|
|
742
|
+
color: ${O.secondaryIconColor};
|
|
739
743
|
}
|
|
740
744
|
|
|
741
745
|
/** Tertiary styles **/
|
|
742
746
|
|
|
743
747
|
.ft-button--tertiary {
|
|
744
|
-
${
|
|
748
|
+
${P(et.color,O.tertiaryIconColor)};
|
|
745
749
|
|
|
746
|
-
${
|
|
747
|
-
${
|
|
748
|
-
${
|
|
749
|
-
${
|
|
750
|
-
${
|
|
750
|
+
${P(k.color,O.tertiaryStateLayerColor)};
|
|
751
|
+
${P(k.opacityContentOnSurfaceHover,O.tertiaryHoverStateLayerOpacity)};
|
|
752
|
+
${P(k.opacityContentOnSurfaceFocused,O.tertiaryFocusStateLayerOpacity)};
|
|
753
|
+
${P(k.opacityContentOnSurfaceSelected,O.tertiaryActiveStateLayerOpacity)};
|
|
754
|
+
${P(k.opacityContentOnSurfacePressed,O.tertiaryActiveStateLayerOpacity)};
|
|
751
755
|
|
|
752
|
-
background-color: ${
|
|
753
|
-
color: ${
|
|
756
|
+
background-color: ${O.tertiaryBackgroundColor};
|
|
757
|
+
color: ${O.tertiaryColor};
|
|
754
758
|
border-style: none;
|
|
755
759
|
}
|
|
756
760
|
|
|
757
761
|
.ft-button--tertiary[disabled] {
|
|
758
|
-
opacity: ${
|
|
762
|
+
opacity: ${O.tertiaryDisabledComponentOpacity};
|
|
759
763
|
}
|
|
760
764
|
|
|
761
765
|
.ft-button--tertiary ft-icon {
|
|
762
|
-
color: ${
|
|
766
|
+
color: ${O.tertiaryIconColor};
|
|
763
767
|
}
|
|
764
768
|
|
|
765
769
|
/** Neutral styles **/
|
|
766
770
|
|
|
767
|
-
.
|
|
768
|
-
${
|
|
771
|
+
.ftds--family-neutral {
|
|
772
|
+
${P(et.color,O.neutralIconColor)};
|
|
769
773
|
|
|
770
|
-
${
|
|
771
|
-
${
|
|
772
|
-
${
|
|
773
|
-
${
|
|
774
|
-
${
|
|
774
|
+
${P(k.backgroundColor,O.neutralStateLayerColor)};
|
|
775
|
+
${P(k.opacityContentOnSurfaceHover,O.neutralHoverStateLayerOpacity)};
|
|
776
|
+
${P(k.opacityContentOnSurfaceFocused,O.neutralFocusStateLayerOpacity)};
|
|
777
|
+
${P(k.opacityContentOnSurfaceSelected,O.neutralActiveStateLayerOpacity)};
|
|
778
|
+
${P(k.opacityContentOnSurfacePressed,O.neutralActiveStateLayerOpacity)};
|
|
775
779
|
|
|
776
|
-
background-color: ${
|
|
777
|
-
color: ${
|
|
780
|
+
background-color: ${O.neutralBackgroundColor};
|
|
781
|
+
color: ${O.neutralColor};
|
|
778
782
|
border-style: none;
|
|
779
783
|
}
|
|
780
784
|
|
|
781
|
-
.
|
|
782
|
-
opacity: ${
|
|
785
|
+
.ftds--family-neutral[disabled] {
|
|
786
|
+
opacity: ${O.neutralDisabledComponentOpacity};
|
|
783
787
|
}
|
|
784
788
|
|
|
785
|
-
.
|
|
786
|
-
color: ${
|
|
789
|
+
.ftds--family-neutral ft-icon {
|
|
790
|
+
color: ${O.neutralIconColor};
|
|
787
791
|
}
|
|
788
792
|
|
|
789
793
|
/** Large styles **/
|
|
790
794
|
|
|
791
|
-
.
|
|
792
|
-
${
|
|
793
|
-
${
|
|
795
|
+
.ftds--size-large {
|
|
796
|
+
${P(rt.size,O.largeIconSize)};
|
|
797
|
+
${P(et.size,O.largeIconSize)};
|
|
794
798
|
|
|
795
|
-
height: ${
|
|
796
|
-
padding: 0 ${
|
|
797
|
-
gap: ${
|
|
798
|
-
border-radius: ${
|
|
799
|
-
border-width: ${
|
|
799
|
+
height: ${O.largeHeight};
|
|
800
|
+
padding: 0 ${O.largeHorizontalPadding};
|
|
801
|
+
gap: ${O.largeGap};
|
|
802
|
+
border-radius: ${O.largeBorderRadius};
|
|
803
|
+
border-width: ${O.largeBorderWidth};
|
|
800
804
|
}
|
|
801
805
|
|
|
802
|
-
.
|
|
803
|
-
outline-width: ${
|
|
804
|
-
outline-offset: ${
|
|
806
|
+
.ftds--size-large:focus-visible {
|
|
807
|
+
outline-width: ${O.largeFocusOutlineWidth};
|
|
808
|
+
outline-offset: ${O.largeFocusOutlineOffset};
|
|
805
809
|
}
|
|
806
810
|
|
|
807
|
-
.
|
|
808
|
-
width: ${
|
|
809
|
-
padding: unset;
|
|
811
|
+
.ftds--size-large.ft-button--icon-only {
|
|
812
|
+
width: ${O.largeIconOnlyWidth};
|
|
810
813
|
}
|
|
811
814
|
|
|
812
815
|
/** Small styles **/
|
|
813
816
|
|
|
814
|
-
.
|
|
815
|
-
${
|
|
816
|
-
${
|
|
817
|
+
.ftds--size-medium {
|
|
818
|
+
${P(rt.size,O.mediumIconSize)};
|
|
819
|
+
${P(et.size,O.mediumIconSize)};
|
|
817
820
|
|
|
818
|
-
height: ${
|
|
819
|
-
padding: 0 ${
|
|
820
|
-
gap: ${
|
|
821
|
-
border-radius: ${
|
|
822
|
-
border-width: ${
|
|
821
|
+
height: ${O.mediumHeight};
|
|
822
|
+
padding: 0 ${O.mediumHorizontalPadding};
|
|
823
|
+
gap: ${O.mediumGap};
|
|
824
|
+
border-radius: ${O.mediumBorderRadius};
|
|
825
|
+
border-width: ${O.mediumBorderWidth};
|
|
823
826
|
}
|
|
824
827
|
|
|
825
|
-
.
|
|
826
|
-
outline-width: ${
|
|
827
|
-
outline-offset: ${
|
|
828
|
+
.ftds--size-medium:focus-visible {
|
|
829
|
+
outline-width: ${O.mediumFocusOutlineWidth};
|
|
830
|
+
outline-offset: ${O.mediumFocusOutlineOffset};
|
|
828
831
|
}
|
|
829
832
|
|
|
830
|
-
.
|
|
831
|
-
width: ${
|
|
832
|
-
|
|
833
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
834
|
+
width: ${O.mediumIconOnlyWidth};
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
/** Small styles **/
|
|
839
|
+
|
|
840
|
+
.ftds--size-small {
|
|
841
|
+
${P(rt.size,O.smallIconSize)};
|
|
842
|
+
${P(et.size,O.smallIconSize)};
|
|
843
|
+
|
|
844
|
+
height: ${O.smallHeight};
|
|
845
|
+
padding: 0 ${O.smallHorizontalPadding};
|
|
846
|
+
gap: ${O.smallGap};
|
|
847
|
+
border-radius: ${O.smallBorderRadius};
|
|
848
|
+
border-width: ${O.smallBorderWidth};
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.ftds--size-small:focus-visible {
|
|
852
|
+
outline-width: ${O.smallFocusOutlineWidth};
|
|
853
|
+
outline-offset: ${O.smallFocusOutlineOffset};
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.ftds--size-small.ft-button--icon-only {
|
|
857
|
+
width: ${O.smallIconOnlyWidth};
|
|
833
858
|
}
|
|
834
|
-
`,
|
|
859
|
+
`,hr];var uo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var 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 Qr(Z){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=de.brand,this.iconVariant=Et.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case $t.large:return Yt.body2medium;case $t.medium:return Yt.caption1medium;case $t.small:return Yt.caption2medium}}};Dt.styles=[mr,pl];uo([N({type:Boolean})],Dt.prototype,"primary",void 0);uo([N({type:Boolean})],Dt.prototype,"secondary",void 0);uo([N({type:Boolean})],Dt.prototype,"tertiary",void 0);uo([N({type:Boolean})],Dt.prototype,"round",void 0);X("ft-button")(bt);X("ftds-button")(Dt);var Xt={buttonsColor:r.extend("--ft-snap-scroll-buttons-color","",D.colorPrimary),buttonsZIndex:r.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:r.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:r.external(D.colorSurface,"Design system")},dl=$`
|
|
835
860
|
.ft-snap-scroll {
|
|
836
861
|
box-sizing: border-box;
|
|
837
862
|
position: relative;
|
|
@@ -866,7 +891,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
866
891
|
flex-wrap: nowrap;
|
|
867
892
|
align-items: flex-start;
|
|
868
893
|
justify-content: flex-start;
|
|
869
|
-
gap: ${
|
|
894
|
+
gap: ${Xt.gap};
|
|
870
895
|
}
|
|
871
896
|
|
|
872
897
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -909,11 +934,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
909
934
|
.ft-snap-scroll--next {
|
|
910
935
|
position: absolute;
|
|
911
936
|
display: flex;
|
|
912
|
-
z-index: ${
|
|
937
|
+
z-index: ${Xt.buttonsZIndex};
|
|
913
938
|
opacity: 1;
|
|
914
939
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
915
|
-
${
|
|
916
|
-
${
|
|
940
|
+
${P(K.backgroundColor,"transparent")};
|
|
941
|
+
${P(K.color,Xt.buttonsColor)};
|
|
917
942
|
}
|
|
918
943
|
|
|
919
944
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -926,45 +951,45 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
926
951
|
top: 0;
|
|
927
952
|
left: -1px;
|
|
928
953
|
bottom: 0;
|
|
929
|
-
background: linear-gradient(to right, ${
|
|
954
|
+
background: linear-gradient(to right, ${Xt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
930
955
|
}
|
|
931
956
|
|
|
932
957
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
933
958
|
top: -1px;
|
|
934
959
|
left: 0;
|
|
935
960
|
right: 0;
|
|
936
|
-
background: linear-gradient(to bottom, ${
|
|
961
|
+
background: linear-gradient(to bottom, ${Xt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
937
962
|
}
|
|
938
963
|
|
|
939
964
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
940
965
|
top: 0;
|
|
941
966
|
right: -1px;
|
|
942
967
|
bottom: 0;
|
|
943
|
-
background: linear-gradient(to left, ${
|
|
968
|
+
background: linear-gradient(to left, ${Xt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
944
969
|
}
|
|
945
970
|
|
|
946
971
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
947
972
|
left: 0;
|
|
948
973
|
right: 0;
|
|
949
974
|
bottom: -1px;
|
|
950
|
-
background: linear-gradient(to top, ${
|
|
975
|
+
background: linear-gradient(to top, ${Xt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
951
976
|
}
|
|
952
977
|
|
|
953
978
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
954
979
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
955
980
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
956
981
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
957
|
-
background-color: ${
|
|
982
|
+
background-color: ${Xt.colorSurface};
|
|
958
983
|
}
|
|
959
|
-
`;var
|
|
984
|
+
`;var Nt=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},Pi=class extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}},Q=class extends U{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new nt(200),this.updateScrollDebouncer=new nt(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<i||o[this.offsetAttribute]+o[this.sizeAttribute]>n)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=pe({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":vr}),o=this.controls&&this.withScroll;return q`
|
|
960
985
|
<div part="container" class="${t}">
|
|
961
986
|
<ft-button
|
|
962
987
|
class="ft-snap-scroll--previous"
|
|
963
988
|
part="controls"
|
|
964
989
|
primary
|
|
965
990
|
icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
|
|
966
|
-
?hidden=${!
|
|
967
|
-
?disabled=${!
|
|
991
|
+
?hidden=${!o||this.startReached}
|
|
992
|
+
?disabled=${!o||this.startReached}
|
|
968
993
|
@click=${this.previous}
|
|
969
994
|
></ft-button>
|
|
970
995
|
<slot class="ft-snap-scroll--content"
|
|
@@ -975,12 +1000,12 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
975
1000
|
part="controls"
|
|
976
1001
|
primary
|
|
977
1002
|
icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
|
|
978
|
-
?hidden=${!
|
|
979
|
-
?disabled=${!
|
|
1003
|
+
?hidden=${!o||this.endReached}
|
|
1004
|
+
?disabled=${!o||this.endReached}
|
|
980
1005
|
@click=${this.next}
|
|
981
1006
|
></ft-button>
|
|
982
1007
|
</div>
|
|
983
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new
|
|
1008
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Pi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,n;t&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=(o=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}};Q.elementDefinitions={"ft-button":bt};Q.styles=dl;Nt([N({type:Boolean})],Q.prototype,"horizontal",void 0);Nt([N({type:Boolean})],Q.prototype,"hideScrollbar",void 0);Nt([N({type:Boolean})],Q.prototype,"controls",void 0);Nt([N({type:Boolean})],Q.prototype,"limitSize",void 0);Nt([G()],Q.prototype,"elements",void 0);Nt([G()],Q.prototype,"currentElement",void 0);Nt([G()],Q.prototype,"withScroll",void 0);Nt([G()],Q.prototype,"startReached",void 0);Nt([G()],Q.prototype,"endReached",void 0);Nt([tt(".ft-snap-scroll--content")],Q.prototype,"contentSlot",void 0);X("ft-snap-scroll")(Q);})();
|
|
984
1009
|
/*! Bundled license information:
|
|
985
1010
|
|
|
986
1011
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|