@fluid-topics/ft-icon 1.1.114 → 1.1.115
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-icon.min.js +25 -25
- package/package.json +3 -3
package/build/ft-icon.min.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?L.substr(1,L.length):L}).forEach(function(L){var D=L.split(":"),T=D.shift().trim();if(T){var Ft=D.join(":").trim();try{x.append(T,Ft)}catch(Mr){console.warn("Response "+Mr.message)}}}),x}C.call(E.prototype);function M(m,x){if(!(this instanceof M))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new p(x.headers),this.url=x.url||"",this._initBody(m)}C.call(M.prototype),M.prototype.clone=function(){return new M(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},M.error=function(){var m=new M(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var U=[301,302,303,307,308];M.redirect=function(m,x){if(U.indexOf(x)===-1)throw new RangeError("Invalid status code");return new M(null,{status:x,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,N){this.message=x,this.name=N;var L=Error(x);this.stack=L.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function _(m,x){return new Promise(function(N,L){var D=new E(m,x);if(D.signal&&D.signal.aborted)return L(new r.DOMException("Aborted","AbortError"));var T=new XMLHttpRequest;function Ft(){T.abort()}T.onload=function(){var j={statusText:T.statusText,headers:I(T.getAllResponseHeaders()||"")};D.url.indexOf("file://")===0&&(T.status<200||T.status>599)?j.status=200:j.status=T.status,j.url="responseURL"in T?T.responseURL:j.headers.get("X-Request-URL");var Pe="response"in T?T.response:T.responseText;setTimeout(function(){N(new M(Pe,j))},0)},T.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},T.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request timed out"))},0)},T.onabort=function(){setTimeout(function(){L(new r.DOMException("Aborted","AbortError"))},0)};function Mr(j){try{return j===""&&n.location.href?n.location.href:j}catch{return j}}if(T.open(D.method,Mr(D.url),!0),D.credentials==="include"?T.withCredentials=!0:D.credentials==="omit"&&(T.withCredentials=!1),"responseType"in T&&(a.blob?T.responseType="blob":a.arrayBuffer&&(T.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof p||n.Headers&&x.headers instanceof n.Headers)){var In=[];Object.getOwnPropertyNames(x.headers).forEach(function(j){In.push(l(j)),T.setRequestHeader(j,d(x.headers[j]))}),D.headers.forEach(function(j,Pe){In.indexOf(Pe)===-1&&T.setRequestHeader(Pe,j)})}else D.headers.forEach(function(j,Pe){T.setRequestHeader(Pe,j)});D.signal&&(D.signal.addEventListener("abort",Ft),T.onreadystatechange=function(){T.readyState===4&&D.signal.removeEventListener("abort",Ft)}),T.send(typeof D._bodyInit>"u"?null:D._bodyInit)})}return _.polyfill=!0,n.fetch||(n.fetch=_,n.Headers=p,n.Request=E,n.Response=M),r.Headers=p,r.Request=E,r.Response=M,r.fetch=_,r}({})})(Tr);Tr.fetch.ponyfill=!0;delete Tr.fetch.polyfill;var ct=Pr.fetch?Pr:Tr;Ne=ct.fetch;Ne.default=ct.fetch;Ne.fetch=ct.fetch;Ne.Headers=ct.Headers;Ne.Request=ct.Request;Ne.Response=ct.Response;ss.exports=Ne});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,u=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,P=new Set(S.observedAttributes||[]);g(S,P,E);let I={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:P};this._definitionsByTag.set(v,I),this._definitionsByClass.set(S,I);let M=r.call(n,v);M||(M=p(v),e.call(n,v,M)),this===window.customElements&&(s.set(S,I),I.standInClass=M);let U=this._awaitingUpgrade.get(v);if(U){this._awaitingUpgrade.delete(v);for(let m of U)i.delete(m),b(m,I,!0)}let _=this._whenDefinedPromises.get(v);return _!==void 0&&(_.resolve(S),this._whenDefinedPromises.delete(v)),S}upgrade(){R.push(this),n.upgrade.apply(n,arguments),R.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let S=this._getDefinition(v);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(v);return E===void 0&&(E={},E.promise=new Promise(P=>E.resolve=P),this._whenDefinedPromises.set(v,E)),E.promise}_upgradeWhenDefined(v,S,E){let P=this._awaitingUpgrade.get(S);P||this._awaitingUpgrade.set(S,P=new Set),E?P.add(v):P.delete(v)}};let l;window.HTMLElement=function(){let S=l;if(S)return l=void 0,S;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),a.set(S,E),S},window.HTMLElement.prototype=t.prototype;let d=v=>v===document||v instanceof ShadowRoot,h=v=>{let S=v.getRootNode();if(!d(S)){let E=R[R.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),d(S)||(S=u.get(S)?.getRootNode()||document)}return S.customElements},p=v=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let P=h(E)||window.customElements,I=P._getDefinition(v);return I?b(E,I):i.set(E,P),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=a.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=a.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=a.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=a.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(v,S,E)=>{if(S.size===0||E===void 0)return;let P=v.prototype.setAttribute;P&&(v.prototype.setAttribute=function(U,_){let m=U.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);P.call(this,m,_),E.call(this,m,x,_)}else P.call(this,m,_)});let I=v.prototype.removeAttribute;I&&(v.prototype.removeAttribute=function(U){let _=U.toLowerCase();if(S.has(_)){let m=this.getAttribute(_);I.call(this,_),E.call(this,_,m,null)}else I.call(this,_)});let M=v.prototype.toggleAttribute;M&&(v.prototype.toggleAttribute=function(U,_){let m=U.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);M.call(this,m,_);let N=this.getAttribute(m);E.call(this,m,x,N)}else M.call(this,m,_)})},y=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(v,window.HTMLElement):y(S)},b=(v,S,E=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),a.set(v,S),l=v;try{new S.elementClass}catch{y(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(P=>{v.hasAttribute(P)&&S.attributeChangedCallback.call(v,P,null,v.getAttribute(P))}),E&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=O.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let R=[document],A=(v,S,E=void 0)=>{let P=(E?Object.getPrototypeOf(E):v.prototype)[S];v.prototype[S]=function(){R.push(this);let I=P.apply(E||this,arguments);return I!==void 0&&u.set(I,this),R.pop(),I}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let C=(v,S)=>{let E=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...E,set(P){R.push(this),E.set.call(this,P),R.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...U){let _=S.call(this,...U);return v.set(_,this),_},E.forEach(U=>{let _=window.ElementInternals.prototype,m=_[U];_[U]=function(...x){let N=v.get(this);if(a.get(N).formAssociated===!0)return m?.call(this,...x);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class P extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class I{constructor(_){let m=new Map;_.forEach((x,N)=>{let L=x.getAttribute("name"),D=m.get(L)||[];this[+N]=x,D.push(x),m.set(L,D)}),this.length=_.length,m.forEach((x,N)=>{x&&(x.length===1?this[N]=x[0]:this[N]=new P(x))})}namedItem(_){return this[_]}}let M=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=M.get.call(this,[]),_=[];for(let m of U){let x=a.get(m);(!x||x.formAssociated===!0)&&_.push(m)}return new I(_)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}var Xr={};k(Xr,{CSSResult:()=>Ze,LitElement:()=>le,ReactiveElement:()=>re,_$LE:()=>cc,_$LH:()=>ac,adoptStyles:()=>or,css:()=>F,defaultConverter:()=>nr,getCompatibleStyle:()=>yt,html:()=>qr,isServer:()=>Xu,noChange:()=>ge,notEqual:()=>jr,nothing:()=>W,render:()=>Yr,supportsAdoptingStyleSheets:()=>mt,svg:()=>nc,unsafeCSS:()=>gt});var zt=globalThis,Gt=zt.ShadowRoot&&(zt.ShadyCSS===void 0||zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,kn=Symbol(),Un=new WeakMap,jt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==kn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Gt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Un.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Un.set(r,e))}return e}toString(){return this.cssText}},Mn=t=>new jt(typeof t=="string"?t:t+"",void 0,kn);var $r=(t,e)=>{if(Gt)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=zt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},Kt=Gt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Mn(r)})(t):t;var{is:Bs,defineProperty:Ws,getOwnPropertyDescriptor:Hs,getOwnPropertyNames:Fs,getOwnPropertySymbols:zs,getPrototypeOf:js}=Object,Vt=globalThis,Dn=Vt.trustedTypes,Gs=Dn?Dn.emptyScript:"",Ks=Vt.reactiveElementPolyfillSupport,lt=(t,e)=>t,ut={toAttribute(t,e){switch(e){case Boolean:t=t?Gs:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Zt=(t,e)=>!Bs(t,e),$n={attribute:!0,type:String,converter:ut,reflect:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),Vt.litPropertyMetadata??=new WeakMap;var Te=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=$n){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Ws(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=Hs(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let u=a?.call(this);i.call(this,s),this.requestUpdate(e,u,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??$n}static _$Ei(){if(this.hasOwnProperty(lt("elementProperties")))return;let e=js(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(lt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(lt("properties"))){let r=this.properties,n=[...Fs(r),...zs(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(Kt(a))}else e!==void 0&&r.push(Kt(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return $r(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:ut).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:ut;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Zt)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Te.elementStyles=[],Te.shadowRootOptions={mode:"open"},Te[lt("elementProperties")]=new Map,Te[lt("finalized")]=new Map,Ks?.({ReactiveElement:Te}),(Vt.reactiveElementVersions??=[]).push("2.0.2");var Wr=globalThis,qt=Wr.trustedTypes,Bn=qt?qt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Hr="$lit$",se=`lit$${(Math.random()+"").slice(9)}$`,Fr="?"+se,Vs=`<${Fr}>`,Ue=document,Yt=()=>Ue.createComment(""),ft=t=>t===null||typeof t!="object"&&typeof t!="function",Gn=Array.isArray,Kn=t=>Gn(t)||typeof t?.[Symbol.iterator]=="function",Br=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Fn=/'/g,zn=/"/g,Vn=/^(?:script|style|textarea|title)$/i,Zn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),$u=Zn(1),Bu=Zn(2),Z=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),jn=new WeakMap,Ie=Ue.createTreeWalker(Ue,129);function qn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Bn!==void 0?Bn.createHTML(e):e}var Yn=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=dt;for(let u=0;u<r;u++){let l=t[u],d,h,p=-1,g=0;for(;g<l.length&&(s.lastIndex=g,h=s.exec(l),h!==null);)g=s.lastIndex,s===dt?h[1]==="!--"?s=Wn:h[1]!==void 0?s=Hn:h[2]!==void 0?(Vn.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Le):h[3]!==void 0&&(s=Le):s===Le?h[0]===">"?(s=a??dt,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Le:h[3]==='"'?zn:Fn):s===zn||s===Fn?s=Le:s===Wn||s===Hn?s=dt:(s=Le,a=void 0);let y=s===Le&&t[u+1].startsWith("/>")?" ":"";i+=s===dt?l+Vs:p>=0?(n.push(d),l.slice(0,p)+Hr+l.slice(p)+se+y):l+se+(p===-2?u:y)}return[qn(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},pt=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,u=e.length-1,l=this.parts,[d,h]=Yn(e,r);if(this.el=t.createElement(d,n),Ie.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Ie.nextNode())!==null&&l.length<u;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Hr)){let g=h[s++],y=a.getAttribute(p).split(se),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:i,name:b[2],strings:y,ctor:b[1]==="."?Jt:b[1]==="?"?Qt:b[1]==="@"?er:Me}),a.removeAttribute(p)}else p.startsWith(se)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(Vn.test(a.tagName)){let p=a.textContent.split(se),g=p.length-1;if(g>0){a.textContent=qt?qt.emptyScript:"";for(let y=0;y<g;y++)a.append(p[y],Yt()),Ie.nextNode(),l.push({type:2,index:++i});a.append(p[g],Yt())}}}else if(a.nodeType===8)if(a.data===Fr)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(se,p+1))!==-1;)l.push({type:7,index:i}),p+=se.length-1}i++}}static createElement(e,r){let n=Ue.createElement("template");return n.innerHTML=e,n}};function ke(t,e,r=t,n){if(e===Z)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=ft(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=ke(t,a._$AS(t,e.values),a,n)),e}var Xt=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Ue).importNode(r,!0);Ie.currentNode=a;let i=Ie.nextNode(),s=0,u=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new ht(i,i.nextSibling,this,e):l.type===1?d=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(d=new tr(i,this,e)),this._$AV.push(d),l=n[++u]}s!==l?.index&&(i=Ie.nextNode(),s++)}return Ie.currentNode=Ue,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},ht=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ke(this,e,r),ft(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Z&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Kn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==H&&ft(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ue.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=pt.createElement(qn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new Xt(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=jn.get(e.strings);return r===void 0&&jn.set(e.strings,r=new pt(e)),r}T(e){Gn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(Yt()),this.k(Yt()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Me=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=ke(this,e,r,0),s=!ft(e)||e!==this._$AH&&e!==Z,s&&(this._$AH=e);else{let u=e,l,d;for(e=i[0],l=0;l<i.length-1;l++)d=ke(this,u[n+l],r,l),d===Z&&(d=this._$AH[l]),s||=!ft(d)||d!==this._$AH[l],d===H?e=H:e!==H&&(e+=(d??"")+i[l+1]),this._$AH[l]=d}s&&!a&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Jt=class extends Me{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},Qt=class extends Me{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},er=class extends Me{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=ke(this,e,r,0)??H)===Z)return;let n=this._$AH,a=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==H&&(n===H||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},tr=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ke(this,e)}},Xn={j:Hr,P:se,A:Fr,C:1,M:Yn,L:Xt,R:Kn,V:ke,D:ht,I:Me,H:Qt,N:er,U:Jt,B:tr},Zs=Wr.litHtmlPolyfillSupport;Zs?.(pt,ht),(Wr.litHtmlVersions??=[]).push("3.1.0");var rr=globalThis,mt=rr.ShadowRoot&&(rr.ShadyCSS===void 0||rr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,zr=Symbol(),Jn=new WeakMap,Ze=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==zr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(mt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Jn.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Jn.set(r,e))}return e}toString(){return this.cssText}},gt=t=>new Ze(typeof t=="string"?t:t+"",void 0,zr),F=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,i)=>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.")})(a)+t[i+1],t[0]);return new Ze(r,t,zr)},or=(t,e)=>{if(mt)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=rr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},yt=mt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return gt(r)})(t):t;var{is:qs,defineProperty:Ys,getOwnPropertyDescriptor:Xs,getOwnPropertyNames:Js,getOwnPropertySymbols:Qs,getPrototypeOf:ec}=Object,ar=globalThis,Qn=ar.trustedTypes,tc=Qn?Qn.emptyScript:"",rc=ar.reactiveElementPolyfillSupport,bt=(t,e)=>t,nr={toAttribute(t,e){switch(e){case Boolean:t=t?tc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},jr=(t,e)=>!qs(t,e),ea={attribute:!0,type:String,converter:nr,reflect:!1,hasChanged:jr};Symbol.metadata??=Symbol("metadata"),ar.litPropertyMetadata??=new WeakMap;var re=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ea){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Ys(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=Xs(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let u=a?.call(this);i.call(this,s),this.requestUpdate(e,u,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ea}static _$Ei(){if(this.hasOwnProperty(bt("elementProperties")))return;let e=ec(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bt("properties"))){let r=this.properties,n=[...Js(r),...Qs(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(yt(a))}else e!==void 0&&r.push(yt(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return or(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:nr).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:nr;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??jr)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[bt("elementProperties")]=new Map,re[bt("finalized")]=new Map,rc?.({ReactiveElement:re}),(ar.reactiveElementVersions??=[]).push("2.0.2");var Kr=globalThis,ir=Kr.trustedTypes,ta=ir?ir.createPolicy("lit-html",{createHTML:t=>t}):void 0,Vr="$lit$",ce=`lit$${(Math.random()+"").slice(9)}$`,Zr="?"+ce,oc=`<${Zr}>`,Be=document,vt=()=>Be.createComment(""),St=t=>t===null||typeof t!="object"&&typeof t!="function",sa=Array.isArray,ca=t=>sa(t)||typeof t?.[Symbol.iterator]=="function",Gr=`[
|
|
5
|
-
\f\r]`,
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),na=/'/g,aa=/"/g,la=/^(?:script|style|textarea|title)$/i,ua=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),qr=ua(1),nc=ua(2),ge=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),ia=new WeakMap,$e=Be.createTreeWalker(Be,129);function da(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ta!==void 0?ta.createHTML(e):e}var fa=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=xt;for(let u=0;u<r;u++){let l=t[u],d,h,p=-1,g=0;for(;g<l.length&&(s.lastIndex=g,h=s.exec(l),h!==null);)g=s.lastIndex,s===xt?h[1]==="!--"?s=ra:h[1]!==void 0?s=oa:h[2]!==void 0?(la.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=De):h[3]!==void 0&&(s=De):s===De?h[0]===">"?(s=a??xt,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?De:h[3]==='"'?aa:na):s===aa||s===na?s=De:s===ra||s===oa?s=xt:(s=De,a=void 0);let y=s===De&&t[u+1].startsWith("/>")?" ":"";i+=s===xt?l+oc:p>=0?(n.push(d),l.slice(0,p)+Vr+l.slice(p)+ce+y):l+ce+(p===-2?u:y)}return[da(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Ot=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,u=e.length-1,l=this.parts,[d,h]=fa(e,r);if(this.el=t.createElement(d,n),$e.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=$e.nextNode())!==null&&l.length<u;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Vr)){let g=h[s++],y=a.getAttribute(p).split(ce),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:i,name:b[2],strings:y,ctor:b[1]==="."?cr:b[1]==="?"?lr:b[1]==="@"?ur:He}),a.removeAttribute(p)}else p.startsWith(ce)&&(l.push({type:6,index:i}),a.removeAttribute(p));if(la.test(a.tagName)){let p=a.textContent.split(ce),g=p.length-1;if(g>0){a.textContent=ir?ir.emptyScript:"";for(let y=0;y<g;y++)a.append(p[y],vt()),$e.nextNode(),l.push({type:2,index:++i});a.append(p[g],vt())}}}else if(a.nodeType===8)if(a.data===Zr)l.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(ce,p+1))!==-1;)l.push({type:7,index:i}),p+=ce.length-1}i++}}static createElement(e,r){let n=Be.createElement("template");return n.innerHTML=e,n}};function We(t,e,r=t,n){if(e===ge)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=St(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=We(t,a._$AS(t,e.values),a,n)),e}var sr=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Be).importNode(r,!0);$e.currentNode=a;let i=$e.nextNode(),s=0,u=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new qe(i,i.nextSibling,this,e):l.type===1?d=new l.ctor(i,l.name,l.strings,this,e):l.type===6&&(d=new dr(i,this,e)),this._$AV.push(d),l=n[++u]}s!==l?.index&&(i=$e.nextNode(),s++)}return $e.currentNode=Be,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},qe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=We(this,e,r),St(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==ge&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ca(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==W&&St(this._$AH)?this._$AA.nextSibling.data=e:this.$(Be.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Ot.createElement(da(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new sr(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=ia.get(e.strings);return r===void 0&&ia.set(e.strings,r=new Ot(e)),r}T(e){sa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(vt()),this.k(vt()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},He=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=We(this,e,r,0),s=!St(e)||e!==this._$AH&&e!==ge,s&&(this._$AH=e);else{let u=e,l,d;for(e=i[0],l=0;l<i.length-1;l++)d=We(this,u[n+l],r,l),d===ge&&(d=this._$AH[l]),s||=!St(d)||d!==this._$AH[l],d===W?e=W:e!==W&&(e+=(d??"")+i[l+1]),this._$AH[l]=d}s&&!a&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},cr=class extends He{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},lr=class extends He{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},ur=class extends He{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=We(this,e,r,0)??W)===ge)return;let n=this._$AH,a=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==W&&(n===W||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},dr=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){We(this,e)}},ac={j:Vr,P:ce,A:Zr,C:1,M:fa,L:sr,R:ca,V:We,D:qe,I:He,H:lr,N:ur,U:cr,B:dr},ic=Kr.litHtmlPolyfillSupport;ic?.(Ot,qe),(Kr.litHtmlVersions??=[]).push("3.1.0");var Yr=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new qe(e.insertBefore(vt(),i),i,void 0,r??{})}return a._$AI(t),a};var le=class extends re{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Yr(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ge}};le._$litElement$=!0,le.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:le});var sc=globalThis.litElementPolyfillSupport;sc?.({LitElement:le});var cc={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Xu=!1;var Qr={};k(Qr,{customElement:()=>lc,eventOptions:()=>dc,property:()=>G,query:()=>Jr,queryAll:()=>pc,queryAssignedElements:()=>mc,queryAssignedNodes:()=>gc,queryAsync:()=>hc,standardProperty:()=>pa,state:()=>Et});var lc=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var uc={attribute:!0,type:String,converter:ut,reflect:!1,hasChanged:Zt},pa=(t=uc,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(u){let l=e.get.call(this);e.set.call(this,u),this.requestUpdate(s,l,t)},init(u){return u!==void 0&&this.C(s,void 0,t),u}}}if(n==="setter"){let{name:s}=r;return function(u){let l=this[s];e.call(this,u),this.requestUpdate(s,l,t)}}throw Error("Unsupported decorator location: "+n)};function G(t){return(e,r)=>typeof r=="object"?pa(t,e,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function Et(t){return G({...t,state:!0,attribute:!1})}function dc(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Q=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function Jr(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:u}=typeof n=="object"?r:a??(()=>{let l=Symbol();return{get(){return this[l]},set(d){this[l]=d}}})();return Q(r,n,{get(){let l=s.call(this);return l===void 0&&(l=i(this),(l!==null||this.hasUpdated)&&u.call(this,l)),l}})}return Q(r,n,{get(){return i(this)}})}}var fc;function pc(t){return(e,r)=>Q(e,r,{get(){return(this.renderRoot??(fc??=document.createDocumentFragment())).querySelectorAll(t)}})}function hc(t){return(e,r)=>Q(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function mc(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){let s=this.renderRoot?.querySelector(i),u=s?.assignedElements(t)??[];return a===void 0?u:u.filter(l=>l.matches(a))}})}}function gc(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var eo={};k(eo,{repeat:()=>xc});var ye={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},be=t=>(...e)=>({_$litDirective$:t,values:e}),oe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:yc}=Xn;var ha=()=>document.createComment(""),Ye=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(ha(),a),s=n.insertBefore(ha(),a);r=new yc(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,u=s!==t;if(u){let l;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(l=t._$AU)!==s._$AU&&r._$AP(l)}if(i!==a||u){let l=r._$AA;for(;l!==i;){let d=l.nextSibling;n.insertBefore(l,a),l=d}}}return r},xe=(t,e,r=t)=>(t._$AI(e,r),t),bc={},ma=(t,e=bc)=>t._$AH=e,ga=t=>t._$AH,fr=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var ya=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},xc=be(class extends oe{constructor(t){if(super(t),t.type!==ye.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let u of t)a[s]=n?n(u,s):s,i[s]=r(u,s),s++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let a=ga(t),{values:i,keys:s}=this.ht(e,r,n);if(!Array.isArray(a))return this.dt=s,i;let u=this.dt??=[],l=[],d,h,p=0,g=a.length-1,y=0,b=i.length-1;for(;p<=g&&y<=b;)if(a[p]===null)p++;else if(a[g]===null)g--;else if(u[p]===s[y])l[y]=xe(a[p],i[y]),p++,y++;else if(u[g]===s[b])l[b]=xe(a[g],i[b]),g--,b--;else if(u[p]===s[b])l[b]=xe(a[p],i[b]),Ye(t,l[b+1],a[p]),p++,b--;else if(u[g]===s[y])l[y]=xe(a[g],i[y]),Ye(t,a[p],a[g]),g--,y++;else if(d===void 0&&(d=ya(s,y,b),h=ya(u,p,g)),d.has(u[p]))if(d.has(u[g])){let O=h.get(s[y]),R=O!==void 0?a[O]:null;if(R===null){let A=Ye(t,a[p]);xe(A,i[y]),l[y]=A}else l[y]=xe(R,i[y]),Ye(t,a[p],R),a[O]=null;y++}else fr(a[g]),g--;else fr(a[p]),p++;for(;y<=b;){let O=Ye(t,l[b+1]);xe(O,i[y]),l[y++]=O}for(;p<=g;){let O=a[p++];O!==null&&fr(O)}return this.dt=s,ma(t,l),Z}});var to={};k(to,{classMap:()=>vc});var vc=be(class extends oe{constructor(t){if(super(t),t.type!==ye.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Z}});var ro={};k(ro,{styleMap:()=>Oc});var ba="important",Sc=" !"+ba,Oc=be(class extends oe{constructor(t){if(super(t),t.type!==ye.ATTRIBUTE||t.name!=="style"||t.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(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(Sc);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?ba:""):r[n]=a}}return Z}});var no={};k(no,{UnsafeHTMLDirective:()=>Xe,unsafeHTML:()=>oo});var Xe=class extends oe{constructor(e){if(super(e),this.et=H,e.type!==ye.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===H||e==null)return this.vt=void 0,this.et=e;if(e===Z)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Xe.directiveName="unsafeHTML",Xe.resultType=1;var oo=be(Xe);var co={};k(co,{CacheRegistry:()=>so});var io={};k(io,{CancelablePromise:()=>Je,CanceledPromiseError:()=>At,cancelable:()=>ao});var At=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Je=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new At("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new At("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ao=t=>new Je((e,r)=>t.then(e).catch(r));var so=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Je&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=ao(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var uo={};k(uo,{ClusteringHelper:()=>lo});var lo=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,r){var n,a;let i=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return r==null?t.flattenMetadata(i):t.flattenMetadata(i.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],a=[];return e.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var a,i;let s=t.extractResultMetadata(this.selectedResult,e),u=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:u,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,p)=>p.findIndex(g=>g.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",u=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(r,a,{numeric:!0});return u?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(l=>{var d;return((d=t.extractResultMetadata(l,e))===null||d===void 0?void 0:d.value)==r}),i=[...t.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,u=-1;for(let l of n){let d=this.countMatchingMetadata(l,i);if(d>u&&(u=d,s=l,d===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var fo={};k(fo,{Debouncer:()=>wt});var wt=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(u){a(u);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var yo={};k(yo,{customElement:()=>mo,isNumber:()=>Ea,jsonProperty:()=>go,optionalNumberProperty:()=>Nc});var ho={};k(ho,{dateReviver:()=>Ac,deepEqual:()=>Ct,delay:()=>xa,eventPathContainsMatchingElement:()=>Cc,flatDeep:()=>Sa,hasChanged:()=>Rt,last:()=>Rc,minmax:()=>po,parseDate:()=>Oa,waitFor:()=>va,waitUntil:()=>Ec});var xa=t=>new Promise(e=>setTimeout(e,t));async function Ec(t,e=10,r=2e4){await va(async()=>await t()||void 0,e,r)}async function va(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await xa(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Sa(t,e){return t.flatMap(r=>[r,...Sa(e(r),e)])}function Ac(...t){return function(e,r){return t.includes(e)?Oa(r):r}}function Oa(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,a)=>r+n+":"+a),new Date(t)}function wc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ct(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ct(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(a=Object.keys(t),r=a.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!Ct(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Ct(t,e){try{return wc(t,e)}catch{return!1}}function Rt(t,e){return!Ct(t,e)}function Cc(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function po(t,e,r){return Math.min(Math.max(t,e),r)}function Rc(t){return t[t.length-1]}var mo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function go(t,e){let r=()=>JSON.parse(JSON.stringify(t));return G({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Rt,...e??{}})}function Nc(t){return G({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ea(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Ea(t){return!isNaN(parseFloat(t))}var So={};k(So,{designSystemVariables:()=>ol});var vo={};k(vo,{DesignSystemFamily:()=>Nt,DesignSystemSize:()=>_t,FtCssVariableFactory:()=>o,badge:()=>Mc,banner:()=>kc,breadcrumb:()=>Dc,button:()=>Tc,chart:()=>Yc,checkbox:()=>Jc,chip:()=>Ic,chipChoice:()=>Lc,collapsible:()=>Zc,comboboxMultiSelect:()=>Kc,comboboxSingleSelect:()=>Gc,drawer:()=>Wc,floatingMenu:()=>jc,foundation:()=>c,link:()=>Uc,modal:()=>Bc,notice:()=>Xc,notification:()=>tl,pageHeader:()=>$c,popover:()=>Vc,radio:()=>el,resolveFamilyClass:()=>bo,resolveSizeClass:()=>xo,semantic:()=>f,setVariable:()=>pr,switch_:()=>qc,tabs:()=>Hc,textArea:()=>zc,textInput:()=>Fc,toggle:()=>Qc,tooltip:()=>rl,typographies:()=>_c,typographyBody1Medium:()=>_a,typographyBody1Regular:()=>Na,typographyBody1Semibold:()=>Pa,typographyBody2Medium:()=>La,typographyBody2MediumUnderline:()=>Ia,typographyBody2Regular:()=>Ta,typographyBody2Semibold:()=>Ua,typographyCaption1Bold:()=>za,typographyCaption1Medium:()=>Ha,typographyCaption1Semibold:()=>Fa,typographyCaption2Bold:()=>Ka,typographyCaption2Medium:()=>ja,typographyCaption2Semibold:()=>Ga,typographyCaption3Bold:()=>qa,typographyCaption3Medium:()=>Va,typographyCaption3Semibold:()=>Za,typographyDisplay:()=>Aa,typographyLabel1Bold:()=>Da,typographyLabel1Medium:()=>ka,typographyLabel1Semibold:()=>Ma,typographyLabel2Bold:()=>Wa,typographyLabel2Medium:()=>$a,typographyLabel2Semibold:()=>Ba,typographyTitle1:()=>wa,typographyTitle2:()=>Ca,typographyTitle3:()=>Ra,typographyVariants:()=>Pc});var ue=t=>typeof t=="string"?gt(t):t,o=class{static create(e,r,n,a){let i=u=>ue(u??a),s=F`var(${ue(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=u=>F`var(${ue(e)}, ${i(u)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=u=>n.get(u??a),s=F`var(${ue(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=u=>F`var(${ue(e)}, ${i(u)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):ue(i??e.lastResortDefaultValue()),a=F`var(${ue(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>F`var(${ue(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function pr(t,e){return ue(`${t.name}: ${e}`)}var c={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"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),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)")},Aa={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")},wa={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")},Ca={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")},Ra={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")},Na={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")},_a={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")},Pa={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")},Ta={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")},La={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")},Ia={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")},Ua={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")},ka={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")},Ma={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")},Da={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")},$a={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")},Ba={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")},Wa={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")},Ha={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")},Fa={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")},za={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")},ja={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")},Ga={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")},Ka={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")},Va={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")},Za={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")},qa={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")},_c={display:Aa,"title-1":wa,"title-2":Ca,"title-3":Ra,"body-1-regular":Na,"body-1-medium":_a,"body-1-semibold":Pa,"body-2-regular":Ta,"body-2-medium":La,"body-2-medium-underline":Ia,"body-2-semibold":Ua,"label-1-medium":ka,"label-1-semibold":Ma,"label-1-bold":Da,"label-2-medium":$a,"label-2-semibold":Ba,"label-2-bold":Wa,"caption-1-medium":Ha,"caption-1-semibold":Fa,"caption-1-bold":za,"caption-2-medium":ja,"caption-2-semibold":Ga,"caption-2-bold":Ka,"caption-3-medium":Va,"caption-3-semibold":Za,"caption-3-bold":qa},Pc=["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:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)};var Tc={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.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","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.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","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.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","",c.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","",c.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};var Lc={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var Ic={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.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","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Uc={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",f.contentActionPrimary)};var kc={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var Mc={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Dc={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var $c={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Bc={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","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",c.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Wc={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var Hc={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Fc={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.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","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var zc={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.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","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var jc={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Gc={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Kc={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.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","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Vc={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02)};var Zc={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var qc={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Yc={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var Xc={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var Jc={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.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","",c.spacing3)};var Qc={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var el={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.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","",c.spacing3)};var tl={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var rl={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Nt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Nt||(Nt={}));var _t;(function(t){t.large="large",t.medium="medium",t.small="small"})(_t||(_t={}));function bo(t){return`ftds--family-${t}`}function xo(t){return`ftds--size-${t}`}var ol={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 wo={};k(wo,{FtNotificationEvent:()=>Oo,PostResizeEvent:()=>Ao,PreResizeEvent:()=>Eo});var Oo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Eo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ao=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Mo={};k(Mo,{computeOffsetPosition:()=>Ol});var Xa=["top","right","bottom","left"],Ya=["start","end"],Ro=Xa.reduce((t,e)=>t.concat(e,e+"-"+Ya[0],e+"-"+Ya[1]),[]),Pt=Math.min,ve=Math.max,Tt=Math.round;var de=t=>({x:t,y:t}),nl={left:"right",right:"left",bottom:"top",top:"bottom"},al={start:"end",end:"start"};function No(t,e,r){return ve(t,Pt(e,r))}function hr(t,e){return typeof t=="function"?t(e):t}function Qe(t){return t.split("-")[0]}function Se(t){return t.split("-")[1]}function _o(t){return t==="x"?"y":"x"}function Po(t){return t==="y"?"height":"width"}function mr(t){return["top","bottom"].includes(Qe(t))?"y":"x"}function To(t){return _o(mr(t))}function Ja(t,e,r){r===void 0&&(r=!1);let n=Se(t),a=To(t),i=Po(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Co(s)),[s,Co(s)]}function Qa(t){return t.replace(/start|end/g,e=>al[e])}function Co(t){return t.replace(/left|right|bottom|top/g,e=>nl[e])}function il(t){return{top:0,right:0,bottom:0,left:0,...t}}function ei(t){return typeof t!="number"?il(t):{top:t,right:t,bottom:t,left:t}}function Fe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ti(t,e,r){let{reference:n,floating:a}=t,i=mr(e),s=To(e),u=Po(s),l=Qe(e),d=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,g=n[u]/2-a[u]/2,y;switch(l){case"top":y={x:h,y:n.y-a.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:p};break;case"left":y={x:n.x-a.width,y:p};break;default:y={x:n.x,y:n.y}}switch(Se(e)){case"start":y[s]-=g*(r&&d?-1:1);break;case"end":y[s]+=g*(r&&d?-1:1);break}return y}var ri=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,u=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:p}=ti(d,n,l),g=n,y={},b=0;for(let O=0;O<u.length;O++){let{name:R,fn:A}=u[O],{x:C,y:v,data:S,reset:E}=await A({x:h,y:p,initialPlacement:n,placement:g,strategy:a,middlewareData:y,rects:d,platform:s,elements:{reference:t,floating:e}});if(h=C??h,p=v??p,y={...y,[R]:{...y[R],...S}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(d=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):E.rects),{x:h,y:p}=ti(d,g,l)),O=-1;continue}}return{x:h,y:p,placement:g,strategy:a,middlewareData:y}};async function Lo(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:u,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:y=0}=hr(e,t),b=ei(y),R=u[g?p==="floating"?"reference":"floating":p],A=Fe(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(u.floating)),boundary:d,rootBoundary:h,strategy:l})),C=p==="floating"?{...s.floating,x:n,y:a}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u.floating)),S=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Fe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:v,strategy:l}):C);return{top:(A.top-E.top+b.top)/S.y,bottom:(E.bottom-A.bottom+b.bottom)/S.y,left:(A.left-E.left+b.left)/S.x,right:(E.right-A.right+b.right)/S.x}}function sl(t,e,r){return(t?[...r.filter(a=>Se(a)===t),...r.filter(a=>Se(a)!==t)]:r.filter(a=>Qe(a)===a)).filter(a=>t?Se(a)===t||(e?Qa(a)!==a:!1):!0)}var Io=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:u,platform:l,elements:d}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:g=Ro,autoAlignment:y=!0,...b}=hr(t,e),O=p!==void 0||g===Ro?sl(p||null,y,g):g,R=await Lo(e,b),A=((r=s.autoPlacement)==null?void 0:r.index)||0,C=O[A];if(C==null)return{};let v=Ja(C,i,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(u!==C)return{reset:{placement:O[0]}};let S=[R[Qe(C)],R[v[0]],R[v[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:S}],P=O[A+1];if(P)return{data:{index:A+1,overflows:E},reset:{placement:P}};let I=E.map(_=>{let m=Se(_.placement);return[_.placement,m&&h?_.overflows.slice(0,2).reduce((x,N)=>x+N,0):_.overflows[0],_.overflows]}).sort((_,m)=>_[1]-m[1]),U=((a=I.filter(_=>_[2].slice(0,Se(_[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||I[0][0];return U!==u?{data:{index:A+1,overflows:E},reset:{placement:U}}:{}}}};var Uo=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:u={fn:R=>{let{x:A,y:C}=R;return{x:A,y:C}}},...l}=hr(t,e),d={x:r,y:n},h=await Lo(e,l),p=mr(Qe(a)),g=_o(p),y=d[g],b=d[p];if(i){let R=g==="y"?"top":"left",A=g==="y"?"bottom":"right",C=y+h[R],v=y-h[A];y=No(C,y,v)}if(s){let R=p==="y"?"top":"left",A=p==="y"?"bottom":"right",C=b+h[R],v=b-h[A];b=No(C,b,v)}let O=u.fn({...e,[g]:y,[p]:b});return{...O,data:{x:O.x-r,y:O.y-n}}}}};function fe(t){return ni(t)?(t.nodeName||"").toLowerCase():"#document"}function V(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function pe(t){var e;return(e=(ni(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ni(t){return t instanceof Node||t instanceof V(t).Node}function ne(t){return t instanceof Element||t instanceof V(t).Element}function ee(t){return t instanceof HTMLElement||t instanceof V(t).HTMLElement}function oi(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof V(t).ShadowRoot}function et(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=q(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function ai(t){return["table","td","th"].includes(fe(t))}function yr(t){let e=br(),r=q(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(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 ii(t){let e=ze(t);for(;ee(e)&&!Lt(e);){if(yr(e))return e;e=ze(e)}return null}function br(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Lt(t){return["html","body","#document"].includes(fe(t))}function q(t){return V(t).getComputedStyle(t)}function It(t){return ne(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ze(t){if(fe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||oi(t)&&t.host||pe(t);return oi(e)?e.host:e}function si(t){let e=ze(t);return Lt(e)?t.ownerDocument?t.ownerDocument.body:t.body:ee(e)&&et(e)?e:si(e)}function gr(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=si(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=V(a);return i?e.concat(s,s.visualViewport||[],et(a)?a:[],s.frameElement&&r?gr(s.frameElement):[]):e.concat(a,gr(a,[],r))}function ui(t){let e=q(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=ee(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,u=Tt(r)!==i||Tt(n)!==s;return u&&(r=i,n=s),{width:r,height:n,$:u}}function di(t){return ne(t)?t:t.contextElement}function tt(t){let e=di(t);if(!ee(e))return de(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=ui(e),s=(i?Tt(r.width):r.width)/n,u=(i?Tt(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}var cl=de(0);function fi(t){let e=V(t);return!br()||!e.visualViewport?cl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ll(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==V(t)?!1:e}function Ut(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=di(t),s=de(1);e&&(n?ne(n)&&(s=tt(n)):s=tt(t));let u=ll(i,r,n)?fi(i):de(0),l=(a.left+u.x)/s.x,d=(a.top+u.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let g=V(i),y=n&&ne(n)?V(n):n,b=g.frameElement;for(;b&&n&&y!==g;){let O=tt(b),R=b.getBoundingClientRect(),A=q(b),C=R.left+(b.clientLeft+parseFloat(A.paddingLeft))*O.x,v=R.top+(b.clientTop+parseFloat(A.paddingTop))*O.y;l*=O.x,d*=O.y,h*=O.x,p*=O.y,l+=C,d+=v,b=V(b).frameElement}}return Fe({width:h,height:p,x:l,y:d})}function ul(t){let{rect:e,offsetParent:r,strategy:n}=t,a=ee(r),i=pe(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},u=de(1),l=de(0);if((a||!a&&n!=="fixed")&&((fe(r)!=="body"||et(i))&&(s=It(r)),ee(r))){let d=Ut(r);u=tt(r),l.x=d.x+r.clientLeft,l.y=d.y+r.clientTop}return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+l.x,y:e.y*u.y-s.scrollTop*u.y+l.y}}function dl(t){return Array.from(t.getClientRects())}function pi(t){return Ut(pe(t)).left+It(t).scrollLeft}function fl(t){let e=pe(t),r=It(t),n=t.ownerDocument.body,a=ve(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=ve(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+pi(t),u=-r.scrollTop;return q(n).direction==="rtl"&&(s+=ve(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:u}}function pl(t,e){let r=V(t),n=pe(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,u=0,l=0;if(a){i=a.width,s=a.height;let d=br();(!d||d&&e==="fixed")&&(u=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:u,y:l}}function hl(t,e){let r=Ut(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=ee(t)?tt(t):de(1),s=t.clientWidth*i.x,u=t.clientHeight*i.y,l=a*i.x,d=n*i.y;return{width:s,height:u,x:l,y:d}}function ci(t,e,r){let n;if(e==="viewport")n=pl(t,r);else if(e==="document")n=fl(pe(t));else if(ne(e))n=hl(e,r);else{let a=fi(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Fe(n)}function hi(t,e){let r=ze(t);return r===e||!ne(r)||Lt(r)?!1:q(r).position==="fixed"||hi(r,e)}function ml(t,e){let r=e.get(t);if(r)return r;let n=gr(t,[],!1).filter(u=>ne(u)&&fe(u)!=="body"),a=null,i=q(t).position==="fixed",s=i?ze(t):t;for(;ne(s)&&!Lt(s);){let u=q(s),l=yr(s);!l&&u.position==="fixed"&&(a=null),(i?!l&&!a:!l&&u.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||et(s)&&!l&&hi(t,s))?n=n.filter(h=>h!==s):a=u,s=ze(s)}return e.set(t,n),n}function gl(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?ml(e,this._c):[].concat(r),n],u=s[0],l=s.reduce((d,h)=>{let p=ci(e,h,a);return d.top=ve(p.top,d.top),d.right=Pt(p.right,d.right),d.bottom=Pt(p.bottom,d.bottom),d.left=ve(p.left,d.left),d},ci(e,u,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function yl(t){return ui(t)}function bl(t,e,r){let n=ee(e),a=pe(e),i=r==="fixed",s=Ut(t,!0,i,e),u={scrollLeft:0,scrollTop:0},l=de(0);if(n||!n&&!i)if((fe(e)!=="body"||et(a))&&(u=It(e)),n){let d=Ut(e,!0,i,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else a&&(l.x=pi(a));return{x:s.left+u.scrollLeft-l.x,y:s.top+u.scrollTop-l.y,width:s.width,height:s.height}}function li(t,e){return!ee(t)||q(t).position==="fixed"?null:e?e(t):t.offsetParent}function mi(t,e){let r=V(t);if(!ee(t))return r;let n=li(t,e);for(;n&&ai(n)&&q(n).position==="static";)n=li(n,e);return n&&(fe(n)==="html"||fe(n)==="body"&&q(n).position==="static"&&!yr(n))?r:n||ii(t)||r}var xl=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||mi,i=this.getDimensions;return{reference:bl(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function vl(t){return q(t).direction==="rtl"}var xr={convertOffsetParentRelativeRectToViewportRelativeRect:ul,getDocumentElement:pe,getClippingRect:gl,getOffsetParent:mi,getElementRects:xl,getClientRects:dl,getDimensions:yl,getScale:tt,isElement:ne,isRTL:vl};var gi=(t,e,r)=>{let n=new Map,a={platform:xr,...r},i={...a.platform,_c:n};return ri(t,e,{...a,platform:i})};function yi(t){return Sl(t)}function ko(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Sl(t){for(let e=t;e;e=ko(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ko(t);e;e=ko(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Ol(t,e,r){return gi(t,e,{platform:{...xr,getOffsetParent:n=>xr.getOffsetParent(n,yi)},middleware:[Uo({crossAxis:!0}),Io({allowedPlacements:[r]})]})}var Wo={};k(Wo,{FtdsBase:()=>Bo,toFtdsBase:()=>wi});var $o={};k($o,{FtLitElement:()=>Y});var Do={};k(Do,{ScopedRegistryLitElement:()=>kt});var vr=window,El=vr.ShadowRoot&&(vr.ShadyCSS===void 0||vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lm=Symbol();var bi=(t,e)=>{El?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),a=vr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)})};var kt=class extends le{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return bi(n,e.elementStyles),n}};var Sr=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(s=t[u])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Oi,xi=Symbol("constructorPrototype"),vi=Symbol("constructorName"),Ei=Symbol("exportpartsDebouncer"),Si=Symbol("dynamicDependenciesLoaded"),Y=class extends kt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Oi]=new wt(5),this[vi]=this.constructor.name,this[xi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[vi]&&Object.setPrototypeOf(this,this[xi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Si]||(e[Si]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Ei].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,u;let l=g=>g!=null&&g.trim().length>0,d=e.filter(l).map(g=>g.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(u=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&u!==void 0?u:[];new Array(...y,...b).filter(l).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(g=>d.map(y=>`${g}:${y}--${g}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};Oi=Ei;Sr([G()],Y.prototype,"exportpartsPrefix",void 0);Sr([go([])],Y.prototype,"exportpartsPrefixes",void 0);Sr([G()],Y.prototype,"customStylesheet",void 0);Sr([Et()],Y.prototype,"useAdoptedStyleSheets",void 0);var Ai=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(s=t[u])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};function wi(t){class e extends t{constructor(){super(...arguments),this.size=_t.medium,this.family=Nt.neutral}getDesignSystemBaseClasses(){return{[bo(this.family)]:!0,[xo(this.size)]:!0}}}return Ai([G()],e.prototype,"size",void 0),Ai([G()],e.prototype,"family",void 0),e}var Bo=class extends wi(Y){};var Ci={};var Fo={};k(Fo,{highlightHtml:()=>Cl,highlightHtmlColorCssVariable:()=>Ri,highlightHtmlStyles:()=>wl});var je=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,u=0;i=Array.prototype.slice.call(i);let l=()=>{--s<=0&&a(u)};s||l(),i.forEach(d=>{t.matches(d,this.exclude)?l():this.onIframeReady(d,h=>{r(d)&&(u++,n(h)),l()},l)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),u=Node.DOCUMENT_POSITION_FOLLOWING;if(s&u)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((u,l)=>{u.val===n&&(i=l,s=u.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),u=[],l=[],d,h,p=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;p();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(d,h,g,u),g=>{this.createInstanceOnIframe(g).forEachNode(e,y=>l.push(y),a)}),l.push(d);l.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(u,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(u=>{let l=()=>{this.iterateThroughNodes(e,u,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(u,l):l()})}};var Mt=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new je(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);u!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(u)}|${this.escapeStr(l)})`,`gm${n}`),a+`(${this.processSynomyms(u)}|${this.processSynomyms(l)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){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?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){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"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(u=>{s+=`|${this.escapeStr(u)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:u}=this.callNoMatchOnInvalidRanges(a,n);u&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,r,n){let a,i=!0,s=n.length,u=r-s,l=parseInt(e.start,10)-u;return l=l>s?s:l,a=l+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||a-l<0||l>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return je.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),u=document.createElement(a);return u.setAttribute("data-markjs","true"),this.opt.className&&u.setAttribute("class",this.opt.className),u.textContent=i.textContent,i.parentNode.replaceChild(u,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,u)=>{let l=e.nodes[u+1];if(typeof l>"u"||l.start>r){if(!a(s.node))return!1;let d=r-s.start,h=(n>s.end?s.end:n)-s.start,p=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),e.value=p+g,e.nodes.forEach((y,b)=>{b>=u&&(e.nodes[b].start>0&&b!==u&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(u=>{u.nodes.forEach(l=>{l=l.node;let d;for(;(d=e.exec(l.textContent))!==null&&d[s]!=="";){if(!n(d[s],l))continue;let h=d.index;if(s!==0)for(let p=1;p<s;p++)h+=d[p].length;l=this.wrapRangeInTextNode(l,h,h+d[s].length),a(l.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(u=>{let l;for(;(l=e.exec(u.value))!==null&&l[s]!=="";){let d=l.index;if(s!==0)for(let p=1;p<s;p++)d+=l[p].length;let h=d+l[s].length;this.wrapRangeInMappedTextNode(u,d,h,p=>n(l[s],p),(p,g)=>{e.lastIndex=g,a(p)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((u,l)=>{let{start:d,end:h,valid:p}=this.checkWhitespaceRanges(u,s,i.value);p&&this.wrapRangeInMappedTextNode(i,d,h,g=>r(g,u,i.value.substring(d,h),l),g=>{n(g,u)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,u)=>this.opt.filter(u,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),u=this.opt.caseSensitive?"":"i",l=d=>{let h=new RegExp(this.createRegExp(d),`gm${u}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,y)=>this.opt.filter(y,d,n,p),g=>{p++,n++,this.opt.each(g)},()=>{p===0&&this.opt.noMatch(d),i[s-1]===d?this.opt.done(n):l(i[i.indexOf(d)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(i[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,u,l)=>this.opt.filter(i,s,u,l),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;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 a=je.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ho(t){let e=new Mt(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var Al=Ho,Ri=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),wl=F`
|
|
1
|
+
"use strict";(()=>{var ks=Object.create;var Wr=Object.defineProperty;var Ms=Object.getOwnPropertyDescriptor;var Ds=Object.getOwnPropertyNames;var $s=Object.getPrototypeOf,Bs=Object.prototype.hasOwnProperty;var Ws=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),D=(t,e)=>{for(var r in e)Wr(t,r,{get:e[r],enumerable:!0})},Hs=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Ds(e))!Bs.call(t,a)&&a!==r&&Wr(t,a,{get:()=>e[a],enumerable:!(n=Ms(e,a))||n.enumerable});return t};var Fs=(t,e,r)=>(r=t!=null?ks($s(t)):{},Hs(e||!t||!t.__esModule?Wr(r,"default",{value:t,enumerable:!0}):r,t));var fs=Ws((Pe,ds)=>{var Ur=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,kr=function(){function t(){this.fetch=!1,this.DOMException=Ur.DOMException}return t.prototype=Ur,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function c(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function d(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var x={next:function(){var N=m.shift();return{done:N===void 0,value:N}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function p(m){this.map={},m instanceof p?m.forEach(function(x,N){this.append(N,x)},this):Array.isArray(m)?m.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}p.prototype.append=function(m,x){m=c(m),x=d(x);var N=this.map[m];this.map[m]=N?N+", "+x:x},p.prototype.delete=function(m){delete this.map[c(m)]},p.prototype.get=function(m){return m=c(m),this.has(m)?this.map[m]:null},p.prototype.has=function(m){return this.map.hasOwnProperty(c(m))},p.prototype.set=function(m,x){this.map[c(m)]=d(x)},p.prototype.forEach=function(m,x){for(var N in this.map)this.map.hasOwnProperty(N)&&m.call(x,this.map[N],N,this)},p.prototype.keys=function(){var m=[];return this.forEach(function(x,N){m.push(N)}),h(m)},p.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),h(m)},p.prototype.entries=function(){var m=[];return this.forEach(function(x,N){m.push([N,x])}),h(m)},a.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function g(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function y(m){return new Promise(function(x,N){m.onload=function(){x(m.result)},m.onerror=function(){N(m.error)}})}function b(m){var x=new FileReader,N=y(x);return x.readAsArrayBuffer(m),N}function O(m){var x=new FileReader,N=y(x),L=/charset=([A-Za-z0-9_-]+)/.exec(m.type),U=L?L[1]:"utf-8";return x.readAsText(m,U),N}function R(m){for(var x=new Uint8Array(m),N=new Array(x.length),L=0;L<x.length;L++)N[L]=String.fromCharCode(x[L]);return N.join("")}function A(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function C(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:a.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:a.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():a.arrayBuffer&&a.blob&&i(m)?(this._bodyArrayBuffer=A(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||l(m))?this._bodyArrayBuffer=A(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=g(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(R(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(P)}),this.json=function(){return this.text().then(JSON.parse)},this}var v=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(m){var x=m.toUpperCase();return v.indexOf(x)>-1?x:m}function E(m,x){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var N=x.body;if(m instanceof E){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new p(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!N&&m._bodyInit!=null&&(N=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new p(x.headers)),this.method=S(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var T=new AbortController;return T.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(N),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var L=/([?&])_=[^&]*/;if(L.test(this.url))this.url=this.url.replace(L,"$1_="+new Date().getTime());else{var U=/\?/;this.url+=(U.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function P(m){var x=new FormData;return m.trim().split("&").forEach(function(N){if(N){var L=N.split("="),U=L.shift().replace(/\+/g," "),T=L.join("=").replace(/\+/g," ");x.append(decodeURIComponent(U),decodeURIComponent(T))}}),x}function I(m){var x=new p,N=m.replace(/\r?\n[\t ]+/g," ");return N.split("\r").map(function(L){return L.indexOf(`
|
|
2
|
+
`)===0?L.substr(1,L.length):L}).forEach(function(L){var U=L.split(":"),T=U.shift().trim();if(T){var re=U.join(":").trim();try{x.append(T,re)}catch(ft){console.warn("Response "+ft.message)}}}),x}C.call(E.prototype);function k(m,x){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new p(x.headers),this.url=x.url||"",this._initBody(m)}C.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},k.error=function(){var m=new k(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var M=[301,302,303,307,308];k.redirect=function(m,x){if(M.indexOf(x)===-1)throw new RangeError("Invalid status code");return new k(null,{status:x,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,N){this.message=x,this.name=N;var L=Error(x);this.stack=L.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function _(m,x){return new Promise(function(N,L){var U=new E(m,x);if(U.signal&&U.signal.aborted)return L(new r.DOMException("Aborted","AbortError"));var T=new XMLHttpRequest;function re(){T.abort()}T.onload=function(){var j={statusText:T.statusText,headers:I(T.getAllResponseHeaders()||"")};U.url.indexOf("file://")===0&&(T.status<200||T.status>599)?j.status=200:j.status=T.status,j.url="responseURL"in T?T.responseURL:j.headers.get("X-Request-URL");var Le="response"in T?T.response:T.responseText;setTimeout(function(){N(new k(Le,j))},0)},T.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},T.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request timed out"))},0)},T.onabort=function(){setTimeout(function(){L(new r.DOMException("Aborted","AbortError"))},0)};function ft(j){try{return j===""&&n.location.href?n.location.href:j}catch{return j}}if(T.open(U.method,ft(U.url),!0),U.credentials==="include"?T.withCredentials=!0:U.credentials==="omit"&&(T.withCredentials=!1),"responseType"in T&&(a.blob?T.responseType="blob":a.arrayBuffer&&(T.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof p||n.Headers&&x.headers instanceof n.Headers)){var Bn=[];Object.getOwnPropertyNames(x.headers).forEach(function(j){Bn.push(c(j)),T.setRequestHeader(j,d(x.headers[j]))}),U.headers.forEach(function(j,Le){Bn.indexOf(Le)===-1&&T.setRequestHeader(Le,j)})}else U.headers.forEach(function(j,Le){T.setRequestHeader(Le,j)});U.signal&&(U.signal.addEventListener("abort",re),T.onreadystatechange=function(){T.readyState===4&&U.signal.removeEventListener("abort",re)}),T.send(typeof U._bodyInit>"u"?null:U._bodyInit)})}return _.polyfill=!0,n.fetch||(n.fetch=_,n.Headers=p,n.Request=E,n.Response=k),r.Headers=p,r.Request=E,r.Response=k,r.fetch=_,r}({})})(kr);kr.fetch.ponyfill=!0;delete kr.fetch.polyfill;var dt=Ur.fetch?Ur:kr;Pe=dt.fetch;Pe.default=dt.fetch;Pe.fetch=dt.fetch;Pe.Headers=dt.Headers;Pe.Request=dt.Request;Pe.Response=dt.Response;ds.exports=Pe});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,P=new Set(S.observedAttributes||[]);g(S,P,E);let I={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:P};this._definitionsByTag.set(v,I),this._definitionsByClass.set(S,I);let k=r.call(n,v);k||(k=p(v),e.call(n,v,k)),this===window.customElements&&(s.set(S,I),I.standInClass=k);let M=this._awaitingUpgrade.get(v);if(M){this._awaitingUpgrade.delete(v);for(let m of M)i.delete(m),b(m,I,!0)}let _=this._whenDefinedPromises.get(v);return _!==void 0&&(_.resolve(S),this._whenDefinedPromises.delete(v)),S}upgrade(){R.push(this),n.upgrade.apply(n,arguments),R.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let S=this._getDefinition(v);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(v);return E===void 0&&(E={},E.promise=new Promise(P=>E.resolve=P),this._whenDefinedPromises.set(v,E)),E.promise}_upgradeWhenDefined(v,S,E){let P=this._awaitingUpgrade.get(S);P||this._awaitingUpgrade.set(S,P=new Set),E?P.add(v):P.delete(v)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),a.set(S,E),S},window.HTMLElement.prototype=t.prototype;let d=v=>v===document||v instanceof ShadowRoot,h=v=>{let S=v.getRootNode();if(!d(S)){let E=R[R.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),d(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},p=v=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let P=h(E)||window.customElements,I=P._getDefinition(v);return I?b(E,I):i.set(E,P),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=a.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=a.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=a.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=a.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(v,S,E)=>{if(S.size===0||E===void 0)return;let P=v.prototype.setAttribute;P&&(v.prototype.setAttribute=function(M,_){let m=M.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);P.call(this,m,_),E.call(this,m,x,_)}else P.call(this,m,_)});let I=v.prototype.removeAttribute;I&&(v.prototype.removeAttribute=function(M){let _=M.toLowerCase();if(S.has(_)){let m=this.getAttribute(_);I.call(this,_),E.call(this,_,m,null)}else I.call(this,_)});let k=v.prototype.toggleAttribute;k&&(v.prototype.toggleAttribute=function(M,_){let m=M.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);k.call(this,m,_);let N=this.getAttribute(m);E.call(this,m,x,N)}else k.call(this,m,_)})},y=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(v,window.HTMLElement):y(S)},b=(v,S,E=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),a.set(v,S),c=v;try{new S.elementClass}catch{y(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(P=>{v.hasAttribute(P)&&S.attributeChangedCallback.call(v,P,null,v.getAttribute(P))}),E&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=O.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let R=[document],A=(v,S,E=void 0)=>{let P=(E?Object.getPrototypeOf(E):v.prototype)[S];v.prototype[S]=function(){R.push(this);let I=P.apply(E||this,arguments);return I!==void 0&&l.set(I,this),R.pop(),I}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let C=(v,S)=>{let E=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...E,set(P){R.push(this),E.set.call(this,P),R.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...M){let _=S.call(this,...M);return v.set(_,this),_},E.forEach(M=>{let _=window.ElementInternals.prototype,m=_[M];_[M]=function(...x){let N=v.get(this);if(a.get(N).formAssociated===!0)return m?.call(this,...x);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class P extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class I{constructor(_){let m=new Map;_.forEach((x,N)=>{let L=x.getAttribute("name"),U=m.get(L)||[];this[+N]=x,U.push(x),m.set(L,U)}),this.length=_.length,m.forEach((x,N)=>{x&&(x.length===1?this[N]=x[0]:this[N]=new P(x))})}namedItem(_){return this[_]}}let k=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let M=k.get.call(this,[]),_=[];for(let m of M){let x=a.get(m);(!x||x.formAssociated===!0)&&_.push(m)}return new I(_)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}var eo={};D(eo,{CSSResult:()=>Ye,LitElement:()=>fe,ReactiveElement:()=>oe,_$LE:()=>fc,_$LH:()=>lc,adoptStyles:()=>lr,css:()=>F,defaultConverter:()=>ur,getCompatibleStyle:()=>St,html:()=>Jr,isServer:()=>nd,noChange:()=>xe,notEqual:()=>Vr,nothing:()=>W,render:()=>Qr,supportsAdoptingStyleSheets:()=>xt,svg:()=>cc,unsafeCSS:()=>vt});var qt=globalThis,Xt=qt.ShadowRoot&&(qt.ShadyCSS===void 0||qt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hn=Symbol(),Wn=new WeakMap,Yt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Hn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Xt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Wn.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Wn.set(r,e))}return e}toString(){return this.cssText}},Fn=t=>new Yt(typeof t=="string"?t:t+"",void 0,Hn);var Hr=(t,e)=>{if(Xt)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=qt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},Jt=Xt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Fn(r)})(t):t;var{is:zs,defineProperty:js,getOwnPropertyDescriptor:Gs,getOwnPropertyNames:Ks,getOwnPropertySymbols:Vs,getPrototypeOf:Zs}=Object,Qt=globalThis,zn=Qt.trustedTypes,qs=zn?zn.emptyScript:"",Ys=Qt.reactiveElementPolyfillSupport,pt=(t,e)=>t,ht={toAttribute(t,e){switch(e){case Boolean:t=t?qs:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},er=(t,e)=>!zs(t,e),jn={attribute:!0,type:String,converter:ht,reflect:!1,hasChanged:er};Symbol.metadata??=Symbol("metadata"),Qt.litPropertyMetadata??=new WeakMap;var Ie=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=jn){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&js(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=Gs(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??jn}static _$Ei(){if(this.hasOwnProperty(pt("elementProperties")))return;let e=Zs(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(pt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(pt("properties"))){let r=this.properties,n=[...Ks(r),...Vs(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(Jt(a))}else e!==void 0&&r.push(Jt(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Hr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:ht).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:ht;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??er)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ie.elementStyles=[],Ie.shadowRootOptions={mode:"open"},Ie[pt("elementProperties")]=new Map,Ie[pt("finalized")]=new Map,Ys?.({ReactiveElement:Ie}),(Qt.reactiveElementVersions??=[]).push("2.0.2");var zr=globalThis,tr=zr.trustedTypes,Gn=tr?tr.createPolicy("lit-html",{createHTML:t=>t}):void 0,jr="$lit$",ue=`lit$${(Math.random()+"").slice(9)}$`,Gr="?"+ue,Xs=`<${Gr}>`,Me=document,rr=()=>Me.createComment(""),gt=t=>t===null||typeof t!="object"&&typeof t!="function",Xn=Array.isArray,Jn=t=>Xn(t)||typeof t?.[Symbol.iterator]=="function",Fr=`[
|
|
3
|
+
\f\r]`,mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kn=/-->/g,Vn=/>/g,Ue=RegExp(`>|${Fr}(?:([^\\s"'>=/]+)(${Fr}*=${Fr}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Zn=/'/g,qn=/"/g,Qn=/^(?:script|style|textarea|title)$/i,ea=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Gu=ea(1),Ku=ea(2),Z=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Yn=new WeakMap,ke=Me.createTreeWalker(Me,129);function ta(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Gn!==void 0?Gn.createHTML(e):e}var ra=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=mt;for(let l=0;l<r;l++){let c=t[l],d,h,p=-1,g=0;for(;g<c.length&&(s.lastIndex=g,h=s.exec(c),h!==null);)g=s.lastIndex,s===mt?h[1]==="!--"?s=Kn:h[1]!==void 0?s=Vn:h[2]!==void 0?(Qn.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Ue):h[3]!==void 0&&(s=Ue):s===Ue?h[0]===">"?(s=a??mt,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Ue:h[3]==='"'?qn:Zn):s===qn||s===Zn?s=Ue:s===Kn||s===Vn?s=mt:(s=Ue,a=void 0);let y=s===Ue&&t[l+1].startsWith("/>")?" ":"";i+=s===mt?c+Xs:p>=0?(n.push(d),c.slice(0,p)+jr+c.slice(p)+ue+y):c+ue+(p===-2?l:y)}return[ta(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},yt=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,c=this.parts,[d,h]=ra(e,r);if(this.el=t.createElement(d,n),ke.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=ke.nextNode())!==null&&c.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(jr)){let g=h[s++],y=a.getAttribute(p).split(ue),b=/([.?@])?(.*)/.exec(g);c.push({type:1,index:i,name:b[2],strings:y,ctor:b[1]==="."?nr:b[1]==="?"?ar:b[1]==="@"?ir:$e}),a.removeAttribute(p)}else p.startsWith(ue)&&(c.push({type:6,index:i}),a.removeAttribute(p));if(Qn.test(a.tagName)){let p=a.textContent.split(ue),g=p.length-1;if(g>0){a.textContent=tr?tr.emptyScript:"";for(let y=0;y<g;y++)a.append(p[y],rr()),ke.nextNode(),c.push({type:2,index:++i});a.append(p[g],rr())}}}else if(a.nodeType===8)if(a.data===Gr)c.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(ue,p+1))!==-1;)c.push({type:7,index:i}),p+=ue.length-1}i++}}static createElement(e,r){let n=Me.createElement("template");return n.innerHTML=e,n}};function De(t,e,r=t,n){if(e===Z)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=gt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=De(t,a._$AS(t,e.values),a,n)),e}var or=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Me).importNode(r,!0);ke.currentNode=a;let i=ke.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new bt(i,i.nextSibling,this,e):c.type===1?d=new c.ctor(i,c.name,c.strings,this,e):c.type===6&&(d=new sr(i,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(i=ke.nextNode(),s++)}return ke.currentNode=Me,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},bt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=De(this,e,r),gt(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Z&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Jn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==H&>(this._$AH)?this._$AA.nextSibling.data=e:this.$(Me.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=yt.createElement(ta(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new or(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=Yn.get(e.strings);return r===void 0&&Yn.set(e.strings,r=new yt(e)),r}T(e){Xn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(rr()),this.k(rr()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},$e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=De(this,e,r,0),s=!gt(e)||e!==this._$AH&&e!==Z,s&&(this._$AH=e);else{let l=e,c,d;for(e=i[0],c=0;c<i.length-1;c++)d=De(this,l[n+c],r,c),d===Z&&(d=this._$AH[c]),s||=!gt(d)||d!==this._$AH[c],d===H?e=H:e!==H&&(e+=(d??"")+i[c+1]),this._$AH[c]=d}s&&!a&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},nr=class extends $e{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},ar=class extends $e{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},ir=class extends $e{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=De(this,e,r,0)??H)===Z)return;let n=this._$AH,a=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==H&&(n===H||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},sr=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){De(this,e)}},oa={j:jr,P:ue,A:Gr,C:1,M:ra,L:or,R:Jn,V:De,D:bt,I:$e,H:ar,N:ir,U:nr,B:sr},Js=zr.litHtmlPolyfillSupport;Js?.(yt,bt),(zr.litHtmlVersions??=[]).push("3.1.0");var cr=globalThis,xt=cr.ShadowRoot&&(cr.ShadyCSS===void 0||cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Kr=Symbol(),na=new WeakMap,Ye=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Kr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(xt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=na.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&na.set(r,e))}return e}toString(){return this.cssText}},vt=t=>new Ye(typeof t=="string"?t:t+"",void 0,Kr),F=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,i)=>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.")})(a)+t[i+1],t[0]);return new Ye(r,t,Kr)},lr=(t,e)=>{if(xt)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=cr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},St=xt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return vt(r)})(t):t;var{is:Qs,defineProperty:ec,getOwnPropertyDescriptor:tc,getOwnPropertyNames:rc,getOwnPropertySymbols:oc,getPrototypeOf:nc}=Object,dr=globalThis,aa=dr.trustedTypes,ac=aa?aa.emptyScript:"",ic=dr.reactiveElementPolyfillSupport,Ot=(t,e)=>t,ur={toAttribute(t,e){switch(e){case Boolean:t=t?ac:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Vr=(t,e)=>!Qs(t,e),ia={attribute:!0,type:String,converter:ur,reflect:!1,hasChanged:Vr};Symbol.metadata??=Symbol("metadata"),dr.litPropertyMetadata??=new WeakMap;var oe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ia){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&ec(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=tc(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ia}static _$Ei(){if(this.hasOwnProperty(Ot("elementProperties")))return;let e=nc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ot("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ot("properties"))){let r=this.properties,n=[...rc(r),...oc(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(St(a))}else e!==void 0&&r.push(St(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return lr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:ur).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:ur;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Vr)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};oe.elementStyles=[],oe.shadowRootOptions={mode:"open"},oe[Ot("elementProperties")]=new Map,oe[Ot("finalized")]=new Map,ic?.({ReactiveElement:oe}),(dr.reactiveElementVersions??=[]).push("2.0.2");var qr=globalThis,fr=qr.trustedTypes,sa=fr?fr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Yr="$lit$",de=`lit$${(Math.random()+"").slice(9)}$`,Xr="?"+de,sc=`<${Xr}>`,He=document,At=()=>He.createComment(""),wt=t=>t===null||typeof t!="object"&&typeof t!="function",pa=Array.isArray,ha=t=>pa(t)||typeof t?.[Symbol.iterator]=="function",Zr=`[
|
|
5
|
+
\f\r]`,Et=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ca=/-->/g,la=/>/g,Be=RegExp(`>|${Zr}(?:([^\\s"'>=/]+)(${Zr}*=${Zr}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ua=/'/g,da=/"/g,ma=/^(?:script|style|textarea|title)$/i,ga=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Jr=ga(1),cc=ga(2),xe=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),fa=new WeakMap,We=He.createTreeWalker(He,129);function ya(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return sa!==void 0?sa.createHTML(e):e}var ba=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=Et;for(let l=0;l<r;l++){let c=t[l],d,h,p=-1,g=0;for(;g<c.length&&(s.lastIndex=g,h=s.exec(c),h!==null);)g=s.lastIndex,s===Et?h[1]==="!--"?s=ca:h[1]!==void 0?s=la:h[2]!==void 0?(ma.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Be):h[3]!==void 0&&(s=Be):s===Be?h[0]===">"?(s=a??Et,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Be:h[3]==='"'?da:ua):s===da||s===ua?s=Be:s===ca||s===la?s=Et:(s=Be,a=void 0);let y=s===Be&&t[l+1].startsWith("/>")?" ":"";i+=s===Et?c+sc:p>=0?(n.push(d),c.slice(0,p)+Yr+c.slice(p)+de+y):c+de+(p===-2?l:y)}return[ya(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Ct=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,c=this.parts,[d,h]=ba(e,r);if(this.el=t.createElement(d,n),We.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=We.nextNode())!==null&&c.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Yr)){let g=h[s++],y=a.getAttribute(p).split(de),b=/([.?@])?(.*)/.exec(g);c.push({type:1,index:i,name:b[2],strings:y,ctor:b[1]==="."?hr:b[1]==="?"?mr:b[1]==="@"?gr:ze}),a.removeAttribute(p)}else p.startsWith(de)&&(c.push({type:6,index:i}),a.removeAttribute(p));if(ma.test(a.tagName)){let p=a.textContent.split(de),g=p.length-1;if(g>0){a.textContent=fr?fr.emptyScript:"";for(let y=0;y<g;y++)a.append(p[y],At()),We.nextNode(),c.push({type:2,index:++i});a.append(p[g],At())}}}else if(a.nodeType===8)if(a.data===Xr)c.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(de,p+1))!==-1;)c.push({type:7,index:i}),p+=de.length-1}i++}}static createElement(e,r){let n=He.createElement("template");return n.innerHTML=e,n}};function Fe(t,e,r=t,n){if(e===xe)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=wt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=Fe(t,a._$AS(t,e.values),a,n)),e}var pr=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??He).importNode(r,!0);We.currentNode=a;let i=We.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Xe(i,i.nextSibling,this,e):c.type===1?d=new c.ctor(i,c.name,c.strings,this,e):c.type===6&&(d=new yr(i,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(i=We.nextNode(),s++)}return We.currentNode=He,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Xe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Fe(this,e,r),wt(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==xe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ha(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==W&&wt(this._$AH)?this._$AA.nextSibling.data=e:this.$(He.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Ct.createElement(ya(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new pr(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=fa.get(e.strings);return r===void 0&&fa.set(e.strings,r=new Ct(e)),r}T(e){pa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(At()),this.k(At()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ze=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=Fe(this,e,r,0),s=!wt(e)||e!==this._$AH&&e!==xe,s&&(this._$AH=e);else{let l=e,c,d;for(e=i[0],c=0;c<i.length-1;c++)d=Fe(this,l[n+c],r,c),d===xe&&(d=this._$AH[c]),s||=!wt(d)||d!==this._$AH[c],d===W?e=W:e!==W&&(e+=(d??"")+i[c+1]),this._$AH[c]=d}s&&!a&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},hr=class extends ze{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},mr=class extends ze{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},gr=class extends ze{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=Fe(this,e,r,0)??W)===xe)return;let n=this._$AH,a=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==W&&(n===W||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},yr=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Fe(this,e)}},lc={j:Yr,P:de,A:Xr,C:1,M:ba,L:pr,R:ha,V:Fe,D:Xe,I:ze,H:mr,N:gr,U:hr,B:yr},uc=qr.litHtmlPolyfillSupport;uc?.(Ct,Xe),(qr.litHtmlVersions??=[]).push("3.1.0");var Qr=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Xe(e.insertBefore(At(),i),i,void 0,r??{})}return a._$AI(t),a};var fe=class extends oe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Qr(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return xe}};fe._$litElement$=!0,fe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:fe});var dc=globalThis.litElementPolyfillSupport;dc?.({LitElement:fe});var fc={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var nd=!1;var ro={};D(ro,{customElement:()=>pc,eventOptions:()=>mc,property:()=>G,query:()=>to,queryAll:()=>yc,queryAssignedElements:()=>xc,queryAssignedNodes:()=>vc,queryAsync:()=>bc,standardProperty:()=>xa,state:()=>Rt});var pc=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var hc={attribute:!0,type:String,converter:ht,reflect:!1,hasChanged:er},xa=(t=hc,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+n)};function G(t){return(e,r)=>typeof r=="object"?xa(t,e,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function Rt(t){return G({...t,state:!0,attribute:!1})}function mc(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Q=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function to(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:a??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return Q(r,n,{get(){let c=s.call(this);return c===void 0&&(c=i(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Q(r,n,{get(){return i(this)}})}}var gc;function yc(t){return(e,r)=>Q(e,r,{get(){return(this.renderRoot??(gc??=document.createDocumentFragment())).querySelectorAll(t)}})}function bc(t){return(e,r)=>Q(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function xc(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(t)??[];return a===void 0?l:l.filter(c=>c.matches(a))}})}}function vc(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var oo={};D(oo,{repeat:()=>Ec});var ve={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Se=t=>(...e)=>({_$litDirective$:t,values:e}),ne=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Sc}=oa;var va=()=>document.createComment(""),Je=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(va(),a),s=n.insertBefore(va(),a);r=new Sc(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(i!==a||l){let c=r._$AA;for(;c!==i;){let d=c.nextSibling;n.insertBefore(c,a),c=d}}}return r},Oe=(t,e,r=t)=>(t._$AI(e,r),t),Oc={},Sa=(t,e=Oc)=>t._$AH=e,Oa=t=>t._$AH,br=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Ea=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},Ec=Se(class extends ne{constructor(t){if(super(t),t.type!==ve.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let l of t)a[s]=n?n(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let a=Oa(t),{values:i,keys:s}=this.ht(e,r,n);if(!Array.isArray(a))return this.dt=s,i;let l=this.dt??=[],c=[],d,h,p=0,g=a.length-1,y=0,b=i.length-1;for(;p<=g&&y<=b;)if(a[p]===null)p++;else if(a[g]===null)g--;else if(l[p]===s[y])c[y]=Oe(a[p],i[y]),p++,y++;else if(l[g]===s[b])c[b]=Oe(a[g],i[b]),g--,b--;else if(l[p]===s[b])c[b]=Oe(a[p],i[b]),Je(t,c[b+1],a[p]),p++,b--;else if(l[g]===s[y])c[y]=Oe(a[g],i[y]),Je(t,a[p],a[g]),g--,y++;else if(d===void 0&&(d=Ea(s,y,b),h=Ea(l,p,g)),d.has(l[p]))if(d.has(l[g])){let O=h.get(s[y]),R=O!==void 0?a[O]:null;if(R===null){let A=Je(t,a[p]);Oe(A,i[y]),c[y]=A}else c[y]=Oe(R,i[y]),Je(t,a[p],R),a[O]=null;y++}else br(a[g]),g--;else br(a[p]),p++;for(;y<=b;){let O=Je(t,c[b+1]);Oe(O,i[y]),c[y++]=O}for(;p<=g;){let O=a[p++];O!==null&&br(O)}return this.dt=s,Sa(t,c),Z}});var no={};D(no,{classMap:()=>Ac});var Ac=Se(class extends ne{constructor(t){if(super(t),t.type!==ve.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Z}});var ao={};D(ao,{styleMap:()=>Cc});var Aa="important",wc=" !"+Aa,Cc=Se(class extends ne{constructor(t){if(super(t),t.type!==ve.ATTRIBUTE||t.name!=="style"||t.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(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(wc);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?Aa:""):r[n]=a}}return Z}});var so={};D(so,{UnsafeHTMLDirective:()=>Qe,unsafeHTML:()=>io});var Qe=class extends ne{constructor(e){if(super(e),this.et=H,e.type!==ve.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===H||e==null)return this.vt=void 0,this.et=e;if(e===Z)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Qe.directiveName="unsafeHTML",Qe.resultType=1;var io=Se(Qe);var fo={};D(fo,{CacheRegistry:()=>uo});var lo={};D(lo,{CancelablePromise:()=>et,CanceledPromiseError:()=>Nt,cancelable:()=>co});var Nt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},et=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new Nt("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new Nt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},co=t=>new et((e,r)=>t.then(e).catch(r));var uo=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof et&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=co(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var ho={};D(ho,{ClusteringHelper:()=>po});var po=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,r){var n,a;let i=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return r==null?t.flattenMetadata(i):t.flattenMetadata(i.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],a=[];return e.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var a,i;let s=t.extractResultMetadata(this.selectedResult,e),l=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:l,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,p)=>p.findIndex(g=>g.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,a,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(c=>{var d;return((d=t.extractResultMetadata(c,e))===null||d===void 0?void 0:d.value)==r}),i=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,i);if(d>l&&(l=d,s=c,d===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var mo={};D(mo,{Debouncer:()=>_t});var _t=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var vo={};D(vo,{customElement:()=>bo,isNumber:()=>_a,jsonProperty:()=>xo,optionalNumberProperty:()=>Lc});var yo={};D(yo,{dateReviver:()=>Nc,deepEqual:()=>Pt,delay:()=>wa,eventPathContainsMatchingElement:()=>Pc,flatDeep:()=>Ra,hasChanged:()=>Tt,last:()=>Tc,minmax:()=>go,parseDate:()=>Na,waitFor:()=>Ca,waitUntil:()=>Rc});var wa=t=>new Promise(e=>setTimeout(e,t));async function Rc(t,e=10,r=2e4){await Ca(async()=>await t()||void 0,e,r)}async function Ca(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await wa(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ra(t,e){return t.flatMap(r=>[r,...Ra(e(r),e)])}function Nc(...t){return function(e,r){return t.includes(e)?Na(r):r}}function Na(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,a)=>r+n+":"+a),new Date(t)}function _c(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Pt(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Pt(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(a=Object.keys(t),r=a.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!Pt(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Pt(t,e){try{return _c(t,e)}catch{return!1}}function Tt(t,e){return!Pt(t,e)}function Pc(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function go(t,e,r){return Math.min(Math.max(t,e),r)}function Tc(t){return t[t.length-1]}var bo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function xo(t,e){let r=()=>JSON.parse(JSON.stringify(t));return G({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Tt,...e??{}})}function Lc(t){return G({type:Object,converter:{fromAttribute:e=>{if(e!=null)return _a(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function _a(t){return!isNaN(parseFloat(t))}var Ao={};D(Ao,{designSystemVariables:()=>sl});var Eo={};D(Eo,{DesignSystemFamily:()=>Lt,DesignSystemSize:()=>It,FtCssVariableFactory:()=>o,badge:()=>Wc,banner:()=>Bc,breadcrumb:()=>Hc,button:()=>kc,chart:()=>el,checkbox:()=>rl,chip:()=>Dc,chipChoice:()=>Mc,collapsible:()=>Jc,comboboxMultiSelect:()=>Yc,comboboxSingleSelect:()=>qc,drawer:()=>jc,floatingMenu:()=>Zc,foundation:()=>u,link:()=>$c,modal:()=>zc,notice:()=>tl,notification:()=>al,pageHeader:()=>Fc,popover:()=>Xc,radio:()=>nl,resolveFamilyClass:()=>So,resolveSizeClass:()=>Oo,semantic:()=>f,setVariable:()=>xr,switch_:()=>Qc,tabs:()=>Gc,textArea:()=>Vc,textInput:()=>Kc,toggle:()=>ol,tooltip:()=>il,typographies:()=>Ic,typographyBody1Medium:()=>ka,typographyBody1Regular:()=>Ua,typographyBody1Semibold:()=>Ma,typographyBody2Medium:()=>$a,typographyBody2MediumUnderline:()=>Ba,typographyBody2Regular:()=>Da,typographyBody2Semibold:()=>Wa,typographyCaption1Bold:()=>qa,typographyCaption1Medium:()=>Va,typographyCaption1Semibold:()=>Za,typographyCaption2Bold:()=>Ja,typographyCaption2Medium:()=>Ya,typographyCaption2Semibold:()=>Xa,typographyCaption3Bold:()=>ti,typographyCaption3Medium:()=>Qa,typographyCaption3Semibold:()=>ei,typographyDisplay:()=>Pa,typographyLabel1Bold:()=>za,typographyLabel1Medium:()=>Ha,typographyLabel1Semibold:()=>Fa,typographyLabel2Bold:()=>Ka,typographyLabel2Medium:()=>ja,typographyLabel2Semibold:()=>Ga,typographyTitle1:()=>Ta,typographyTitle2:()=>La,typographyTitle3:()=>Ia,typographyVariants:()=>Uc});var pe=t=>typeof t=="string"?vt(t):t,o=class{static create(e,r,n,a){let i=l=>pe(l??a),s=F`var(${pe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>F`var(${pe(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=l=>n.get(l??a),s=F`var(${pe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>F`var(${pe(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):pe(i??e.lastResortDefaultValue()),a=F`var(${pe(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>F`var(${pe(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function xr(t,e){return pe(`${t.name}: ${e}`)}var u={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"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),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)")},Pa={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")},Ta={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")},La={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")},Ia={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")},Ua={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")},ka={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")},Ma={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")},Da={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")},$a={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")},Ba={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")},Wa={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")},Ha={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")},Fa={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")},za={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")},ja={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")},Ga={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")},Ka={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")},Va={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")},Za={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")},qa={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")},Ya={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")},Xa={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")},Ja={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")},Qa={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")},ei={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")},ti={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")},Ic={display:Pa,"title-1":Ta,"title-2":La,"title-3":Ia,"body-1-regular":Ua,"body-1-medium":ka,"body-1-semibold":Ma,"body-2-regular":Da,"body-2-medium":$a,"body-2-medium-underline":Ba,"body-2-semibold":Wa,"label-1-medium":Ha,"label-1-semibold":Fa,"label-1-bold":za,"label-2-medium":ja,"label-2-semibold":Ga,"label-2-bold":Ka,"caption-1-medium":Va,"caption-1-semibold":Za,"caption-1-bold":qa,"caption-2-medium":Ya,"caption-2-semibold":Xa,"caption-2-bold":Ja,"caption-3-medium":Qa,"caption-3-semibold":ei,"caption-3-bold":ti},Uc=["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:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
+
Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",u.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",u.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",u.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",u.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",u.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",u.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",u.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80)};var kc={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:o.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",u.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","",u.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",u.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",u.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",u.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","",u.spacing2),smallGap:o.extend("--ft-button-small-gap","",u.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",u.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","",u.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","",u.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",u.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",u.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",u.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",u.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",u.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",u.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",u.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",u.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",u.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",u.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",u.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",u.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",u.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",u.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",u.opacity40)};var Mc={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",u.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",u.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",u.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",u.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",u.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",u.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",u.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",u.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",u.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",u.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",u.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",u.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",u.iconSize2)};var Dc={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",u.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",u.spacing1),largeGap:o.extend("--ft-chip-large-gap","",u.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","",u.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",u.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",u.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",u.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","",u.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",u.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",u.spacing05),smallGap:o.extend("--ft-chip-small-gap","",u.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","",u.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var $c={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",u.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",u.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",f.contentActionPrimary)};var Bc={iconSize:o.extend("--ft-banner-icon-size","",u.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",u.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",u.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",u.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",u.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",u.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",u.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",u.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var Wc={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",u.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",u.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",u.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Hc={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",u.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Fc={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",u.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",u.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",u.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",u.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",u.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",u.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",u.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var zc={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","",u.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-modal-shadow","",u.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",u.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",u.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",u.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",u.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",u.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",u.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",u.spacing6),headerGap:o.extend("--ft-modal-header-gap","",u.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",u.borderRadiusM)};var jc={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",u.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",u.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",u.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",u.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",u.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",u.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",u.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",u.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","",u.colorGray700)};var Gc={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",u.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",u.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",u.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",u.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",u.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",u.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",u.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",u.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",u.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",u.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",u.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",u.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Kc={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.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","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)};var Vc={backgroundColor:o.extend("--ft-text-area-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.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","",u.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",u.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",u.borderRadiusM)};var Zc={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",u.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",u.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",u.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",u.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",u.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",u.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",u.shadowElevation02)};var qc={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",u.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",u.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",u.opacity40)};var Yc={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.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","",u.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",u.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",u.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",u.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",u.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",u.borderRadiusM)};var Xc={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",u.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",u.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",u.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",u.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",u.shadowElevation02)};var Jc={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",u.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",u.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",u.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",u.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",u.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",u.iconSize3)};var Qc={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",u.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",u.spacing1),groupGap:o.extend("--ft-switch-group-gap","",u.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",u.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",u.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",u.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",u.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",u.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",u.borderRadiusS)};var el={color1Light:o.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",u.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",u.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",u.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",u.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",u.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",u.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",u.colorRed40),color5Base:o.extend("--ft-chart-5-base","",u.colorRed60),color6Light:o.extend("--ft-chart-6-light","",u.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",u.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",u.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",u.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",u.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",u.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",u.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",u.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",u.colorGray50),color10Base:o.extend("--ft-chart-10-base","",u.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",u.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",u.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",u.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",u.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",u.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",u.colorBrand200)};var tl={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",u.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",u.borderRadiusS),gap:o.extend("--ft-notice-gap","",u.spacing2),iconSize:o.extend("--ft-notice-icon-size","",u.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var rl={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",u.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",u.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",u.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",u.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",u.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",u.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",u.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.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","",u.spacing3)};var ol={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",u.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",u.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",u.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",u.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",u.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",u.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",u.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",u.spacing3)};var nl={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",u.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",u.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",u.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",u.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",u.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",u.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",u.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.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","",u.spacing3)};var al={iconSize:o.extend("--ft-notification-icon-size","",u.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",u.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",u.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",u.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",u.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",u.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",u.spacing8)};var il={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",u.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",u.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",u.opacity80),shadow:o.extend("--ft-tooltip-shadow","",u.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",u.spacing05)};var Lt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Lt||(Lt={}));var It;(function(t){t.large="large",t.medium="medium",t.small="small"})(It||(It={}));function So(t){return`ftds--family-${t}`}function Oo(t){return`ftds--size-${t}`}var sl={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 No={};D(No,{FtNotificationEvent:()=>wo,PostResizeEvent:()=>Ro,PreResizeEvent:()=>Co});var wo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Co=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ro=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Fo={};D(Fo,{computeFlipOffsetPosition:()=>_l,computeOffsetPosition:()=>Nl});var oi=["top","right","bottom","left"],ri=["start","end"],_o=oi.reduce((t,e)=>t.concat(e,e+"-"+ri[0],e+"-"+ri[1]),[]),Mt=Math.min,Ee=Math.max,Dt=Math.round;var he=t=>({x:t,y:t}),cl={left:"right",right:"left",bottom:"top",top:"bottom"},ll={start:"end",end:"start"};function Po(t,e,r){return Ee(t,Mt(e,r))}function tt(t,e){return typeof t=="function"?t(e):t}function ae(t){return t.split("-")[0]}function ie(t){return t.split("-")[1]}function To(t){return t==="x"?"y":"x"}function Lo(t){return t==="y"?"height":"width"}function $t(t){return["top","bottom"].includes(ae(t))?"y":"x"}function Io(t){return To($t(t))}function Uo(t,e,r){r===void 0&&(r=!1);let n=ie(t),a=Io(t),i=Lo(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=kt(s)),[s,kt(s)]}function ni(t){let e=kt(t);return[Ut(t),e,Ut(e)]}function Ut(t){return t.replace(/start|end/g,e=>ll[e])}function ul(t,e,r){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?a:n:e?n:a;case"left":case"right":return e?i:s;default:return[]}}function ai(t,e,r,n){let a=ie(t),i=ul(ae(t),r==="start",n);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Ut)))),i}function kt(t){return t.replace(/left|right|bottom|top/g,e=>cl[e])}function dl(t){return{top:0,right:0,bottom:0,left:0,...t}}function ii(t){return typeof t!="number"?dl(t):{top:t,right:t,bottom:t,left:t}}function je(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function si(t,e,r){let{reference:n,floating:a}=t,i=$t(e),s=Io(e),l=Lo(s),c=ae(e),d=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,y;switch(c){case"top":y={x:h,y:n.y-a.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:p};break;case"left":y={x:n.x-a.width,y:p};break;default:y={x:n.x,y:n.y}}switch(ie(e)){case"start":y[s]-=g*(r&&d?-1:1);break;case"end":y[s]+=g*(r&&d?-1:1);break}return y}var ci=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:p}=si(d,n,c),g=n,y={},b=0;for(let O=0;O<l.length;O++){let{name:R,fn:A}=l[O],{x:C,y:v,data:S,reset:E}=await A({x:h,y:p,initialPlacement:n,placement:g,strategy:a,middlewareData:y,rects:d,platform:s,elements:{reference:t,floating:e}});if(h=C??h,p=v??p,y={...y,[R]:{...y[R],...S}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(d=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):E.rects),{x:h,y:p}=si(d,g,c)),O=-1;continue}}return{x:h,y:p,placement:g,strategy:a,middlewareData:y}};async function vr(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:y=0}=tt(e,t),b=ii(y),R=l[g?p==="floating"?"reference":"floating":p],A=je(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:c})),C=p==="floating"?{...s.floating,x:n,y:a}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},E=je(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:v,strategy:c}):C);return{top:(A.top-E.top+b.top)/S.y,bottom:(E.bottom-A.bottom+b.bottom)/S.y,left:(A.left-E.left+b.left)/S.x,right:(E.right-A.right+b.right)/S.x}}function fl(t,e,r){return(t?[...r.filter(a=>ie(a)===t),...r.filter(a=>ie(a)!==t)]:r.filter(a=>ae(a)===a)).filter(a=>t?ie(a)===t||(e?Ut(a)!==a:!1):!0)}var ko=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:c,elements:d}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:g=_o,autoAlignment:y=!0,...b}=tt(t,e),O=p!==void 0||g===_o?fl(p||null,y,g):g,R=await vr(e,b),A=((r=s.autoPlacement)==null?void 0:r.index)||0,C=O[A];if(C==null)return{};let v=Uo(C,i,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==C)return{reset:{placement:O[0]}};let S=[R[ae(C)],R[v[0]],R[v[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:S}],P=O[A+1];if(P)return{data:{index:A+1,overflows:E},reset:{placement:P}};let I=E.map(_=>{let m=ie(_.placement);return[_.placement,m&&h?_.overflows.slice(0,2).reduce((x,N)=>x+N,0):_.overflows[0],_.overflows]}).sort((_,m)=>_[1]-m[1]),M=((a=I.filter(_=>_[2].slice(0,ie(_[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||I[0][0];return M!==l?{data:{index:A+1,overflows:E},reset:{placement:M}}:{}}}},Mo=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:c,elements:d}=e,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:O=!0,...R}=tt(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};let A=ae(a),C=ae(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(d.floating)),S=g||(C||!O?[kt(l)]:ni(l));!g&&b!=="none"&&S.push(...ai(l,O,b,v));let E=[l,...S],P=await vr(e,R),I=[],k=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&I.push(P[A]),p){let x=Uo(a,s,v);I.push(P[x[0]],P[x[1]])}if(k=[...k,{placement:a,overflows:I}],!I.every(x=>x<=0)){var M,_;let x=(((M=i.flip)==null?void 0:M.index)||0)+1,N=E[x];if(N)return{data:{index:x,overflows:k},reset:{placement:N}};let L=(_=k.filter(U=>U.overflows[0]<=0).sort((U,T)=>U.overflows[1]-T.overflows[1])[0])==null?void 0:_.placement;if(!L)switch(y){case"bestFit":{var m;let U=(m=k.map(T=>[T.placement,T.overflows.filter(re=>re>0).reduce((re,ft)=>re+ft,0)]).sort((T,re)=>T[1]-re[1])[0])==null?void 0:m[0];U&&(L=U);break}case"initialPlacement":L=l;break}if(a!==L)return{reset:{placement:L}}}return{}}}};async function pl(t,e){let{placement:r,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=ae(r),l=ie(r),c=$t(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&c?-1:1,p=tt(e,t),{mainAxis:g,crossAxis:y,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return l&&typeof b=="number"&&(y=l==="end"?b*-1:b),c?{x:y*h,y:g*d}:{x:g*d,y:y*h}}var Do=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:a,y:i,placement:s,middlewareData:l}=e,c=await pl(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+c.x,y:i+c.y,data:{...c,placement:s}}}}},$o=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:R=>{let{x:A,y:C}=R;return{x:A,y:C}}},...c}=tt(t,e),d={x:r,y:n},h=await vr(e,c),p=$t(ae(a)),g=To(p),y=d[g],b=d[p];if(i){let R=g==="y"?"top":"left",A=g==="y"?"bottom":"right",C=y+h[R],v=y-h[A];y=Po(C,y,v)}if(s){let R=p==="y"?"top":"left",A=p==="y"?"bottom":"right",C=b+h[R],v=b-h[A];b=Po(C,b,v)}let O=l.fn({...e,[g]:y,[p]:b});return{...O,data:{x:O.x-r,y:O.y-n}}}}};function me(t){return ui(t)?(t.nodeName||"").toLowerCase():"#document"}function V(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ge(t){var e;return(e=(ui(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ui(t){return t instanceof Node||t instanceof V(t).Node}function se(t){return t instanceof Element||t instanceof V(t).Element}function ee(t){return t instanceof HTMLElement||t instanceof V(t).HTMLElement}function li(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof V(t).ShadowRoot}function rt(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=q(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function di(t){return["table","td","th"].includes(me(t))}function Or(t){let e=Er(),r=q(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(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 fi(t){let e=Ge(t);for(;ee(e)&&!Bt(e);){if(Or(e))return e;e=Ge(e)}return null}function Er(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Bt(t){return["html","body","#document"].includes(me(t))}function q(t){return V(t).getComputedStyle(t)}function Wt(t){return se(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ge(t){if(me(t)==="html")return t;let e=t.assignedSlot||t.parentNode||li(t)&&t.host||ge(t);return li(e)?e.host:e}function pi(t){let e=Ge(t);return Bt(e)?t.ownerDocument?t.ownerDocument.body:t.body:ee(e)&&rt(e)?e:pi(e)}function Sr(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=pi(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=V(a);return i?e.concat(s,s.visualViewport||[],rt(a)?a:[],s.frameElement&&r?Sr(s.frameElement):[]):e.concat(a,Sr(a,[],r))}function gi(t){let e=q(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=ee(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,l=Dt(r)!==i||Dt(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function yi(t){return se(t)?t:t.contextElement}function ot(t){let e=yi(t);if(!ee(e))return he(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=gi(e),s=(i?Dt(r.width):r.width)/n,l=(i?Dt(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var hl=he(0);function bi(t){let e=V(t);return!Er()||!e.visualViewport?hl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ml(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==V(t)?!1:e}function Ht(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=yi(t),s=he(1);e&&(n?se(n)&&(s=ot(n)):s=ot(t));let l=ml(i,r,n)?bi(i):he(0),c=(a.left+l.x)/s.x,d=(a.top+l.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let g=V(i),y=n&&se(n)?V(n):n,b=g.frameElement;for(;b&&n&&y!==g;){let O=ot(b),R=b.getBoundingClientRect(),A=q(b),C=R.left+(b.clientLeft+parseFloat(A.paddingLeft))*O.x,v=R.top+(b.clientTop+parseFloat(A.paddingTop))*O.y;c*=O.x,d*=O.y,h*=O.x,p*=O.y,c+=C,d+=v,b=V(b).frameElement}}return je({width:h,height:p,x:c,y:d})}function gl(t){let{rect:e,offsetParent:r,strategy:n}=t,a=ee(r),i=ge(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},l=he(1),c=he(0);if((a||!a&&n!=="fixed")&&((me(r)!=="body"||rt(i))&&(s=Wt(r)),ee(r))){let d=Ht(r);l=ot(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function yl(t){return Array.from(t.getClientRects())}function xi(t){return Ht(ge(t)).left+Wt(t).scrollLeft}function bl(t){let e=ge(t),r=Wt(t),n=t.ownerDocument.body,a=Ee(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Ee(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+xi(t),l=-r.scrollTop;return q(n).direction==="rtl"&&(s+=Ee(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function xl(t,e){let r=V(t),n=ge(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,c=0;if(a){i=a.width,s=a.height;let d=Er();(!d||d&&e==="fixed")&&(l=a.offsetLeft,c=a.offsetTop)}return{width:i,height:s,x:l,y:c}}function vl(t,e){let r=Ht(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=ee(t)?ot(t):he(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,c=a*i.x,d=n*i.y;return{width:s,height:l,x:c,y:d}}function hi(t,e,r){let n;if(e==="viewport")n=xl(t,r);else if(e==="document")n=bl(ge(t));else if(se(e))n=vl(e,r);else{let a=bi(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return je(n)}function vi(t,e){let r=Ge(t);return r===e||!se(r)||Bt(r)?!1:q(r).position==="fixed"||vi(r,e)}function Sl(t,e){let r=e.get(t);if(r)return r;let n=Sr(t,[],!1).filter(l=>se(l)&&me(l)!=="body"),a=null,i=q(t).position==="fixed",s=i?Ge(t):t;for(;se(s)&&!Bt(s);){let l=q(s),c=Or(s);!c&&l.position==="fixed"&&(a=null),(i?!c&&!a:!c&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||rt(s)&&!c&&vi(t,s))?n=n.filter(h=>h!==s):a=l,s=Ge(s)}return e.set(t,n),n}function Ol(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?Sl(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((d,h)=>{let p=hi(e,h,a);return d.top=Ee(p.top,d.top),d.right=Mt(p.right,d.right),d.bottom=Mt(p.bottom,d.bottom),d.left=Ee(p.left,d.left),d},hi(e,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function El(t){return gi(t)}function Al(t,e,r){let n=ee(e),a=ge(e),i=r==="fixed",s=Ht(t,!0,i,e),l={scrollLeft:0,scrollTop:0},c=he(0);if(n||!n&&!i)if((me(e)!=="body"||rt(a))&&(l=Wt(e)),n){let d=Ht(e,!0,i,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else a&&(c.x=xi(a));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function mi(t,e){return!ee(t)||q(t).position==="fixed"?null:e?e(t):t.offsetParent}function Si(t,e){let r=V(t);if(!ee(t))return r;let n=mi(t,e);for(;n&&di(n)&&q(n).position==="static";)n=mi(n,e);return n&&(me(n)==="html"||me(n)==="body"&&q(n).position==="static"&&!Or(n))?r:n||fi(t)||r}var wl=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||Si,i=this.getDimensions;return{reference:Al(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function Cl(t){return q(t).direction==="rtl"}var nt={convertOffsetParentRelativeRectToViewportRelativeRect:gl,getDocumentElement:ge,getClippingRect:Ol,getOffsetParent:Si,getElementRects:wl,getClientRects:yl,getDimensions:El,getScale:ot,isElement:se,isRTL:Cl};var Bo=(t,e,r)=>{let n=new Map,a={platform:nt,...r},i={...a.platform,_c:n};return ci(t,e,{...a,platform:i})};function Ho(t){return Rl(t)}function Wo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Rl(t){for(let e=t;e;e=Wo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Wo(t);e;e=Wo(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Nl(t,e,r){return Bo(t,e,{platform:{...nt,getOffsetParent:n=>nt.getOffsetParent(n,Ho)},middleware:[$o({crossAxis:!0}),ko({allowedPlacements:[r]})]})}async function _l(t,e,r,n,a){return Bo(t,e,{placement:r,strategy:a,platform:{...nt,getOffsetParent:i=>nt.getOffsetParent(i,Ho)},middleware:[Do(4),Mo({fallbackPlacements:n})]})}var Ko={};D(Ko,{FtdsBase:()=>Go,toFtdsBase:()=>_i});var jo={};D(jo,{FtLitElement:()=>Y});var zo={};D(zo,{ScopedRegistryLitElement:()=>Ft});var Ar=window,Pl=Ar.ShadowRoot&&(Ar.ShadyCSS===void 0||Ar.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fm=Symbol();var Oi=(t,e)=>{Pl?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),a=Ar.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)})};var Ft=class extends fe{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Oi(n,e.elementStyles),n}};var wr=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ci,Ei=Symbol("constructorPrototype"),Ai=Symbol("constructorName"),Ri=Symbol("exportpartsDebouncer"),wi=Symbol("dynamicDependenciesLoaded"),Y=class extends Ft{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ci]=new _t(5),this[Ai]=this.constructor.name,this[Ei]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ai]&&Object.setPrototypeOf(this,this[Ei])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[wi]||(e[wi]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Ri].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,l;let c=g=>g!=null&&g.trim().length>0,d=e.filter(c).map(g=>g.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...y,...b).filter(c).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(g=>d.map(y=>`${g}:${y}--${g}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};Ci=Ri;wr([G()],Y.prototype,"exportpartsPrefix",void 0);wr([xo([])],Y.prototype,"exportpartsPrefixes",void 0);wr([G()],Y.prototype,"customStylesheet",void 0);wr([Rt()],Y.prototype,"useAdoptedStyleSheets",void 0);var Ni=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};function _i(t){class e extends t{constructor(){super(...arguments),this.size=It.medium,this.family=Lt.neutral}getDesignSystemBaseClasses(){return{[So(this.family)]:!0,[Oo(this.size)]:!0}}}return Ni([G()],e.prototype,"size",void 0),Ni([G()],e.prototype,"family",void 0),e}var Go=class extends _i(Y){};var Pi={};var Zo={};D(Zo,{highlightHtml:()=>Il,highlightHtmlColorCssVariable:()=>Ti,highlightHtmlStyles:()=>Ll});var Ke=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let c=()=>{--s<=0&&a(l)};s||c(),i.forEach(d=>{t.matches(d,this.exclude)?c():this.onIframeReady(d,h=>{r(d)&&(l++,n(h)),c()},c)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((l,c)=>{l.val===n&&(i=c,s=l.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),l=[],c=[],d,h,p=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;p();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(d,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,y=>c.push(y),a)}),c.push(d);c.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,c):c()})}};var zt=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new Ke(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){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?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){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"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,r,n){let a,i=!0,s=n.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,a=c+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||a-c<0||c>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ke.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!a(s.node))return!1;let d=r-s.start,h=(n>s.end?s.end:n)-s.start,p=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),e.value=p+g,e.nodes.forEach((y,b)=>{b>=l&&(e.nodes[b].start>0&&b!==l&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=e.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let h=d.index;if(s!==0)for(let p=1;p<s;p++)h+=d[p].length;c=this.wrapRangeInTextNode(c,h,h+d[s].length),a(c.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let p=1;p<s;p++)d+=c[p].length;let h=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,h,p=>n(c[s],p),(p,g)=>{e.lastIndex=g,a(p)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((l,c)=>{let{start:d,end:h,valid:p}=this.checkWhitespaceRanges(l,s,i.value);p&&this.wrapRangeInMappedTextNode(i,d,h,g=>r(g,l,i.value.substring(d,h),c),g=>{n(g,l)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=d=>{let h=new RegExp(this.createRegExp(d),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,y)=>this.opt.filter(y,d,n,p),g=>{p++,n++,this.opt.each(g)},()=>{p===0&&this.opt.noMatch(d),i[s-1]===d?this.opt.done(n):c(i[i.indexOf(d)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(i[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,c)=>this.opt.filter(i,s,l,c),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;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 a=Ke.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Vo(t){let e=new zt(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var Tl=Vo,Ti=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ll=F`
|
|
8
8
|
.highlight-html-match {
|
|
9
|
-
background: ${
|
|
9
|
+
background: ${Ti};
|
|
10
10
|
}
|
|
11
|
-
`;function
|
|
11
|
+
`;function Il(t,e,r){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new Tl(t);if(s.unmark(),e&&e.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(l.each=d=>{for(let h in r.attributes)d.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(d=>s.mark(d.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var qo={};D(qo,{noTextInputDefaultClearButton:()=>Dl,noTextSelect:()=>Ul,safariEllipsisFix:()=>Ml,wordWrap:()=>kl});var Ul=F`
|
|
12
12
|
.ft-no-text-select {
|
|
13
13
|
-webkit-touch-callout: none;
|
|
14
14
|
-webkit-user-select: none;
|
|
@@ -17,7 +17,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
17
17
|
-ms-user-select: none;
|
|
18
18
|
user-select: none;
|
|
19
19
|
}
|
|
20
|
-
`,
|
|
20
|
+
`,kl=F`
|
|
21
21
|
.ft-word-wrap {
|
|
22
22
|
white-space: normal;
|
|
23
23
|
word-wrap: break-word;
|
|
@@ -29,7 +29,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
29
29
|
-webkit-hyphens: auto;
|
|
30
30
|
hyphens: auto
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,Ml=F`
|
|
33
33
|
.ft-safari-ellipsis-fix {
|
|
34
34
|
margin-right: 0;
|
|
35
35
|
|
|
@@ -40,14 +40,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
40
40
|
display: inline-block;
|
|
41
41
|
width: 0;
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,Dl=F`
|
|
44
44
|
input::-webkit-search-cancel-button,
|
|
45
45
|
input::-webkit-search-decoration,
|
|
46
46
|
input::-webkit-search-results-button,
|
|
47
47
|
input::-webkit-search-results-decoration {
|
|
48
48
|
display: none;
|
|
49
49
|
}
|
|
50
|
-
`;var Ni={};var Go={};k(Go,{ParametrizedLabelResolver:()=>jo});var jo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var xn={};k(xn,{FtCommandQueue:()=>Dt,FtLitElementRedux:()=>rt,FtReduxStore:()=>bn,clearAllStores:()=>gu,isFtReduxStore:()=>Ge,redux:()=>Ll,reduxEventListener:()=>Il,reduxReactive:()=>Tl});var Tl=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Ll=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:Rt,attribute:!1,...e};G(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:u=>u[n],store:e.store})}},Il=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Dt=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Ge(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var _i,Pi,Ti,Or=Symbol("internalReduxEventsUnsubscribers"),Oe=Symbol("internalStoresUnsubscribers"),Ke=Symbol("internalStores"),rt=class extends Y{constructor(){super(...arguments),this[_i]=new Map,this[Pi]=new Map,this[Ti]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Ke].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ke].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ke].get(e)}addStore(e,r){var n;r=(n=r??(Ge(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Ke].delete(r)}setupStore(e,r){this[Ke].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ke].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[Oe].has(e.store):this[Oe].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[Oe].set(e,r.subscribe(()=>this.updateFromStores())),Ge(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=u=>this[i](u);r.eventBus.addEventListener(a.eventName,s),this[Or].push(()=>r.eventBus.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Oe].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Or].forEach(e=>e()),this[Or]=[]}unsubscribeFromStore(e){this[Oe].has(e)&&this[Oe].get(e)(),this[Oe].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};_i=Oe,Pi=Ke,Ti=Or;rt.reduxProperties=new Map;rt.reduxReactiveProperties=new Set;rt.reduxEventListeners=new Map;function J(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function he(t){return!!t&&!!t[B]}function te(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Hl}(t)||Array.isArray(t)||!!t[$i]||!!(!((e=t.constructor)===null||e===void 0)&&e[$i])||en(t)||tn(t))}function Ve(t,e,r){r===void 0&&(r=!1),at(t)===0?(r?Object.keys:nt)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function at(t){var e=t[B];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:en(t)?2:tn(t)?3:0}function ot(t,e){return at(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ul(t,e){return at(t)===2?t.get(e):t[e]}function Bi(t,e,r){var n=at(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Wi(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function en(t){return Bl&&t instanceof Map}function tn(t){return Wl&&t instanceof Set}function Ee(t){return t.o||t.t}function rn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=zi(t);delete e[B];for(var r=nt(e),n=0;n<r.length;n++){var a=r[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function on(t,e){return e===void 0&&(e=!1),nn(t)||he(t)||!te(t)||(at(t)>1&&(t.set=t.add=t.clear=t.delete=kl),Object.freeze(t),e&&Ve(t,function(r,n){return on(n,!0)},!0)),t}function kl(){J(2)}function nn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ae(t){var e=Qo[t];return e||J(18,t),e}function Ml(t,e){Qo[t]||(Qo[t]=e)}function Yo(){return Bt}function Ko(t,e){e&&(ae("Patches"),t.u=[],t.s=[],t.v=e)}function Er(t){Xo(t),t.p.forEach(Dl),t.p=null}function Xo(t){t===Bt&&(Bt=t.l)}function Li(t){return Bt={p:[],l:Bt,h:t,m:!0,_:0}}function Dl(t){var e=t[B];e.i===0||e.i===1?e.j():e.g=!0}function Vo(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||ae("ES5").S(e,t,n),n?(r[B].P&&(Er(e),J(4)),te(t)&&(t=Ar(e,t),e.l||wr(e,t)),e.u&&ae("Patches").M(r[B].t,t,e.u,e.s)):t=Ar(e,r,[]),Er(e),e.u&&e.v(e.u,e.s),t!==Fi?t:void 0}function Ar(t,e,r){if(nn(e))return e;var n=e[B];if(!n)return Ve(e,function(u,l){return Ii(t,n,e,u,l,r)},!0),e;if(n.A!==t)return e;if(!n.P)return wr(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=rn(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Ve(i,function(u,l){return Ii(t,n,a,u,l,r,s)}),wr(t,a,!1),r&&t.u&&ae("Patches").N(n,r,t.u,t.s)}return n.o}function Ii(t,e,r,n,a,i,s){if(he(a)){var u=Ar(t,a,i&&e&&e.i!==3&&!ot(e.R,n)?i.concat(n):void 0);if(Bi(r,n,u),!he(u))return;t.m=!1}else s&&r.add(a);if(te(a)&&!nn(a)){if(!t.h.D&&t._<1)return;Ar(t,a),e&&e.A.l||wr(t,a)}}function wr(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&on(e,r)}function Zo(t,e){var r=t[B];return(r?Ee(r):t)[e]}function Ui(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Ae(t){t.P||(t.P=!0,t.l&&Ae(t.l))}function qo(t){t.o||(t.o=rn(t.t))}function Jo(t,e,r){var n=en(e)?ae("MapSet").F(e,r):tn(e)?ae("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),u={i:s?1:0,A:i?i.A:Yo(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},l=u,d=Wt;s&&(l=[u],d=$t);var h=Proxy.revocable(l,d),p=h.revoke,g=h.proxy;return u.k=g,u.j=p,g}(e,r):ae("ES5").J(e,r);return(r?r.A:Yo()).p.push(n),n}function $l(t){return he(t)||J(22,t),function e(r){if(!te(r))return r;var n,a=r[B],i=at(r);if(a){if(!a.P&&(a.i<4||!ae("ES5").K(a)))return a.t;a.I=!0,n=ki(r,i),a.I=!1}else n=ki(r,i);return Ve(n,function(s,u){a&&Ul(a.t,s)===u||Bi(n,s,e(u))}),i===3?new Set(n):n}(t)}function ki(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return rn(t)}function Hi(){function t(s,u){var l=i[s];return l?l.enumerable=u:i[s]=l={configurable:!0,enumerable:u,get:function(){var d=this[B];return Wt.get(d,s)},set:function(d){var h=this[B];Wt.set(h,s,d)}},l}function e(s){for(var u=s.length-1;u>=0;u--){var l=s[u][B];if(!l.P)switch(l.i){case 5:n(l)&&Ae(l);break;case 4:r(l)&&Ae(l)}}}function r(s){for(var u=s.t,l=s.k,d=nt(l),h=d.length-1;h>=0;h--){var p=d[h];if(p!==B){var g=u[p];if(g===void 0&&!ot(u,p))return!0;var y=l[p],b=y&&y[B];if(b?b.t!==g:!Wi(y,g))return!0}}var O=!!u[B];return d.length!==nt(u).length+(O?0:1)}function n(s){var u=s.k;if(u.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(u,u.length-1);if(l&&!l.get)return!0;for(var d=0;d<u.length;d++)if(!u.hasOwnProperty(d))return!0;return!1}function a(s){s.g&&J(3,JSON.stringify(Ee(s)))}var i={};Ml("ES5",{J:function(s,u){var l=Array.isArray(s),d=function(p,g){if(p){for(var y=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(y,""+b,t(b,!0));return y}var O=zi(g);delete O[B];for(var R=nt(O),A=0;A<R.length;A++){var C=R[A];O[C]=t(C,p||!!O[C].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(l,s),h={i:l?5:4,A:u?u.A:Yo(),P:!1,I:!1,R:{},l:u,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,B,{value:h,writable:!0}),d},S:function(s,u,l){l?he(u)&&u[B].A===s&&e(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var p=h[B];if(p){var g=p.t,y=p.k,b=p.R,O=p.i;if(O===4)Ve(y,function(S){S!==B&&(g[S]!==void 0||ot(g,S)?b[S]||d(y[S]):(b[S]=!0,Ae(p)))}),Ve(g,function(S){y[S]!==void 0||ot(y,S)||(b[S]=!1,Ae(p))});else if(O===5){if(n(p)&&(Ae(p),b.length=!0),y.length<g.length)for(var R=y.length;R<g.length;R++)b[R]=!1;else for(var A=g.length;A<y.length;A++)b[A]=!0;for(var C=Math.min(y.length,g.length),v=0;v<C;v++)y.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&d(y[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Mi,Bt,an=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Bl=typeof Map<"u",Wl=typeof Set<"u",Di=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Fi=an?Symbol.for("immer-nothing"):((Mi={})["immer-nothing"]=!0,Mi),$i=an?Symbol.for("immer-draftable"):"__$immer_draftable",B=an?Symbol.for("immer-state"):"__$immer_state";var Hl=""+Object.prototype.constructor,nt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,zi=Object.getOwnPropertyDescriptors||function(t){var e={};return nt(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Qo={},Wt={get:function(t,e){if(e===B)return t;var r=Ee(t);if(!ot(r,e))return function(a,i,s){var u,l=Ui(i,s);return l?"value"in l?l.value:(u=l.get)===null||u===void 0?void 0:u.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!te(n)?n:n===Zo(t.t,e)?(qo(t),t.o[e]=Jo(t.A.h,n,t)):n},has:function(t,e){return e in Ee(t)},ownKeys:function(t){return Reflect.ownKeys(Ee(t))},set:function(t,e,r){var n=Ui(Ee(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=Zo(Ee(t),e),i=a?.[B];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Wi(r,a)&&(r!==void 0||ot(t.t,e)))return!0;qo(t),Ae(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Zo(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,qo(t),Ae(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ee(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){J(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){J(12)}},$t={};Ve(Wt,function(t,e){$t[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),$t.deleteProperty=function(t,e){return $t.set.call(this,t,e,void 0)},$t.set=function(t,e,r){return Wt.set.call(this,t[0],e,r,t[0])};var Fl=function(){function t(r){var n=this;this.O=Di,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var u=i;i=a;var l=n;return function(O){var R=this;O===void 0&&(O=u);for(var A=arguments.length,C=Array(A>1?A-1:0),v=1;v<A;v++)C[v-1]=arguments[v];return l.produce(O,function(S){var E;return(E=i).call.apply(E,[R,S].concat(C))})}}var d;if(typeof i!="function"&&J(6),s!==void 0&&typeof s!="function"&&J(7),te(a)){var h=Li(n),p=Jo(n,a,void 0),g=!0;try{d=i(p),g=!1}finally{g?Er(h):Xo(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return Ko(h,s),Vo(O,h)},function(O){throw Er(h),O}):(Ko(h,s),Vo(d,h))}if(!a||typeof a!="object"){if((d=i(a))===void 0&&(d=a),d===Fi&&(d=void 0),n.D&&on(d,!0),s){var y=[],b=[];ae("Patches").M(a,d,y,b),s(y,b)}return d}J(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(d){for(var h=arguments.length,p=Array(h>1?h-1:0),g=1;g<h;g++)p[g-1]=arguments[g];return n.produceWithPatches(d,function(y){return a.apply(void 0,[y].concat(p))})};var s,u,l=n.produce(a,i,function(d,h){s=d,u=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return[d,s,u]}):[l,s,u]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){te(r)||J(8),he(r)&&(r=$l(r));var n=Li(this),a=Jo(this,r,void 0);return a[B].C=!0,Xo(n),a},e.finishDraft=function(r,n){var a=r&&r[B],i=a.A;return Ko(i,n),Vo(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Di&&J(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=ae("Patches").$;return he(r)?s(r,n):this.produce(r,function(u){return s(u,n)})},t}(),X=new Fl,zl=X.produce,Dm=X.produceWithPatches.bind(X),$m=X.setAutoFreeze.bind(X),Bm=X.setUseProxies.bind(X),Wm=X.applyPatches.bind(X),Hm=X.createDraft.bind(X),Fm=X.finishDraft.bind(X),Cr=zl;function we(t){"@babel/helpers - typeof";return we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},we(t)}function sn(t,e){if(we(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(we(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function cn(t){var e=sn(t,"string");return we(e)==="symbol"?e:String(e)}function ln(t,e,r){return e=cn(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ji(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Rr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ji(Object(r),!0).forEach(function(n){ln(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ji(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function K(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Gi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),un=function(){return Math.random().toString(36).substring(7).split("").join(".")},Nr={INIT:"@@redux/INIT"+un(),REPLACE:"@@redux/REPLACE"+un(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+un()}};function jl(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function dn(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(K(1));return r(dn)(t,e)}if(typeof t!="function")throw new Error(K(2));var a=t,i=e,s=[],u=s,l=!1;function d(){u===s&&(u=s.slice())}function h(){if(l)throw new Error(K(3));return i}function p(O){if(typeof O!="function")throw new Error(K(4));if(l)throw new Error(K(5));var R=!0;return d(),u.push(O),function(){if(R){if(l)throw new Error(K(6));R=!1,d();var C=u.indexOf(O);u.splice(C,1),s=null}}}function g(O){if(!jl(O))throw new Error(K(7));if(typeof O.type>"u")throw new Error(K(8));if(l)throw new Error(K(9));try{l=!0,i=a(i,O)}finally{l=!1}for(var R=s=u,A=0;A<R.length;A++){var C=R[A];C()}return O}function y(O){if(typeof O!="function")throw new Error(K(10));a=O,g({type:Nr.REPLACE})}function b(){var O,R=p;return O={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(K(11));function v(){C.next&&C.next(h())}v();var S=R(v);return{unsubscribe:S}}},O[Gi]=function(){return this},O}return g({type:Nr.INIT}),n={dispatch:g,subscribe:p,getState:h,replaceReducer:y},n[Gi]=b,n}function Gl(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Nr.INIT});if(typeof n>"u")throw new Error(K(12));if(typeof r(void 0,{type:Nr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function Ki(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,u;try{Gl(r)}catch(l){u=l}return function(d,h){if(d===void 0&&(d={}),u)throw u;if(0)var p;for(var g=!1,y={},b=0;b<i.length;b++){var O=i[b],R=r[O],A=d[O],C=R(A,h);if(typeof C>"u"){var v=h&&h.type;throw new Error(K(14))}y[O]=C,g=g||C!==A}return g=g||i.length!==Object.keys(d).length,g?y:d}}function it(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Vi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(K(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},u=e.map(function(l){return l(s)});return i=it.apply(void 0,u)(a.dispatch),Rr(Rr({},a),{},{dispatch:i})}}}function Zi(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(u){return typeof u=="function"?u(a,i,t):s(u)}}};return e}var qi=Zi();qi.withExtraArgument=Zi;var fn=qi;var es=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Kl=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(d){return function(h){return l([d,h])}}function l(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=d[0]&2?a.return:d[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,d[1])).done)return i;switch(a=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,a=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(h){d=[6,h],a=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},st=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},Vl=Object.defineProperty,Zl=Object.defineProperties,ql=Object.getOwnPropertyDescriptors,Yi=Object.getOwnPropertySymbols,Yl=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,Xi=function(t,e,r){return e in t?Vl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ce=function(t,e){for(var r in e||(e={}))Yl.call(e,r)&&Xi(t,r,e[r]);if(Yi)for(var n=0,a=Yi(e);n<a.length;n++){var r=a[n];Xl.call(e,r)&&Xi(t,r,e[r])}return t},pn=function(t,e){return Zl(t,ql(e))},Jl=function(t,e,r){return new Promise(function(n,a){var i=function(l){try{u(r.next(l))}catch(d){a(d)}},s=function(l){try{u(r.throw(l))}catch(d){a(d)}},u=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(i,s)};u((r=r.apply(t,e)).next())})};var Ql=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?it:it.apply(null,arguments)},ig=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function eu(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var tu=function(t){es(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.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(e.bind.apply(e,st([void 0],r[0].concat(this)))):new(e.bind.apply(e,st([void 0],r.concat(this))))},e}(Array),ru=function(t){es(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.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(e.bind.apply(e,st([void 0],r[0].concat(this)))):new(e.bind.apply(e,st([void 0],r.concat(this))))},e}(Array);function gn(t){return te(t)?Cr(t,function(){}):t}function ou(t){return typeof t=="boolean"}function nu(){return function(e){return au(e)}}function au(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,u=new tu;if(r&&(ou(r)?u.push(fn):u.push(fn.withExtraArgument(r.extraArgument))),0){if(a)var l;if(s)var d}return u}var hn=!0;function ts(t){var e=nu(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?e():i,u=r.devTools,l=u===void 0?!0:u,d=r.preloadedState,h=d===void 0?void 0:d,p=r.enhancers,g=p===void 0?void 0:p,y;if(typeof a=="function")y=a;else if(eu(a))y=Ki(a);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 b=s;if(typeof b=="function"&&(b=b(e),!hn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!hn&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Vi.apply(void 0,b),R=it;l&&(R=Ql(Ce({trace:!hn},typeof l=="object"&&l)));var A=new ru(O),C=A;Array.isArray(g)?C=st([O],g):typeof g=="function"&&(C=g(A));var v=R.apply(void 0,C);return dn(y,h,v)}function Re(t,e){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ce(Ce({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function rs(t){var e={},r=[],n,a={addCase:function(i,s){var u=typeof i=="string"?i:i.type;if(u in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[u]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function iu(t){return typeof t=="function"}function su(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?rs(e):[e,r,n],i=a[0],s=a[1],u=a[2],l;if(iu(t))l=function(){return gn(t())};else{var d=gn(t);l=function(){return d}}function h(p,g){p===void 0&&(p=l());var y=st([i[g.type]],s.filter(function(b){var O=b.matcher;return O(g)}).map(function(b){var O=b.reducer;return O}));return y.filter(function(b){return!!b}).length===0&&(y=[u]),y.reduce(function(b,O){if(O)if(he(b)){var R=b,A=O(R,g);return A===void 0?b:A}else{if(te(b))return Cr(b,function(C){return O(C,g)});var A=O(b,g);if(A===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return b},p)}return h.getInitialState=l,h}function cu(t,e){return t+"/"+e}function os(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:gn(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},u={};a.forEach(function(h){var p=n[h],g=cu(e,h),y,b;"reducer"in p?(y=p.reducer,b=p.prepare):y=p,i[h]=y,s[g]=y,u[h]=b?Re(g,b):Re(g)});function l(){var h=typeof t.extraReducers=="function"?rs(t.extraReducers):[t.extraReducers],p=h[0],g=p===void 0?{}:p,y=h[1],b=y===void 0?[]:y,O=h[2],R=O===void 0?void 0:O,A=Ce(Ce({},g),s);return su(r,function(C){for(var v in A)C.addCase(v,A[v]);for(var S=0,E=b;S<E.length;S++){var P=E[S];C.addMatcher(P.matcher,P.reducer)}R&&C.addDefaultCase(R)})}var d;return{name:e,reducer:function(h,p){return d||(d=l()),d(h,p)},actions:u,caseReducers:i,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var lu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",uu=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=lu[Math.random()*64|0];return e},du=["name","message","stack","code"],mn=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ji=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),fu=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=du;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},ug=function(){function t(e,r,n){var a=Re(e+"/fulfilled",function(h,p,g,y){return{payload:h,meta:pn(Ce({},y||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=Re(e+"/pending",function(h,p,g){return{payload:void 0,meta:pn(Ce({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=Re(e+"/rejected",function(h,p,g,y,b){return{payload:y,error:(n&&n.serializeError||fu)(h||"Rejected"),meta:pn(Ce({},b||{}),{arg:g,requestId:p,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),u=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(p,g,y){var b=n?.idGenerator?n.idGenerator(h):uu(),O=new l,R,A=!1;function C(S){R=S,O.abort()}var v=function(){return Jl(this,null,function(){var S,E,P,I,M,U,_;return Kl(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),I=(S=n?.condition)==null?void 0:S.call(n,h,{getState:g,extra:y}),hu(I)?[4,I]:[3,2];case 1:I=m.sent(),m.label=2;case 2:if(I===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,M=new Promise(function(x,N){return O.signal.addEventListener("abort",function(){return N({name:"AbortError",message:R||"Aborted"})})}),p(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:y}))),[4,Promise.race([M,Promise.resolve(r(h,{dispatch:p,getState:g,extra:y,requestId:b,signal:O.signal,abort:C,rejectWithValue:function(x,N){return new mn(x,N)},fulfillWithValue:function(x,N){return new Ji(x,N)}})).then(function(x){if(x instanceof mn)throw x;return x instanceof Ji?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return P=m.sent(),[3,5];case 4:return U=m.sent(),P=U instanceof mn?s(null,b,h,U.payload,U.meta):s(U,b,h),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&s.match(P)&&P.meta.condition,_||p(P),[2,P]}})})}();return Object.assign(v,{abort:C,requestId:b,arg:h,unwrap:function(){return v.then(pu)}})}}return Object.assign(d,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function pu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function hu(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var ns="listener",as="completed",is="cancelled",dg="task-"+is,fg="task-"+as,pg=ns+"-"+is,hg=ns+"-"+as;var yn="listenerMiddleware";var mg=Re(yn+"/add"),gg=Re(yn+"/removeAll"),yg=Re(yn+"/remove");var Qi,bg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Qi||(Qi=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},mu=function(t){return function(e){setTimeout(e,t)}},xg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:mu(10);Hi();window.ftReduxStores||(window.ftReduxStores={});var bn=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(Ge(i))return i;if(a==null)return;let s=os({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),u=ts({reducer:(l,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...d.overwrites}:s.reducer(l,d)});return window.ftReduxStores[a.name]=new t(s,u)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Dt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,u=n[s];return u?(...l)=>{let d=u(...l);return this.reduxStore.dispatch(d),d}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function gu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ge(e)&&e.clear()}var On={};k(On,{scrollHelper:()=>yu});var vn,_r=new Map,Sn=class{lock(e,r){if(r){let n=_r.get(r);if(n==null||n===e)return _r.set(r,e),r}}release(e,r){r&&_r.get(r)===e&&_r.delete(r)}findFirstScrollableParent(e){let r,n=a=>{var i;a.stopPropagation();let s,u;for(let l of a.composedPath()){let d=l,h=this.elementCanScroll(d);if(h&&d.clientHeight&&d.clientHeight<d.scrollHeight){s=d;break}else h&&u==null&&(u=d)}r=(i=s??u)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,u=po(0,(s-n.scrollTop)/(s-i),1),l=this.computeTopOffsetRatio(r?.position,u)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(vn=window.FluidTopicsScrollHelper)!==null&&vn!==void 0?vn:new Sn;var yu=window.FluidTopicsScrollHelper;var En={};k(En,{shadowQuerySelector:()=>bu,shadowQuerySelectorAll:()=>xu});function bu(t,e,...r){var n;let a=t.querySelector(e);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function xu(t,e,...r){let n=[...t.querySelectorAll(e)];for(let a of r)n=n.flatMap(i=>{var s,u;return[...(u=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&u!==void 0?u:[]]});return n}var An={};k(An,{SearchPlaceConverter:()=>Lr,SearchPlaceQueryParams:()=>$,isSearchPlaceQueryParams:()=>_s,serializeRequest:()=>Eu});var vu=$s(cs(),1);var ls;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ls||(ls={}));var us;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(us||(us={}));var ds;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(ds||(ds={}));var fs;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(fs||(fs={}));var ps;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ps||(ps={}));var hs;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(hs||(hs={}));var ms;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ms||(ms={}));var gs;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(gs||(gs={}));var ys;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(ys||(ys={}));var bs;(function(t){t.ASC="ASC",t.DESC="DESC"})(bs||(bs={}));var xs;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(xs||(xs={}));var vs;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(vs||(vs={}));var Cs=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);var Ss;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ss||(Ss={}));var Os;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Os||(Os={}));var Es;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Es||(Es={}));var Ht;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ht||(Ht={}));var Rs=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);var As;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(As||(As={}));var ws;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(ws||(ws={}));var z;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(z||(z={}));var Ns;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Ns||(Ns={}));var Mg={[z.PERSONAL_BOOK_SHARE_USER]:[z.PERSONAL_BOOK_USER],[z.HTML_EXPORT_USER]:[z.PERSONAL_BOOK_USER],[z.PDF_EXPORT_USER]:[z.PERSONAL_BOOK_USER],[z.KHUB_ADMIN]:[z.CONTENT_PUBLISHER],[z.ADMIN]:[z.KHUB_ADMIN,z.USERS_ADMIN,z.PORTAL_ADMIN],[z.DEVELOPER]:[z.BETA_USER,z.DEBUG_USER]};function Su(t){return`"${t}"`}function Ou(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Eu(t,e){return new Lr(t,{}).serialize(e)}var $;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort"})($||($={}));var Au=new Set(Object.values($));function _s(t){return Au.has(t)}var Lr=class{constructor(e,r){this.baseUrl=e,this.predefinedSorts=r,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r="/search"){let n=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${r}?${n}`).href}toURLSearchParams(e){var r,n,a,i,s,u,l,d,h,p;let g=new URLSearchParams({[$.LOCALE]:(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&g.append($.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&g.append($.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&g.append($.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&g.append($.SORT,"last_update");let y=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(A=>A.valueFilter))!==null&&s!==void 0?s:[];if(y.length>0){let A=y.map(C=>{var v,S;let E=((S=(v=C.valueFilter)===null||v===void 0?void 0:v.values)!==null&&S!==void 0?S:[]).map(P=>this.escapeFilters(P)).map(P=>encodeURIComponent(Su(P))).join("_");return`${C.key}~${E}`}).join("*");g.append($.VALUE_FILTERS,A)}let b=(l=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(A=>A.dateFilter))!==null&&l!==void 0?l:[];if(b.length>0){let A=b.map(C=>{var v;return`${C.key}~${(v=C.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");g.append($.DATE_FILTERS,A)}let O=(h=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&h!==void 0?h:[];if(O.length>0){let A=O.map(C=>{var v,S;return`${C.key}~${(v=C.rangeFilter)===null||v===void 0?void 0:v.from}_${(S=C.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");g.append($.RANGE_FILTERS,A)}let R=(p=e.otherQueryParams)!==null&&p!==void 0?p:{};for(let A in R)g.append(A,R[A]);return g}parse(e){var r;let n=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,n,a,i,s,u,l,d;let h=((r=e.get($.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=((n=e.get($.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),g=(a=e.get($.SCOPE))!==null&&a!==void 0?a:"default",y={};for(let b of e.keys())_s(b)||(y[b]=e.get(b));return{contentLocale:e.get($.LOCALE)==="all"?void 0:(i=e.get($.LOCALE))!==null&&i!==void 0?i:void 0,query:decodeURIComponent((s=e.get($.QUERY))!==null&&s!==void 0?s:""),scope:(u=this.scopeMapping[g])!==null&&u!==void 0?u:"DEFAULT",virtualField:Cs(h)?h:"EVERYWHERE",sort:(d=(l=this.predefinedSorts[p])!==null&&l!==void 0?l:this.predefinedSorts.DEFAULT)!==null&&d!==void 0?d:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:y}}parseCompatFilters(e){var r,n,a,i,s,u;let l=[];return e.has($.FILTERS)&&(l=this.parseValueFilters((r=e.get($.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has($.PERIOD))!==null&&n!==void 0&&n&&(l=[...l,...this.parseLegacyPeriodFilter(((a=e.get($.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...l,...this.parseValueFilters((i=e.get($.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get($.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((u=e.get($.RANGE_FILTERS))!==null&&u!==void 0?u:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Ou).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Ht[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(Rs(e))return[{key:"ft:lastEdition",dateFilter:{type:Ht[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var wn={};k(wn,{toFtFormComponent:()=>wu});var Ir=Symbol("elementInternals");function wu(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Ir].form}constructor(...a){super(a),this[Ir]=this.attachInternals(),this[Ir].role=e}setFormValue(a){this[Ir].setFormValue(a)}}return r}var Rn={};k(Rn,{DateFormatter:()=>Cn});var Cn=class{static format(e,r,n,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Nn,_n,Pn,Tn,Cu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Pn=(_n=(Nn=window.safari)===null||Nn===void 0?void 0:Nn.pushNotification)===null||_n===void 0?void 0:_n.toString())!==null&&Pn!==void 0?Pn:"")==="[object SafariRemoteNotification]",Ru="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Tn=window.ftGlobals)!==null&&Tn!==void 0?Tn:{lit:Xr,litDecorators:Qr,litRepeat:eo,litClassMap:to,litStyleMap:ro,litUnsafeHTML:no,wcUtils:{...co,...io,...uo,...Rn,...fo,...yo,...So,...wo,...Mo,...vo,...Wo,...$o,...Ci,...ho,...Fo,...zo,...Ni,...Go,...xn,...Do,...On,...En,...An,...wn,isSafari:Cu,isTouchScreen:Ru,setVariable:pr}};var Ur;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(Ur||(Ur={}));var w;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(w||(w={}));var Ln=new Map([...["abw"].map(t=>[t,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]),Nu=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Sy(t,e){var r,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,u]=(((r=Nu.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(i=(a=(n=Ln.get(u))!==null&&n!==void 0?n:Ln.get(e))!==null&&a!==void 0?a:Ln.get(s))!==null&&i!==void 0?i:w.UNKNOWN}var Oy={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var me={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")},Ps=F`
|
|
50
|
+
`;var Li={};var Xo={};D(Xo,{ParametrizedLabelResolver:()=>Yo});var Yo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var wn={};D(wn,{FtCommandQueue:()=>jt,FtLitElementRedux:()=>at,FtReduxStore:()=>An,clearAllStores:()=>Eu,isFtReduxStore:()=>Ve,redux:()=>Bl,reduxEventListener:()=>Wl,reduxReactive:()=>$l});var $l=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Bl=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:Tt,attribute:!1,...e};G(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},Wl=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var jt=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Ve(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ii,Ui,ki,Cr=Symbol("internalReduxEventsUnsubscribers"),Ae=Symbol("internalStoresUnsubscribers"),Ze=Symbol("internalStores"),at=class extends Y{constructor(){super(...arguments),this[Ii]=new Map,this[Ui]=new Map,this[ki]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Ze].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ze].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ze].get(e)}addStore(e,r){var n;r=(n=r??(Ve(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Ze].delete(r)}setupStore(e,r){this[Ze].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ze].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[Ae].has(e.store):this[Ae].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[Ae].set(e,r.subscribe(()=>this.updateFromStores())),Ve(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=l=>this[i](l);r.eventBus.addEventListener(a.eventName,s),this[Cr].push(()=>r.eventBus.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ae].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Cr].forEach(e=>e()),this[Cr]=[]}unsubscribeFromStore(e){this[Ae].has(e)&&this[Ae].get(e)(),this[Ae].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ii=Ae,Ui=Ze,ki=Cr;at.reduxProperties=new Map;at.reduxReactiveProperties=new Set;at.reduxEventListeners=new Map;function J(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ye(t){return!!t&&!!t[B]}function te(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Zl}(t)||Array.isArray(t)||!!t[Fi]||!!(!((e=t.constructor)===null||e===void 0)&&e[Fi])||sn(t)||cn(t))}function qe(t,e,r){r===void 0&&(r=!1),ct(t)===0?(r?Object.keys:st)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function ct(t){var e=t[B];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:sn(t)?2:cn(t)?3:0}function it(t,e){return ct(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Hl(t,e){return ct(t)===2?t.get(e):t[e]}function zi(t,e,r){var n=ct(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function ji(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function sn(t){return Kl&&t instanceof Map}function cn(t){return Vl&&t instanceof Set}function we(t){return t.o||t.t}function ln(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Vi(t);delete e[B];for(var r=st(e),n=0;n<r.length;n++){var a=r[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function un(t,e){return e===void 0&&(e=!1),dn(t)||ye(t)||!te(t)||(ct(t)>1&&(t.set=t.add=t.clear=t.delete=Fl),Object.freeze(t),e&&qe(t,function(r,n){return un(n,!0)},!0)),t}function Fl(){J(2)}function dn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ce(t){var e=an[t];return e||J(18,t),e}function zl(t,e){an[t]||(an[t]=e)}function rn(){return Kt}function Jo(t,e){e&&(ce("Patches"),t.u=[],t.s=[],t.v=e)}function Rr(t){on(t),t.p.forEach(jl),t.p=null}function on(t){t===Kt&&(Kt=t.l)}function Mi(t){return Kt={p:[],l:Kt,h:t,m:!0,_:0}}function jl(t){var e=t[B];e.i===0||e.i===1?e.j():e.g=!0}function Qo(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||ce("ES5").S(e,t,n),n?(r[B].P&&(Rr(e),J(4)),te(t)&&(t=Nr(e,t),e.l||_r(e,t)),e.u&&ce("Patches").M(r[B].t,t,e.u,e.s)):t=Nr(e,r,[]),Rr(e),e.u&&e.v(e.u,e.s),t!==Ki?t:void 0}function Nr(t,e,r){if(dn(e))return e;var n=e[B];if(!n)return qe(e,function(l,c){return Di(t,n,e,l,c,r)},!0),e;if(n.A!==t)return e;if(!n.P)return _r(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ln(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),qe(i,function(l,c){return Di(t,n,a,l,c,r,s)}),_r(t,a,!1),r&&t.u&&ce("Patches").N(n,r,t.u,t.s)}return n.o}function Di(t,e,r,n,a,i,s){if(ye(a)){var l=Nr(t,a,i&&e&&e.i!==3&&!it(e.R,n)?i.concat(n):void 0);if(zi(r,n,l),!ye(l))return;t.m=!1}else s&&r.add(a);if(te(a)&&!dn(a)){if(!t.h.D&&t._<1)return;Nr(t,a),e&&e.A.l||_r(t,a)}}function _r(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&un(e,r)}function en(t,e){var r=t[B];return(r?we(r):t)[e]}function $i(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Ce(t){t.P||(t.P=!0,t.l&&Ce(t.l))}function tn(t){t.o||(t.o=ln(t.t))}function nn(t,e,r){var n=sn(e)?ce("MapSet").F(e,r):cn(e)?ce("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:rn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},c=l,d=Vt;s&&(c=[l],d=Gt);var h=Proxy.revocable(c,d),p=h.revoke,g=h.proxy;return l.k=g,l.j=p,g}(e,r):ce("ES5").J(e,r);return(r?r.A:rn()).p.push(n),n}function Gl(t){return ye(t)||J(22,t),function e(r){if(!te(r))return r;var n,a=r[B],i=ct(r);if(a){if(!a.P&&(a.i<4||!ce("ES5").K(a)))return a.t;a.I=!0,n=Bi(r,i),a.I=!1}else n=Bi(r,i);return qe(n,function(s,l){a&&Hl(a.t,s)===l||zi(n,s,e(l))}),i===3?new Set(n):n}(t)}function Bi(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ln(t)}function Gi(){function t(s,l){var c=i[s];return c?c.enumerable=l:i[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[B];return Vt.get(d,s)},set:function(d){var h=this[B];Vt.set(h,s,d)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][B];if(!c.P)switch(c.i){case 5:n(c)&&Ce(c);break;case 4:r(c)&&Ce(c)}}}function r(s){for(var l=s.t,c=s.k,d=st(c),h=d.length-1;h>=0;h--){var p=d[h];if(p!==B){var g=l[p];if(g===void 0&&!it(l,p))return!0;var y=c[p],b=y&&y[B];if(b?b.t!==g:!ji(y,g))return!0}}var O=!!l[B];return d.length!==st(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function a(s){s.g&&J(3,JSON.stringify(we(s)))}var i={};zl("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(p,g){if(p){for(var y=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(y,""+b,t(b,!0));return y}var O=Vi(g);delete O[B];for(var R=st(O),A=0;A<R.length;A++){var C=R[A];O[C]=t(C,p||!!O[C].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(c,s),h={i:c?5:4,A:l?l.A:rn(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,B,{value:h,writable:!0}),d},S:function(s,l,c){c?ye(l)&&l[B].A===s&&e(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var p=h[B];if(p){var g=p.t,y=p.k,b=p.R,O=p.i;if(O===4)qe(y,function(S){S!==B&&(g[S]!==void 0||it(g,S)?b[S]||d(y[S]):(b[S]=!0,Ce(p)))}),qe(g,function(S){y[S]!==void 0||it(y,S)||(b[S]=!1,Ce(p))});else if(O===5){if(n(p)&&(Ce(p),b.length=!0),y.length<g.length)for(var R=y.length;R<g.length;R++)b[R]=!1;else for(var A=g.length;A<y.length;A++)b[A]=!0;for(var C=Math.min(y.length,g.length),v=0;v<C;v++)y.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&d(y[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Wi,Kt,fn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Kl=typeof Map<"u",Vl=typeof Set<"u",Hi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ki=fn?Symbol.for("immer-nothing"):((Wi={})["immer-nothing"]=!0,Wi),Fi=fn?Symbol.for("immer-draftable"):"__$immer_draftable",B=fn?Symbol.for("immer-state"):"__$immer_state";var Zl=""+Object.prototype.constructor,st=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Vi=Object.getOwnPropertyDescriptors||function(t){var e={};return st(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},an={},Vt={get:function(t,e){if(e===B)return t;var r=we(t);if(!it(r,e))return function(a,i,s){var l,c=$i(i,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!te(n)?n:n===en(t.t,e)?(tn(t),t.o[e]=nn(t.A.h,n,t)):n},has:function(t,e){return e in we(t)},ownKeys:function(t){return Reflect.ownKeys(we(t))},set:function(t,e,r){var n=$i(we(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=en(we(t),e),i=a?.[B];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(ji(r,a)&&(r!==void 0||it(t.t,e)))return!0;tn(t),Ce(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return en(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,tn(t),Ce(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=we(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){J(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){J(12)}},Gt={};qe(Vt,function(t,e){Gt[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Gt.deleteProperty=function(t,e){return Gt.set.call(this,t,e,void 0)},Gt.set=function(t,e,r){return Vt.set.call(this,t[0],e,r,t[0])};var ql=function(){function t(r){var n=this;this.O=Hi,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var c=n;return function(O){var R=this;O===void 0&&(O=l);for(var A=arguments.length,C=Array(A>1?A-1:0),v=1;v<A;v++)C[v-1]=arguments[v];return c.produce(O,function(S){var E;return(E=i).call.apply(E,[R,S].concat(C))})}}var d;if(typeof i!="function"&&J(6),s!==void 0&&typeof s!="function"&&J(7),te(a)){var h=Mi(n),p=nn(n,a,void 0),g=!0;try{d=i(p),g=!1}finally{g?Rr(h):on(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return Jo(h,s),Qo(O,h)},function(O){throw Rr(h),O}):(Jo(h,s),Qo(d,h))}if(!a||typeof a!="object"){if((d=i(a))===void 0&&(d=a),d===Ki&&(d=void 0),n.D&&un(d,!0),s){var y=[],b=[];ce("Patches").M(a,d,y,b),s(y,b)}return d}J(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(d){for(var h=arguments.length,p=Array(h>1?h-1:0),g=1;g<h;g++)p[g-1]=arguments[g];return n.produceWithPatches(d,function(y){return a.apply(void 0,[y].concat(p))})};var s,l,c=n.produce(a,i,function(d,h){s=d,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){te(r)||J(8),ye(r)&&(r=Gl(r));var n=Mi(this),a=nn(this,r,void 0);return a[B].C=!0,on(n),a},e.finishDraft=function(r,n){var a=r&&r[B],i=a.A;return Jo(i,n),Qo(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Hi&&J(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=ce("Patches").$;return ye(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),X=new ql,Yl=X.produce,Wm=X.produceWithPatches.bind(X),Hm=X.setAutoFreeze.bind(X),Fm=X.setUseProxies.bind(X),zm=X.applyPatches.bind(X),jm=X.createDraft.bind(X),Gm=X.finishDraft.bind(X),Pr=Yl;function Re(t){"@babel/helpers - typeof";return Re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re(t)}function pn(t,e){if(Re(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Re(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function hn(t){var e=pn(t,"string");return Re(e)==="symbol"?e:String(e)}function mn(t,e,r){return e=hn(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Tr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Zi(Object(r),!0).forEach(function(n){mn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Zi(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function K(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var qi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),gn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Lr={INIT:"@@redux/INIT"+gn(),REPLACE:"@@redux/REPLACE"+gn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+gn()}};function Xl(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function yn(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(K(1));return r(yn)(t,e)}if(typeof t!="function")throw new Error(K(2));var a=t,i=e,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(K(3));return i}function p(O){if(typeof O!="function")throw new Error(K(4));if(c)throw new Error(K(5));var R=!0;return d(),l.push(O),function(){if(R){if(c)throw new Error(K(6));R=!1,d();var C=l.indexOf(O);l.splice(C,1),s=null}}}function g(O){if(!Xl(O))throw new Error(K(7));if(typeof O.type>"u")throw new Error(K(8));if(c)throw new Error(K(9));try{c=!0,i=a(i,O)}finally{c=!1}for(var R=s=l,A=0;A<R.length;A++){var C=R[A];C()}return O}function y(O){if(typeof O!="function")throw new Error(K(10));a=O,g({type:Lr.REPLACE})}function b(){var O,R=p;return O={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(K(11));function v(){C.next&&C.next(h())}v();var S=R(v);return{unsubscribe:S}}},O[qi]=function(){return this},O}return g({type:Lr.INIT}),n={dispatch:g,subscribe:p,getState:h,replaceReducer:y},n[qi]=b,n}function Jl(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Lr.INIT});if(typeof n>"u")throw new Error(K(12));if(typeof r(void 0,{type:Lr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function Yi(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,l;try{Jl(r)}catch(c){l=c}return function(d,h){if(d===void 0&&(d={}),l)throw l;if(0)var p;for(var g=!1,y={},b=0;b<i.length;b++){var O=i[b],R=r[O],A=d[O],C=R(A,h);if(typeof C>"u"){var v=h&&h.type;throw new Error(K(14))}y[O]=C,g=g||C!==A}return g=g||i.length!==Object.keys(d).length,g?y:d}}function lt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Xi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(K(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return i=lt.apply(void 0,l)(a.dispatch),Tr(Tr({},a),{},{dispatch:i})}}}function Ji(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var Qi=Ji();Qi.withExtraArgument=Ji;var bn=Qi;var ns=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ql=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return c([d,h])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=d[0]&2?a.return:d[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,d[1])).done)return i;switch(a=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,a=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(h){d=[6,h],a=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},ut=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},eu=Object.defineProperty,tu=Object.defineProperties,ru=Object.getOwnPropertyDescriptors,es=Object.getOwnPropertySymbols,ou=Object.prototype.hasOwnProperty,nu=Object.prototype.propertyIsEnumerable,ts=function(t,e,r){return e in t?eu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ne=function(t,e){for(var r in e||(e={}))ou.call(e,r)&&ts(t,r,e[r]);if(es)for(var n=0,a=es(e);n<a.length;n++){var r=a[n];nu.call(e,r)&&ts(t,r,e[r])}return t},xn=function(t,e){return tu(t,ru(e))},au=function(t,e,r){return new Promise(function(n,a){var i=function(c){try{l(r.next(c))}catch(d){a(d)}},s=function(c){try{l(r.throw(c))}catch(d){a(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(i,s)};l((r=r.apply(t,e)).next())})};var iu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lt:lt.apply(null,arguments)},lg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function su(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var cu=function(t){ns(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.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(e.bind.apply(e,ut([void 0],r[0].concat(this)))):new(e.bind.apply(e,ut([void 0],r.concat(this))))},e}(Array),lu=function(t){ns(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.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(e.bind.apply(e,ut([void 0],r[0].concat(this)))):new(e.bind.apply(e,ut([void 0],r.concat(this))))},e}(Array);function On(t){return te(t)?Pr(t,function(){}):t}function uu(t){return typeof t=="boolean"}function du(){return function(e){return fu(e)}}function fu(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new cu;if(r&&(uu(r)?l.push(bn):l.push(bn.withExtraArgument(r.extraArgument))),0){if(a)var c;if(s)var d}return l}var vn=!0;function as(t){var e=du(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?e():i,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,h=d===void 0?void 0:d,p=r.enhancers,g=p===void 0?void 0:p,y;if(typeof a=="function")y=a;else if(su(a))y=Yi(a);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 b=s;if(typeof b=="function"&&(b=b(e),!vn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!vn&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Xi.apply(void 0,b),R=lt;c&&(R=iu(Ne({trace:!vn},typeof c=="object"&&c)));var A=new lu(O),C=A;Array.isArray(g)?C=ut([O],g):typeof g=="function"&&(C=g(A));var v=R.apply(void 0,C);return yn(y,h,v)}function _e(t,e){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ne(Ne({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function is(t){var e={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function pu(t){return typeof t=="function"}function hu(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?is(e):[e,r,n],i=a[0],s=a[1],l=a[2],c;if(pu(t))c=function(){return On(t())};else{var d=On(t);c=function(){return d}}function h(p,g){p===void 0&&(p=c());var y=ut([i[g.type]],s.filter(function(b){var O=b.matcher;return O(g)}).map(function(b){var O=b.reducer;return O}));return y.filter(function(b){return!!b}).length===0&&(y=[l]),y.reduce(function(b,O){if(O)if(ye(b)){var R=b,A=O(R,g);return A===void 0?b:A}else{if(te(b))return Pr(b,function(C){return O(C,g)});var A=O(b,g);if(A===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return b},p)}return h.getInitialState=c,h}function mu(t,e){return t+"/"+e}function ss(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:On(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var p=n[h],g=mu(e,h),y,b;"reducer"in p?(y=p.reducer,b=p.prepare):y=p,i[h]=y,s[g]=y,l[h]=b?_e(g,b):_e(g)});function c(){var h=typeof t.extraReducers=="function"?is(t.extraReducers):[t.extraReducers],p=h[0],g=p===void 0?{}:p,y=h[1],b=y===void 0?[]:y,O=h[2],R=O===void 0?void 0:O,A=Ne(Ne({},g),s);return hu(r,function(C){for(var v in A)C.addCase(v,A[v]);for(var S=0,E=b;S<E.length;S++){var P=E[S];C.addMatcher(P.matcher,P.reducer)}R&&C.addDefaultCase(R)})}var d;return{name:e,reducer:function(h,p){return d||(d=c()),d(h,p)},actions:l,caseReducers:i,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var gu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",yu=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=gu[Math.random()*64|0];return e},bu=["name","message","stack","code"],Sn=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),rs=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),xu=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=bu;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},pg=function(){function t(e,r,n){var a=_e(e+"/fulfilled",function(h,p,g,y){return{payload:h,meta:xn(Ne({},y||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=_e(e+"/pending",function(h,p,g){return{payload:void 0,meta:xn(Ne({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=_e(e+"/rejected",function(h,p,g,y,b){return{payload:y,error:(n&&n.serializeError||xu)(h||"Rejected"),meta:xn(Ne({},b||{}),{arg:g,requestId:p,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(p,g,y){var b=n?.idGenerator?n.idGenerator(h):yu(),O=new c,R,A=!1;function C(S){R=S,O.abort()}var v=function(){return au(this,null,function(){var S,E,P,I,k,M,_;return Ql(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),I=(S=n?.condition)==null?void 0:S.call(n,h,{getState:g,extra:y}),Su(I)?[4,I]:[3,2];case 1:I=m.sent(),m.label=2;case 2:if(I===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,k=new Promise(function(x,N){return O.signal.addEventListener("abort",function(){return N({name:"AbortError",message:R||"Aborted"})})}),p(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:y}))),[4,Promise.race([k,Promise.resolve(r(h,{dispatch:p,getState:g,extra:y,requestId:b,signal:O.signal,abort:C,rejectWithValue:function(x,N){return new Sn(x,N)},fulfillWithValue:function(x,N){return new rs(x,N)}})).then(function(x){if(x instanceof Sn)throw x;return x instanceof rs?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return P=m.sent(),[3,5];case 4:return M=m.sent(),P=M instanceof Sn?s(null,b,h,M.payload,M.meta):s(M,b,h),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&s.match(P)&&P.meta.condition,_||p(P),[2,P]}})})}();return Object.assign(v,{abort:C,requestId:b,arg:h,unwrap:function(){return v.then(vu)}})}}return Object.assign(d,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function vu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Su(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var cs="listener",ls="completed",us="cancelled",hg="task-"+us,mg="task-"+ls,gg=cs+"-"+us,yg=cs+"-"+ls;var En="listenerMiddleware";var bg=_e(En+"/add"),xg=_e(En+"/removeAll"),vg=_e(En+"/remove");var os,Sg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(os||(os=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Ou=function(t){return function(e){setTimeout(e,t)}},Og=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ou(10);Gi();window.ftReduxStores||(window.ftReduxStores={});var An=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(Ve(i))return i;if(a==null)return;let s=ss({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=as({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[a.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new jt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Eu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ve(e)&&e.clear()}var Nn={};D(Nn,{scrollHelper:()=>Au});var Cn,Ir=new Map,Rn=class{lock(e,r){if(r){let n=Ir.get(r);if(n==null||n===e)return Ir.set(r,e),r}}release(e,r){r&&Ir.get(r)===e&&Ir.delete(r)}findFirstScrollableParent(e){let r,n=a=>{var i;a.stopPropagation();let s,l;for(let c of a.composedPath()){let d=c,h=this.elementCanScroll(d);if(h&&d.clientHeight&&d.clientHeight<d.scrollHeight){s=d;break}else h&&l==null&&(l=d)}r=(i=s??l)!==null&&i!==void 0?i:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=go(0,(s-n.scrollTop)/(s-i),1),c=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:c})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Cn=window.FluidTopicsScrollHelper)!==null&&Cn!==void 0?Cn:new Rn;var Au=window.FluidTopicsScrollHelper;var _n={};D(_n,{shadowQuerySelector:()=>wu,shadowQuerySelectorAll:()=>Cu});function wu(t,e,...r){var n;let a=t.querySelector(e);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Cu(t,e,...r){let n=[...t.querySelectorAll(e)];for(let a of r)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var Pn={};D(Pn,{SearchPlaceConverter:()=>Mr,SearchPlaceQueryParams:()=>$,isSearchPlaceQueryParams:()=>Is,serializeRequest:()=>Pu});var Ru=Fs(fs(),1);var ps;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ps||(ps={}));var hs;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(hs||(hs={}));var ms;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(ms||(ms={}));var gs;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(gs||(gs={}));var ys;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ys||(ys={}));var bs;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(bs||(bs={}));var xs;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(xs||(xs={}));var vs;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(vs||(vs={}));var Ss;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Ss||(Ss={}));var Os;(function(t){t.ASC="ASC",t.DESC="DESC"})(Os||(Os={}));var Es;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Es||(Es={}));var As;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(As||(As={}));var Ps=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);var ws;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(ws||(ws={}));var Cs;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Cs||(Cs={}));var Rs;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Rs||(Rs={}));var Zt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Zt||(Zt={}));var Ts=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);var Ns;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ns||(Ns={}));var _s;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(_s||(_s={}));var z;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(z||(z={}));var Ls;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Ls||(Ls={}));var Bg={[z.PERSONAL_BOOK_SHARE_USER]:[z.PERSONAL_BOOK_USER],[z.HTML_EXPORT_USER]:[z.PERSONAL_BOOK_USER],[z.PDF_EXPORT_USER]:[z.PERSONAL_BOOK_USER],[z.KHUB_ADMIN]:[z.CONTENT_PUBLISHER],[z.ADMIN]:[z.KHUB_ADMIN,z.USERS_ADMIN,z.PORTAL_ADMIN],[z.DEVELOPER]:[z.BETA_USER,z.DEBUG_USER]};function Nu(t){return`"${t}"`}function _u(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Pu(t,e){return new Mr(t,{}).serialize(e)}var $;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort"})($||($={}));var Tu=new Set(Object.values($));function Is(t){return Tu.has(t)}var Mr=class{constructor(e,r){this.baseUrl=e,this.predefinedSorts=r,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r="/search"){let n=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${r}?${n}`).href}toURLSearchParams(e){var r,n,a,i,s,l,c,d,h,p;let g=new URLSearchParams({[$.LOCALE]:(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&g.append($.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&g.append($.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&g.append($.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&g.append($.SORT,"last_update");let y=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(A=>A.valueFilter))!==null&&s!==void 0?s:[];if(y.length>0){let A=y.map(C=>{var v,S;let E=((S=(v=C.valueFilter)===null||v===void 0?void 0:v.values)!==null&&S!==void 0?S:[]).map(P=>this.escapeFilters(P)).map(P=>encodeURIComponent(Nu(P))).join("_");return`${C.key}~${E}`}).join("*");g.append($.VALUE_FILTERS,A)}let b=(c=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(A=>A.dateFilter))!==null&&c!==void 0?c:[];if(b.length>0){let A=b.map(C=>{var v;return`${C.key}~${(v=C.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");g.append($.DATE_FILTERS,A)}let O=(h=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(A=>A.rangeFilter))!==null&&h!==void 0?h:[];if(O.length>0){let A=O.map(C=>{var v,S;return`${C.key}~${(v=C.rangeFilter)===null||v===void 0?void 0:v.from}_${(S=C.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");g.append($.RANGE_FILTERS,A)}let R=(p=e.otherQueryParams)!==null&&p!==void 0?p:{};for(let A in R)g.append(A,R[A]);return g}parse(e){var r;let n=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,n,a,i,s,l,c,d;let h=((r=e.get($.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=((n=e.get($.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),g=(a=e.get($.SCOPE))!==null&&a!==void 0?a:"default",y={};for(let b of e.keys())Is(b)||(y[b]=e.get(b));return{contentLocale:e.get($.LOCALE)==="all"?void 0:(i=e.get($.LOCALE))!==null&&i!==void 0?i:void 0,query:decodeURIComponent((s=e.get($.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[g])!==null&&l!==void 0?l:"DEFAULT",virtualField:Ps(h)?h:"EVERYWHERE",sort:(d=(c=this.predefinedSorts[p])!==null&&c!==void 0?c:this.predefinedSorts.DEFAULT)!==null&&d!==void 0?d:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:y}}parseCompatFilters(e){var r,n,a,i,s,l;let c=[];return e.has($.FILTERS)&&(c=this.parseValueFilters((r=e.get($.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has($.PERIOD))!==null&&n!==void 0&&n&&(c=[...c,...this.parseLegacyPeriodFilter(((a=e.get($.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...c,...this.parseValueFilters((i=e.get($.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get($.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get($.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(_u).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Zt[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(Ts(e))return[{key:"ft:lastEdition",dateFilter:{type:Zt[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Tn={};D(Tn,{toFtFormComponent:()=>Lu});var Dr=Symbol("elementInternals");function Lu(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Dr].form}constructor(...a){super(a),this[Dr]=this.attachInternals(),this[Dr].role=e}setFormValue(a){this[Dr].setFormValue(a)}}return r}var In={};D(In,{DateFormatter:()=>Ln});var Ln=class{static format(e,r,n,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Un,kn,Mn,Dn,Iu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Mn=(kn=(Un=window.safari)===null||Un===void 0?void 0:Un.pushNotification)===null||kn===void 0?void 0:kn.toString())!==null&&Mn!==void 0?Mn:"")==="[object SafariRemoteNotification]",Uu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Dn=window.ftGlobals)!==null&&Dn!==void 0?Dn:{lit:eo,litDecorators:ro,litRepeat:oo,litClassMap:no,litStyleMap:ao,litUnsafeHTML:so,wcUtils:{...fo,...lo,...ho,...In,...mo,...vo,...Ao,...No,...Fo,...Eo,...Ko,...jo,...Pi,...yo,...Zo,...qo,...Li,...Xo,...wn,...zo,...Nn,..._n,...Pn,...Tn,isSafari:Iu,isTouchScreen:Uu,setVariable:xr}};var $r;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})($r||($r={}));var w;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(w||(w={}));var $n=new Map([...["abw"].map(t=>[t,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]),ku=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Ay(t,e){var r,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=ku.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(i=(a=(n=$n.get(l))!==null&&n!==void 0?n:$n.get(e))!==null&&a!==void 0?a:$n.get(s))!==null&&i!==void 0?i:w.UNKNOWN}var wy={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var be={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")},Us=F`
|
|
51
51
|
:host, i.ft-icon {
|
|
52
52
|
display: inline-flex;
|
|
53
53
|
align-items: center;
|
|
@@ -56,14 +56,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
:host {
|
|
59
|
-
width: ${
|
|
60
|
-
height: ${
|
|
59
|
+
width: ${be.size};
|
|
60
|
+
height: ${be.size};
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
i.ft-icon {
|
|
64
64
|
width: 100%;
|
|
65
65
|
height: 100%;
|
|
66
|
-
font-size: ${
|
|
66
|
+
font-size: ${be.size};
|
|
67
67
|
line-height: 1;
|
|
68
68
|
font-weight: normal;
|
|
69
69
|
text-transform: none;
|
|
@@ -74,33 +74,33 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
74
74
|
text-rendering: auto;
|
|
75
75
|
-webkit-font-smoothing: antialiased;
|
|
76
76
|
-moz-osx-font-smoothing: grayscale;
|
|
77
|
-
vertical-align: ${
|
|
77
|
+
vertical-align: ${be.verticalAlign};
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
i.ft-icon.ft-icon--fluid-topics {
|
|
81
|
-
font-family: ${
|
|
81
|
+
font-family: ${be.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
82
82
|
|
|
83
83
|
/* Ugly fix because font is broken */
|
|
84
|
-
font-size: calc(0.75 * ${
|
|
85
|
-
line-height: ${
|
|
84
|
+
font-size: calc(0.75 * ${be.size});
|
|
85
|
+
line-height: ${be.size};
|
|
86
86
|
position: relative;
|
|
87
87
|
top: -4%;
|
|
88
88
|
justify-content: center;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.ft-icon--file-format {
|
|
92
|
-
font-family: ${
|
|
92
|
+
font-family: ${be.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.ft-icon--material {
|
|
96
|
-
font-family: ${
|
|
96
|
+
font-family: ${be.materialFontFamily}, "Material Icons", sans-serif;
|
|
97
97
|
}
|
|
98
|
-
`;var
|
|
98
|
+
`;var Te;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Te||(Te={}));var Br=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},le=class extends Y{constructor(){super(...arguments),this.resolvedIcon=W}render(){let e=this.variant&&Object.values(Te).includes(this.variant)?this.variant:Te.fluid_topics,r=e!==Te.material||!!this.value;return Jr`
|
|
99
99
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
100
|
-
${
|
|
100
|
+
${io(this.resolvedIcon)}
|
|
101
101
|
<slot ?hidden=${r}></slot>
|
|
102
102
|
</i>
|
|
103
|
-
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case
|
|
103
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Te.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Te.material:this.resolvedIcon=this.value||W;break;default:this.resolvedIcon=(r=$r[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};le.elementDefinitions={};le.styles=Us;Br([G()],le.prototype,"variant",void 0);Br([G()],le.prototype,"value",void 0);Br([Rt()],le.prototype,"resolvedIcon",void 0);Br([to("slot")],le.prototype,"slottedContent",void 0);bo("ft-icon")(le);})();
|
|
104
104
|
/*! Bundled license information:
|
|
105
105
|
|
|
106
106
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|