@fluid-topics/ft-pager 1.1.83 → 1.1.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-pager.light.js +289 -288
- package/build/ft-pager.min.js +274 -273
- package/package.json +6 -6
package/build/ft-pager.min.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";(()=>{var ul=Object.defineProperty;var B=(e,t)=>{for(var o in t)ul(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,L=new Set(b.observedAttributes||[]);m(b,L,S);let W={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:L};this._definitionsByTag.set(x,W),this._definitionsByClass.set(b,W);let nt=o.call(n,x);nt||(nt=u(x),t.call(n,x,nt)),this===window.customElements&&(s.set(b,W),W.standInClass=nt);let z=this._awaitingUpgrade.get(x);if(z){this._awaitingUpgrade.delete(x);for(let T of z)a.delete(T),g(T,W,!0)}let P=this._whenDefinedPromises.get(x);return P!==void 0&&(P.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(L=>S.resolve=L),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let L=this._awaitingUpgrade.get(b);L||this._awaitingUpgrade.set(b,L=new Set),S?L.add(x):L.delete(x)}};let p;window.HTMLElement=function(){let b=p;if(b)return p=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(e,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=e.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let S=E[E.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),d(b)||(b=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 L=h(S)||window.customElements,W=L._getDefinition(x);return W?g(S,W):a.set(S,L),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let L=x.prototype.setAttribute;L&&(x.prototype.setAttribute=function(z,P){let T=z.toLowerCase();if(b.has(T)){let D=this.getAttribute(T);L.call(this,T,P),S.call(this,T,D,P)}else L.call(this,T,P)});let W=x.prototype.removeAttribute;W&&(x.prototype.removeAttribute=function(z){let P=z.toLowerCase();if(b.has(P)){let T=this.getAttribute(P);W.call(this,P),S.call(this,P,T,null)}else W.call(this,P)});let nt=x.prototype.toggleAttribute;nt&&(x.prototype.toggleAttribute=function(z,P){let T=z.toLowerCase();if(b.has(T)){let D=this.getAttribute(T);nt.call(this,T,P);let Q=this.getAttribute(T);S.call(this,T,D,Q)}else nt.call(this,T,P)})},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),p=x;try{new b.elementClass}catch{y(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(L=>{x.hasAttribute(L)&&b.attributeChangedCallback.call(x,L,null,x.getAttribute(L))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let E=[document],N=(x,b,S=void 0)=>{let L=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){E.push(this);let W=L.apply(S||this,arguments);return W!==void 0&&l.set(W,this),E.pop(),W}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let A=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(L){E.push(this),S.set.call(this,L),E.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...z){let P=b.call(this,...z);return x.set(P,this),P},S.forEach(z=>{let P=window.ElementInternals.prototype,T=P[z];P[z]=function(...D){let Q=x.get(this);if(i.get(Q).formAssociated===!0)return T?.call(this,...D);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class L extends Array{constructor(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class W{constructor(P){let T=new Map;P.forEach((D,Q)=>{let go=D.getAttribute("name"),Li=T.get(go)||[];this[+Q]=D,Li.push(D),T.set(go,Li)}),this.length=P.length,T.forEach((D,Q)=>{D&&(D.length===1?this[Q]=D[0]:this[Q]=new L(D))})}namedItem(P){return this[P]}}let nt=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let z=nt.get.call(this,[]),P=[];for(let T of z){let D=i.get(T);(!D||D.formAssociated===!0)&&P.push(T)}return new W(P)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Po={};B(Po,{CSSResult:()=>we,LitElement:()=>Tt,ReactiveElement:()=>Ct,_$LE:()=>Dl,_$LH:()=>Il,adoptStyles:()=>zr,css:()=>_,defaultConverter:()=>Br,getCompatibleStyle:()=>tr,html:()=>V,isServer:()=>sd,noChange:()=>Ft,notEqual:()=>Co,nothing:()=>H,render:()=>$o,supportsAdoptingStyleSheets:()=>Qe,svg:()=>Tl,unsafeCSS:()=>le});var Nr=globalThis,Rr=Nr.ShadowRoot&&(Nr.ShadyCSS===void 0||Nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ii=Symbol(),Ti=new WeakMap,Ar=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Ii)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(Rr&&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}},ki=e=>new Ar(typeof e=="string"?e:e+"",void 0,Ii);var bo=(e,t)=>{if(Rr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Nr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},$r=Rr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return ki(o)})(e):e;var{is:hl,defineProperty:ml,getOwnPropertyDescriptor:yl,getOwnPropertyNames:gl,getOwnPropertySymbols:bl,getPrototypeOf:xl}=Object,Pr=globalThis,Mi=Pr.trustedTypes,vl=Mi?Mi.emptyScript:"",Sl=Pr.reactiveElementPolyfillSupport,Ge=(e,t)=>e,Ze={toAttribute(e,t){switch(t){case Boolean:e=e?vl:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},_r=(e,t)=>!hl(e,t),Di={attribute:!0,type:String,converter:Ze,reflect:!1,hasChanged:_r};Symbol.metadata??=Symbol("metadata"),Pr.litPropertyMetadata??=new WeakMap;var re=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Di){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&&ml(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=yl(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)??Di}static _$Ei(){if(this.hasOwnProperty(Ge("elementProperties")))return;let t=xl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ge("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ge("properties"))){let o=this.properties,n=[...gl(o),...bl(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($r(i))}else t!==void 0&&o.push($r(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 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,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ze).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ze;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??_r)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[Ge("elementProperties")]=new Map,re[Ge("finalized")]=new Map,Sl?.({ReactiveElement:re}),(Pr.reactiveElementVersions??=[]).push("2.0.2");var vo=globalThis,Lr=vo.trustedTypes,Wi=Lr?Lr.createPolicy("lit-html",{createHTML:e=>e}):void 0,So="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,Oo="?"+_t,Ol=`<${Oo}>`,ie=document,Tr=()=>ie.createComment(""),Ye=e=>e===null||typeof e!="object"&&typeof e!="function",ji=Array.isArray,Vi=e=>ji(e)||typeof e?.[Symbol.iterator]=="function",xo=`[
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bi=/'/g,Hi=/"/g,Ki=/^(?:script|style|textarea|title)$/i,Gi=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Zi=Gi(1),qi=Gi(2),pt=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),Fi=new WeakMap,ne=ie.createTreeWalker(ie,129);function Yi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wi!==void 0?Wi.createHTML(t):t}var Xi=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=qe;for(let l=0;l<o;l++){let p=e[l],d,h,u=-1,m=0;for(;m<p.length&&(s.lastIndex=m,h=s.exec(p),h!==null);)m=s.lastIndex,s===qe?h[1]==="!--"?s=Ui:h[1]!==void 0?s=zi:h[2]!==void 0?(Ki.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=oe):h[3]!==void 0&&(s=oe):s===oe?h[0]===">"?(s=i??qe,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?oe:h[3]==='"'?Hi:Bi):s===Hi||s===Bi?s=oe:s===Ui||s===zi?s=qe:(s=oe,i=void 0);let y=s===oe&&e[l+1].startsWith("/>")?" ":"";a+=s===qe?p+Ol:u>=0?(n.push(d),p.slice(0,u)+So+p.slice(u)+_t+y):p+_t+(u===-2?l:y)}return[Yi(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Xe=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,p=this.parts,[d,h]=Xi(t,o);if(this.el=e.createElement(d,n),ne.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ne.nextNode())!==null&&p.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(So)){let m=h[s++],y=i.getAttribute(u).split(_t),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?kr:g[1]==="?"?Mr:g[1]==="@"?Dr:se}),i.removeAttribute(u)}else u.startsWith(_t)&&(p.push({type:6,index:a}),i.removeAttribute(u));if(Ki.test(i.tagName)){let u=i.textContent.split(_t),m=u.length-1;if(m>0){i.textContent=Lr?Lr.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],Tr()),ne.nextNode(),p.push({type:2,index:++a});i.append(u[m],Tr())}}}else if(i.nodeType===8)if(i.data===Oo)p.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(_t,u+1))!==-1;)p.push({type:7,index:a}),u+=_t.length-1}a++}}static createElement(t,o){let n=ie.createElement("template");return n.innerHTML=t,n}};function ae(e,t,o=e,n){if(t===pt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Ye(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=ae(e,i._$AS(e,t.values),i,n)),t}var Ir=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ie).importNode(o,!0);ne.currentNode=i;let a=ne.nextNode(),s=0,l=0,p=n[0];for(;p!==void 0;){if(s===p.index){let d;p.type===2?d=new Je(a,a.nextSibling,this,t):p.type===1?d=new p.ctor(a,p.name,p.strings,this,t):p.type===6&&(d=new Wr(a,this,t)),this._$AV.push(d),p=n[++l]}s!==p?.index&&(a=ne.nextNode(),s++)}return ne.currentNode=ie,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Je=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ae(this,t,o),Ye(t)?t===Z||t==null||t===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==pt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Vi(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!==Z&&Ye(this._$AH)?this._$AA.nextSibling.data=t:this.$(ie.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Xe.createElement(Yi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Ir(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Fi.get(t.strings);return o===void 0&&Fi.set(t.strings,o=new Xe(t)),o}T(t){ji(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))}},se=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=Z,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=Z}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ae(this,t,o,0),s=!Ye(t)||t!==this._$AH&&t!==pt,s&&(this._$AH=t);else{let l=t,p,d;for(t=a[0],p=0;p<a.length-1;p++)d=ae(this,l[n+p],o,p),d===pt&&(d=this._$AH[p]),s||=!Ye(d)||d!==this._$AH[p],d===Z?t=Z:t!==Z&&(t+=(d??"")+a[p+1]),this._$AH[p]=d}s&&!i&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},kr=class extends se{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},Mr=class extends se{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},Dr=class extends se{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=ae(this,t,o,0)??Z)===pt)return;let n=this._$AH,i=t===Z&&n!==Z||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==Z&&(n===Z||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)}},Wr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}},Ji={j:So,P:_t,A:Oo,C:1,M:Xi,L:Ir,R:Vi,V:ae,D:Je,I:se,H:Mr,N:Dr,U:kr,B:Wr},wl=vo.litHtmlPolyfillSupport;wl?.(Xe,Je),(vo.litHtmlVersions??=[]).push("3.1.0");var Ur=globalThis,Qe=Ur.ShadowRoot&&(Ur.ShadyCSS===void 0||Ur.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,wo=Symbol(),Qi=new WeakMap,we=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==wo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Qe&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Qi.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Qi.set(o,t))}return t}toString(){return this.cssText}},le=e=>new we(typeof e=="string"?e:e+"",void 0,wo),_=(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 we(o,e,wo)},zr=(e,t)=>{if(Qe)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Ur.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},tr=Qe?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return le(o)})(e):e;var{is:Cl,defineProperty:El,getOwnPropertyDescriptor:Nl,getOwnPropertyNames:Al,getOwnPropertySymbols:Rl,getPrototypeOf:$l}=Object,Hr=globalThis,ta=Hr.trustedTypes,Pl=ta?ta.emptyScript:"",_l=Hr.reactiveElementPolyfillSupport,er=(e,t)=>e,Br={toAttribute(e,t){switch(t){case Boolean:e=e?Pl: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}},Co=(e,t)=>!Cl(e,t),ea={attribute:!0,type:String,converter:Br,reflect:!1,hasChanged:Co};Symbol.metadata??=Symbol("metadata"),Hr.litPropertyMetadata??=new WeakMap;var Ct=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=ea){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&&El(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Nl(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)??ea}static _$Ei(){if(this.hasOwnProperty(er("elementProperties")))return;let t=$l(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(er("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(er("properties"))){let o=this.properties,n=[...Al(o),...Rl(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(tr(i))}else t!==void 0&&o.push(tr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return zr(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:Br).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:Br;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??Co)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Ct.elementStyles=[],Ct.shadowRootOptions={mode:"open"},Ct[er("elementProperties")]=new Map,Ct[er("finalized")]=new Map,_l?.({ReactiveElement:Ct}),(Hr.reactiveElementVersions??=[]).push("2.0.2");var No=globalThis,Fr=No.trustedTypes,ra=Fr?Fr.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ao="$lit$",Lt=`lit$${(Math.random()+"").slice(9)}$`,Ro="?"+Lt,Ll=`<${Ro}>`,de=document,or=()=>de.createComment(""),nr=e=>e===null||typeof e!="object"&&typeof e!="function",la=Array.isArray,ca=e=>la(e)||typeof e?.[Symbol.iterator]=="function",Eo=`[
|
|
4
|
-
\f\r]`,
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ia=/'/g,aa=/"/g,pa=/^(?:script|style|textarea|title)$/i,da=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),V=da(1),Tl=da(2),Ft=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),sa=new WeakMap,pe=de.createTreeWalker(de,129);function fa(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ra!==void 0?ra.createHTML(t):t}var ua=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=rr;for(let l=0;l<o;l++){let p=e[l],d,h,u=-1,m=0;for(;m<p.length&&(s.lastIndex=m,h=s.exec(p),h!==null);)m=s.lastIndex,s===rr?h[1]==="!--"?s=oa:h[1]!==void 0?s=na:h[2]!==void 0?(pa.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ce):h[3]!==void 0&&(s=ce):s===ce?h[0]===">"?(s=i??rr,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?ce:h[3]==='"'?aa:ia):s===aa||s===ia?s=ce:s===oa||s===na?s=rr:(s=ce,i=void 0);let y=s===ce&&e[l+1].startsWith("/>")?" ":"";a+=s===rr?p+Ll:u>=0?(n.push(d),p.slice(0,u)+Ao+p.slice(u)+Lt+y):p+Lt+(u===-2?l:y)}return[fa(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},ir=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,p=this.parts,[d,h]=ua(t,o);if(this.el=e.createElement(d,n),pe.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=pe.nextNode())!==null&&p.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Ao)){let m=h[s++],y=i.getAttribute(u).split(Lt),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?Vr:g[1]==="?"?Kr:g[1]==="@"?Gr:ue}),i.removeAttribute(u)}else u.startsWith(Lt)&&(p.push({type:6,index:a}),i.removeAttribute(u));if(pa.test(i.tagName)){let u=i.textContent.split(Lt),m=u.length-1;if(m>0){i.textContent=Fr?Fr.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],or()),pe.nextNode(),p.push({type:2,index:++a});i.append(u[m],or())}}}else if(i.nodeType===8)if(i.data===Ro)p.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Lt,u+1))!==-1;)p.push({type:7,index:a}),u+=Lt.length-1}a++}}static createElement(t,o){let n=de.createElement("template");return n.innerHTML=t,n}};function fe(e,t,o=e,n){if(t===Ft)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=nr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=fe(e,i._$AS(e,t.values),i,n)),t}var jr=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??de).importNode(o,!0);pe.currentNode=i;let a=pe.nextNode(),s=0,l=0,p=n[0];for(;p!==void 0;){if(s===p.index){let d;p.type===2?d=new Ce(a,a.nextSibling,this,t):p.type===1?d=new p.ctor(a,p.name,p.strings,this,t):p.type===6&&(d=new Zr(a,this,t)),this._$AV.push(d),p=n[++l]}s!==p?.index&&(a=pe.nextNode(),s++)}return pe.currentNode=de,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Ce=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=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=fe(this,t,o),nr(t)?t===H||t==null||t===""?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==Ft&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ca(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&nr(this._$AH)?this._$AA.nextSibling.data=t:this.$(de.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ir.createElement(fa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new jr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=sa.get(t.strings);return o===void 0&&sa.set(t.strings,o=new ir(t)),o}T(t){la(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(or()),this.k(or()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ue=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=fe(this,t,o,0),s=!nr(t)||t!==this._$AH&&t!==Ft,s&&(this._$AH=t);else{let l=t,p,d;for(t=a[0],p=0;p<a.length-1;p++)d=fe(this,l[n+p],o,p),d===Ft&&(d=this._$AH[p]),s||=!nr(d)||d!==this._$AH[p],d===H?t=H:t!==H&&(t+=(d??"")+a[p+1]),this._$AH[p]=d}s&&!i&&this.O(t)}O(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Vr=class extends ue{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===H?void 0:t}},Kr=class extends ue{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},Gr=class extends ue{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=fe(this,t,o,0)??H)===Ft)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)}},Zr=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){fe(this,t)}},Il={j:Ao,P:Lt,A:Ro,C:1,M:ua,L:jr,R:ca,V:fe,D:Ce,I:ue,H:Kr,N:Gr,U:Vr,B:Zr},kl=No.litHtmlPolyfillSupport;kl?.(ir,Ce),(No.litHtmlVersions??=[]).push("3.1.0");var $o=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Ce(t.insertBefore(or(),a),a,void 0,o??{})}return i._$AI(e),i};var Tt=class extends Ct{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=$o(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ft}};Tt._$litElement$=!0,Tt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Tt});var Ml=globalThis.litElementPolyfillSupport;Ml?.({LitElement:Tt});var Dl={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var sd=!1;var Lo={};B(Lo,{customElement:()=>Wl,eventOptions:()=>Ee,property:()=>w,query:()=>et,queryAll:()=>Bl,queryAssignedElements:()=>Fl,queryAssignedNodes:()=>_o,queryAsync:()=>Hl,standardProperty:()=>ha,state:()=>tt});var Wl=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Ul={attribute:!0,type:String,converter:Ze,reflect:!1,hasChanged:_r},ha=(e=Ul,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 p=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,p,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 p=this[s];t.call(this,l),this.requestUpdate(s,p,e)}}throw Error("Unsupported decorator location: "+n)};function w(e){return(t,o)=>typeof o=="object"?ha(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 tt(e){return w({...e,state:!0,attribute:!1})}function Ee(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var bt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function et(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 p=Symbol();return{get(){return this[p]},set(d){this[p]=d}}})();return bt(o,n,{get(){let p=s.call(this);return p===void 0&&(p=a(this),(p!==null||this.hasUpdated)&&l.call(this,p)),p}})}return bt(o,n,{get(){return a(this)}})}}var zl;function Bl(e){return(t,o)=>bt(t,o,{get(){return(this.renderRoot??(zl??=document.createDocumentFragment())).querySelectorAll(e)}})}function Hl(e){return(t,o)=>bt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Fl(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return bt(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(p=>p.matches(i))}})}}function _o(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return bt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var To={};B(To,{repeat:()=>Kl});var jt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vt=e=>(...t)=>({_$litDirective$:e,values:t}),Et=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:jl}=Ji;var ma=()=>document.createComment(""),Ne=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(ma(),i),s=n.insertBefore(ma(),i);o=new jl(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let p;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(p=e._$AU)!==s._$AU&&o._$AP(p)}if(a!==i||l){let p=o._$AA;for(;p!==a;){let d=p.nextSibling;n.insertBefore(p,i),p=d}}}return o},Kt=(e,t,o=e)=>(e._$AI(t,o),e),Vl={},ya=(e,t=Vl)=>e._$AH=t,ga=e=>e._$AH,qr=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 ba=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Kl=Vt(class extends Et{constructor(e){if(super(e),e.type!==jt.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=ga(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],p=[],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])p[y]=Kt(i[u],a[y]),u++,y++;else if(l[m]===s[g])p[g]=Kt(i[m],a[g]),m--,g--;else if(l[u]===s[g])p[g]=Kt(i[u],a[g]),Ne(e,p[g+1],i[u]),u++,g--;else if(l[m]===s[y])p[y]=Kt(i[m],a[y]),Ne(e,i[u],i[m]),m--,y++;else if(d===void 0&&(d=ba(s,y,g),h=ba(l,u,m)),d.has(l[u]))if(d.has(l[m])){let v=h.get(s[y]),E=v!==void 0?i[v]:null;if(E===null){let N=Ne(e,i[u]);Kt(N,a[y]),p[y]=N}else p[y]=Kt(E,a[y]),Ne(e,i[u],E),i[v]=null;y++}else qr(i[m]),m--;else qr(i[u]),u++;for(;y<=g;){let v=Ne(e,p[g+1]);Kt(v,a[y]),p[y++]=v}for(;u<=m;){let v=i[u++];v!==null&&qr(v)}return this.dt=s,ya(e,p),pt}});var Io={};B(Io,{classMap:()=>It});var It=Vt(class extends Et{constructor(e){if(super(e),e.type!==jt.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 pt}});var ko={};B(ko,{styleMap:()=>Zl});var xa="important",Gl=" !"+xa,Zl=Vt(class extends Et{constructor(e){if(super(e),e.type!==jt.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(Gl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?xa:""):o[n]=i}}return pt}});var Do={};B(Do,{UnsafeHTMLDirective:()=>Ae,unsafeHTML:()=>Mo});var Ae=class extends Et{constructor(t){if(super(t),this.et=Z,t.type!==jt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ae.directiveName="unsafeHTML",Ae.resultType=1;var Mo=Vt(Ae);var Bo={};B(Bo,{CacheRegistry:()=>zo});var Uo={};B(Uo,{CancelablePromise:()=>Re,CanceledPromiseError:()=>ar,cancelable:()=>Wo});var ar=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Re=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new ar("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new ar("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Wo=e=>new Re((t,o)=>e.then(t).catch(o));var zo=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 Re&&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=Wo(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 Fo={};B(Fo,{ClusteringHelper:()=>Ho});var Ho=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 p=t.localeCompare(o,i,{numeric:!0});return l?p*-1:p}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(p=>{var d;return((d=e.extractResultMetadata(p,t))===null||d===void 0?void 0:d.value)==o}),a=[...e.extractResultMetadata(this.selectedResult).filter(p=>this.clusteringMetadata.has(p.key)).filter(p=>p.key!==t)],s,l=-1;for(let p of n){let d=this.countMatchingMetadata(p,a);if(d>l&&(l=d,s=p,d===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata(t).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var jo={};B(jo,{Debouncer:()=>xt});var xt=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 Go={};B(Go,{customElement:()=>q,isNumber:()=>Ca,jsonProperty:()=>Ko,optionalNumberProperty:()=>cr});var Vo={};B(Vo,{dateReviver:()=>Yl,deepEqual:()=>sr,delay:()=>va,eventPathContainsMatchingElement:()=>Jl,flatDeep:()=>Oa,hasChanged:()=>lr,last:()=>tc,minmax:()=>Ql,parseDate:()=>wa,waitFor:()=>Sa,waitUntil:()=>ql});var va=e=>new Promise(t=>setTimeout(t,e));async function ql(e,t=10,o=2e4){await Sa(async()=>await e()||void 0,t,o)}async function Sa(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await va(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Oa(e,t){return e.flatMap(o=>[o,...Oa(t(o),t)])}function Yl(...e){return function(t,o){return e.includes(t)?wa(o):o}}function wa(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 Xl(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(!sr(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(!sr(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(!sr(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function sr(e,t){try{return Xl(e,t)}catch{return!1}}function lr(e,t){return!sr(e,t)}function Jl(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 Ql(e,t,o){return Math.min(Math.max(e,t),o)}function tc(e){return e[e.length-1]}var q=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ko(e,t){let o=()=>JSON.parse(JSON.stringify(e));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:lr,...t??{}})}function cr(e){return w({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Ca(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Ca(e){return!isNaN(parseFloat(e))}var wn={};B(wn,{designSystemVariables:()=>I});var On={};B(On,{DesignSystemFamily:()=>vn,DesignSystemSize:()=>Sn,FtCssVariableFactory:()=>r,badge:()=>ic,banner:()=>nc,breadcrumb:()=>ac,button:()=>C,chart:()=>xc,checkbox:()=>Sc,chip:()=>rc,collapsible:()=>gc,comboboxMultiSelect:()=>hc,comboboxSingleSelect:()=>uc,drawer:()=>cc,floatingMenu:()=>fc,foundation:()=>c,link:()=>oc,modal:()=>lc,notice:()=>vc,notification:()=>Cc,pageHeader:()=>sc,popover:()=>mc,radio:()=>wc,resolveFamilyClass:()=>Nc,resolveSizeClass:()=>Ac,semantic:()=>f,setVariable:()=>R,switch_:()=>bc,tabs:()=>yc,textArea:()=>dc,textInput:()=>pc,toggle:()=>Oc,tooltip:()=>Ec,typographies:()=>pr,typographyBody1Medium:()=>Qo,typographyBody1Regular:()=>Jo,typographyBody1Semibold:()=>tn,typographyBody2Medium:()=>rn,typographyBody2MediumUnderline:()=>Ea,typographyBody2Regular:()=>en,typographyBody2Semibold:()=>on,typographyCaption1Bold:()=>un,typographyCaption1Medium:()=>dn,typographyCaption1Semibold:()=>fn,typographyCaption2Bold:()=>yn,typographyCaption2Medium:()=>hn,typographyCaption2Semibold:()=>mn,typographyCaption3Bold:()=>xn,typographyCaption3Medium:()=>gn,typographyCaption3Semibold:()=>bn,typographyDisplay:()=>Zo,typographyLabel1Bold:()=>sn,typographyLabel1Medium:()=>nn,typographyLabel1Semibold:()=>an,typographyLabel2Bold:()=>pn,typographyLabel2Medium:()=>ln,typographyLabel2Semibold:()=>cn,typographyTitle1:()=>qo,typographyTitle2:()=>Yo,typographyTitle3:()=>Xo,typographyVariants:()=>ec});var kt=e=>typeof e=="string"?le(e):e,r=class{static create(t,o,n,i){let a=l=>kt(l??i),s=_`var(${kt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${kt(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=_`var(${kt(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(${kt(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):kt(a??t.lastResortDefaultValue()),i=_`var(${kt(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(${kt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function R(e,t){return kt(`${e.name}: ${t}`)}var c={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)")},Zo={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")},qo={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")},Yo={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")},Xo={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")},Jo={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Qo={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},tn={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")},en={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")},rn={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")},Ea={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")},on={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")},nn={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")},an={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")},sn={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")},ln={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")},cn={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")},pn={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")},dn={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")},fn={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")},un={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")},hn={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")},mn={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")},yn={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")},gn={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")},bn={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")},xn={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")},pr={display:Zo,"title-1":qo,"title-2":Yo,"title-3":Xo,"body-1-regular":Jo,"body-1-medium":Qo,"body-1-semibold":tn,"body-2-regular":en,"body-2-medium":rn,"body-2-medium-underline":Ea,"body-2-semibold":on,"label-1-medium":nn,"label-1-semibold":an,"label-1-bold":sn,"label-2-medium":ln,"label-2-semibold":cn,"label-2-bold":pn,"caption-1-medium":dn,"caption-1-semibold":fn,"caption-1-bold":un,"caption-2-medium":hn,"caption-2-semibold":mn,"caption-2-bold":yn,"caption-3-medium":gn,"caption-3-semibold":bn,"caption-3-bold":xn},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.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)};var C={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.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","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.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","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.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","",c.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","",c.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","",c.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",c.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","",c.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",c.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","",c.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",c.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","",c.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};var rc={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",c.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",c.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",c.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.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","",c.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","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.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","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.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","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.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","",c.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.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","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",c.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","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var cc={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.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","",c.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var pc={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.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","",c.opacity40)};var dc={backgroundColor:r.extend("--ft-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var fc={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.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","",c.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","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var uc={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.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","",c.opacity40)};var hc={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var mc={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.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","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02)};var yc={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity16),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var gc={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.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","",c.iconSize3)};var bc={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var xc={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var vc={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.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","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.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","",c.spacing3)};var Oc={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.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","",c.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","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3)};var Cc={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var Ec={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.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","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var vn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(vn||(vn={}));var Sn;(function(e){e.large="large",e.medium="medium",e.small="small"})(Sn||(Sn={}));function Nc(e){return`design-system--family-${e}`}function Ac(e){return`design-system--size-${e}`}var I={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var An={};B(An,{FtNotificationEvent:()=>Cn,PostResizeEvent:()=>Nn,PreResizeEvent:()=>En});var Cn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},En=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Nn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Un={};B(Un,{computeOffsetPosition:()=>Wn});var Aa=["top","right","bottom","left"],Na=["start","end"],$n=Aa.reduce((e,t)=>e.concat(t,t+"-"+Na[0],t+"-"+Na[1]),[]),dr=Math.min,Gt=Math.max,fr=Math.round;var Mt=e=>({x:e,y:e}),Rc={left:"right",right:"left",bottom:"top",top:"bottom"},$c={start:"end",end:"start"};function Pn(e,t,o){return Gt(e,dr(t,o))}function Yr(e,t){return typeof e=="function"?e(t):e}function $e(e){return e.split("-")[0]}function Zt(e){return e.split("-")[1]}function _n(e){return e==="x"?"y":"x"}function Ln(e){return e==="y"?"height":"width"}function Xr(e){return["top","bottom"].includes($e(e))?"y":"x"}function Tn(e){return _n(Xr(e))}function Ra(e,t,o){o===void 0&&(o=!1);let n=Zt(e),i=Tn(e),a=Ln(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Rn(s)),[s,Rn(s)]}function $a(e){return e.replace(/start|end/g,t=>$c[t])}function Rn(e){return e.replace(/left|right|bottom|top/g,t=>Rc[t])}function Pc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Pa(e){return typeof e!="number"?Pc(e):{top:e,right:e,bottom:e,left:e}}function he(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function _a(e,t,o){let{reference:n,floating:i}=e,a=Xr(t),s=Tn(t),l=Ln(s),p=$e(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(p){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(Zt(t)){case"start":y[s]-=m*(o&&d?-1:1);break;case"end":y[s]+=m*(o&&d?-1:1);break}return y}var La=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=_a(d,n,p),m=n,y={},g=0;for(let v=0;v<l.length;v++){let{name:E,fn:N}=l[v],{x:A,y:x,data:b,reset:S}=await N({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:y,rects:d,platform:s,elements:{reference:e,floating:t}});if(h=A??h,u=x??u,y={...y,[E]:{...y[E],...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}=_a(d,m,p)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:y}};async function In(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:p}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:y=0}=Yr(t,e),g=Pa(y),E=l[m?u==="floating"?"reference":"floating":u],N=he(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(E)))==null||o?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:p})),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=he(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:x,strategy:p}):A);return{top:(N.top-S.top+g.top)/b.y,bottom:(S.bottom-N.bottom+g.bottom)/b.y,left:(N.left-S.left+g.left)/b.x,right:(S.right-N.right+g.right)/b.x}}function _c(e,t,o){return(e?[...o.filter(i=>Zt(i)===e),...o.filter(i=>Zt(i)!==e)]:o.filter(i=>$e(i)===i)).filter(i=>e?Zt(i)===e||(t?$a(i)!==i:!1):!0)}var kn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:p,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=$n,autoAlignment:y=!0,...g}=Yr(e,t),v=u!==void 0||m===$n?_c(u||null,y,m):m,E=await In(t,g),N=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[N];if(A==null)return{};let x=Ra(A,a,await(p.isRTL==null?void 0:p.isRTL(d.floating)));if(l!==A)return{reset:{placement:v[0]}};let b=[E[$e(A)],E[x[0]],E[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:b}],L=v[N+1];if(L)return{data:{index:N+1,overflows:S},reset:{placement:L}};let W=S.map(P=>{let T=Zt(P.placement);return[P.placement,T&&h?P.overflows.slice(0,2).reduce((D,Q)=>D+Q,0):P.overflows[0],P.overflows]}).sort((P,T)=>P[1]-T[1]),z=((i=W.filter(P=>P[2].slice(0,Zt(P[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||W[0][0];return z!==l?{data:{index:N+1,overflows:S},reset:{placement:z}}:{}}}};var Mn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:E=>{let{x:N,y:A}=E;return{x:N,y:A}}},...p}=Yr(e,t),d={x:o,y:n},h=await In(t,p),u=Xr($e(i)),m=_n(u),y=d[m],g=d[u];if(a){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",A=y+h[E],x=y-h[N];y=Pn(A,y,x)}if(s){let E=u==="y"?"top":"left",N=u==="y"?"bottom":"right",A=g+h[E],x=g-h[N];g=Pn(A,g,x)}let v=l.fn({...t,[m]:y,[u]:g});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function Dt(e){return Ia(e)?(e.nodeName||"").toLowerCase():"#document"}function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(e){var t;return(t=(Ia(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ia(e){return e instanceof Node||e instanceof it(e).Node}function Nt(e){return e instanceof Element||e instanceof it(e).Element}function vt(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 Pe(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=dt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function ka(e){return["table","td","th"].includes(Dt(e))}function Qr(e){let t=to(),o=dt(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 Ma(e){let t=me(e);for(;vt(t)&&!ur(t);){if(Qr(t))return t;t=me(t)}return null}function to(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ur(e){return["html","body","#document"].includes(Dt(e))}function dt(e){return it(e).getComputedStyle(e)}function hr(e){return Nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function me(e){if(Dt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ta(e)&&e.host||Wt(e);return Ta(t)?t.host:t}function Da(e){let t=me(e);return ur(t)?e.ownerDocument?e.ownerDocument.body:e.body:vt(t)&&Pe(t)?t:Da(t)}function Jr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Da(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=it(i);return a?t.concat(s,s.visualViewport||[],Pe(i)?i:[],s.frameElement&&o?Jr(s.frameElement):[]):t.concat(i,Jr(i,[],o))}function za(e){let t=dt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=vt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=fr(o)!==a||fr(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function Ba(e){return Nt(e)?e:e.contextElement}function _e(e){let t=Ba(e);if(!vt(t))return Mt(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=za(t),s=(a?fr(o.width):o.width)/n,l=(a?fr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Lc=Mt(0);function Ha(e){let t=it(e);return!to()||!t.visualViewport?Lc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Tc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==it(e)?!1:t}function mr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Ba(e),s=Mt(1);t&&(n?Nt(n)&&(s=_e(n)):s=_e(e));let l=Tc(a,o,n)?Ha(a):Mt(0),p=(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&&Nt(n)?it(n):n,g=m.frameElement;for(;g&&n&&y!==m;){let v=_e(g),E=g.getBoundingClientRect(),N=dt(g),A=E.left+(g.clientLeft+parseFloat(N.paddingLeft))*v.x,x=E.top+(g.clientTop+parseFloat(N.paddingTop))*v.y;p*=v.x,d*=v.y,h*=v.x,u*=v.y,p+=A,d+=x,g=it(g).frameElement}}return he({width:h,height:u,x:p,y:d})}function Ic(e){let{rect:t,offsetParent:o,strategy:n}=e,i=vt(o),a=Wt(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Mt(1),p=Mt(0);if((i||!i&&n!=="fixed")&&((Dt(o)!=="body"||Pe(a))&&(s=hr(o)),vt(o))){let d=mr(o);l=_e(o),p.x=d.x+o.clientLeft,p.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+p.x,y:t.y*l.y-s.scrollTop*l.y+p.y}}function kc(e){return Array.from(e.getClientRects())}function Fa(e){return mr(Wt(e)).left+hr(e).scrollLeft}function Mc(e){let t=Wt(e),o=hr(e),n=e.ownerDocument.body,i=Gt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Gt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Fa(e),l=-o.scrollTop;return dt(n).direction==="rtl"&&(s+=Gt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Dc(e,t){let o=it(e),n=Wt(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,p=0;if(i){a=i.width,s=i.height;let d=to();(!d||d&&t==="fixed")&&(l=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:l,y:p}}function Wc(e,t){let o=mr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=vt(e)?_e(e):Mt(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,p=i*a.x,d=n*a.y;return{width:s,height:l,x:p,y:d}}function Wa(e,t,o){let n;if(t==="viewport")n=Dc(e,o);else if(t==="document")n=Mc(Wt(e));else if(Nt(t))n=Wc(t,o);else{let i=Ha(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return he(n)}function ja(e,t){let o=me(e);return o===t||!Nt(o)||ur(o)?!1:dt(o).position==="fixed"||ja(o,t)}function Uc(e,t){let o=t.get(e);if(o)return o;let n=Jr(e,[],!1).filter(l=>Nt(l)&&Dt(l)!=="body"),i=null,a=dt(e).position==="fixed",s=a?me(e):e;for(;Nt(s)&&!ur(s);){let l=dt(s),p=Qr(s);!p&&l.position==="fixed"&&(i=null),(a?!p&&!i:!p&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Pe(s)&&!p&&ja(e,s))?n=n.filter(h=>h!==s):i=l,s=me(s)}return t.set(e,n),n}function zc(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Uc(t,this._c):[].concat(o),n],l=s[0],p=s.reduce((d,h)=>{let u=Wa(t,h,i);return d.top=Gt(u.top,d.top),d.right=dr(u.right,d.right),d.bottom=dr(u.bottom,d.bottom),d.left=Gt(u.left,d.left),d},Wa(t,l,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Bc(e){return za(e)}function Hc(e,t,o){let n=vt(t),i=Wt(t),a=o==="fixed",s=mr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},p=Mt(0);if(n||!n&&!a)if((Dt(t)!=="body"||Pe(i))&&(l=hr(t)),n){let d=mr(t,!0,a,t);p.x=d.x+t.clientLeft,p.y=d.y+t.clientTop}else i&&(p.x=Fa(i));return{x:s.left+l.scrollLeft-p.x,y:s.top+l.scrollTop-p.y,width:s.width,height:s.height}}function Ua(e,t){return!vt(e)||dt(e).position==="fixed"?null:t?t(e):e.offsetParent}function Va(e,t){let o=it(e);if(!vt(e))return o;let n=Ua(e,t);for(;n&&ka(n)&&dt(n).position==="static";)n=Ua(n,t);return n&&(Dt(n)==="html"||Dt(n)==="body"&&dt(n).position==="static"&&!Qr(n))?o:n||Ma(e)||o}var Fc=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||Va,a=this.getDimensions;return{reference:Hc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function jc(e){return dt(e).direction==="rtl"}var eo={convertOffsetParentRelativeRectToViewportRelativeRect:Ic,getDocumentElement:Wt,getClippingRect:zc,getOffsetParent:Va,getElementRects:Fc,getClientRects:kc,getDimensions:Bc,getScale:_e,isElement:Nt,isRTL:jc};var Ka=(e,t,o)=>{let n=new Map,i={platform:eo,...o},a={...i.platform,_c:n};return La(e,t,{...i,platform:a})};function Ga(e){return Vc(e)}function Dn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Vc(e){for(let t=e;t;t=Dn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Dn(e);t;t=Dn(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 Wn(e,t,o){return Ka(e,t,{platform:{...eo,getOffsetParent:n=>eo.getOffsetParent(n,Ga)},middleware:[Mn({crossAxis:!0}),kn({allowedPlacements:[o]})]})}var Bn={};B(Bn,{FtLitElement:()=>U});var zn={};B(zn,{ScopedRegistryLitElement:()=>yr});var ro=window,Kc=ro.ShadowRoot&&(ro.ShadyCSS===void 0||ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,hm=Symbol();var Za=(e,t)=>{Kc?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=ro.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var yr=class extends Tt{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 Za(n,t.elementStyles),n}};var oo=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},Xa,qa=Symbol("constructorPrototype"),Ya=Symbol("constructorName"),Ja=Symbol("exportpartsDebouncer"),U=class extends yr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Xa]=new xt(5),this[Ya]=this.constructor.name,this[qa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ya]&&Object.setPrototypeOf(this,this[qa])}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[Ja].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 p=m=>m!=null&&m.trim().length>0,d=t.filter(p).map(m=>m.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let 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(p).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(y=>`${m}:${y}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Xa=Ja;oo([w()],U.prototype,"exportpartsPrefix",void 0);oo([Ko([])],U.prototype,"exportpartsPrefixes",void 0);oo([w()],U.prototype,"customStylesheet",void 0);oo([tt()],U.prototype,"useAdoptedStyleSheets",void 0);var Qa={};var jn={};B(jn,{highlightHtml:()=>qc,highlightHtmlColorCssVariable:()=>ts,highlightHtmlStyles:()=>Zc});var ye=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 p=()=>{--s<=0&&i(l)};s||p(),a.forEach(d=>{e.matches(d,this.exclude)?p():this.onIframeReady(d,h=>{o(d)&&(l++,n(h)),p()},p)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),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,p)=>{l.val===n&&(a=p,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=[],p=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(d,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,y=>p.push(y),i)}),p.push(d);p.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 p=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,p):p()})}};var gr=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 ye(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),p=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&p!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(p)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(p)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(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,p=parseInt(t.start,10)-l;return p=p>s?s:p,i=p+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),p<0||i-p<0||p>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(p,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:p,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return ye.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 p=t.nodes[l+1];if(typeof p>"u"||p.start>o){if(!i(s.node))return!1;let d=o-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),t.value=u+m,t.nodes.forEach((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(p=>{p=p.node;let d;for(;(d=t.exec(p.textContent))!==null&&d[s]!=="";){if(!n(d[s],p))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;p=this.wrapRangeInTextNode(p,h,h+d[s].length),i(p.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let p;for(;(p=t.exec(l.value))!==null&&p[s]!=="";){let d=p.index;if(s!==0)for(let u=1;u<s;u++)d+=p[u].length;let h=d+p[s].length;this.wrapRangeInMappedTextNode(l,d,h,u=>n(p[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,p)=>{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),p),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",p=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):p(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):p(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,p)=>this.opt.filter(a,s,l,p),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=ye.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Hn(e){let t=new gr(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 Gc=Hn,ts=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Zc=_`
|
|
1
|
+
"use strict";(()=>{var xl=Object.defineProperty;var G=(e,t)=>{for(var r in t)xl(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 M={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(O,M),this._definitionsByClass.set(S,M);let ct=r.call(n,O);ct||(ct=m(O),t.call(n,O,ct)),this===window.customElements&&(l.set(S,M),M.standInClass=ct);let F=this._awaitingUpgrade.get(O);if(F){this._awaitingUpgrade.delete(O);for(let T of F)c.delete(T),v(T,M,!0)}let _=this._whenDefinedPromises.get(O);return _!==void 0&&(_.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){A.push(this),n.upgrade.apply(n,arguments),A.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(k=>w.resolve=k),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,S,w){let k=this._awaitingUpgrade.get(S);k||this._awaitingUpgrade.set(S,k=new Set),w?k.add(O):k.delete(O)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let w=l.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(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=A[A.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),u(S)||(S=s.get(S)?.getRootNode()||document)}return S.customElements},m=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let k=y(w)||window.customElements,M=k._getDefinition(O);return M?v(w,M):c.set(w,k),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):c.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):c.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},b=(O,S,w)=>{if(S.size===0||w===void 0)return;let k=O.prototype.setAttribute;k&&(O.prototype.setAttribute=function(F,_){let T=F.toLowerCase();if(S.has(T)){let D=this.getAttribute(T);k.call(this,T,_),w.call(this,T,D,_)}else k.call(this,T,_)});let M=O.prototype.removeAttribute;M&&(O.prototype.removeAttribute=function(F){let _=F.toLowerCase();if(S.has(_)){let T=this.getAttribute(_);M.call(this,_),w.call(this,_,T,null)}else M.call(this,_)});let ct=O.prototype.toggleAttribute;ct&&(O.prototype.toggleAttribute=function(F,_){let T=F.toLowerCase();if(S.has(T)){let D=this.getAttribute(T);ct.call(this,T,_);let ot=this.getAttribute(T);w.call(this,T,D,ot)}else ct.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 A=[document],I=(O,S,w=void 0)=>{let k=(w?Object.getPrototypeOf(w):O.prototype)[S];O.prototype[S]=function(){A.push(this);let M=k.apply(w||this,arguments);return M!==void 0&&s.set(M,this),A.pop(),M}};I(ShadowRoot,"createElement",document),I(ShadowRoot,"importNode",document),I(Element,"insertAdjacentHTML");let P=(O,S)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...w,set(k){A.push(this),w.set.call(this,k),A.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...F){let _=S.call(this,...F);return O.set(_,this),_},w.forEach(F=>{let _=window.ElementInternals.prototype,T=_[F];_[F]=function(...D){let ot=O.get(this);if(i.get(ot).formAssociated===!0)return T?.call(this,...D);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class M{constructor(_){let T=new Map;_.forEach((D,ot)=>{let Sr=D.getAttribute("name"),Ta=T.get(Sr)||[];this[+ot]=D,Ta.push(D),T.set(Sr,Ta)}),this.length=_.length,T.forEach((D,ot)=>{D&&(D.length===1?this[ot]=D[0]:this[ot]=new k(D))})}namedItem(_){return this[_]}}let ct=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let F=ct.get.call(this,[]),_=[];for(let T of F){let D=i.get(T);(!D||D.formAssociated===!0)&&_.push(T)}return new M(_)}})}}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 _r={};G(_r,{CSSResult:()=>Re,LitElement:()=>Ut,ReactiveElement:()=>Rt,_$LE:()=>Fl,_$LH:()=>Dl,adoptStyles:()=>Zo,css:()=>$,defaultConverter:()=>Ko,getCompatibleStyle:()=>no,html:()=>j,isServer:()=>hp,noChange:()=>Vt,notEqual:()=>Ar,nothing:()=>Z,render:()=>Wr,supportsAdoptingStyleSheets:()=>ro,svg:()=>Bl,unsafeCSS:()=>kt});var Lo=globalThis,Wo=Lo.ShadowRoot&&(Lo.ShadyCSS===void 0||Lo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,za=Symbol(),Ua=new WeakMap,$o=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==za)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(Wo&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Ua.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ua.set(r,t))}return t}toString(){return this.cssText}},Ba=e=>new $o(typeof e=="string"?e:e+"",void 0,za);var Or=(e,t)=>{if(Wo)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=Lo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},_o=Wo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Ba(r)})(e):e;var{is:vl,defineProperty:Sl,getOwnPropertyDescriptor:Ol,getOwnPropertyNames:Cl,getOwnPropertySymbols:wl,getPrototypeOf:El}=Object,ko=globalThis,Da=ko.trustedTypes,Nl=Da?Da.emptyScript:"",Rl=ko.reactiveElementPolyfillSupport,Xe=(e,t)=>e,Je={toAttribute(e,t){switch(t){case Boolean:e=e?Nl: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}},To=(e,t)=>!vl(e,t),Ma={attribute:!0,type:String,converter:Je,reflect:!1,hasChanged:To};Symbol.metadata??=Symbol("metadata"),ko.litPropertyMetadata??=new WeakMap;var ce=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ma){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&&Sl(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:c}=Ol(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)??Ma}static _$Ei(){if(this.hasOwnProperty(Xe("elementProperties")))return;let t=El(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Xe("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xe("properties"))){let r=this.properties,n=[...Cl(r),...wl(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(_o(i))}else t!==void 0&&r.push(_o(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 Or(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:Je).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:Je;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??To)(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){}};ce.elementStyles=[],ce.shadowRootOptions={mode:"open"},ce[Xe("elementProperties")]=new Map,ce[Xe("finalized")]=new Map,Rl?.({ReactiveElement:ce}),(ko.reactiveElementVersions??=[]).push("2.0.2");var wr=globalThis,Uo=wr.trustedTypes,Ha=Uo?Uo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Er="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,Nr="?"+_t,Al=`<${Nr}>`,de=document,zo=()=>de.createComment(""),to=e=>e===null||typeof e!="object"&&typeof e!="function",ja=Array.isArray,Ya=e=>ja(e)||typeof e?.[Symbol.iterator]=="function",Cr=`[
|
|
2
|
+
\f\r]`,Qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Fa=/-->/g,Ga=/>/g,le=RegExp(`>|${Cr}(?:([^\\s"'>=/]+)(${Cr}*=${Cr}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Za=/'/g,Ka=/"/g,qa=/^(?:script|style|textarea|title)$/i,Xa=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ja=Xa(1),Qa=Xa(2),ut=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Va=new WeakMap,se=de.createTreeWalker(de,129);function ti(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ha!==void 0?Ha.createHTML(t):t}var ei=(e,t)=>{let r=e.length-1,n=[],i,c=t===2?"<svg>":"",l=Qe;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===Qe?y[1]==="!--"?l=Fa:y[1]!==void 0?l=Ga:y[2]!==void 0?(qa.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=le):y[3]!==void 0&&(l=le):l===le?y[0]===">"?(l=i??Qe,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,u=y[1],l=y[3]===void 0?le:y[3]==='"'?Ka:Za):l===Ka||l===Za?l=le:l===Fa||l===Ga?l=Qe:(l=le,i=void 0);let x=l===le&&e[s+1].startsWith("/>")?" ":"";c+=l===Qe?d+Al:m>=0?(n.push(u),d.slice(0,m)+Er+d.slice(m)+_t+x):d+_t+(m===-2?s:x)}return[ti(e,c+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},eo=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]=ei(t,r);if(this.el=e.createElement(u,n),se.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=se.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Er)){let b=y[l++],x=i.getAttribute(m).split(_t),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:c,name:v[2],strings:x,ctor:v[1]==="."?Do:v[1]==="?"?Mo:v[1]==="@"?Ho:fe}),i.removeAttribute(m)}else m.startsWith(_t)&&(d.push({type:6,index:c}),i.removeAttribute(m));if(qa.test(i.tagName)){let m=i.textContent.split(_t),b=m.length-1;if(b>0){i.textContent=Uo?Uo.emptyScript:"";for(let x=0;x<b;x++)i.append(m[x],zo()),se.nextNode(),d.push({type:2,index:++c});i.append(m[b],zo())}}}else if(i.nodeType===8)if(i.data===Nr)d.push({type:2,index:c});else{let m=-1;for(;(m=i.data.indexOf(_t,m+1))!==-1;)d.push({type:7,index:c}),m+=_t.length-1}c++}}static createElement(t,r){let n=de.createElement("template");return n.innerHTML=t,n}};function pe(e,t,r=e,n){if(t===ut)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,c=to(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=pe(e,i._$AS(e,t.values),i,n)),t}var Bo=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??de).importNode(r,!0);se.currentNode=i;let c=se.nextNode(),l=0,s=0,d=n[0];for(;d!==void 0;){if(l===d.index){let u;d.type===2?u=new oo(c,c.nextSibling,this,t):d.type===1?u=new d.ctor(c,d.name,d.strings,this,t):d.type===6&&(u=new Fo(c,this,t)),this._$AV.push(u),d=n[++s]}l!==d?.index&&(c=se.nextNode(),l++)}return se.currentNode=de,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++}},oo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=X,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=pe(this,t,r),to(t)?t===X||t==null||t===""?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==ut&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ya(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!==X&&to(this._$AH)?this._$AA.nextSibling.data=t:this.$(de.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=eo.createElement(ti(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let c=new Bo(i,this),l=c.u(this.options);c.p(r),this.$(l),this._$AH=c}}_$AC(t){let r=Va.get(t.strings);return r===void 0&&Va.set(t.strings,r=new eo(t)),r}T(t){ja(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(zo()),this.k(zo()),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))}},fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,c){this.type=1,this._$AH=X,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=X}_$AI(t,r=this,n,i){let c=this.strings,l=!1;if(c===void 0)t=pe(this,t,r,0),l=!to(t)||t!==this._$AH&&t!==ut,l&&(this._$AH=t);else{let s=t,d,u;for(t=c[0],d=0;d<c.length-1;d++)u=pe(this,s[n+d],r,d),u===ut&&(u=this._$AH[d]),l||=!to(u)||u!==this._$AH[d],u===X?t=X:t!==X&&(t+=(u??"")+c[d+1]),this._$AH[d]=u}l&&!i&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Do=class extends fe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},Mo=class extends fe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},Ho=class extends fe{constructor(t,r,n,i,c){super(t,r,n,i,c),this.type=5}_$AI(t,r=this){if((t=pe(this,t,r,0)??X)===ut)return;let n=this._$AH,i=t===X&&n!==X||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,c=t!==X&&(n===X||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)}},Fo=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){pe(this,t)}},oi={j:Er,P:_t,A:Nr,C:1,M:ei,L:Bo,R:Ya,V:pe,D:oo,I:fe,H:Mo,N:Ho,U:Do,B:Fo},Il=wr.litHtmlPolyfillSupport;Il?.(eo,oo),(wr.litHtmlVersions??=[]).push("3.1.0");var Go=globalThis,ro=Go.ShadowRoot&&(Go.ShadyCSS===void 0||Go.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Rr=Symbol(),ri=new WeakMap,Re=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Rr)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=ri.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ri.set(r,t))}return t}toString(){return this.cssText}},kt=e=>new Re(typeof e=="string"?e:e+"",void 0,Rr),$=(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 Re(r,e,Rr)},Zo=(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=Go.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},no=ro?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return kt(r)})(e):e;var{is:Pl,defineProperty:Ll,getOwnPropertyDescriptor:$l,getOwnPropertyNames:Wl,getOwnPropertySymbols:_l,getPrototypeOf:kl}=Object,Vo=globalThis,ni=Vo.trustedTypes,Tl=ni?ni.emptyScript:"",Ul=Vo.reactiveElementPolyfillSupport,ao=(e,t)=>e,Ko={toAttribute(e,t){switch(t){case Boolean:e=e?Tl: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}},Ar=(e,t)=>!Pl(e,t),ai={attribute:!0,type:String,converter:Ko,reflect:!1,hasChanged:Ar};Symbol.metadata??=Symbol("metadata"),Vo.litPropertyMetadata??=new WeakMap;var Rt=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=ai){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&&Ll(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:c}=$l(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)??ai}static _$Ei(){if(this.hasOwnProperty(ao("elementProperties")))return;let t=kl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(ao("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ao("properties"))){let r=this.properties,n=[...Wl(r),..._l(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(no(i))}else t!==void 0&&r.push(no(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 Zo(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:Ko).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:Ko;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??Ar)(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){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[ao("elementProperties")]=new Map,Rt[ao("finalized")]=new Map,Ul?.({ReactiveElement:Rt}),(Vo.reactiveElementVersions??=[]).push("2.0.2");var Pr=globalThis,jo=Pr.trustedTypes,ii=jo?jo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Lr="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,$r="?"+Tt,zl=`<${$r}>`,ge=document,co=()=>ge.createComment(""),lo=e=>e===null||typeof e!="object"&&typeof e!="function",fi=Array.isArray,ui=e=>fi(e)||typeof e?.[Symbol.iterator]=="function",Ir=`[
|
|
4
|
+
\f\r]`,io=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ci=/-->/g,li=/>/g,ue=RegExp(`>|${Ir}(?:([^\\s"'>=/]+)(${Ir}*=${Ir}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),si=/'/g,di=/"/g,hi=/^(?:script|style|textarea|title)$/i,gi=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),j=gi(1),Bl=gi(2),Vt=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),pi=new WeakMap,he=ge.createTreeWalker(ge,129);function mi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ii!==void 0?ii.createHTML(t):t}var yi=(e,t)=>{let r=e.length-1,n=[],i,c=t===2?"<svg>":"",l=io;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===io?y[1]==="!--"?l=ci:y[1]!==void 0?l=li:y[2]!==void 0?(hi.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=ue):y[3]!==void 0&&(l=ue):l===ue?y[0]===">"?(l=i??io,m=-1):y[1]===void 0?m=-2:(m=l.lastIndex-y[2].length,u=y[1],l=y[3]===void 0?ue:y[3]==='"'?di:si):l===di||l===si?l=ue:l===ci||l===li?l=io:(l=ue,i=void 0);let x=l===ue&&e[s+1].startsWith("/>")?" ":"";c+=l===io?d+zl:m>=0?(n.push(u),d.slice(0,m)+Lr+d.slice(m)+Tt+x):d+Tt+(m===-2?s:x)}return[mi(e,c+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},so=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]=yi(t,r);if(this.el=e.createElement(u,n),he.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=he.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Lr)){let b=y[l++],x=i.getAttribute(m).split(Tt),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:c,name:v[2],strings:x,ctor:v[1]==="."?qo:v[1]==="?"?Xo:v[1]==="@"?Jo:ye}),i.removeAttribute(m)}else m.startsWith(Tt)&&(d.push({type:6,index:c}),i.removeAttribute(m));if(hi.test(i.tagName)){let m=i.textContent.split(Tt),b=m.length-1;if(b>0){i.textContent=jo?jo.emptyScript:"";for(let x=0;x<b;x++)i.append(m[x],co()),he.nextNode(),d.push({type:2,index:++c});i.append(m[b],co())}}}else if(i.nodeType===8)if(i.data===$r)d.push({type:2,index:c});else{let m=-1;for(;(m=i.data.indexOf(Tt,m+1))!==-1;)d.push({type:7,index:c}),m+=Tt.length-1}c++}}static createElement(t,r){let n=ge.createElement("template");return n.innerHTML=t,n}};function me(e,t,r=e,n){if(t===Vt)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,c=lo(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=me(e,i._$AS(e,t.values),i,n)),t}var Yo=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??ge).importNode(r,!0);he.currentNode=i;let c=he.nextNode(),l=0,s=0,d=n[0];for(;d!==void 0;){if(l===d.index){let u;d.type===2?u=new Ae(c,c.nextSibling,this,t):d.type===1?u=new d.ctor(c,d.name,d.strings,this,t):d.type===6&&(u=new Qo(c,this,t)),this._$AV.push(u),d=n[++s]}l!==d?.index&&(c=he.nextNode(),l++)}return he.currentNode=ge,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++}},Ae=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=Z,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=me(this,t,r),lo(t)?t===Z||t==null||t===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==Vt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ui(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!==Z&&lo(this._$AH)?this._$AA.nextSibling.data=t:this.$(ge.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=so.createElement(mi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let c=new Yo(i,this),l=c.u(this.options);c.p(r),this.$(l),this._$AH=c}}_$AC(t){let r=pi.get(t.strings);return r===void 0&&pi.set(t.strings,r=new so(t)),r}T(t){fi(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(co()),this.k(co()),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))}},ye=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,c){this.type=1,this._$AH=Z,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=Z}_$AI(t,r=this,n,i){let c=this.strings,l=!1;if(c===void 0)t=me(this,t,r,0),l=!lo(t)||t!==this._$AH&&t!==Vt,l&&(this._$AH=t);else{let s=t,d,u;for(t=c[0],d=0;d<c.length-1;d++)u=me(this,s[n+d],r,d),u===Vt&&(u=this._$AH[d]),l||=!lo(u)||u!==this._$AH[d],u===Z?t=Z:t!==Z&&(t+=(u??"")+c[d+1]),this._$AH[d]=u}l&&!i&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},qo=class extends ye{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},Xo=class extends ye{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},Jo=class extends ye{constructor(t,r,n,i,c){super(t,r,n,i,c),this.type=5}_$AI(t,r=this){if((t=me(this,t,r,0)??Z)===Vt)return;let n=this._$AH,i=t===Z&&n!==Z||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,c=t!==Z&&(n===Z||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)}},Qo=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){me(this,t)}},Dl={j:Lr,P:Tt,A:$r,C:1,M:yi,L:Yo,R:ui,V:me,D:Ae,I:ye,H:Xo,N:Jo,U:qo,B:Qo},Ml=Pr.litHtmlPolyfillSupport;Ml?.(so,Ae),(Pr.litHtmlVersions??=[]).push("3.1.0");var Wr=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let c=r?.renderBefore??null;n._$litPart$=i=new Ae(t.insertBefore(co(),c),c,void 0,r??{})}return i._$AI(e),i};var Ut=class extends Rt{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=Wr(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Vt}};Ut._$litElement$=!0,Ut.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ut});var Hl=globalThis.litElementPolyfillSupport;Hl?.({LitElement:Ut});var Fl={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var hp=!1;var Tr={};G(Tr,{customElement:()=>Gl,eventOptions:()=>Ie,property:()=>N,query:()=>nt,queryAll:()=>Vl,queryAssignedElements:()=>Yl,queryAssignedNodes:()=>kr,queryAsync:()=>jl,standardProperty:()=>bi,state:()=>rt});var Gl=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Zl={attribute:!0,type:String,converter:Je,reflect:!1,hasChanged:To},bi=(e=Zl,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 N(e){return(t,r)=>typeof r=="object"?bi(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 rt(e){return N({...e,state:!0,attribute:!1})}function Ie(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var St=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function nt(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 St(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 St(r,n,{get(){return c(this)}})}}var Kl;function Vl(e){return(t,r)=>St(t,r,{get(){return(this.renderRoot??(Kl??=document.createDocumentFragment())).querySelectorAll(e)}})}function jl(e){return(t,r)=>St(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Yl(e){return(t,r)=>{let{slot:n,selector:i}=e??{},c="slot"+(n?`[name=${n}]`:":not([name])");return St(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 kr(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return St(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Ur={};G(Ur,{repeat:()=>Jl});var jt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Yt=e=>(...t)=>({_$litDirective$:e,values:t}),At=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:ql}=oi;var xi=()=>document.createComment(""),Pe=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let c=n.insertBefore(xi(),i),l=n.insertBefore(xi(),i);r=new ql(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},qt=(e,t,r=e)=>(e._$AI(t,r),e),Xl={},vi=(e,t=Xl)=>e._$AH=t,Si=e=>e._$AH,tr=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 Oi=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},Jl=Yt(class extends At{constructor(e){if(super(e),e.type!==jt.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=Si(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]=qt(i[m],c[x]),m++,x++;else if(s[b]===l[v])d[v]=qt(i[b],c[v]),b--,v--;else if(s[m]===l[v])d[v]=qt(i[m],c[v]),Pe(e,d[v+1],i[m]),m++,v--;else if(s[b]===l[x])d[x]=qt(i[b],c[x]),Pe(e,i[m],i[b]),b--,x++;else if(u===void 0&&(u=Oi(l,x,v),y=Oi(s,m,b)),u.has(s[m]))if(u.has(s[b])){let C=y.get(l[x]),A=C!==void 0?i[C]:null;if(A===null){let I=Pe(e,i[m]);qt(I,c[x]),d[x]=I}else d[x]=qt(A,c[x]),Pe(e,i[m],A),i[C]=null;x++}else tr(i[b]),b--;else tr(i[m]),m++;for(;x<=v;){let C=Pe(e,d[v+1]);qt(C,c[x]),d[x++]=C}for(;m<=b;){let C=i[m++];C!==null&&tr(C)}return this.dt=l,vi(e,d),ut}});var zr={};G(zr,{classMap:()=>zt});var zt=Yt(class extends At{constructor(e){if(super(e),e.type!==jt.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 ut}});var Br={};G(Br,{styleMap:()=>ts});var Ci="important",Ql=" !"+Ci,ts=Yt(class extends At{constructor(e){if(super(e),e.type!==jt.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(Ql);n.includes("-")||c?r.setProperty(n,c?i.slice(0,-11):i,c?Ci:""):r[n]=i}}return ut}});var Mr={};G(Mr,{UnsafeHTMLDirective:()=>Le,unsafeHTML:()=>Dr});var Le=class extends At{constructor(t){if(super(t),this.et=X,t.type!==jt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||t==null)return this.vt=void 0,this.et=t;if(t===ut)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:[]}}};Le.directiveName="unsafeHTML",Le.resultType=1;var Dr=Yt(Le);var Zr={};G(Zr,{CacheRegistry:()=>Gr});var Fr={};G(Fr,{CancelablePromise:()=>$e,CanceledPromiseError:()=>po,cancelable:()=>Hr});var po=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},$e=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new po("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new po("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Hr=e=>new $e((t,r)=>e.then(t).catch(r));var Gr=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 $e&&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=Hr(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 Vr={};G(Vr,{ClusteringHelper:()=>Kr});var Kr=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 jr={};G(jr,{Debouncer:()=>Ot});var Ot=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 Xr={};G(Xr,{customElement:()=>J,isNumber:()=>Ai,jsonProperty:()=>qr,optionalNumberProperty:()=>ho});var Yr={};G(Yr,{dateReviver:()=>os,deepEqual:()=>fo,delay:()=>wi,eventPathContainsMatchingElement:()=>ns,flatDeep:()=>Ni,hasChanged:()=>uo,last:()=>is,minmax:()=>as,parseDate:()=>Ri,waitFor:()=>Ei,waitUntil:()=>es});var wi=e=>new Promise(t=>setTimeout(t,e));async function es(e,t=10,r=2e4){await Ei(async()=>await e()||void 0,t,r)}async function Ei(e,t=10,r=2e4){let n=await e(),i,c;for(i=c=performance.now();n==null&&(!r||c-i<r);)await wi(t),n=await e(),c=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ni(e,t){return e.flatMap(r=>[r,...Ni(t(r),t)])}function os(...e){return function(t,r){return e.includes(t)?Ri(r):r}}function Ri(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 rs(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(!fo(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(!fo(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(!fo(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function fo(e,t){try{return rs(e,t)}catch{return!1}}function uo(e,t){return!fo(e,t)}function ns(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 as(e,t,r){return Math.min(Math.max(e,t),r)}function is(e){return e[e.length-1]}var J=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function qr(e,t){let r=()=>JSON.parse(JSON.stringify(e));return N({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:uo,...t??{}})}function ho(e){return N({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Ai(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Ai(e){return!isNaN(parseFloat(e))}var Rn={};G(Rn,{designSystemVariables:()=>U});var Nn={};G(Nn,{DesignSystemFamily:()=>wn,DesignSystemSize:()=>En,FtCssVariableFactory:()=>o,badge:()=>fs,banner:()=>ps,breadcrumb:()=>us,button:()=>ls,chart:()=>Ns,checkbox:()=>As,chip:()=>ss,collapsible:()=>ws,comboboxMultiSelect:()=>Os,comboboxSingleSelect:()=>Ss,drawer:()=>ms,floatingMenu:()=>vs,foundation:()=>f,link:()=>ds,modal:()=>gs,notice:()=>Rs,notification:()=>Ls,pageHeader:()=>hs,popover:()=>Cs,radio:()=>Ps,resolveFamilyClass:()=>Ws,resolveSizeClass:()=>_s,semantic:()=>h,setVariable:()=>L,switch_:()=>Es,tabs:()=>ys,textArea:()=>xs,textInput:()=>bs,toggle:()=>Is,tooltip:()=>$s,typographies:()=>go,typographyBody1Medium:()=>rn,typographyBody1Regular:()=>on,typographyBody1Semibold:()=>nn,typographyBody2Medium:()=>cn,typographyBody2MediumUnderline:()=>Ii,typographyBody2Regular:()=>an,typographyBody2Semibold:()=>ln,typographyCaption1Bold:()=>yn,typographyCaption1Medium:()=>gn,typographyCaption1Semibold:()=>mn,typographyCaption2Bold:()=>vn,typographyCaption2Medium:()=>bn,typographyCaption2Semibold:()=>xn,typographyCaption3Bold:()=>Cn,typographyCaption3Medium:()=>Sn,typographyCaption3Semibold:()=>On,typographyDisplay:()=>Jr,typographyLabel1Bold:()=>pn,typographyLabel1Medium:()=>sn,typographyLabel1Semibold:()=>dn,typographyLabel2Bold:()=>hn,typographyLabel2Medium:()=>fn,typographyLabel2Semibold:()=>un,typographyTitle1:()=>Qr,typographyTitle2:()=>tn,typographyTitle3:()=>en,typographyVariants:()=>cs});var Bt=e=>typeof e=="string"?kt(e):e,o=class{static create(t,r,n,i){let c=s=>Bt(s??i),l=$`var(${Bt(t)}, ${c(i)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>$`var(${Bt(t)}, ${c(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,r,n,i){let c=s=>n.get(s??i),l=$`var(${Bt(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=>$`var(${Bt(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):Bt(c??t.lastResortDefaultValue()),i=$`var(${Bt(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=>$`var(${Bt(t.name)}, ${n(c)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function L(e,t){return Bt(`${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)")},Jr={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")},Qr={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")},tn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},en={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},on={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")},rn={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")},nn={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")},an={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")},cn={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")},Ii={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")},ln={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")},sn={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")},dn={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")},pn={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")},fn={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")},un={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")},hn={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")},gn={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},mn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},yn={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")},bn={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")},xn={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")},vn={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")},Sn={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")},On={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")},Cn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},go={display:Jr,"title-1":Qr,"title-2":tn,"title-3":en,"body-1-regular":on,"body-1-medium":rn,"body-1-semibold":nn,"body-2-regular":an,"body-2-medium":cn,"body-2-medium-underline":Ii,"body-2-semibold":ln,"label-1-medium":sn,"label-1-semibold":dn,"label-1-bold":pn,"label-2-medium":fn,"label-2-semibold":un,"label-2-bold":hn,"caption-1-medium":gn,"caption-1-semibold":mn,"caption-1-bold":yn,"caption-2-medium":bn,"caption-2-semibold":xn,"caption-2-bold":vn,"caption-3-medium":Sn,"caption-3-semibold":On,"caption-3-bold":Cn},cs=["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 ls={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 ss={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 ds={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 ps={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 fs={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 us={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 hs={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 gs={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 ms={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 ys={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 bs={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 xs={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 vs={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 Ss={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 Os={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 Cs={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 ws={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 Es={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 Ns={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 Rs={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 As={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 Is={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 Ps={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 Ls={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 $s={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 wn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(wn||(wn={}));var En;(function(e){e.large="large",e.medium="medium",e.small="small"})(En||(En={}));function Ws(e){return`design-system--family-${e}`}function _s(e){return`design-system--size-${e}`}var U={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ln={};G(Ln,{FtNotificationEvent:()=>An,PostResizeEvent:()=>Pn,PreResizeEvent:()=>In});var An=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},In=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Pn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Fn={};G(Fn,{computeOffsetPosition:()=>Hn});var Li=["top","right","bottom","left"],Pi=["start","end"],Wn=Li.reduce((e,t)=>e.concat(t,t+"-"+Pi[0],t+"-"+Pi[1]),[]),mo=Math.min,Xt=Math.max,yo=Math.round;var Dt=e=>({x:e,y:e}),ks={left:"right",right:"left",bottom:"top",top:"bottom"},Ts={start:"end",end:"start"};function _n(e,t,r){return Xt(e,mo(t,r))}function er(e,t){return typeof e=="function"?e(t):e}function We(e){return e.split("-")[0]}function Jt(e){return e.split("-")[1]}function kn(e){return e==="x"?"y":"x"}function Tn(e){return e==="y"?"height":"width"}function or(e){return["top","bottom"].includes(We(e))?"y":"x"}function Un(e){return kn(or(e))}function $i(e,t,r){r===void 0&&(r=!1);let n=Jt(e),i=Un(e),c=Tn(i),l=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(l=$n(l)),[l,$n(l)]}function Wi(e){return e.replace(/start|end/g,t=>Ts[t])}function $n(e){return e.replace(/left|right|bottom|top/g,t=>ks[t])}function Us(e){return{top:0,right:0,bottom:0,left:0,...e}}function _i(e){return typeof e!="number"?Us(e):{top:e,right:e,bottom:e,left:e}}function be(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function ki(e,t,r){let{reference:n,floating:i}=e,c=or(t),l=Un(t),s=Tn(l),d=We(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(Jt(t)){case"start":x[l]-=b*(r&&u?-1:1);break;case"end":x[l]+=b*(r&&u?-1:1);break}return x}var Ti=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}=ki(u,n,d),b=n,x={},v=0;for(let C=0;C<s.length;C++){let{name:A,fn:I}=s[C],{x:P,y:O,data:S,reset:w}=await I({x:y,y:m,initialPlacement:n,placement:b,strategy:i,middlewareData:x,rects:u,platform:l,elements:{reference:e,floating:t}});if(y=P??y,m=O??m,x={...x,[A]:{...x[A],...S}},w&&v<=50){v++,typeof w=="object"&&(w.placement&&(b=w.placement),w.rects&&(u=w.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:y,y:m}=ki(u,b,d)),C=-1;continue}}return{x:y,y:m,placement:b,strategy:i,middlewareData:x}};async function zn(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}=er(t,e),v=_i(x),A=s[b?m==="floating"?"reference":"floating":m],I=be(await c.getClippingRect({element:(r=await(c.isElement==null?void 0:c.isElement(A)))==null||r?A:A.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(s.floating)),boundary:u,rootBoundary:y,strategy:d})),P=m==="floating"?{...l.floating,x:n,y:i}:l.reference,O=await(c.getOffsetParent==null?void 0:c.getOffsetParent(s.floating)),S=await(c.isElement==null?void 0:c.isElement(O))?await(c.getScale==null?void 0:c.getScale(O))||{x:1,y:1}:{x:1,y:1},w=be(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:O,strategy:d}):P);return{top:(I.top-w.top+v.top)/S.y,bottom:(w.bottom-I.bottom+v.bottom)/S.y,left:(I.left-w.left+v.left)/S.x,right:(w.right-I.right+v.right)/S.x}}function zs(e,t,r){return(e?[...r.filter(i=>Jt(i)===e),...r.filter(i=>Jt(i)!==e)]:r.filter(i=>We(i)===i)).filter(i=>e?Jt(i)===e||(t?Wi(i)!==i:!1):!0)}var Bn=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=Wn,autoAlignment:x=!0,...v}=er(e,t),C=m!==void 0||b===Wn?zs(m||null,x,b):b,A=await zn(t,v),I=((r=l.autoPlacement)==null?void 0:r.index)||0,P=C[I];if(P==null)return{};let O=$i(P,c,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(s!==P)return{reset:{placement:C[0]}};let S=[A[We(P)],A[O[0]],A[O[1]]],w=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:S}],k=C[I+1];if(k)return{data:{index:I+1,overflows:w},reset:{placement:k}};let M=w.map(_=>{let T=Jt(_.placement);return[_.placement,T&&y?_.overflows.slice(0,2).reduce((D,ot)=>D+ot,0):_.overflows[0],_.overflows]}).sort((_,T)=>_[1]-T[1]),F=((i=M.filter(_=>_[2].slice(0,Jt(_[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||M[0][0];return F!==s?{data:{index:I+1,overflows:w},reset:{placement:F}}:{}}}};var Dn=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:A=>{let{x:I,y:P}=A;return{x:I,y:P}}},...d}=er(e,t),u={x:r,y:n},y=await zn(t,d),m=or(We(i)),b=kn(m),x=u[b],v=u[m];if(c){let A=b==="y"?"top":"left",I=b==="y"?"bottom":"right",P=x+y[A],O=x-y[I];x=_n(P,x,O)}if(l){let A=m==="y"?"top":"left",I=m==="y"?"bottom":"right",P=v+y[A],O=v-y[I];v=_n(P,v,O)}let C=s.fn({...t,[b]:x,[m]:v});return{...C,data:{x:C.x-r,y:C.y-n}}}}};function Mt(e){return zi(e)?(e.nodeName||"").toLowerCase():"#document"}function lt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ht(e){var t;return(t=(zi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zi(e){return e instanceof Node||e instanceof lt(e).Node}function It(e){return e instanceof Element||e instanceof lt(e).Element}function Ct(e){return e instanceof HTMLElement||e instanceof lt(e).HTMLElement}function Ui(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof lt(e).ShadowRoot}function _e(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=ht(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Bi(e){return["table","td","th"].includes(Mt(e))}function nr(e){let t=ar(),r=ht(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 Di(e){let t=xe(e);for(;Ct(t)&&!bo(t);){if(nr(t))return t;t=xe(t)}return null}function ar(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function bo(e){return["html","body","#document"].includes(Mt(e))}function ht(e){return lt(e).getComputedStyle(e)}function xo(e){return It(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function xe(e){if(Mt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ui(e)&&e.host||Ht(e);return Ui(t)?t.host:t}function Mi(e){let t=xe(e);return bo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ct(t)&&_e(t)?t:Mi(t)}function rr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=Mi(e),c=i===((n=e.ownerDocument)==null?void 0:n.body),l=lt(i);return c?t.concat(l,l.visualViewport||[],_e(i)?i:[],l.frameElement&&r?rr(l.frameElement):[]):t.concat(i,rr(i,[],r))}function Gi(e){let t=ht(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Ct(e),c=i?e.offsetWidth:r,l=i?e.offsetHeight:n,s=yo(r)!==c||yo(n)!==l;return s&&(r=c,n=l),{width:r,height:n,$:s}}function Zi(e){return It(e)?e:e.contextElement}function ke(e){let t=Zi(e);if(!Ct(t))return Dt(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:c}=Gi(t),l=(c?yo(r.width):r.width)/n,s=(c?yo(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}var Bs=Dt(0);function Ki(e){let t=lt(e);return!ar()||!t.visualViewport?Bs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ds(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==lt(e)?!1:t}function vo(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),c=Zi(e),l=Dt(1);t&&(n?It(n)&&(l=ke(n)):l=ke(e));let s=Ds(c,r,n)?Ki(c):Dt(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=lt(c),x=n&&It(n)?lt(n):n,v=b.frameElement;for(;v&&n&&x!==b;){let C=ke(v),A=v.getBoundingClientRect(),I=ht(v),P=A.left+(v.clientLeft+parseFloat(I.paddingLeft))*C.x,O=A.top+(v.clientTop+parseFloat(I.paddingTop))*C.y;d*=C.x,u*=C.y,y*=C.x,m*=C.y,d+=P,u+=O,v=lt(v).frameElement}}return be({width:y,height:m,x:d,y:u})}function Ms(e){let{rect:t,offsetParent:r,strategy:n}=e,i=Ct(r),c=Ht(r);if(r===c)return t;let l={scrollLeft:0,scrollTop:0},s=Dt(1),d=Dt(0);if((i||!i&&n!=="fixed")&&((Mt(r)!=="body"||_e(c))&&(l=xo(r)),Ct(r))){let u=vo(r);s=ke(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 Hs(e){return Array.from(e.getClientRects())}function Vi(e){return vo(Ht(e)).left+xo(e).scrollLeft}function Fs(e){let t=Ht(e),r=xo(e),n=e.ownerDocument.body,i=Xt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),c=Xt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+Vi(e),s=-r.scrollTop;return ht(n).direction==="rtl"&&(l+=Xt(t.clientWidth,n.clientWidth)-i),{width:i,height:c,x:l,y:s}}function Gs(e,t){let r=lt(e),n=Ht(e),i=r.visualViewport,c=n.clientWidth,l=n.clientHeight,s=0,d=0;if(i){c=i.width,l=i.height;let u=ar();(!u||u&&t==="fixed")&&(s=i.offsetLeft,d=i.offsetTop)}return{width:c,height:l,x:s,y:d}}function Zs(e,t){let r=vo(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,c=Ct(e)?ke(e):Dt(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 Hi(e,t,r){let n;if(t==="viewport")n=Gs(e,r);else if(t==="document")n=Fs(Ht(e));else if(It(t))n=Zs(t,r);else{let i=Ki(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return be(n)}function ji(e,t){let r=xe(e);return r===t||!It(r)||bo(r)?!1:ht(r).position==="fixed"||ji(r,t)}function Ks(e,t){let r=t.get(e);if(r)return r;let n=rr(e,[],!1).filter(s=>It(s)&&Mt(s)!=="body"),i=null,c=ht(e).position==="fixed",l=c?xe(e):e;for(;It(l)&&!bo(l);){let s=ht(l),d=nr(l);!d&&s.position==="fixed"&&(i=null),(c?!d&&!i:!d&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||_e(l)&&!d&&ji(e,l))?n=n.filter(y=>y!==l):i=s,l=xe(l)}return t.set(e,n),n}function Vs(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,l=[...r==="clippingAncestors"?Ks(t,this._c):[].concat(r),n],s=l[0],d=l.reduce((u,y)=>{let m=Hi(t,y,i);return u.top=Xt(m.top,u.top),u.right=mo(m.right,u.right),u.bottom=mo(m.bottom,u.bottom),u.left=Xt(m.left,u.left),u},Hi(t,s,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function js(e){return Gi(e)}function Ys(e,t,r){let n=Ct(t),i=Ht(t),c=r==="fixed",l=vo(e,!0,c,t),s={scrollLeft:0,scrollTop:0},d=Dt(0);if(n||!n&&!c)if((Mt(t)!=="body"||_e(i))&&(s=xo(t)),n){let u=vo(t,!0,c,t);d.x=u.x+t.clientLeft,d.y=u.y+t.clientTop}else i&&(d.x=Vi(i));return{x:l.left+s.scrollLeft-d.x,y:l.top+s.scrollTop-d.y,width:l.width,height:l.height}}function Fi(e,t){return!Ct(e)||ht(e).position==="fixed"?null:t?t(e):e.offsetParent}function Yi(e,t){let r=lt(e);if(!Ct(e))return r;let n=Fi(e,t);for(;n&&Bi(n)&&ht(n).position==="static";)n=Fi(n,t);return n&&(Mt(n)==="html"||Mt(n)==="body"&&ht(n).position==="static"&&!nr(n))?r:n||Di(e)||r}var qs=async function(e){let{reference:t,floating:r,strategy:n}=e,i=this.getOffsetParent||Yi,c=this.getDimensions;return{reference:Ys(t,await i(r),n),floating:{x:0,y:0,...await c(r)}}};function Xs(e){return ht(e).direction==="rtl"}var ir={convertOffsetParentRelativeRectToViewportRelativeRect:Ms,getDocumentElement:Ht,getClippingRect:Vs,getOffsetParent:Yi,getElementRects:qs,getClientRects:Hs,getDimensions:js,getScale:ke,isElement:It,isRTL:Xs};var qi=(e,t,r)=>{let n=new Map,i={platform:ir,...r},c={...i.platform,_c:n};return Ti(e,t,{...i,platform:c})};function Xi(e){return Js(e)}function Mn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Js(e){for(let t=e;t;t=Mn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Mn(e);t;t=Mn(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 Hn(e,t,r){return qi(e,t,{platform:{...ir,getOffsetParent:n=>ir.getOffsetParent(n,Xi)},middleware:[Dn({crossAxis:!0}),Bn({allowedPlacements:[r]})]})}var Zn={};G(Zn,{FtLitElement:()=>H});var Gn={};G(Gn,{ScopedRegistryLitElement:()=>So});var cr=window,Qs=cr.ShadowRoot&&(cr.ShadyCSS===void 0||cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sg=Symbol();var Ji=(e,t)=>{Qs?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=cr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})};var So=class extends Ut{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 Ji(n,t.elementStyles),n}};var lr=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},ec,Qi=Symbol("constructorPrototype"),tc=Symbol("constructorName"),oc=Symbol("exportpartsDebouncer"),H=class extends So{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ec]=new Ot(5),this[tc]=this.constructor.name,this[Qi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[tc]&&Object.setPrototypeOf(this,this[Qi])}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[oc].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(", "))}};ec=oc;lr([N()],H.prototype,"exportpartsPrefix",void 0);lr([qr([])],H.prototype,"exportpartsPrefixes",void 0);lr([N()],H.prototype,"customStylesheet",void 0);lr([rt()],H.prototype,"useAdoptedStyleSheets",void 0);var rc={};var jn={};G(jn,{highlightHtml:()=>od,highlightHtmlColorCssVariable:()=>nc,highlightHtmlStyles:()=>ed});var ve=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 Oo=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 ve(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 ve.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=ve.matches(n,r),c=this.matchesExclude(n);return!i||c?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Kn(e){let t=new Oo(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 td=Kn,nc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ed=$`
|
|
7
7
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
8
|
+
background: ${nc};
|
|
9
9
|
}
|
|
10
|
-
`,
|
|
10
|
+
`,Vn={className:"highlight-html-match"};function od(e,t){var r;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new td(e);i.unmark(Vn),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...Vn,separateWordSearch:!0}),((r=t.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(l=>i.mark(l.replace(/"/g,""),{...Vn,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var Yn={};G(Yn,{noTextSelect:()=>Co,safariEllipsisFix:()=>wo,wordWrap:()=>rd});var Co=$`
|
|
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.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
16
16
|
-ms-user-select: none;
|
|
17
17
|
user-select: none;
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`,rd=$`
|
|
20
20
|
.ft-word-wrap {
|
|
21
21
|
white-space: normal;
|
|
22
22
|
word-wrap: break-word;
|
|
@@ -28,7 +28,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
28
28
|
-webkit-hyphens: auto;
|
|
29
29
|
hyphens: auto
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,wo=$`
|
|
32
32
|
.ft-safari-ellipsis-fix {
|
|
33
33
|
margin-right: 0;
|
|
34
34
|
|
|
@@ -39,7 +39,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
39
39
|
display: inline-block;
|
|
40
40
|
width: 0;
|
|
41
41
|
}
|
|
42
|
-
`;var es={};var Gn={};B(Gn,{ParametrizedLabelResolver:()=>Kn});var Kn=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"),(p,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):t??""}formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var vi={};B(vi,{FtCommandQueue:()=>vr,FtLitElementRedux:()=>Le,FtReduxStore:()=>xi,clearAllStores:()=>Mp,isFtReduxStore:()=>ge,redux:()=>Jc,reduxEventListener:()=>Qc,reduxReactive:()=>Xc});var Xc=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},Jc=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:lr,attribute:!1,...t};w(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})}},Qc=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var vr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function ge(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var rs,os,ns,no=Symbol("internalReduxEventsUnsubscribers"),qt=Symbol("internalStoresUnsubscribers"),be=Symbol("internalStores"),Le=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[be].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[be].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[be].get(t)}addStore(t,o){var n;o=(n=o??(ge(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[be].delete(o)}setupStore(t,o){this[be].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[be].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[qt].has(t.store):this[qt].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[qt].set(t,o.subscribe(()=>this.updateFromStores())),ge(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=l=>this[a](l);o.eventBus.addEventListener(i.eventName,s),this[no].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[no].forEach(t=>t()),this[no]=[]}unsubscribeFromStore(t){this[qt].has(t)&&this[qt].get(t)(),this[qt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};rs=qt,os=be,ns=no;Le.reduxProperties=new Map;Le.reduxReactiveProperties=new Set;Le.reduxEventListeners=new Map;function mt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ut(e){return!!e&&!!e[F]}function St(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)===sp}(e)||Array.isArray(e)||!!e[ds]||!!(!((t=e.constructor)===null||t===void 0)&&t[ds])||ri(e)||oi(e))}function xe(e,t,o){o===void 0&&(o=!1),ke(e)===0?(o?Object.keys:Ie)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function ke(e){var t=e[F];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ri(e)?2:oi(e)?3:0}function Te(e,t){return ke(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function tp(e,t){return ke(e)===2?e.get(t):e[t]}function fs(e,t,o){var n=ke(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 ri(e){return ip&&e instanceof Map}function oi(e){return ap&&e instanceof Set}function Yt(e){return e.o||e.t}function ni(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ys(e);delete t[F];for(var o=Ie(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 ii(e,t){return t===void 0&&(t=!1),ai(e)||Ut(e)||!St(e)||(ke(e)>1&&(e.set=e.add=e.clear=e.delete=ep),Object.freeze(e),t&&xe(e,function(o,n){return ii(n,!0)},!0)),e}function ep(){mt(2)}function ai(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function At(e){var t=ei[e];return t||mt(18,e),t}function rp(e,t){ei[e]||(ei[e]=t)}function Jn(){return Or}function Zn(e,t){t&&(At("Patches"),e.u=[],e.s=[],e.v=t)}function io(e){Qn(e),e.p.forEach(op),e.p=null}function Qn(e){e===Or&&(Or=e.l)}function is(e){return Or={p:[],l:Or,h:e,m:!0,_:0}}function op(e){var t=e[F];t.i===0||t.i===1?t.j():t.g=!0}function qn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||At("ES5").S(t,e,n),n?(o[F].P&&(io(t),mt(4)),St(e)&&(e=ao(t,e),t.l||so(t,e)),t.u&&At("Patches").M(o[F].t,e,t.u,t.s)):e=ao(t,o,[]),io(t),t.u&&t.v(t.u,t.s),e!==ms?e:void 0}function ao(e,t,o){if(ai(t))return t;var n=t[F];if(!n)return xe(t,function(l,p){return as(e,n,t,l,p,o)},!0),t;if(n.A!==e)return t;if(!n.P)return so(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ni(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),xe(a,function(l,p){return as(e,n,i,l,p,o,s)}),so(e,i,!1),o&&e.u&&At("Patches").N(n,o,e.u,e.s)}return n.o}function as(e,t,o,n,i,a,s){if(Ut(i)){var l=ao(e,i,a&&t&&t.i!==3&&!Te(t.R,n)?a.concat(n):void 0);if(fs(o,n,l),!Ut(l))return;e.m=!1}else s&&o.add(i);if(St(i)&&!ai(i)){if(!e.h.D&&e._<1)return;ao(e,i),t&&t.A.l||so(e,i)}}function so(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&ii(t,o)}function Yn(e,t){var o=e[F];return(o?Yt(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 Xt(e){e.P||(e.P=!0,e.l&&Xt(e.l))}function Xn(e){e.o||(e.o=ni(e.t))}function ti(e,t,o){var n=ri(t)?At("MapSet").F(t,o):oi(t)?At("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Jn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=l,d=wr;s&&(p=[l],d=Sr);var h=Proxy.revocable(p,d),u=h.revoke,m=h.proxy;return l.k=m,l.j=u,m}(t,o):At("ES5").J(t,o);return(o?o.A:Jn()).p.push(n),n}function np(e){return Ut(e)||mt(22,e),function t(o){if(!St(o))return o;var n,i=o[F],a=ke(o);if(i){if(!i.P&&(i.i<4||!At("ES5").K(i)))return i.t;i.I=!0,n=ls(o,a),i.I=!1}else n=ls(o,a);return xe(n,function(s,l){i&&tp(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 ni(e)}function hs(){function e(s,l){var p=a[s];return p?p.enumerable=l:a[s]=p={configurable:!0,enumerable:l,get:function(){var d=this[F];return wr.get(d,s)},set:function(d){var h=this[F];wr.set(h,s,d)}},p}function t(s){for(var l=s.length-1;l>=0;l--){var p=s[l][F];if(!p.P)switch(p.i){case 5:n(p)&&Xt(p);break;case 4:o(p)&&Xt(p)}}}function o(s){for(var l=s.t,p=s.k,d=Ie(p),h=d.length-1;h>=0;h--){var u=d[h];if(u!==F){var m=l[u];if(m===void 0&&!Te(l,u))return!0;var y=p[u],g=y&&y[F];if(g?g.t!==m:!us(y,m))return!0}}var v=!!l[F];return d.length!==Ie(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&mt(3,JSON.stringify(Yt(s)))}var a={};rp("ES5",{J:function(s,l){var p=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[F];for(var E=Ie(v),N=0;N<E.length;N++){var A=E[N];v[A]=e(A,u||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(p,s),h={i:p?5:4,A:l?l.A:Jn(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,F,{value:h,writable:!0}),d},S:function(s,l,p){p?Ut(l)&&l[F].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[F];if(u){var m=u.t,y=u.k,g=u.R,v=u.i;if(v===4)xe(y,function(b){b!==F&&(m[b]!==void 0||Te(m,b)?g[b]||d(y[b]):(g[b]=!0,Xt(u)))}),xe(m,function(b){y[b]!==void 0||Te(y,b)||(g[b]=!1,Xt(u))});else if(v===5){if(n(u)&&(Xt(u),g.length=!0),y.length<m.length)for(var E=y.length;E<m.length;E++)g[E]=!1;else for(var N=m.length;N<y.length;N++)g[N]=!0;for(var A=Math.min(y.length,m.length),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,Or,si=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ip=typeof Map<"u",ap=typeof Set<"u",ps=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ms=si?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),ds=si?Symbol.for("immer-draftable"):"__$immer_draftable",F=si?Symbol.for("immer-state"):"__$immer_state";var sp=""+Object.prototype.constructor,Ie=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 Ie(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ei={},wr={get:function(e,t){if(t===F)return e;var o=Yt(e);if(!Te(o,t))return function(i,a,s){var l,p=ss(a,s);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!St(n)?n:n===Yn(e.t,t)?(Xn(e),e.o[t]=ti(e.A.h,n,e)):n},has:function(e,t){return t in Yt(e)},ownKeys:function(e){return Reflect.ownKeys(Yt(e))},set:function(e,t,o){var n=ss(Yt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=Yn(Yt(e),t),a=i?.[F];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(us(o,i)&&(o!==void 0||Te(e.t,t)))return!0;Xn(e),Xt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Yn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Xn(e),Xt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Yt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){mt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){mt(12)}},Sr={};xe(wr,function(e,t){Sr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Sr.deleteProperty=function(e,t){return Sr.set.call(this,e,t,void 0)},Sr.set=function(e,t,o){return wr.set.call(this,e[0],t,o,e[0])};var lp=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 p=n;return function(v){var E=this;v===void 0&&(v=l);for(var N=arguments.length,A=Array(N>1?N-1:0),x=1;x<N;x++)A[x-1]=arguments[x];return p.produce(v,function(b){var S;return(S=a).call.apply(S,[E,b].concat(A))})}}var d;if(typeof a!="function"&&mt(6),s!==void 0&&typeof s!="function"&&mt(7),St(i)){var h=is(n),u=ti(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?io(h):Qn(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return Zn(h,s),qn(v,h)},function(v){throw io(h),v}):(Zn(h,s),qn(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===ms&&(d=void 0),n.D&&ii(d,!0),s){var y=[],g=[];At("Patches").M(i,d,y,g),s(y,g)}return d}mt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(d,function(y){return i.apply(void 0,[y].concat(u))})};var s,l,p=n.produce(i,a,function(d,h){s=d,l=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(d){return[d,s,l]}):[p,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){St(o)||mt(8),Ut(o)&&(o=np(o));var n=is(this),i=ti(this,o,void 0);return i[F].C=!0,Qn(n),i},t.finishDraft=function(o,n){var i=o&&o[F],a=i.A;return Zn(a,n),qn(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ps&&mt(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=At("Patches").$;return Ut(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),ft=new lp,cp=ft.produce,Um=ft.produceWithPatches.bind(ft),zm=ft.setAutoFreeze.bind(ft),Bm=ft.setUseProxies.bind(ft),Hm=ft.applyPatches.bind(ft),Fm=ft.createDraft.bind(ft),jm=ft.finishDraft.bind(ft),lo=cp;function Jt(e){"@babel/helpers - typeof";return Jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jt(e)}function li(e,t){if(Jt(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Jt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ci(e){var t=li(e,"string");return Jt(t)==="symbol"?t:String(t)}function pi(e,t,o){return t=ci(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 co(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){pi(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 rt(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"}(),di=function(){return Math.random().toString(36).substring(7).split("").join(".")},po={INIT:"@@redux/INIT"+di(),REPLACE:"@@redux/REPLACE"+di(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+di()}};function pp(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 fi(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(rt(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(rt(1));return o(fi)(e,t)}if(typeof e!="function")throw new Error(rt(2));var i=e,a=t,s=[],l=s,p=!1;function d(){l===s&&(l=s.slice())}function h(){if(p)throw new Error(rt(3));return a}function u(v){if(typeof v!="function")throw new Error(rt(4));if(p)throw new Error(rt(5));var E=!0;return d(),l.push(v),function(){if(E){if(p)throw new Error(rt(6));E=!1,d();var A=l.indexOf(v);l.splice(A,1),s=null}}}function m(v){if(!pp(v))throw new Error(rt(7));if(typeof v.type>"u")throw new Error(rt(8));if(p)throw new Error(rt(9));try{p=!0,a=i(a,v)}finally{p=!1}for(var E=s=l,N=0;N<E.length;N++){var A=E[N];A()}return v}function y(v){if(typeof v!="function")throw new Error(rt(10));i=v,m({type:po.REPLACE})}function g(){var v,E=u;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(rt(11));function x(){A.next&&A.next(h())}x();var b=E(x);return{unsubscribe:b}}},v[bs]=function(){return this},v}return m({type:po.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:y},n[bs]=g,n}function dp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:po.INIT});if(typeof n>"u")throw new Error(rt(12));if(typeof o(void 0,{type:po.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(rt(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{dp(o)}catch(p){l=p}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],E=o[v],N=d[v],A=E(N,h);if(typeof A>"u"){var x=h&&h.type;throw new Error(rt(14))}y[v]=A,m=m||A!==N}return m=m||a.length!==Object.keys(d).length,m?y:d}}function Me(){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(rt(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(p){return p(s)});return a=Me.apply(void 0,l)(i.dispatch),co(co({},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 ui=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)}}(),fp=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 p([d,h])}}function p(d){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return o.label++,{value:d[1],done:!1};case 5:o.label++,i=d[1],d=[0];continue;case 7:d=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){o.label=d[1];break}if(d[0]===6&&o.label<a[1]){o.label=a[1],a=d;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(d);break}a[2]&&o.ops.pop(),o.trys.pop();continue}d=t.call(e,o)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},De=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},up=Object.defineProperty,hp=Object.defineProperties,mp=Object.getOwnPropertyDescriptors,ws=Object.getOwnPropertySymbols,yp=Object.prototype.hasOwnProperty,gp=Object.prototype.propertyIsEnumerable,Cs=function(e,t,o){return t in e?up(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Qt=function(e,t){for(var o in t||(t={}))yp.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];gp.call(t,o)&&Cs(e,o,t[o])}return e},hi=function(e,t){return hp(e,mp(t))},bp=function(e,t,o){return new Promise(function(n,i){var a=function(p){try{l(o.next(p))}catch(d){i(d)}},s=function(p){try{l(o.throw(p))}catch(d){i(d)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,s)};l((o=o.apply(e,t)).next())})};var xp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Me:Me.apply(null,arguments)},ly=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function vp(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 Sp=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,De([void 0],o[0].concat(this)))):new(t.bind.apply(t,De([void 0],o.concat(this))))},t}(Array),Op=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,De([void 0],o[0].concat(this)))):new(t.bind.apply(t,De([void 0],o.concat(this))))},t}(Array);function gi(e){return St(e)?lo(e,function(){}):e}function wp(e){return typeof e=="boolean"}function Cp(){return function(t){return Ep(t)}}function Ep(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 Sp;if(o&&(wp(o)?l.push(ui):l.push(ui.withExtraArgument(o.extraArgument))),0){if(i)var p;if(s)var d}return l}var mi=!0;function Rs(e){var t=Cp(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,l=o.devTools,p=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(vp(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),!mi&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!mi&&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),E=Me;p&&(E=xp(Qt({trace:!mi},typeof p=="object"&&p)));var N=new Op(v),A=N;Array.isArray(m)?A=De([v],m):typeof m=="function"&&(A=m(N));var x=E.apply(void 0,A);return fi(y,h,x)}function te(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Qt(Qt({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function $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 Np(e){return typeof e=="function"}function Ap(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],p;if(Np(e))p=function(){return gi(e())};else{var d=gi(e);p=function(){return d}}function h(u,m){u===void 0&&(u=p());var y=De([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(Ut(g)){var E=g,N=v(E,m);return N===void 0?g:N}else{if(St(g))return lo(g,function(A){return v(A,m)});var N=v(g,m);if(N===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return g},u)}return h.getInitialState=p,h}function Rp(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:gi(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var u=n[h],m=Rp(t,h),y,g;"reducer"in u?(y=u.reducer,g=u.prepare):y=u,a[h]=y,s[m]=y,l[h]=g?te(m,g):te(m)});function p(){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],E=v===void 0?void 0:v,N=Qt(Qt({},m),s);return Ap(o,function(A){for(var x in N)A.addCase(x,N[x]);for(var b=0,S=g;b<S.length;b++){var L=S[b];A.addMatcher(L.matcher,L.reducer)}E&&A.addDefaultCase(E)})}var d;return{name:t,reducer:function(h,u){return d||(d=p()),d(h,u)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=p()),d.getInitialState()}}}var $p="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Pp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=$p[Math.random()*64|0];return t},_p=["name","message","stack","code"],yi=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}(),Lp=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)}},fy=function(){function e(t,o,n){var i=te(t+"/fulfilled",function(h,u,m,y){return{payload:h,meta:hi(Qt({},y||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=te(t+"/pending",function(h,u,m){return{payload:void 0,meta:hi(Qt({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=te(t+"/rejected",function(h,u,m,y,g){return{payload:y,error:(n&&n.serializeError||Lp)(h||"Rejected"),meta:hi(Qt({},g||{}),{arg:m,requestId:u,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,y){var g=n?.idGenerator?n.idGenerator(h):Pp(),v=new p,E,N=!1;function A(b){E=b,v.abort()}var x=function(){return bp(this,null,function(){var b,S,L,W,nt,z,P;return fp(this,function(T){switch(T.label){case 0:return T.trys.push([0,4,,5]),W=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:y}),Ip(W)?[4,W]:[3,2];case 1:W=T.sent(),T.label=2;case 2:if(W===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,nt=new Promise(function(D,Q){return v.signal.addEventListener("abort",function(){return Q({name:"AbortError",message:E||"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([nt,Promise.resolve(o(h,{dispatch:u,getState:m,extra:y,requestId:g,signal:v.signal,abort:A,rejectWithValue:function(D,Q){return new yi(D,Q)},fulfillWithValue:function(D,Q){return new Es(D,Q)}})).then(function(D){if(D instanceof yi)throw D;return D instanceof Es?i(D.payload,g,h,D.meta):i(D,g,h)})])];case 3:return L=T.sent(),[3,5];case 4:return z=T.sent(),L=z instanceof yi?s(null,g,h,z.payload,z.meta):s(z,g,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(L)&&L.meta.condition,P||u(L),[2,L]}})})}();return Object.assign(x,{abort:A,requestId:g,arg:h,unwrap:function(){return x.then(Tp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Tp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ip(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var _s="listener",Ls="completed",Ts="cancelled",uy="task-"+Ts,hy="task-"+Ls,my=_s+"-"+Ts,yy=_s+"-"+Ls;var bi="listenerMiddleware";var gy=te(bi+"/add"),by=te(bi+"/removeAll"),xy=te(bi+"/remove");var Ns,vy=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)})},kp=function(e){return function(t){setTimeout(t,e)}},Sy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:kp(10);hs();window.ftReduxStores||(window.ftReduxStores={});var xi=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(ge(a))return a;if(i==null)return;let s=Ps({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Rs({reducer:(p,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...d.overwrites}:s.reducer(p,d)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new vr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...p)=>{let d=l(...p);return this.reduxStore.dispatch(d),d}:p=>{this.setState({[s]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Mp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))ge(t)&&t.clear()}var Si={};B(Si,{serializeRequest:()=>Wp});function Dp(e){return`"${e}"`}function Wp(e,t){var o,n,i,a;let s=new URLSearchParams({"content-lang":(o=t.contentLocale)!==null&&o!==void 0?o:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let p=t.periodFilter.period,d=p?`_${p.from}_${p.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let p=t.filters.map(d=>{let h=d.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(Dp(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",p)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var wi={};B(wi,{toFtFormComponent:()=>Oi});var fo=Symbol("elementInternals");function Oi(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[fo].form}constructor(...i){super(i),this[fo]=this.attachInternals(),this[fo].role=t}setFormValue(i){this[fo].setFormValue(i)}}return o}var uo=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 Ci,Ei,Ni,Ai,Ri=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ni=(Ei=(Ci=window.safari)===null||Ci===void 0?void 0:Ci.pushNotification)===null||Ei===void 0?void 0:Ei.toString())!==null&&Ni!==void 0?Ni:"")==="[object SafariRemoteNotification]",Up="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ai=window.ftGlobals)!==null&&Ai!==void 0?Ai:{lit:Po,litDecorators:Lo,litRepeat:To,litClassMap:Io,litStyleMap:ko,litUnsafeHTML:Do,wcUtils:{...Bo,...Uo,...Fo,...uo,...jo,...Go,...wn,...An,...Un,...On,...Bn,...Qa,...Vo,...jn,...Vn,...es,...Gn,...vi,...zn,...Si,...wi,isSafari:Ri,isTouchScreen:Up}};var lg={},Is=_`
|
|
42
|
+
`;var ac={};var Xn={};G(Xn,{ParametrizedLabelResolver:()=>qn});var qn=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 wa={};G(wa,{FtCommandQueue:()=>Eo,FtLitElementRedux:()=>Te,FtReduxStore:()=>Ca,clearAllStores:()=>Fd,isFtReduxStore:()=>Se,redux:()=>ad,reduxEventListener:()=>id,reduxReactive:()=>nd});var nd=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},ad=e=>{let t=e??{};return(r,n)=>{var i;let c={hasChanged:uo,attribute:!1,...t};N(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})}},id=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var Eo=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 Se(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var ic,cc,lc,sr=Symbol("internalReduxEventsUnsubscribers"),Qt=Symbol("internalStoresUnsubscribers"),Oe=Symbol("internalStores"),Te=class extends H{constructor(){super(...arguments),this[ic]=new Map,this[cc]=new Map,this[lc]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Oe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Oe].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Oe].get(t)}addStore(t,r){var n;r=(n=r??(Se(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[Oe].delete(r)}setupStore(t,r){this[Oe].set(t,r),this.subscribeToStore(t,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Oe].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[Qt].has(t.store):this[Qt].size>0)&&(this[r]=t.selector(i.getState(),this))}})}subscribeToStore(t,r){var n;this[Qt].set(t,r.subscribe(()=>this.updateFromStores())),Se(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[sr].push(()=>r.eventBus.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Qt].forEach((t,r)=>this.unsubscribeFromStore(r)),this[sr].forEach(t=>t()),this[sr]=[]}unsubscribeFromStore(t){this[Qt].has(t)&&this[Qt].get(t)(),this[Qt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ic=Qt,cc=Oe,lc=sr;Te.reduxProperties=new Map;Te.reduxReactiveProperties=new Set;Te.reduxEventListeners=new Map;function bt(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 Ft(e){return!!e&&!!e[K]}function wt(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)===hd}(e)||Array.isArray(e)||!!e[gc]||!!(!((t=e.constructor)===null||t===void 0)&&t[gc])||ia(e)||ca(e))}function Ce(e,t,r){r===void 0&&(r=!1),Be(e)===0?(r?Object.keys:ze)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Be(e){var t=e[K];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ia(e)?2:ca(e)?3:0}function Ue(e,t){return Be(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function cd(e,t){return Be(e)===2?e.get(t):e[t]}function mc(e,t,r){var n=Be(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function yc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ia(e){return fd&&e instanceof Map}function ca(e){return ud&&e instanceof Set}function te(e){return e.o||e.t}function la(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=vc(e);delete t[K];for(var r=ze(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 sa(e,t){return t===void 0&&(t=!1),da(e)||Ft(e)||!wt(e)||(Be(e)>1&&(e.set=e.add=e.clear=e.delete=ld),Object.freeze(e),t&&Ce(e,function(r,n){return sa(n,!0)},!0)),e}function ld(){bt(2)}function da(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Pt(e){var t=aa[e];return t||bt(18,e),t}function sd(e,t){aa[e]||(aa[e]=t)}function oa(){return Ro}function Jn(e,t){t&&(Pt("Patches"),e.u=[],e.s=[],e.v=t)}function dr(e){ra(e),e.p.forEach(dd),e.p=null}function ra(e){e===Ro&&(Ro=e.l)}function sc(e){return Ro={p:[],l:Ro,h:e,m:!0,_:0}}function dd(e){var t=e[K];t.i===0||t.i===1?t.j():t.g=!0}function Qn(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Pt("ES5").S(t,e,n),n?(r[K].P&&(dr(t),bt(4)),wt(e)&&(e=pr(t,e),t.l||fr(t,e)),t.u&&Pt("Patches").M(r[K].t,e,t.u,t.s)):e=pr(t,r,[]),dr(t),t.u&&t.v(t.u,t.s),e!==xc?e:void 0}function pr(e,t,r){if(da(t))return t;var n=t[K];if(!n)return Ce(t,function(s,d){return dc(e,n,t,s,d,r)},!0),t;if(n.A!==e)return t;if(!n.P)return fr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=la(n.k):n.o,c=i,l=!1;n.i===3&&(c=new Set(i),i.clear(),l=!0),Ce(c,function(s,d){return dc(e,n,i,s,d,r,l)}),fr(e,i,!1),r&&e.u&&Pt("Patches").N(n,r,e.u,e.s)}return n.o}function dc(e,t,r,n,i,c,l){if(Ft(i)){var s=pr(e,i,c&&t&&t.i!==3&&!Ue(t.R,n)?c.concat(n):void 0);if(mc(r,n,s),!Ft(s))return;e.m=!1}else l&&r.add(i);if(wt(i)&&!da(i)){if(!e.h.D&&e._<1)return;pr(e,i),t&&t.A.l||fr(e,i)}}function fr(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&sa(t,r)}function ta(e,t){var r=e[K];return(r?te(r):e)[t]}function pc(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 ee(e){e.P||(e.P=!0,e.l&&ee(e.l))}function ea(e){e.o||(e.o=la(e.t))}function na(e,t,r){var n=ia(t)?Pt("MapSet").F(t,r):ca(t)?Pt("MapSet").T(t,r):e.O?function(i,c){var l=Array.isArray(i),s={i:l?1:0,A:c?c.A:oa(),P:!1,I:!1,R:{},l:c,t:i,k:null,o:null,j:null,C:!1},d=s,u=Ao;l&&(d=[s],u=No);var y=Proxy.revocable(d,u),m=y.revoke,b=y.proxy;return s.k=b,s.j=m,b}(t,r):Pt("ES5").J(t,r);return(r?r.A:oa()).p.push(n),n}function pd(e){return Ft(e)||bt(22,e),function t(r){if(!wt(r))return r;var n,i=r[K],c=Be(r);if(i){if(!i.P&&(i.i<4||!Pt("ES5").K(i)))return i.t;i.I=!0,n=fc(r,c),i.I=!1}else n=fc(r,c);return Ce(n,function(l,s){i&&cd(i.t,l)===s||mc(n,l,t(s))}),c===3?new Set(n):n}(e)}function fc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return la(e)}function bc(){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[K];return Ao.get(u,l)},set:function(u){var y=this[K];Ao.set(y,l,u)}},d}function t(l){for(var s=l.length-1;s>=0;s--){var d=l[s][K];if(!d.P)switch(d.i){case 5:n(d)&&ee(d);break;case 4:r(d)&&ee(d)}}}function r(l){for(var s=l.t,d=l.k,u=ze(d),y=u.length-1;y>=0;y--){var m=u[y];if(m!==K){var b=s[m];if(b===void 0&&!Ue(s,m))return!0;var x=d[m],v=x&&x[K];if(v?v.t!==b:!yc(x,b))return!0}}var C=!!s[K];return u.length!==ze(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&&bt(3,JSON.stringify(te(l)))}var c={};sd("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=vc(b);delete C[K];for(var A=ze(C),I=0;I<A.length;I++){var P=A[I];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:oa(),P:!1,I:!1,R:{},l:s,t:l,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,K,{value:y,writable:!0}),u},S:function(l,s,d){d?Ft(s)&&s[K].A===l&&t(l.p):(l.u&&function u(y){if(y&&typeof y=="object"){var m=y[K];if(m){var b=m.t,x=m.k,v=m.R,C=m.i;if(C===4)Ce(x,function(S){S!==K&&(b[S]!==void 0||Ue(b,S)?v[S]||u(x[S]):(v[S]=!0,ee(m)))}),Ce(b,function(S){x[S]!==void 0||Ue(x,S)||(v[S]=!1,ee(m))});else if(C===5){if(n(m)&&(ee(m),v.length=!0),x.length<b.length)for(var A=x.length;A<b.length;A++)v[A]=!1;else for(var I=b.length;I<x.length;I++)v[I]=!0;for(var P=Math.min(x.length,b.length),O=0;O<P;O++)x.hasOwnProperty(O)||(v[O]=!0),v[O]===void 0&&u(x[O])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var uc,Ro,pa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",fd=typeof Map<"u",ud=typeof Set<"u",hc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",xc=pa?Symbol.for("immer-nothing"):((uc={})["immer-nothing"]=!0,uc),gc=pa?Symbol.for("immer-draftable"):"__$immer_draftable",K=pa?Symbol.for("immer-state"):"__$immer_state";var hd=""+Object.prototype.constructor,ze=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,vc=Object.getOwnPropertyDescriptors||function(e){var t={};return ze(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},aa={},Ao={get:function(e,t){if(t===K)return e;var r=te(e);if(!Ue(r,t))return function(i,c,l){var s,d=pc(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||!wt(n)?n:n===ta(e.t,t)?(ea(e),e.o[t]=na(e.A.h,n,e)):n},has:function(e,t){return t in te(e)},ownKeys:function(e){return Reflect.ownKeys(te(e))},set:function(e,t,r){var n=pc(te(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var i=ta(te(e),t),c=i?.[K];if(c&&c.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(yc(r,i)&&(r!==void 0||Ue(e.t,t)))return!0;ea(e),ee(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 ta(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,ea(e),ee(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=te(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){bt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){bt(12)}},No={};Ce(Ao,function(e,t){No[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),No.deleteProperty=function(e,t){return No.set.call(this,e,t,void 0)},No.set=function(e,t,r){return Ao.set.call(this,e[0],t,r,e[0])};var gd=function(){function e(r){var n=this;this.O=hc,this.D=!0,this.produce=function(i,c,l){if(typeof i=="function"&&typeof c!="function"){var s=c;c=i;var d=n;return function(C){var A=this;C===void 0&&(C=s);for(var I=arguments.length,P=Array(I>1?I-1:0),O=1;O<I;O++)P[O-1]=arguments[O];return d.produce(C,function(S){var w;return(w=c).call.apply(w,[A,S].concat(P))})}}var u;if(typeof c!="function"&&bt(6),l!==void 0&&typeof l!="function"&&bt(7),wt(i)){var y=sc(n),m=na(n,i,void 0),b=!0;try{u=c(m),b=!1}finally{b?dr(y):ra(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return Jn(y,l),Qn(C,y)},function(C){throw dr(y),C}):(Jn(y,l),Qn(u,y))}if(!i||typeof i!="object"){if((u=c(i))===void 0&&(u=i),u===xc&&(u=void 0),n.D&&sa(u,!0),l){var x=[],v=[];Pt("Patches").M(i,u,x,v),l(x,v)}return u}bt(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){wt(r)||bt(8),Ft(r)&&(r=pd(r));var n=sc(this),i=na(this,r,void 0);return i[K].C=!0,ra(n),i},t.finishDraft=function(r,n){var i=r&&r[K],c=i.A;return Jn(c,n),Qn(void 0,c)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!hc&&bt(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=Pt("Patches").$;return Ft(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},e}(),gt=new gd,md=gt.produce,Kg=gt.produceWithPatches.bind(gt),Vg=gt.setAutoFreeze.bind(gt),jg=gt.setUseProxies.bind(gt),Yg=gt.applyPatches.bind(gt),qg=gt.createDraft.bind(gt),Xg=gt.finishDraft.bind(gt),ur=md;function oe(e){"@babel/helpers - typeof";return oe=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},oe(e)}function fa(e,t){if(oe(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(oe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ua(e){var t=fa(e,"string");return oe(t)==="symbol"?t:String(t)}function ha(e,t,r){return t=ua(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(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 hr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sc(Object(r),!0).forEach(function(n){ha(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function at(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Oc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ga=function(){return Math.random().toString(36).substring(7).split("").join(".")},gr={INIT:"@@redux/INIT"+ga(),REPLACE:"@@redux/REPLACE"+ga(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ga()}};function yd(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 ma(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(at(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(at(1));return r(ma)(e,t)}if(typeof e!="function")throw new Error(at(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(at(3));return c}function m(C){if(typeof C!="function")throw new Error(at(4));if(d)throw new Error(at(5));var A=!0;return u(),s.push(C),function(){if(A){if(d)throw new Error(at(6));A=!1,u();var P=s.indexOf(C);s.splice(P,1),l=null}}}function b(C){if(!yd(C))throw new Error(at(7));if(typeof C.type>"u")throw new Error(at(8));if(d)throw new Error(at(9));try{d=!0,c=i(c,C)}finally{d=!1}for(var A=l=s,I=0;I<A.length;I++){var P=A[I];P()}return C}function x(C){if(typeof C!="function")throw new Error(at(10));i=C,b({type:gr.REPLACE})}function v(){var C,A=m;return C={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(at(11));function O(){P.next&&P.next(y())}O();var S=A(O);return{unsubscribe:S}}},C[Oc]=function(){return this},C}return b({type:gr.INIT}),n={dispatch:b,subscribe:m,getState:y,replaceReducer:x},n[Oc]=v,n}function bd(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:gr.INIT});if(typeof n>"u")throw new Error(at(12));if(typeof r(void 0,{type:gr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(at(13))})}function Cc(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{bd(r)}catch(d){s=d}return function(u,y){if(u===void 0&&(u={}),s)throw s;if(0)var m;for(var b=!1,x={},v=0;v<c.length;v++){var C=c[v],A=r[C],I=u[C],P=A(I,y);if(typeof P>"u"){var O=y&&y.type;throw new Error(at(14))}x[C]=P,b=b||P!==I}return b=b||c.length!==Object.keys(u).length,b?x:u}}function De(){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 wc(){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(at(15))},l={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},s=t.map(function(d){return d(l)});return c=De.apply(void 0,s)(i.dispatch),hr(hr({},i),{},{dispatch:c})}}}function Ec(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 Nc=Ec();Nc.withExtraArgument=Ec;var ya=Nc;var Lc=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)}}(),xd=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}}},Me=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},vd=Object.defineProperty,Sd=Object.defineProperties,Od=Object.getOwnPropertyDescriptors,Rc=Object.getOwnPropertySymbols,Cd=Object.prototype.hasOwnProperty,wd=Object.prototype.propertyIsEnumerable,Ac=function(e,t,r){return t in e?vd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},re=function(e,t){for(var r in t||(t={}))Cd.call(t,r)&&Ac(e,r,t[r]);if(Rc)for(var n=0,i=Rc(t);n<i.length;n++){var r=i[n];wd.call(t,r)&&Ac(e,r,t[r])}return e},ba=function(e,t){return Sd(e,Od(t))},Ed=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 Nd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?De:De.apply(null,arguments)},gm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Rd(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 Ad=function(e){Lc(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,Me([void 0],r[0].concat(this)))):new(t.bind.apply(t,Me([void 0],r.concat(this))))},t}(Array),Id=function(e){Lc(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,Me([void 0],r[0].concat(this)))):new(t.bind.apply(t,Me([void 0],r.concat(this))))},t}(Array);function Sa(e){return wt(e)?ur(e,function(){}):e}function Pd(e){return typeof e=="boolean"}function Ld(){return function(t){return $d(t)}}function $d(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 Ad;if(r&&(Pd(r)?s.push(ya):s.push(ya.withExtraArgument(r.extraArgument))),0){if(i)var d;if(l)var u}return s}var xa=!0;function $c(e){var t=Ld(),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(Rd(i))x=Cc(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),!xa&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!xa&&v.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=wc.apply(void 0,v),A=De;d&&(A=Nd(re({trace:!xa},typeof d=="object"&&d)));var I=new Id(C),P=I;Array.isArray(b)?P=Me([C],b):typeof b=="function"&&(P=b(I));var O=A.apply(void 0,P);return ma(x,y,O)}function ne(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 re(re({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 Wc(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 Wd(e){return typeof e=="function"}function _d(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?Wc(t):[t,r,n],c=i[0],l=i[1],s=i[2],d;if(Wd(e))d=function(){return Sa(e())};else{var u=Sa(e);d=function(){return u}}function y(m,b){m===void 0&&(m=d());var x=Me([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(Ft(v)){var A=v,I=C(A,b);return I===void 0?v:I}else{if(wt(v))return ur(v,function(P){return C(P,b)});var I=C(v,b);if(I===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return v},m)}return y.getInitialState=d,y}function kd(e,t){return e+"/"+t}function _c(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:Sa(e.initialState),n=e.reducers||{},i=Object.keys(n),c={},l={},s={};i.forEach(function(y){var m=n[y],b=kd(t,y),x,v;"reducer"in m?(x=m.reducer,v=m.prepare):x=m,c[y]=x,l[b]=x,s[y]=v?ne(b,v):ne(b)});function d(){var y=typeof e.extraReducers=="function"?Wc(e.extraReducers):[e.extraReducers],m=y[0],b=m===void 0?{}:m,x=y[1],v=x===void 0?[]:x,C=y[2],A=C===void 0?void 0:C,I=re(re({},b),l);return _d(r,function(P){for(var O in I)P.addCase(O,I[O]);for(var S=0,w=v;S<w.length;S++){var k=w[S];P.addMatcher(k.matcher,k.reducer)}A&&P.addDefaultCase(A)})}var u;return{name: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 Td="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ud=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Td[Math.random()*64|0];return t},zd=["name","message","stack","code"],va=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Ic=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Bd=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=zd;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},xm=function(){function e(t,r,n){var i=ne(t+"/fulfilled",function(y,m,b,x){return{payload:y,meta:ba(re({},x||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),c=ne(t+"/pending",function(y,m,b){return{payload:void 0,meta:ba(re({},b||{}),{arg:m,requestId:y,requestStatus:"pending"})}}),l=ne(t+"/rejected",function(y,m,b,x,v){return{payload:x,error:(n&&n.serializeError||Bd)(y||"Rejected"),meta:ba(re({},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):Ud(),C=new d,A,I=!1;function P(S){A=S,C.abort()}var O=function(){return Ed(this,null,function(){var S,w,k,M,ct,F,_;return xd(this,function(T){switch(T.label){case 0:return T.trys.push([0,4,,5]),M=(S=n?.condition)==null?void 0:S.call(n,y,{getState:b,extra:x}),Md(M)?[4,M]:[3,2];case 1:M=T.sent(),T.label=2;case 2:if(M===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,ct=new Promise(function(D,ot){return C.signal.addEventListener("abort",function(){return ot({name:"AbortError",message:A||"Aborted"})})}),m(c(v,y,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:v,arg:y},{getState:b,extra:x}))),[4,Promise.race([ct,Promise.resolve(r(y,{dispatch:m,getState:b,extra:x,requestId:v,signal:C.signal,abort:P,rejectWithValue:function(D,ot){return new va(D,ot)},fulfillWithValue:function(D,ot){return new Ic(D,ot)}})).then(function(D){if(D instanceof va)throw D;return D instanceof Ic?i(D.payload,v,y,D.meta):i(D,v,y)})])];case 3:return k=T.sent(),[3,5];case 4:return F=T.sent(),k=F instanceof va?l(null,v,y,F.payload,F.meta):l(F,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(Dd)}})}}return Object.assign(u,{pending:c,rejected:l,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Dd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Md(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var kc="listener",Tc="completed",Uc="cancelled",vm="task-"+Uc,Sm="task-"+Tc,Om=kc+"-"+Uc,Cm=kc+"-"+Tc;var Oa="listenerMiddleware";var wm=ne(Oa+"/add"),Em=ne(Oa+"/removeAll"),Nm=ne(Oa+"/remove");var Pc,Rm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Pc||(Pc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Hd=function(e){return function(t){setTimeout(t,e)}},Am=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Hd(10);bc();window.ftReduxStores||(window.ftReduxStores={});var Ca=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(Se(c))return c;if(i==null)return;let l=_c({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=$c({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 Eo,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 Fd(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Se(t)&&t.clear()}var Ea={};G(Ea,{serializeRequest:()=>Zd});function Gd(e){return`"${e}"`}function Zd(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(Gd(m))).join("_");return`${u.key}~${y}`}).join("*");l.append("filters",d)}return new URL(`${e.replace(/\/+$/,"")}/search?${l.toString()}`).href}var Ra={};G(Ra,{toFtFormComponent:()=>Na});var mr=Symbol("elementInternals");function Na(e,t){class r extends e{static get formAssociated(){return!0}get form(){return this[mr].form}constructor(...i){super(i),this[mr]=this.attachInternals(),this[mr].role=t}setFormValue(i){this[mr].setFormValue(i)}}return r}var yr=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 Aa,Ia,Pa,La,$a=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Pa=(Ia=(Aa=window.safari)===null||Aa===void 0?void 0:Aa.pushNotification)===null||Ia===void 0?void 0:Ia.toString())!==null&&Pa!==void 0?Pa:"")==="[object SafariRemoteNotification]",Kd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(La=window.ftGlobals)!==null&&La!==void 0?La:{lit:_r,litDecorators:Tr,litRepeat:Ur,litClassMap:zr,litStyleMap:Br,litUnsafeHTML:Mr,wcUtils:{...Zr,...Fr,...Vr,...yr,...jr,...Xr,...Rn,...Ln,...Fn,...Nn,...Zn,...rc,...Yr,...jn,...Yn,...ac,...Xn,...wa,...Gn,...Ea,...Ra,isSafari:$a,isTouchScreen:Kd}};var gy={},zc=$`
|
|
43
43
|
|
|
44
44
|
[part="container"] {
|
|
45
45
|
display: flex;
|
|
@@ -48,7 +48,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
48
48
|
align-items: center;
|
|
49
49
|
justify-content: center;
|
|
50
50
|
}
|
|
51
|
-
`;var
|
|
51
|
+
`;var Bc=o.extend("--ft-ripple-color","",U.colorContent),z={color:Bc,backgroundColor:o.extend("--ft-ripple-background-color","",Bc),opacityContentOnSurfacePressed:o.external(U.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(U.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(U.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(U.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Dc=o.extend("--ft-ripple-color","",U.colorPrimary),Mc={color:Dc,backgroundColor:o.extend("--ft-ripple-background-color","",Dc)},Hc=o.extend("--ft-ripple-color","",U.colorSecondary),Fc={color:Hc,backgroundColor:o.extend("--ft-ripple-background-color","",Hc)},Gc=$`
|
|
52
52
|
:host {
|
|
53
53
|
display: contents;
|
|
54
54
|
}
|
|
@@ -61,7 +61,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
61
61
|
|
|
62
62
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
63
63
|
overflow: hidden;
|
|
64
|
-
border-radius: ${
|
|
64
|
+
border-radius: ${z.borderRadius};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.ft-ripple .ft-ripple--background,
|
|
@@ -95,27 +95,27 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.ft-ripple .ft-ripple--background {
|
|
98
|
-
background-color: ${
|
|
98
|
+
background-color: ${z.backgroundColor};
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ft-ripple .ft-ripple--effect {
|
|
102
|
-
background-color: ${
|
|
102
|
+
background-color: ${z.color};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
106
|
-
background-color: ${
|
|
106
|
+
background-color: ${Fc.backgroundColor};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
110
|
-
background-color: ${
|
|
110
|
+
background-color: ${Fc.color};
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
114
|
-
background-color: ${
|
|
114
|
+
background-color: ${Mc.backgroundColor};
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
118
|
-
background-color: ${
|
|
118
|
+
background-color: ${Mc.color};
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.ft-ripple .ft-ripple--background {
|
|
@@ -145,23 +145,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
148
|
-
opacity: ${
|
|
148
|
+
opacity: ${z.opacityContentOnSurfaceHover};
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
152
|
-
opacity: ${
|
|
152
|
+
opacity: ${z.opacityContentOnSurfaceSelected};
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
156
|
-
opacity: ${
|
|
156
|
+
opacity: ${z.opacityContentOnSurfaceFocused};
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
160
|
-
opacity: ${
|
|
160
|
+
opacity: ${z.opacityContentOnSurfacePressed};
|
|
161
161
|
transform: translate(-50%, -50%) scale(1);
|
|
162
162
|
}
|
|
163
|
-
`;function
|
|
164
|
-
.ft-typography--${
|
|
163
|
+
`;function Zc(e){let t=go[e];return $`
|
|
164
|
+
.ft-typography--${kt(e)} {
|
|
165
165
|
font-family: ${t.fontFamily};
|
|
166
166
|
font-size: ${t.fontSize};
|
|
167
167
|
font-weight: ${t.fontWeight};
|
|
@@ -169,54 +169,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
169
169
|
line-height: ${t.lineHeight};
|
|
170
170
|
text-transform: ${t.textCase};
|
|
171
171
|
}
|
|
172
|
-
`}var
|
|
172
|
+
`}var Kc=o.extend("--ft-typography-font-family","",U.titleFont),Zt=o.extend("--ft-typography-font-family","",U.contentFont),W={fontFamily:Zt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},He={fontFamily:o.extend("--ft-typography-title-font-family","",Kc),fontSize:o.extend("--ft-typography-title-font-size","",W.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",W.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",W.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",W.textTransform,"inherit")},Fe={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Kc),fontSize:o.extend("--ft-typography-title-dense-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",W.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",W.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",W.textTransform,"inherit")},Ge={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Zt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",W.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",W.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",W.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",W.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",W.textTransform,"inherit")},Ze={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Zt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",W.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",W.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",W.textTransform,"inherit")},Gt={fontFamily:o.extend("--ft-typography-body1-font-family","",Zt),fontSize:o.extend("--ft-typography-body1-font-size","",W.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",W.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",W.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",W.textTransform,"inherit")},Ke={fontFamily:o.extend("--ft-typography-body2-font-family","",Zt),fontSize:o.extend("--ft-typography-body2-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",W.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",W.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",W.textTransform,"inherit")},Et={fontFamily:o.extend("--ft-typography-caption-font-family","",Zt),fontSize:o.extend("--ft-typography-caption-font-size","",W.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",W.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",W.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",W.textTransform,"inherit")},Ve={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Zt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",W.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",W.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",W.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",W.textTransform,"inherit")},je={fontFamily:o.extend("--ft-typography-overline-font-family","",Zt),fontSize:o.extend("--ft-typography-overline-font-size","",W.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",W.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",W.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",W.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",W.textTransform,"uppercase")},Lt={fontFamily:o.extend("--ft-typography-button-font-family","",Zt),fontSize:o.extend("--ft-typography-button-font-size","",W.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",W.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",W.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",W.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",W.textTransform,"uppercase")},Vc=$`
|
|
173
173
|
.ft-typography--title {
|
|
174
|
-
font-family: ${We.fontFamily};
|
|
175
|
-
font-size: ${We.fontSize};
|
|
176
|
-
font-weight: ${We.fontWeight};
|
|
177
|
-
letter-spacing: ${We.letterSpacing};
|
|
178
|
-
line-height: ${We.lineHeight};
|
|
179
|
-
text-transform: ${We.textTransform};
|
|
180
|
-
}
|
|
181
|
-
`,js=_`
|
|
182
|
-
.ft-typography--title-dense {
|
|
183
|
-
font-family: ${Ue.fontFamily};
|
|
184
|
-
font-size: ${Ue.fontSize};
|
|
185
|
-
font-weight: ${Ue.fontWeight};
|
|
186
|
-
letter-spacing: ${Ue.letterSpacing};
|
|
187
|
-
line-height: ${Ue.lineHeight};
|
|
188
|
-
text-transform: ${Ue.textTransform};
|
|
189
|
-
}
|
|
190
|
-
`,Vs=_`
|
|
191
|
-
.ft-typography--subtitle1 {
|
|
192
|
-
font-family: ${ze.fontFamily};
|
|
193
|
-
font-size: ${ze.fontSize};
|
|
194
|
-
font-weight: ${ze.fontWeight};
|
|
195
|
-
letter-spacing: ${ze.letterSpacing};
|
|
196
|
-
line-height: ${ze.lineHeight};
|
|
197
|
-
text-transform: ${ze.textTransform};
|
|
198
|
-
}
|
|
199
|
-
`,Ks=_`
|
|
200
|
-
.ft-typography--subtitle2 {
|
|
201
|
-
font-family: ${Be.fontFamily};
|
|
202
|
-
font-size: ${Be.fontSize};
|
|
203
|
-
font-weight: ${Be.fontWeight};
|
|
204
|
-
letter-spacing: ${Be.letterSpacing};
|
|
205
|
-
line-height: ${Be.lineHeight};
|
|
206
|
-
text-transform: ${Be.textTransform};
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
`,Gs=_`
|
|
210
|
-
.ft-typography--body1 {
|
|
211
|
-
font-family: ${zt.fontFamily};
|
|
212
|
-
font-size: ${zt.fontSize};
|
|
213
|
-
font-weight: ${zt.fontWeight};
|
|
214
|
-
letter-spacing: ${zt.letterSpacing};
|
|
215
|
-
line-height: ${zt.lineHeight};
|
|
216
|
-
text-transform: ${zt.textTransform};
|
|
217
|
-
}
|
|
218
|
-
`,Zs=_`
|
|
219
|
-
.ft-typography--body2 {
|
|
220
174
|
font-family: ${He.fontFamily};
|
|
221
175
|
font-size: ${He.fontSize};
|
|
222
176
|
font-weight: ${He.fontWeight};
|
|
@@ -224,17 +178,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
224
178
|
line-height: ${He.lineHeight};
|
|
225
179
|
text-transform: ${He.textTransform};
|
|
226
180
|
}
|
|
227
|
-
`,
|
|
228
|
-
.ft-typography--
|
|
229
|
-
font-family: ${Ot.fontFamily};
|
|
230
|
-
font-size: ${Ot.fontSize};
|
|
231
|
-
font-weight: ${Ot.fontWeight};
|
|
232
|
-
letter-spacing: ${Ot.letterSpacing};
|
|
233
|
-
line-height: ${Ot.lineHeight};
|
|
234
|
-
text-transform: ${Ot.textTransform};
|
|
235
|
-
}
|
|
236
|
-
`,qs=_`
|
|
237
|
-
.ft-typography--breadcrumb {
|
|
181
|
+
`,jc=$`
|
|
182
|
+
.ft-typography--title-dense {
|
|
238
183
|
font-family: ${Fe.fontFamily};
|
|
239
184
|
font-size: ${Fe.fontSize};
|
|
240
185
|
font-weight: ${Fe.fontWeight};
|
|
@@ -242,7 +187,62 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
242
187
|
line-height: ${Fe.lineHeight};
|
|
243
188
|
text-transform: ${Fe.textTransform};
|
|
244
189
|
}
|
|
245
|
-
`,
|
|
190
|
+
`,Yc=$`
|
|
191
|
+
.ft-typography--subtitle1 {
|
|
192
|
+
font-family: ${Ge.fontFamily};
|
|
193
|
+
font-size: ${Ge.fontSize};
|
|
194
|
+
font-weight: ${Ge.fontWeight};
|
|
195
|
+
letter-spacing: ${Ge.letterSpacing};
|
|
196
|
+
line-height: ${Ge.lineHeight};
|
|
197
|
+
text-transform: ${Ge.textTransform};
|
|
198
|
+
}
|
|
199
|
+
`,qc=$`
|
|
200
|
+
.ft-typography--subtitle2 {
|
|
201
|
+
font-family: ${Ze.fontFamily};
|
|
202
|
+
font-size: ${Ze.fontSize};
|
|
203
|
+
font-weight: ${Ze.fontWeight};
|
|
204
|
+
letter-spacing: ${Ze.letterSpacing};
|
|
205
|
+
line-height: ${Ze.lineHeight};
|
|
206
|
+
text-transform: ${Ze.textTransform};
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
`,Xc=$`
|
|
210
|
+
.ft-typography--body1 {
|
|
211
|
+
font-family: ${Gt.fontFamily};
|
|
212
|
+
font-size: ${Gt.fontSize};
|
|
213
|
+
font-weight: ${Gt.fontWeight};
|
|
214
|
+
letter-spacing: ${Gt.letterSpacing};
|
|
215
|
+
line-height: ${Gt.lineHeight};
|
|
216
|
+
text-transform: ${Gt.textTransform};
|
|
217
|
+
}
|
|
218
|
+
`,Jc=$`
|
|
219
|
+
.ft-typography--body2 {
|
|
220
|
+
font-family: ${Ke.fontFamily};
|
|
221
|
+
font-size: ${Ke.fontSize};
|
|
222
|
+
font-weight: ${Ke.fontWeight};
|
|
223
|
+
letter-spacing: ${Ke.letterSpacing};
|
|
224
|
+
line-height: ${Ke.lineHeight};
|
|
225
|
+
text-transform: ${Ke.textTransform};
|
|
226
|
+
}
|
|
227
|
+
`,br=$`
|
|
228
|
+
.ft-typography--caption {
|
|
229
|
+
font-family: ${Et.fontFamily};
|
|
230
|
+
font-size: ${Et.fontSize};
|
|
231
|
+
font-weight: ${Et.fontWeight};
|
|
232
|
+
letter-spacing: ${Et.letterSpacing};
|
|
233
|
+
line-height: ${Et.lineHeight};
|
|
234
|
+
text-transform: ${Et.textTransform};
|
|
235
|
+
}
|
|
236
|
+
`,Qc=$`
|
|
237
|
+
.ft-typography--breadcrumb {
|
|
238
|
+
font-family: ${Ve.fontFamily};
|
|
239
|
+
font-size: ${Ve.fontSize};
|
|
240
|
+
font-weight: ${Ve.fontWeight};
|
|
241
|
+
letter-spacing: ${Ve.letterSpacing};
|
|
242
|
+
line-height: ${Ve.lineHeight};
|
|
243
|
+
text-transform: ${Ve.textTransform};
|
|
244
|
+
}
|
|
245
|
+
`,tl=$`
|
|
246
246
|
.ft-typography--overline {
|
|
247
247
|
font-family: ${je.fontFamily};
|
|
248
248
|
font-size: ${je.fontSize};
|
|
@@ -251,20 +251,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
251
251
|
line-height: ${je.lineHeight};
|
|
252
252
|
text-transform: ${je.textTransform};
|
|
253
253
|
}
|
|
254
|
-
`,
|
|
254
|
+
`,el=$`
|
|
255
255
|
.ft-typography--button {
|
|
256
|
-
font-family: ${
|
|
257
|
-
font-size: ${
|
|
258
|
-
font-weight: ${
|
|
259
|
-
letter-spacing: ${
|
|
260
|
-
line-height: ${
|
|
261
|
-
text-transform: ${
|
|
262
|
-
}
|
|
263
|
-
`,
|
|
256
|
+
font-family: ${Lt.fontFamily};
|
|
257
|
+
font-size: ${Lt.fontSize};
|
|
258
|
+
font-weight: ${Lt.fontWeight};
|
|
259
|
+
letter-spacing: ${Lt.letterSpacing};
|
|
260
|
+
line-height: ${Lt.lineHeight};
|
|
261
|
+
text-transform: ${Lt.textTransform};
|
|
262
|
+
}
|
|
263
|
+
`,ol=$`
|
|
264
264
|
.ft-typography {
|
|
265
265
|
vertical-align: inherit;
|
|
266
266
|
}
|
|
267
|
-
`,
|
|
267
|
+
`,rl=[Object.keys(go).map(e=>Zc(e))];var st={color:o.extend("--ft-loader-color","",U.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},nl=$`
|
|
268
268
|
:host {
|
|
269
269
|
line-height: 0;
|
|
270
270
|
}
|
|
@@ -273,8 +273,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
273
273
|
display: inline-block;
|
|
274
274
|
position: relative;
|
|
275
275
|
|
|
276
|
-
width: ${
|
|
277
|
-
height: ${
|
|
276
|
+
width: ${st.size};
|
|
277
|
+
height: ${st.size};
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
.ft-loader div {
|
|
@@ -283,7 +283,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
283
283
|
width: 25%;
|
|
284
284
|
height: 25%;
|
|
285
285
|
border-radius: 50%;
|
|
286
|
-
background: ${
|
|
286
|
+
background: ${st.color};
|
|
287
287
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
288
288
|
}
|
|
289
289
|
|
|
@@ -330,10 +330,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
330
330
|
transform: translate(0, 0);
|
|
331
331
|
}
|
|
332
332
|
100% {
|
|
333
|
-
transform: translate(calc(0.35 * ${
|
|
333
|
+
transform: translate(calc(0.35 * ${st.size}), 0);
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
`;var
|
|
336
|
+
`;var dt={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},al=$`
|
|
337
337
|
:host, i.ft-icon {
|
|
338
338
|
display: inline-flex;
|
|
339
339
|
align-items: center;
|
|
@@ -342,14 +342,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
:host {
|
|
345
|
-
width: ${
|
|
346
|
-
height: ${
|
|
345
|
+
width: ${dt.size};
|
|
346
|
+
height: ${dt.size};
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
i.ft-icon {
|
|
350
350
|
width: 100%;
|
|
351
351
|
height: 100%;
|
|
352
|
-
font-size: ${
|
|
352
|
+
font-size: ${dt.size};
|
|
353
353
|
line-height: 1;
|
|
354
354
|
font-weight: normal;
|
|
355
355
|
text-transform: none;
|
|
@@ -360,28 +360,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
360
360
|
text-rendering: auto;
|
|
361
361
|
-webkit-font-smoothing: antialiased;
|
|
362
362
|
-moz-osx-font-smoothing: grayscale;
|
|
363
|
-
vertical-align: ${
|
|
363
|
+
vertical-align: ${dt.verticalAlign};
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
i.ft-icon.ft-icon--fluid-topics {
|
|
367
|
-
font-family: ${
|
|
367
|
+
font-family: ${dt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
368
368
|
|
|
369
369
|
/* Ugly fix because font is broken */
|
|
370
|
-
font-size: calc(0.75 * ${
|
|
371
|
-
line-height: ${
|
|
370
|
+
font-size: calc(0.75 * ${dt.size});
|
|
371
|
+
line-height: ${dt.size};
|
|
372
372
|
position: relative;
|
|
373
373
|
top: -4%;
|
|
374
374
|
justify-content: center;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
.ft-icon--file-format {
|
|
378
|
-
font-family: ${
|
|
378
|
+
font-family: ${dt.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
.ft-icon--material {
|
|
382
|
-
font-family: ${
|
|
382
|
+
font-family: ${dt.materialFontFamily}, "Material Icons", sans-serif;
|
|
383
383
|
}
|
|
384
|
-
`;var
|
|
384
|
+
`;var il=o.extend("--ft-button-color","",U.colorPrimary),tt={backgroundColor:o.extend("--ft-button-background-color","",U.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",U.borderRadiusL),color:il,fontSize:o.extend("--ft-button-font-size","",Lt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",il),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(U.colorOpacityDisabled,"Design system")},cl=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",U.colorOnPrimary)),Wa={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",U.colorPrimary)),color:cl,rippleColor:o.extend("--ft-button-primary-ripple-color","",cl)},$t={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",U.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},ll=[$`
|
|
385
385
|
:host {
|
|
386
386
|
display: inline-block;
|
|
387
387
|
max-width: 100%;
|
|
@@ -392,7 +392,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
392
392
|
box-shadow: 0px 0px 0px transparent;
|
|
393
393
|
border: 0px solid transparent;
|
|
394
394
|
text-shadow: 0px 0px 0px transparent;
|
|
395
|
-
font-size: ${
|
|
395
|
+
font-size: ${tt.fontSize};
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
button:hover {
|
|
@@ -421,21 +421,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
421
421
|
border: none;
|
|
422
422
|
pointer-events: auto;
|
|
423
423
|
|
|
424
|
-
--ft-button-internal-line-height: max(calc(${
|
|
425
|
-
--ft-button-internal-color: ${
|
|
426
|
-
${
|
|
427
|
-
${
|
|
424
|
+
--ft-button-internal-line-height: max(calc(${tt.fontSize} + 2px), ${tt.iconSize});
|
|
425
|
+
--ft-button-internal-color: ${tt.color};
|
|
426
|
+
${L(dt.size,tt.iconSize)};
|
|
427
|
+
${L(z.color,tt.rippleColor)};
|
|
428
428
|
|
|
429
|
-
border-radius: ${
|
|
430
|
-
padding: ${
|
|
431
|
-
background-color: ${
|
|
429
|
+
border-radius: ${tt.borderRadius};
|
|
430
|
+
padding: ${tt.verticalPadding} ${tt.horizontalPadding};
|
|
431
|
+
background-color: ${tt.backgroundColor};
|
|
432
432
|
color: var(--ft-button-internal-color);
|
|
433
433
|
-webkit-mask-image: radial-gradient(white, black);
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
.ft-button.ft-button--outlined {
|
|
437
437
|
border: 1px solid var(--ft-button-internal-color);
|
|
438
|
-
padding: calc(${
|
|
438
|
+
padding: calc(${tt.verticalPadding} - 1px) calc(${tt.horizontalPadding} - 1px);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
.ft-button.ft-button--dense {
|
|
@@ -453,7 +453,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
.ft-button--round {
|
|
456
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
456
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${tt.verticalPadding});
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-button--round.ft-button--dense {
|
|
@@ -462,13 +462,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
462
462
|
|
|
463
463
|
.ft-button[disabled] {
|
|
464
464
|
filter: grayscale(1);
|
|
465
|
-
opacity: ${
|
|
465
|
+
opacity: ${tt.opacityDisabled};
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
.ft-button.ft-button--primary {
|
|
469
|
-
background-color: ${
|
|
470
|
-
--ft-button-internal-color: ${
|
|
471
|
-
${
|
|
469
|
+
background-color: ${Wa.backgroundColor};
|
|
470
|
+
--ft-button-internal-color: ${Wa.color};
|
|
471
|
+
${L(z.color,Wa.rippleColor)};
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
.ft-button:focus {
|
|
@@ -481,9 +481,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
481
481
|
white-space: nowrap;
|
|
482
482
|
text-overflow: ellipsis;
|
|
483
483
|
display: block;
|
|
484
|
-
margin: 0 ${
|
|
485
|
-
${
|
|
486
|
-
${
|
|
484
|
+
margin: 0 ${tt.iconPadding};
|
|
485
|
+
${L(Lt.fontSize,"1em")};
|
|
486
|
+
${L(Lt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
.ft-button--dense .ft-button--label {
|
|
@@ -500,8 +500,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.ft-button--label[hidden] + [part="icon"] {
|
|
503
|
-
margin: 0 calc(${
|
|
504
|
-
padding: 0 ${
|
|
503
|
+
margin: 0 calc(${tt.horizontalPadding} * -1);
|
|
504
|
+
padding: 0 ${tt.verticalPadding};
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
@@ -514,29 +514,29 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
ft-loader {
|
|
517
|
-
${
|
|
518
|
-
${
|
|
517
|
+
${L(st.size,tt.iconSize)};
|
|
518
|
+
${L(st.color,"var(--ft-button-internal-color)")};
|
|
519
519
|
}
|
|
520
|
-
`,
|
|
520
|
+
`,Co];var pt=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},V=class extends H{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Ot(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 Ot(10),this.moveRipple=t=>{var r,n;let{x:i,y:c}=this.getCoordinates(t),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-l.x:l.width/2),this.originY=Math.round(c!=null?c-l.y:l.height/2)},this.startPress=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 j`
|
|
521
521
|
<style>
|
|
522
522
|
.ft-ripple .ft-ripple--effect {
|
|
523
523
|
left: ${this.originX}px;
|
|
524
524
|
top: ${this.originY}px;
|
|
525
525
|
}
|
|
526
526
|
</style>
|
|
527
|
-
<div class="${
|
|
527
|
+
<div class="${zt(t)}">
|
|
528
528
|
<div class="ft-ripple--background"></div>
|
|
529
529
|
<div class="ft-ripple--effect"></div>
|
|
530
530
|
</div>
|
|
531
|
-
`}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
|
|
532
|
-
<${
|
|
531
|
+
`}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 r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r: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 r=(...s)=>d=>{s.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),c=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",n,l),t.addEventListener("touchstart",i,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",c,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",n,l),t.removeEventListener("touchstart",i,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",c,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,c;return r.x!=null?{x:i,y:c}=r:n.touches!=null&&(i=n.touches[0].clientX,c=n.touches[0].clientY),{x:i,y:c}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};V.elementDefinitions={};V.styles=Gc;pt([N({type:Boolean})],V.prototype,"primary",void 0);pt([N({type:Boolean})],V.prototype,"secondary",void 0);pt([N({type:Boolean})],V.prototype,"unbounded",void 0);pt([N({type:Boolean})],V.prototype,"activated",void 0);pt([N({type:Boolean})],V.prototype,"selected",void 0);pt([N({type:Boolean})],V.prototype,"disabled",void 0);pt([rt()],V.prototype,"hovered",void 0);pt([rt()],V.prototype,"focused",void 0);pt([rt()],V.prototype,"pressed",void 0);pt([rt()],V.prototype,"rippling",void 0);pt([rt()],V.prototype,"originX",void 0);pt([rt()],V.prototype,"originY",void 0);pt([nt(".ft-ripple")],V.prototype,"ripple",void 0);pt([nt(".ft-ripple--effect")],V.prototype,"rippleEffect",void 0);J("ft-ripple")(V);var dl=Symbol.for(""),Vd=e=>{if(e?.r===dl)return e?._$litStatic$},_a=e=>({_$litStatic$:e,r:dl});var sl=new Map,pl=e=>(t,...r)=>{let n=r.length,i,c,l=[],s=[],d,u=0,y=!1;for(;u<n;){for(d=t[u];u<n&&(c=r[u],(i=Vd(c))!==void 0);)d+=i+t[++u],y=!0;u!==n&&s.push(c),l.push(d),u++}if(u===n&&l.push(t[n]),y){let m=l.join("$$lit$$");(t=sl.get(m))===void 0&&(l.raw=l,sl.set(m,t=l)),r=s}return e(t,...r)},ka=pl(Ja),Eb=pl(Qa);var we;(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"})(we||(we={}));var fl=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},it=class extends H{constructor(){super(...arguments),this.variant=we.body1}render(){return this.element?ka`
|
|
532
|
+
<${_a(this.element)}
|
|
533
533
|
part="text"
|
|
534
534
|
class="ft-typography ft-typography--${this.variant}">
|
|
535
535
|
<slot></slot>
|
|
536
|
-
</${
|
|
537
|
-
`:
|
|
536
|
+
</${_a(this.element)}>
|
|
537
|
+
`:ka`
|
|
538
538
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
539
|
-
`}};
|
|
539
|
+
`}};it.styles=[Vc,jc,Yc,qc,Xc,Jc,br,Qc,tl,el,ol,...rl];fl([N()],it.prototype,"element",void 0);fl([N()],it.prototype,"variant",void 0);J("ft-typography")(it);var Ye={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(U.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},ul=$`
|
|
540
540
|
.ft-tooltip--container {
|
|
541
541
|
display: block;
|
|
542
542
|
}
|
|
@@ -551,21 +551,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
551
551
|
box-sizing: border-box;
|
|
552
552
|
overflow: hidden;
|
|
553
553
|
width: max-content;
|
|
554
|
-
max-width: ${
|
|
554
|
+
max-width: ${Ye.maxWidth};
|
|
555
555
|
text-align: center;
|
|
556
|
-
padding: ${
|
|
557
|
-
z-index: ${
|
|
556
|
+
padding: ${Ye.distance};
|
|
557
|
+
z-index: ${Ye.zIndex};
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
.ft-tooltip--content {
|
|
561
561
|
padding: 4px 8px;
|
|
562
|
-
border-radius: ${
|
|
563
|
-
background-color: ${
|
|
564
|
-
color: ${
|
|
562
|
+
border-radius: ${Ye.borderRadiusS};
|
|
563
|
+
background-color: ${Ye.backgroundColor};
|
|
564
|
+
color: ${Ye.color};
|
|
565
565
|
position: relative;
|
|
566
566
|
word-break: break-word;
|
|
567
567
|
}
|
|
568
|
-
`;var
|
|
568
|
+
`;var ft=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},q=class extends H{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Ot,this.revealDebouncer=new Ot}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return j`
|
|
569
569
|
<div part="container"
|
|
570
570
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
571
571
|
@mouseenter=${this.onHover}
|
|
@@ -583,45 +583,46 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
583
583
|
</div>
|
|
584
584
|
</div>
|
|
585
585
|
</div>
|
|
586
|
-
`}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="",Wn(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))}};G.elementDefinitions={"ft-typography":ot};G.styles=cl;ct([w()],G.prototype,"text",void 0);ct([w({type:Boolean})],G.prototype,"manual",void 0);ct([w({type:Boolean})],G.prototype,"inline",void 0);ct([w({type:Number})],G.prototype,"delay",void 0);ct([w()],G.prototype,"position",void 0);ct([_o()],G.prototype,"slotNodes",void 0);ct([et(".ft-tooltip--container")],G.prototype,"container",void 0);ct([et(".ft-tooltip")],G.prototype,"tooltip",void 0);ct([et(".ft-tooltip--content")],G.prototype,"tooltipContent",void 0);ct([tt()],G.prototype,"visible",void 0);ct([Ee({passive:!0})],G.prototype,"onTouch",null);ct([Ee({passive:!0})],G.prototype,"onHover",null);ct([Ee({passive:!0})],G.prototype,"onOut",null);ct([Ee({passive:!0})],G.prototype,"onClick",null);q("ft-tooltip")(G);var Se;(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.EYE="",e.SHARE="󨃱"})(Se||(Se={}));var O;(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=""})(O||(O={}));var Xb=new Map([...["abw"].map(e=>[e,O.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var Jb={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var ee;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ee||(ee={}));var mo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},yt=class extends U{constructor(){super(...arguments),this.resolvedIcon=H}render(){let t=this.variant&&Object.values(ee).includes(this.variant)?this.variant:ee.fluid_topics,o=t!==ee.material||!!this.value;return V`
|
|
586
|
+
`}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="",Hn(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))}};q.elementDefinitions={"ft-typography":it};q.styles=ul;ft([N()],q.prototype,"text",void 0);ft([N({type:Boolean})],q.prototype,"manual",void 0);ft([N({type:Boolean})],q.prototype,"inline",void 0);ft([N({type:Number})],q.prototype,"delay",void 0);ft([N()],q.prototype,"position",void 0);ft([kr()],q.prototype,"slotNodes",void 0);ft([nt(".ft-tooltip--container")],q.prototype,"container",void 0);ft([nt(".ft-tooltip")],q.prototype,"tooltip",void 0);ft([nt(".ft-tooltip--content")],q.prototype,"tooltipContent",void 0);ft([rt()],q.prototype,"visible",void 0);ft([Ie({passive:!0})],q.prototype,"onTouch",null);ft([Ie({passive:!0})],q.prototype,"onHover",null);ft([Ie({passive:!0})],q.prototype,"onOut",null);ft([Ie({passive:!0})],q.prototype,"onClick",null);J("ft-tooltip")(q);var Ee;(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="󨃱"})(Ee||(Ee={}));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 n0=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 a0={[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 ae;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ae||(ae={}));var xr=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},xt=class extends H{constructor(){super(...arguments),this.resolvedIcon=Z}render(){let t=this.variant&&Object.values(ae).includes(this.variant)?this.variant:ae.fluid_topics,r=t!==ae.material||!!this.value;return j`
|
|
587
587
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
588
|
-
${
|
|
589
|
-
<slot ?hidden=${
|
|
588
|
+
${Dr(this.resolvedIcon)}
|
|
589
|
+
<slot ?hidden=${r}></slot>
|
|
590
590
|
</i>
|
|
591
|
-
`}get textContent(){var t,
|
|
591
|
+
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case ae.file_format:this.resolvedIcon=(t=E[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case ae.material:this.resolvedIcon=this.value||Z;break;default:this.resolvedIcon=(r=Ee[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};xt.elementDefinitions={};xt.styles=al;xr([N()],xt.prototype,"variant",void 0);xr([N()],xt.prototype,"value",void 0);xr([rt()],xt.prototype,"resolvedIcon",void 0);xr([nt("slot")],xt.prototype,"slottedContent",void 0);J("ft-icon")(xt);var Ne=class extends H{render(){return j`
|
|
592
592
|
<div class="ft-loader">
|
|
593
593
|
<div></div>
|
|
594
594
|
<div></div>
|
|
595
595
|
<div></div>
|
|
596
596
|
<div></div>
|
|
597
597
|
</div>
|
|
598
|
-
`}};
|
|
598
|
+
`}};Ne.styles=nl;J("ft-loader")(Ne);var mt=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},Q=class extends Na(H,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(j`
|
|
599
599
|
<button part="button"
|
|
600
|
-
class="${
|
|
600
|
+
class="${zt(this.buttonClasses)}"
|
|
601
601
|
aria-label="${this.getLabel()}"
|
|
602
602
|
?disabled=${this.isDisabled()}>
|
|
603
603
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
604
604
|
<ft-typography part="label"
|
|
605
605
|
variant=${this.typographyVariant}
|
|
606
606
|
element="span"
|
|
607
|
-
class="ft-button--label ${
|
|
607
|
+
class="ft-button--label ${$a?"ft-safari-ellipsis-fix":""}"
|
|
608
608
|
?hidden=${!this.hasTextContent()}>
|
|
609
609
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
610
610
|
</ft-typography>
|
|
611
611
|
${this.resolveIcon()}
|
|
612
612
|
</button>
|
|
613
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
613
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?j`
|
|
614
614
|
<ft-tooltip part="tooltip"
|
|
615
615
|
text="${this.getLabel()}"
|
|
616
616
|
position="${this.tooltipPosition}">
|
|
617
617
|
${t}
|
|
618
618
|
</ft-tooltip>
|
|
619
|
-
`:t}resolveIcon(){return this.loading?
|
|
620
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
619
|
+
`:t}resolveIcon(){return this.loading?j`
|
|
620
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?j`
|
|
621
621
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
622
|
-
`:
|
|
622
|
+
`:j`
|
|
623
623
|
<slot part="icon" name="icon"></slot>
|
|
624
|
-
`}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}};Y.elementDefinitions={"ft-ripple":j,"ft-tooltip":G,"ft-typography":ot,"ft-icon":yt,"ft-loader":Oe};ut([w({type:String,reflect:!0})],Y.prototype,"role",void 0);ut([w()],Y.prototype,"type",void 0);ut([w({type:Boolean})],Y.prototype,"disabled",void 0);ut([w()],Y.prototype,"label",void 0);ut([w()],Y.prototype,"icon",void 0);ut([w()],Y.prototype,"iconVariant",void 0);ut([w({type:Boolean})],Y.prototype,"trailingIcon",void 0);ut([w({type:Boolean})],Y.prototype,"loading",void 0);ut([w()],Y.prototype,"tooltipPosition",void 0);ut([w({type:Boolean})],Y.prototype,"hideTooltip",void 0);ut([w({type:Boolean})],Y.prototype,"forceTooltip",void 0);ut([et(".ft-button")],Y.prototype,"button",void 0);ut([et(".ft-button--label slot")],Y.prototype,"slottedContent",void 0);var yo=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},wt=class extends Y{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"}};wt.styles=[xr,nl];yo([w({type:Boolean})],wt.prototype,"primary",void 0);yo([w({type:Boolean})],wt.prototype,"outlined",void 0);yo([w({type:Boolean})],wt.prototype,"dense",void 0);yo([w({type:Boolean})],wt.prototype,"round",void 0);var pl=[_`
|
|
624
|
+
`}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}};Q.elementDefinitions={"ft-ripple":V,"ft-tooltip":q,"ft-typography":it,"ft-icon":xt,"ft-loader":Ne};mt([N({type:String,reflect:!0})],Q.prototype,"role",void 0);mt([N()],Q.prototype,"type",void 0);mt([N({type:Boolean})],Q.prototype,"disabled",void 0);mt([N()],Q.prototype,"label",void 0);mt([N()],Q.prototype,"icon",void 0);mt([N()],Q.prototype,"iconVariant",void 0);mt([N({type:Boolean})],Q.prototype,"trailingIcon",void 0);mt([N({type:Boolean})],Q.prototype,"loading",void 0);mt([N()],Q.prototype,"tooltipPosition",void 0);mt([N({type:Boolean})],Q.prototype,"hideTooltip",void 0);mt([N({type:Boolean})],Q.prototype,"forceTooltip",void 0);mt([nt(".ft-button")],Q.prototype,"button",void 0);mt([nt(".ft-button--label slot")],Q.prototype,"slottedContent",void 0);var vr=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},Nt=class extends Q{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Nt.styles=[wo,ll];vr([N({type:Boolean})],Nt.prototype,"primary",void 0);vr([N({type:Boolean})],Nt.prototype,"outlined",void 0);vr([N({type:Boolean})],Nt.prototype,"dense",void 0);vr([N({type:Boolean})],Nt.prototype,"round",void 0);var ie=e=>typeof e=="string"?kt(e):e,a=class{static create(t,r,n,i){let c=s=>ie(s??i),l=$`var(${ie(t)}, ${c(i)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>$`var(${ie(t)}, ${c(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,r,n,i){let c=s=>n.get(s??i),l=$`var(${ie(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=>$`var(${ie(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):ie(c??t.lastResortDefaultValue()),i=$`var(${ie(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=>$`var(${ie(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)")},X0={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")},J0={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")},Q0={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")},tx={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")},ex={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")},ox={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")},rx={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")},nx={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")},ax={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")},ix={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")},cx={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")},lx={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")},sx={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")},dx={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")},px={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")},fx={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")},ux={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")},hx={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")},gx={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")},mx={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")},yx={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")},bx={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")},xx={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")},vx={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")},Sx={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")},Ox={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.
|
|
625
|
+
Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:a.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:a.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:a.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:a.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:a.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:a.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:a.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:a.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:a.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:a.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:a.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:a.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:a.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:a.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var R={largeHeight:a.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:a.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:a.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:a.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:a.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:a.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:a.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:a.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:a.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:a.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:a.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:a.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:a.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:a.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:a.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:a.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:a.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:a.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:a.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:a.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:a.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:a.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:a.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:a.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:a.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:a.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:a.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:a.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:a.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:a.extend("--ft-button-primary-background-color","",g.backgroundActionPrimary),primaryColor:a.extend("--ft-button-primary-color","",g.contentGlobalOnColor),primaryIconColor:a.extend("--ft-button-primary-icon-color","",g.contentGlobalOnColor),primaryStateLayerColor:a.extend("--ft-button-primary-state-layer-color","",g.contentGlobalOnColor),primaryHoverStateLayerOpacity:a.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:a.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:a.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:a.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-button-focus-focus-ring-color","",g.borderActionFocusRing),tertiaryBackgroundColor:a.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:a.extend("--ft-button-tertiary-color","",g.contentActionPrimary),tertiaryIconColor:a.extend("--ft-button-tertiary-icon-color","",g.contentActionPrimary),tertiaryStateLayerColor:a.extend("--ft-button-tertiary-state-layer-color","",g.contentActionPrimary),tertiaryHoverStateLayerOpacity:a.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:a.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:a.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:a.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:a.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:a.extend("--ft-button-secondary-color","",g.contentActionPrimary),secondaryIconColor:a.extend("--ft-button-secondary-icon-color","",g.contentActionPrimary),secondaryStateLayerColor:a.extend("--ft-button-secondary-state-layer-color","",g.contentActionPrimary),secondaryHoverStateLayerOpacity:a.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:a.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:a.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:a.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:a.extend("--ft-button-secondary-border-color","",g.borderActionPrimary),neutralBackgroundColor:a.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:a.extend("--ft-button-neutral-icon-color","",g.contentGlobalSecondary),neutralColor:a.extend("--ft-button-neutral-color","",g.contentGlobalSecondary),neutralStateLayerColor:a.extend("--ft-button-neutral-state-layer-color","",g.contentGlobalSecondary),neutralHoverStateLayerOpacity:a.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:a.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:a.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:a.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var _x={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 Bx={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 Gx={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 Yx={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 tv={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 av={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 dv={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 gv={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 vv={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 Ev={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 Pv={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 kv={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 Dv={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 Zv={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 qv={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 eS={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 iS={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 dS={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 gS={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 vS={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 ES={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 PS={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 kS={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 DS={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 hl;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(hl||(hl={}));var gl;(function(e){e.large="large",e.medium="medium",e.small="small"})(gl||(gl={}));var ml=[$`
|
|
625
626
|
:host {
|
|
626
627
|
display: inline-block;
|
|
627
628
|
max-width: 100%;
|
|
@@ -671,7 +672,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
671
672
|
}
|
|
672
673
|
|
|
673
674
|
.ft-button:focus-visible {
|
|
674
|
-
outline-color: ${
|
|
675
|
+
outline-color: ${R.focusFocusRingColor};
|
|
675
676
|
outline-style: solid;
|
|
676
677
|
}
|
|
677
678
|
|
|
@@ -700,164 +701,164 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
700
701
|
/** Primary styles **/
|
|
701
702
|
|
|
702
703
|
.ft-button--primary {
|
|
703
|
-
${
|
|
704
|
+
${L(st.color,R.primaryIconColor)};
|
|
704
705
|
|
|
705
|
-
${
|
|
706
|
-
${
|
|
707
|
-
${
|
|
708
|
-
${
|
|
709
|
-
${
|
|
706
|
+
${L(z.color,R.primaryStateLayerColor)};
|
|
707
|
+
${L(z.opacityContentOnSurfaceHover,R.primaryHoverStateLayerOpacity)};
|
|
708
|
+
${L(z.opacityContentOnSurfaceFocused,R.primaryFocusStateLayerOpacity)};
|
|
709
|
+
${L(z.opacityContentOnSurfaceSelected,R.primaryActiveStateLayerOpacity)};
|
|
710
|
+
${L(z.opacityContentOnSurfacePressed,R.primaryActiveStateLayerOpacity)};
|
|
710
711
|
|
|
711
|
-
background-color: ${
|
|
712
|
-
color: ${
|
|
712
|
+
background-color: ${R.primaryBackgroundColor};
|
|
713
|
+
color: ${R.primaryColor};
|
|
713
714
|
border-style: none;
|
|
714
715
|
}
|
|
715
716
|
|
|
716
717
|
.ft-button--primary[disabled] {
|
|
717
|
-
opacity: ${
|
|
718
|
+
opacity: ${R.primaryDisabledComponentOpacity};
|
|
718
719
|
}
|
|
719
720
|
|
|
720
721
|
.ft-button--primary ft-icon {
|
|
721
|
-
color: ${
|
|
722
|
+
color: ${R.primaryIconColor};
|
|
722
723
|
}
|
|
723
724
|
|
|
724
725
|
/** Secondary styles **/
|
|
725
726
|
|
|
726
727
|
.ft-button--secondary {
|
|
727
|
-
${
|
|
728
|
+
${L(st.color,R.secondaryIconColor)};
|
|
728
729
|
|
|
729
|
-
${
|
|
730
|
-
${
|
|
731
|
-
${
|
|
732
|
-
${
|
|
733
|
-
${
|
|
730
|
+
${L(z.color,R.secondaryStateLayerColor)};
|
|
731
|
+
${L(z.opacityContentOnSurfaceHover,R.secondaryHoverStateLayerOpacity)};
|
|
732
|
+
${L(z.opacityContentOnSurfaceFocused,R.secondaryFocusStateLayerOpacity)};
|
|
733
|
+
${L(z.opacityContentOnSurfaceSelected,R.secondaryActiveStateLayerOpacity)};
|
|
734
|
+
${L(z.opacityContentOnSurfacePressed,R.secondaryActiveStateLayerOpacity)};
|
|
734
735
|
|
|
735
|
-
background-color: ${
|
|
736
|
-
color: ${
|
|
737
|
-
border-color: ${
|
|
736
|
+
background-color: ${R.secondaryBackgroundColor};
|
|
737
|
+
color: ${R.secondaryColor};
|
|
738
|
+
border-color: ${R.secondaryBorderColor};
|
|
738
739
|
border-style: solid;
|
|
739
740
|
}
|
|
740
741
|
|
|
741
742
|
.ft-button--secondary[disabled] {
|
|
742
|
-
opacity: ${
|
|
743
|
+
opacity: ${R.secondaryDisabledComponentOpacity};
|
|
743
744
|
}
|
|
744
745
|
|
|
745
746
|
.ft-button--secondary ft-icon {
|
|
746
|
-
color: ${
|
|
747
|
+
color: ${R.secondaryIconColor};
|
|
747
748
|
}
|
|
748
749
|
|
|
749
750
|
/** Tertiary styles **/
|
|
750
751
|
|
|
751
752
|
.ft-button--tertiary {
|
|
752
|
-
${
|
|
753
|
+
${L(st.color,R.tertiaryIconColor)};
|
|
753
754
|
|
|
754
|
-
${
|
|
755
|
-
${
|
|
756
|
-
${
|
|
757
|
-
${
|
|
758
|
-
${
|
|
755
|
+
${L(z.color,R.tertiaryStateLayerColor)};
|
|
756
|
+
${L(z.opacityContentOnSurfaceHover,R.tertiaryHoverStateLayerOpacity)};
|
|
757
|
+
${L(z.opacityContentOnSurfaceFocused,R.tertiaryFocusStateLayerOpacity)};
|
|
758
|
+
${L(z.opacityContentOnSurfaceSelected,R.tertiaryActiveStateLayerOpacity)};
|
|
759
|
+
${L(z.opacityContentOnSurfacePressed,R.tertiaryActiveStateLayerOpacity)};
|
|
759
760
|
|
|
760
|
-
background-color: ${
|
|
761
|
-
color: ${
|
|
761
|
+
background-color: ${R.tertiaryBackgroundColor};
|
|
762
|
+
color: ${R.tertiaryColor};
|
|
762
763
|
border-style: none;
|
|
763
764
|
}
|
|
764
765
|
|
|
765
766
|
.ft-button--tertiary[disabled] {
|
|
766
|
-
opacity: ${
|
|
767
|
+
opacity: ${R.tertiaryDisabledComponentOpacity};
|
|
767
768
|
}
|
|
768
769
|
|
|
769
770
|
.ft-button--tertiary ft-icon {
|
|
770
|
-
color: ${
|
|
771
|
+
color: ${R.tertiaryIconColor};
|
|
771
772
|
}
|
|
772
773
|
|
|
773
774
|
/** Neutral styles **/
|
|
774
775
|
|
|
775
776
|
.ft-button--neutral {
|
|
776
|
-
${
|
|
777
|
+
${L(st.color,R.neutralIconColor)};
|
|
777
778
|
|
|
778
|
-
${
|
|
779
|
-
${
|
|
780
|
-
${
|
|
781
|
-
${
|
|
782
|
-
${
|
|
779
|
+
${L(z.backgroundColor,R.neutralStateLayerColor)};
|
|
780
|
+
${L(z.opacityContentOnSurfaceHover,R.neutralHoverStateLayerOpacity)};
|
|
781
|
+
${L(z.opacityContentOnSurfaceFocused,R.neutralFocusStateLayerOpacity)};
|
|
782
|
+
${L(z.opacityContentOnSurfaceSelected,R.neutralActiveStateLayerOpacity)};
|
|
783
|
+
${L(z.opacityContentOnSurfacePressed,R.neutralActiveStateLayerOpacity)};
|
|
783
784
|
|
|
784
|
-
background-color: ${
|
|
785
|
-
color: ${
|
|
785
|
+
background-color: ${R.neutralBackgroundColor};
|
|
786
|
+
color: ${R.neutralColor};
|
|
786
787
|
border-style: none;
|
|
787
788
|
}
|
|
788
789
|
|
|
789
790
|
.ft-button--neutral[disabled] {
|
|
790
|
-
opacity: ${
|
|
791
|
+
opacity: ${R.neutralDisabledComponentOpacity};
|
|
791
792
|
}
|
|
792
793
|
|
|
793
794
|
.ft-button--neutral ft-icon {
|
|
794
|
-
color: ${
|
|
795
|
+
color: ${R.neutralIconColor};
|
|
795
796
|
}
|
|
796
797
|
|
|
797
798
|
/** Large styles **/
|
|
798
799
|
|
|
799
800
|
.ft-button--large {
|
|
800
|
-
${
|
|
801
|
-
${
|
|
802
|
-
|
|
803
|
-
height: ${
|
|
804
|
-
padding: 0 ${
|
|
805
|
-
gap: ${
|
|
806
|
-
border-radius: ${
|
|
807
|
-
border-width: ${
|
|
801
|
+
${L(dt.size,R.largeIconSize)};
|
|
802
|
+
${L(st.size,R.largeIconSize)};
|
|
803
|
+
|
|
804
|
+
height: ${R.largeHeight};
|
|
805
|
+
padding: 0 ${R.largeHorizontalPadding};
|
|
806
|
+
gap: ${R.largeGap};
|
|
807
|
+
border-radius: ${R.largeBorderRadius};
|
|
808
|
+
border-width: ${R.largeBorderWidth};
|
|
808
809
|
}
|
|
809
810
|
|
|
810
811
|
.ft-button--large:focus-visible {
|
|
811
|
-
outline-width: ${
|
|
812
|
-
outline-offset: ${
|
|
812
|
+
outline-width: ${R.largeFocusOutlineWidth};
|
|
813
|
+
outline-offset: ${R.largeFocusOutlineOffset};
|
|
813
814
|
}
|
|
814
815
|
|
|
815
816
|
.ft-button--large.ft-button--icon-only {
|
|
816
|
-
width: ${
|
|
817
|
+
width: ${R.largeIconOnlyWidth};
|
|
817
818
|
padding: unset;
|
|
818
819
|
}
|
|
819
820
|
|
|
820
821
|
/** Small styles **/
|
|
821
822
|
|
|
822
823
|
.ft-button--small {
|
|
823
|
-
${
|
|
824
|
-
${
|
|
825
|
-
|
|
826
|
-
height: ${
|
|
827
|
-
padding: 0 ${
|
|
828
|
-
gap: ${
|
|
829
|
-
border-radius: ${
|
|
830
|
-
border-width: ${
|
|
824
|
+
${L(dt.size,R.smallIconSize)};
|
|
825
|
+
${L(st.size,R.smallIconSize)};
|
|
826
|
+
|
|
827
|
+
height: ${R.smallHeight};
|
|
828
|
+
padding: 0 ${R.smallHorizontalPadding};
|
|
829
|
+
gap: ${R.smallGap};
|
|
830
|
+
border-radius: ${R.smallBorderRadius};
|
|
831
|
+
border-width: ${R.smallBorderWidth};
|
|
831
832
|
}
|
|
832
833
|
|
|
833
834
|
.ft-button--small:focus-visible {
|
|
834
|
-
outline-width: ${
|
|
835
|
-
outline-offset: ${
|
|
835
|
+
outline-width: ${R.smallFocusOutlineWidth};
|
|
836
|
+
outline-offset: ${R.smallFocusOutlineOffset};
|
|
836
837
|
}
|
|
837
838
|
|
|
838
839
|
.ft-button--small.ft-button--icon-only {
|
|
839
|
-
width: ${
|
|
840
|
+
width: ${R.smallIconOnlyWidth};
|
|
840
841
|
padding: unset;
|
|
841
842
|
}
|
|
842
|
-
`,
|
|
843
|
+
`,Co];var Io=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},Wt=class extends Q{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?we.caption1medium:we.body2medium}};Wt.styles=[wo,ml];Io([N({type:Boolean})],Wt.prototype,"primary",void 0);Io([N({type:Boolean})],Wt.prototype,"secondary",void 0);Io([N({type:Boolean})],Wt.prototype,"tertiary",void 0);Io([N({type:Boolean})],Wt.prototype,"neutral",void 0);Io([N({type:Boolean})],Wt.prototype,"small",void 0);J("ft-button")(Nt);J("ftds-button")(Wt);var B={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",U.colorOutline),textColor:o.extend("--ft-input-label-text-color","",U.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",U.colorOnSurfaceDisabled),colorSurface:o.external(U.colorSurface,"Design system"),borderRadiusS:o.external(U.borderRadiusS,"Design system"),colorError:o.external(U.colorError,"Design system")},yl=$`
|
|
843
844
|
.ft-input-label {
|
|
844
845
|
position: absolute;
|
|
845
846
|
inset: 0;
|
|
846
847
|
display: flex;
|
|
847
|
-
background-color: ${
|
|
848
|
-
border-radius: ${
|
|
848
|
+
background-color: ${B.colorSurface};
|
|
849
|
+
border-radius: ${B.borderRadiusS} ${B.borderRadiusS} 0 0;
|
|
849
850
|
}
|
|
850
851
|
|
|
851
852
|
.ft-input-label--outlined {
|
|
852
|
-
border-radius: ${
|
|
853
|
+
border-radius: ${B.borderRadiusS};
|
|
853
854
|
}
|
|
854
855
|
|
|
855
856
|
.ft-input-label {
|
|
856
|
-
border-color: ${
|
|
857
|
+
border-color: ${B.borderColor};
|
|
857
858
|
}
|
|
858
859
|
|
|
859
860
|
.ft-input-label.ft-input-label--in-error {
|
|
860
|
-
border-color: ${
|
|
861
|
+
border-color: ${B.colorError}
|
|
861
862
|
}
|
|
862
863
|
|
|
863
864
|
.ft-input-label:before,
|
|
@@ -870,7 +871,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
870
871
|
}
|
|
871
872
|
|
|
872
873
|
.ft-input-label:before {
|
|
873
|
-
width: calc(${
|
|
874
|
+
width: calc(${B.horizontalSpacing} - 4px);
|
|
874
875
|
flex-shrink: 0;
|
|
875
876
|
}
|
|
876
877
|
|
|
@@ -886,20 +887,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
886
887
|
border-bottom-width: 1px;
|
|
887
888
|
border-bottom-style: solid;
|
|
888
889
|
border-color: inherit;
|
|
889
|
-
color: ${
|
|
890
|
+
color: ${B.textColor};
|
|
890
891
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
891
|
-
max-width: calc(${
|
|
892
|
+
max-width: calc(${B.labelMaxWidth} - 2 * (${B.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
892
893
|
text-overflow: ellipsis;
|
|
893
|
-
${
|
|
894
|
-
${
|
|
894
|
+
${L(Et.fontSize,B.fontSize)};
|
|
895
|
+
${L(Et.lineHeight,B.fontSize)};
|
|
895
896
|
}
|
|
896
897
|
|
|
897
898
|
.ft-input-label--in-error .ft-input-label--text {
|
|
898
|
-
color: ${
|
|
899
|
+
color: ${B.colorError}
|
|
899
900
|
}
|
|
900
901
|
|
|
901
902
|
.ft-input-label--disabled .ft-input-label--text {
|
|
902
|
-
color: ${
|
|
903
|
+
color: ${B.disabledTextColor};
|
|
903
904
|
}
|
|
904
905
|
|
|
905
906
|
.ft-input-label--hidden-text {
|
|
@@ -916,19 +917,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
916
917
|
overflow: hidden;
|
|
917
918
|
white-space: nowrap;
|
|
918
919
|
text-overflow: ellipsis;
|
|
919
|
-
padding: ${
|
|
920
|
-
margin: calc(${
|
|
920
|
+
padding: ${B.verticalSpacing} 4px;
|
|
921
|
+
margin: calc(${B.verticalSpacing} * -1) 0;
|
|
921
922
|
max-width: 100%;
|
|
922
923
|
box-sizing: border-box;
|
|
923
924
|
}
|
|
924
925
|
|
|
925
926
|
.ft-input-label--raised .ft-input-label--text {
|
|
926
|
-
${
|
|
927
|
-
${
|
|
927
|
+
${L(Et.fontSize,B.raisedFontSize)};
|
|
928
|
+
${L(Et.lineHeight,B.raisedFontSize)};
|
|
928
929
|
}
|
|
929
930
|
|
|
930
931
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
931
|
-
top: ${
|
|
932
|
+
top: ${B.verticalSpacing};
|
|
932
933
|
}
|
|
933
934
|
|
|
934
935
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -941,27 +942,27 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
941
942
|
.ft-input-label--outlined:before {
|
|
942
943
|
border-left-width: 1px;
|
|
943
944
|
border-left-style: solid;
|
|
944
|
-
border-radius: ${
|
|
945
|
+
border-radius: ${B.borderRadiusS} 0 0 ${B.borderRadiusS};
|
|
945
946
|
}
|
|
946
947
|
|
|
947
948
|
.ft-input-label--outlined:after {
|
|
948
949
|
border-right-width: 1px;
|
|
949
950
|
border-right-style: solid;
|
|
950
|
-
border-radius: 0 ${
|
|
951
|
+
border-radius: 0 ${B.borderRadiusS} ${B.borderRadiusS} 0;
|
|
951
952
|
}
|
|
952
953
|
|
|
953
954
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
954
955
|
padding: 2px 4px;
|
|
955
|
-
z-index: ${
|
|
956
|
-
background-color: ${
|
|
957
|
-
border-radius: ${
|
|
956
|
+
z-index: ${B.raisedZIndex};
|
|
957
|
+
background-color: ${B.colorSurface};
|
|
958
|
+
border-radius: ${B.borderRadiusS};
|
|
958
959
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
959
960
|
}
|
|
960
961
|
|
|
961
962
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
962
963
|
border-top: none;
|
|
963
964
|
}
|
|
964
|
-
`;var
|
|
965
|
+
`;var Y={fontSize:o.create("--ft-number-field-font-size","","SIZE","14px"),labelSize:o.create("--ft-number-field-label-size","","SIZE","11px"),verticalSpacing:o.create("--ft-number-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-number-field-horizontal-spacing","","SIZE","16px"),colorPrimary:o.external(U.colorPrimary,"Design system"),colorOnSurface:o.external(U.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.external(U.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.external(U.borderRadiusS,"Design system"),colorSurface:o.external(U.colorSurface,"Design system"),colorOutline:o.external(U.colorOutline,"Design system")},bl=$`
|
|
965
966
|
*:focus {
|
|
966
967
|
outline: none;
|
|
967
968
|
}
|
|
@@ -974,16 +975,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
974
975
|
}
|
|
975
976
|
|
|
976
977
|
ft-input-label {
|
|
977
|
-
${
|
|
978
|
-
${
|
|
979
|
-
${
|
|
980
|
-
${
|
|
978
|
+
${L(B.fontSize,Y.fontSize)};
|
|
979
|
+
${L(B.raisedFontSize,Y.labelSize)};
|
|
980
|
+
${L(B.verticalSpacing,Y.verticalSpacing)};
|
|
981
|
+
${L(B.horizontalSpacing,Y.horizontalSpacing)};
|
|
981
982
|
}
|
|
982
983
|
|
|
983
984
|
.ft-number-field--main-panel {
|
|
984
985
|
position: relative;
|
|
985
986
|
display: flex;
|
|
986
|
-
height: calc(4 * ${
|
|
987
|
+
height: calc(4 * ${Y.verticalSpacing} + ${Y.labelSize} + ${Y.fontSize});
|
|
987
988
|
}
|
|
988
989
|
|
|
989
990
|
.ft-number-field--input-panel {
|
|
@@ -992,20 +993,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
992
993
|
display: flex;
|
|
993
994
|
align-items: center;
|
|
994
995
|
overflow: hidden;
|
|
995
|
-
padding: 0 ${
|
|
996
|
+
padding: 0 ${Y.horizontalSpacing};
|
|
996
997
|
|
|
997
|
-
${
|
|
998
|
-
${
|
|
998
|
+
${L(Gt.fontSize,Y.fontSize)};
|
|
999
|
+
${L(Gt.lineHeight,Y.fontSize)};
|
|
999
1000
|
}
|
|
1000
1001
|
|
|
1001
1002
|
.ft-number-field--input-panel ft-ripple {
|
|
1002
|
-
${
|
|
1003
|
-
${
|
|
1003
|
+
${L(z.opacityContentOnSurfaceHover,"0.08")};
|
|
1004
|
+
${L(z.opacityContentOnSurfacePressed,"0.04")};
|
|
1004
1005
|
}
|
|
1005
1006
|
|
|
1006
1007
|
.ft-number-field--filled.ft-number-field--with-label .ft-number-field--input-panel {
|
|
1007
1008
|
align-items: flex-end;
|
|
1008
|
-
padding: 0 ${
|
|
1009
|
+
padding: 0 ${Y.horizontalSpacing} ${Y.verticalSpacing} ${Y.horizontalSpacing};
|
|
1009
1010
|
}
|
|
1010
1011
|
|
|
1011
1012
|
.ft-number-field--input {
|
|
@@ -1015,8 +1016,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1015
1016
|
flex-shrink: 1;
|
|
1016
1017
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
1017
1018
|
|
|
1018
|
-
color: ${
|
|
1019
|
-
padding: calc(2 * ${
|
|
1019
|
+
color: ${Y.colorOnSurface};
|
|
1020
|
+
padding: calc(2 * ${Y.verticalSpacing}) 0;
|
|
1020
1021
|
border: none;
|
|
1021
1022
|
background: none;
|
|
1022
1023
|
|
|
@@ -1025,24 +1026,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1025
1026
|
|
|
1026
1027
|
.ft-number-field--filled.ft-number-field--with-label .ft-number-field--input {
|
|
1027
1028
|
padding-bottom: 0;
|
|
1028
|
-
padding-top: calc(${
|
|
1029
|
+
padding-top: calc(${Y.labelSize} + 2 * ${Y.verticalSpacing});
|
|
1029
1030
|
}
|
|
1030
1031
|
|
|
1031
1032
|
.ft-number-field--disabled .ft-number-field--input {
|
|
1032
|
-
color: ${
|
|
1033
|
+
color: ${Y.colorOnSurfaceDisabled};
|
|
1033
1034
|
}
|
|
1034
1035
|
|
|
1035
1036
|
.ft-number-field:not(.ft-number-field--disabled):focus-within ft-input-label {
|
|
1036
|
-
${
|
|
1037
|
-
${
|
|
1037
|
+
${L(B.borderColor,Y.colorPrimary)};
|
|
1038
|
+
${L(B.textColor,Y.colorPrimary)};
|
|
1038
1039
|
}
|
|
1039
1040
|
|
|
1040
1041
|
.ft-number-field--filled .ft-number-field--input-panel {
|
|
1041
|
-
border-radius: ${
|
|
1042
|
+
border-radius: ${Y.borderRadiusS} ${Y.borderRadiusS} 0 0;
|
|
1042
1043
|
}
|
|
1043
1044
|
|
|
1044
1045
|
.ft-number-field--outlined .ft-number-field--input-panel {
|
|
1045
|
-
border-radius: ${
|
|
1046
|
+
border-radius: ${Y.borderRadiusS};
|
|
1046
1047
|
}
|
|
1047
1048
|
|
|
1048
1049
|
input::-webkit-outer-spin-button,
|
|
@@ -1050,17 +1051,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1050
1051
|
-webkit-appearance: none;
|
|
1051
1052
|
margin: 0;
|
|
1052
1053
|
}
|
|
1053
|
-
`;var
|
|
1054
|
-
<div class="${
|
|
1055
|
-
${this.text?
|
|
1054
|
+
`;var Po=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},yt=class extends H{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return j`
|
|
1055
|
+
<div class="${zt(t)}">
|
|
1056
|
+
${this.text?j`
|
|
1056
1057
|
<div class="ft-input-label--text ft-typography--caption">
|
|
1057
1058
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
1058
1059
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
1059
1060
|
</div>
|
|
1060
1061
|
`:null}
|
|
1061
1062
|
</div>
|
|
1062
|
-
`}};
|
|
1063
|
-
<div class="${
|
|
1063
|
+
`}};yt.elementDefinitions={};yt.styles=[br,yl];Po([N({type:String})],yt.prototype,"text",void 0);Po([N({type:Boolean})],yt.prototype,"raised",void 0);Po([N({type:Boolean})],yt.prototype,"outlined",void 0);Po([N({type:Boolean})],yt.prototype,"disabled",void 0);Po([N({type:Boolean})],yt.prototype,"error",void 0);J("ft-input-label")(yt);var Kt=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},et=class extends H{constructor(){super(...arguments),this.outlined=!1,this.disabled=!1,this.focused=!1}render(){let t={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":this.value!=null,"ft-number-field--with-label":!!this.label};return j`
|
|
1064
|
+
<div class="${zt(t)}">
|
|
1064
1065
|
<div class="ft-number-field--main-panel"
|
|
1065
1066
|
@focusout=${this.onMainPanelBlur}>
|
|
1066
1067
|
<ft-input-label text="${this.label}"
|
|
@@ -1069,7 +1070,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1069
1070
|
?raised=${this.focused||this.value!=null}>
|
|
1070
1071
|
</ft-input-label>
|
|
1071
1072
|
<div class="ft-number-field--input-panel">
|
|
1072
|
-
${this.outlined?
|
|
1073
|
+
${this.outlined?Z:j`
|
|
1073
1074
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
1074
1075
|
`}
|
|
1075
1076
|
<input type="number"
|
|
@@ -1086,7 +1087,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1086
1087
|
</div>
|
|
1087
1088
|
</div>
|
|
1088
1089
|
</div>
|
|
1089
|
-
`}update(t){super.update(t),(t.has("max")||t.has("min"))&&this.setValue(this.value)}lowerBound(t){return this.min!=null?Math.max(this.min,t):t}upperBound(t){return this.max!=null?Math.min(this.max,t):t}onChange(t){t.preventDefault(),t.stopPropagation(),this.setValue(+t.target.value)}setValue(t){let
|
|
1090
|
+
`}update(t){super.update(t),(t.has("max")||t.has("min"))&&this.setValue(this.value)}lowerBound(t){return this.min!=null?Math.max(this.min,t):t}upperBound(t){return this.max!=null?Math.min(this.max,t):t}onChange(t){t.preventDefault(),t.stopPropagation(),this.setValue(+t.target.value)}setValue(t){let r=this.value;this.value=t;let n=this.value==null?void 0:this.lowerBound(this.upperBound(this.value));setTimeout(()=>{this.value=n,r!==n&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))})}onFocus(){this.focused=!0}onMainPanelBlur(){var t;!((t=this.mainPanel)===null||t===void 0)&&t.matches(":focus-within")||(this.focused=!1)}};et.elementDefinitions={"ft-input-label":yt,"ft-ripple":V,"ft-typography":it};et.styles=bl;Kt([N()],et.prototype,"label",void 0);Kt([ho()],et.prototype,"value",void 0);Kt([N({type:Boolean})],et.prototype,"outlined",void 0);Kt([N({type:Boolean})],et.prototype,"disabled",void 0);Kt([ho()],et.prototype,"min",void 0);Kt([ho()],et.prototype,"max",void 0);Kt([rt()],et.prototype,"focused",void 0);Kt([nt(".ft-number-field--input")],et.prototype,"input",void 0);Kt([nt(".ft-number-field--main-panel")],et.prototype,"mainPanel",void 0);J("ft-number-field")(et);var qe=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},vt=class extends H{constructor(){super(...arguments),this.currentPage=1,this.nextLabel="Next",this.previousLabel="Previous"}get resolvedMaxPage(){return this.maxPage?Math.max(1,this.maxPage):this.totalItemsCount&&this.itemsPerPage?Math.ceil(Math.max(1,this.totalItemsCount)/Math.max(1,this.itemsPerPage)):1}render(){let t=this.resolvedMaxPage;return j`
|
|
1090
1091
|
<style>
|
|
1091
1092
|
ft-number-field::part(input) {
|
|
1092
1093
|
width: ${Math.max(2,(""+t).length)}ch;
|
|
@@ -1094,7 +1095,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1094
1095
|
|
|
1095
1096
|
</style>
|
|
1096
1097
|
<div part="container">
|
|
1097
|
-
<ft-button icon=${
|
|
1098
|
+
<ft-button icon=${Ee.THIN_ARROW_LEFT}
|
|
1098
1099
|
?disabled="${this.currentPage==1}"
|
|
1099
1100
|
@click="${()=>this.setPage(this.currentPage-1)}"
|
|
1100
1101
|
label="${this.previousLabel}"
|
|
@@ -1107,14 +1108,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1107
1108
|
@change="${this.onChange}">
|
|
1108
1109
|
</ft-number-field>
|
|
1109
1110
|
<ft-typography variant="body1"> / ${t}</ft-typography>
|
|
1110
|
-
<ft-button icon=${
|
|
1111
|
+
<ft-button icon=${Ee.THIN_ARROW_RIGHT}
|
|
1111
1112
|
?disabled="${this.currentPage==t}"
|
|
1112
1113
|
@click="${()=>this.setPage(this.currentPage+1)}"
|
|
1113
1114
|
label="${this.nextLabel}"
|
|
1114
1115
|
tooltipPosition="top">
|
|
1115
1116
|
</ft-button>
|
|
1116
1117
|
</div>
|
|
1117
|
-
`}onChange(t){t.stopPropagation(),this.setPage(t.detail)}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}};
|
|
1118
|
+
`}onChange(t){t.stopPropagation(),this.setPage(t.detail)}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}};vt.elementDefinitions={"ft-button":Nt,"ft-number-field":et,"ft-typography":it};vt.styles=zc;qe([N({type:Number,reflect:!0})],vt.prototype,"currentPage",void 0);qe([N({type:Number})],vt.prototype,"maxPage",void 0);qe([N({type:Number})],vt.prototype,"itemsPerPage",void 0);qe([N({type:Number})],vt.prototype,"totalItemsCount",void 0);qe([N()],vt.prototype,"nextLabel",void 0);qe([N()],vt.prototype,"previousLabel",void 0);J("ft-pager")(vt);})();
|
|
1118
1119
|
/*! Bundled license information:
|
|
1119
1120
|
|
|
1120
1121
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|