@fluid-topics/ft-chart 2.0.15 → 2.0.16
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-chart.js +1 -2
- package/build/ft-chart.min.js +20 -20
- package/package.json +3 -3
package/build/ft-chart.min.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var K=Y.split(":"),W=K.shift().trim();if(W){var cn=K.join(":").trim();try{v.append(W,cn)}catch(lo){console.warn("Response "+lo.message)}}}),v}k.call(w.prototype);function G(m,v){if(!(this instanceof G))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.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=v.statusText===void 0?"":""+v.statusText,this.headers=new p(v.headers),this.url=v.url||"",this._initBody(m)}k.call(G.prototype),G.prototype.clone=function(){return new G(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},G.error=function(){var m=new G(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var B=[301,302,303,307,308];G.redirect=function(m,v){if(B.indexOf(v)===-1)throw new RangeError("Invalid status code");return new G(null,{status:v,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,I){this.message=v,this.name=I;var Y=Error(v);this.stack=Y.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function P(m,v){return new Promise(function(I,Y){var K=new w(m,v);if(K.signal&&K.signal.aborted)return Y(new r.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function cn(){W.abort()}W.onload=function(){var ae={statusText:W.statusText,headers:L(W.getAllResponseHeaders()||"")};K.url.indexOf("file://")===0&&(W.status<200||W.status>599)?ae.status=200:ae.status=W.status,ae.url="responseURL"in W?W.responseURL:ae.headers.get("X-Request-URL");var xt="response"in W?W.response:W.responseText;setTimeout(function(){I(new G(xt,ae))},0)},W.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},W.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},W.onabort=function(){setTimeout(function(){Y(new r.DOMException("Aborted","AbortError"))},0)};function lo(ae){try{return ae===""&&n.location.href?n.location.href:ae}catch{return ae}}if(W.open(K.method,lo(K.url),!0),K.credentials==="include"?W.withCredentials=!0:K.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&(a.blob?W.responseType="blob":a.arrayBuffer&&(W.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof p||n.Headers&&v.headers instanceof n.Headers)){var Vi=[];Object.getOwnPropertyNames(v.headers).forEach(function(ae){Vi.push(d(ae)),W.setRequestHeader(ae,f(v.headers[ae]))}),K.headers.forEach(function(ae,xt){Vi.indexOf(xt)===-1&&W.setRequestHeader(xt,ae)})}else K.headers.forEach(function(ae,xt){W.setRequestHeader(xt,ae)});K.signal&&(K.signal.addEventListener("abort",cn),W.onreadystatechange=function(){W.readyState===4&&K.signal.removeEventListener("abort",cn)}),W.send(typeof K._bodyInit>"u"?null:K._bodyInit)})}return P.polyfill=!0,n.fetch||(n.fetch=P,n.Headers=p,n.Request=w,n.Response=G),r.Headers=p,r.Request=w,r.Response=G,r.fetch=P,r}({})})(Mn);Mn.fetch.ponyfill=!0;delete Mn.fetch.polyfill;var dr=Dn.fetch?Dn:Mn;yt=dr.fetch;yt.default=dr.fetch;yt.fetch=dr.fetch;yt.Headers=dr.Headers;yt.Request=dr.Request;yt.Response=dr.Response;al.exports=yt});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=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(S,x){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=x.prototype.attributeChangedCallback,T=new Set(x.observedAttributes||[]);y(x,T,w);let L={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(S,L),this._definitionsByClass.set(x,L);let G=r.call(n,S);G||(G=p(S),t.call(n,S,G)),this===window.customElements&&(s.set(x,L),L.standInClass=G);let B=this._awaitingUpgrade.get(S);if(B){this._awaitingUpgrade.delete(S);for(let m of B)i.delete(m),g(m,L,!0)}let P=this._whenDefinedPromises.get(S);return P!==void 0&&(P.resolve(x),this._whenDefinedPromises.delete(S)),x}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let x=this._getDefinition(S);if(x!==void 0)return Promise.resolve(x.elementClass);let w=this._whenDefinedPromises.get(S);return w===void 0&&(w={},w.promise=new Promise(T=>w.resolve=T),this._whenDefinedPromises.set(S,w)),w.promise}_upgradeWhenDefined(S,x,w){let T=this._awaitingUpgrade.get(x);T||this._awaitingUpgrade.set(x,T=new Set),w?T.add(S):T.delete(S)}};let d;window.HTMLElement=function(){let x=d;if(x)return d=void 0,x;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(e,[],w.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),a.set(x,w),x},window.HTMLElement.prototype=e.prototype;let f=S=>S===document||S instanceof ShadowRoot,h=S=>{let x=S.getRootNode();if(!f(x)){let w=C[C.length-1];if(w instanceof CustomElementRegistry)return w;x=w.getRootNode(),f(x)||(x=l.get(x)?.getRootNode()||document)}return x.customElements},p=S=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let T=h(w)||window.customElements,L=T._getDefinition(S);return L?g(w,L):i.set(w,T),w}connectedCallback(){let w=a.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let w=a.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=a.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=a.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=a.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=a.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},y=(S,x,w)=>{if(x.size===0||w===void 0)return;let T=S.prototype.setAttribute;T&&(S.prototype.setAttribute=function(B,P){let m=B.toLowerCase();if(x.has(m)){let v=this.getAttribute(m);T.call(this,m,P),w.call(this,m,v,P)}else T.call(this,m,P)});let L=S.prototype.removeAttribute;L&&(S.prototype.removeAttribute=function(B){let P=B.toLowerCase();if(x.has(P)){let m=this.getAttribute(P);L.call(this,P),w.call(this,P,m,null)}else L.call(this,P)});let G=S.prototype.toggleAttribute;G&&(S.prototype.toggleAttribute=function(B,P){let m=B.toLowerCase();if(x.has(m)){let v=this.getAttribute(m);G.call(this,m,P);let I=this.getAttribute(m);w.call(this,m,v,I)}else G.call(this,m,P)})},b=S=>{let x=Object.getPrototypeOf(S);if(x!==window.HTMLElement)return x===e?Object.setPrototypeOf(S,window.HTMLElement):b(x)},g=(S,x,w=!1)=>{Object.setPrototypeOf(S,x.elementClass.prototype),a.set(S,x),d=S;try{new x.elementClass}catch{b(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(T=>{S.hasAttribute(T)&&x.attributeChangedCallback.call(S,T,null,S.getAttribute(T))}),w&&x.connectedCallback&&S.isConnected&&x.connectedCallback.call(S)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let x=O.apply(this,arguments);return S.customElements&&(x.customElements=S.customElements),x};let C=[document],A=(S,x,w=void 0)=>{let T=(w?Object.getPrototypeOf(w):S.prototype)[x];S.prototype[x]=function(){C.push(this);let L=T.apply(w||this,arguments);return L!==void 0&&l.set(L,this),C.pop(),L}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let k=(S,x)=>{let w=Object.getOwnPropertyDescriptor(S.prototype,x);Object.defineProperty(S.prototype,x,{...w,set(T){C.push(this),w.set.call(this,T),C.pop()}})};if(k(Element,"innerHTML"),k(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,x=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...B){let P=x.call(this,...B);return S.set(P,this),P},w.forEach(B=>{let P=window.ElementInternals.prototype,m=P[B];P[B]=function(...v){let I=S.get(this);if(a.get(I).formAssociated===!0)return m?.call(this,...v);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class L{constructor(P){let m=new Map;P.forEach((v,I)=>{let Y=v.getAttribute("name"),K=m.get(Y)||[];this[+I]=v,K.push(v),m.set(Y,K)}),this.length=P.length,m.forEach((v,I)=>{v&&(v.length===1?this[I]=v[0]:this[I]=new T(v))})}namedItem(P){return this[P]}}let G=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let B=G.get.call(this,[]),P=[];for(let m of B){let v=a.get(m);(!v||v.formAssociated===!0)&&P.push(m)}return new L(P)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{t.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}var Oo={};H(Oo,{CSSResult:()=>Yt,LitElement:()=>Ze,ReactiveElement:()=>Fe,_$LE:()=>hu,_$LH:()=>xo,adoptStyles:()=>Er,css:()=>te,defaultConverter:()=>Vt,getCompatibleStyle:()=>dn,html:()=>it,isServer:()=>Ob,mathml:()=>uu,noChange:()=>se,notEqual:()=>Ar,nothing:()=>J,render:()=>vo,supportsAdoptingStyleSheets:()=>Or,svg:()=>du,unsafeCSS:()=>wr});var ln=globalThis,Or=ln.ShadowRoot&&(ln.ShadyCSS===void 0||ln.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fo=Symbol(),Zi=new WeakMap,Yt=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==fo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Or&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Zi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Zi.set(r,t))}return t}toString(){return this.cssText}},wr=e=>new Yt(typeof e=="string"?e:e+"",void 0,fo),te=(e,...t)=>{let r=e.length===1?e[0]:t.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)+e[i+1],e[0]);return new Yt(r,e,fo)},Er=(e,t)=>{if(Or)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=ln.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}},dn=Or?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return wr(r)})(e):e;var{is:tu,defineProperty:ru,getOwnPropertyDescriptor:nu,getOwnPropertyNames:ou,getOwnPropertySymbols:au,getPrototypeOf:iu}=Object,un=globalThis,qi=un.trustedTypes,su=qi?qi.emptyScript:"",cu=un.reactiveElementPolyfillSupport,Cr=(e,t)=>e,Vt={toAttribute(e,t){switch(t){case Boolean:e=e?su:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Ar=(e,t)=>!tu(e,t),Ji={attribute:!0,type:String,converter:Vt,reflect:!1,useDefault:!1,hasChanged:Ar};Symbol.metadata??=Symbol("metadata"),un.litPropertyMetadata??=new WeakMap;var Fe=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ji){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,r);a!==void 0&&ru(this.prototype,t,a)}}static getPropertyDescriptor(t,r,n){let{get:a,set:i}=nu(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ji}static _$Ei(){if(this.hasOwnProperty(Cr("elementProperties")))return;let t=iu(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Cr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Cr("properties"))){let r=this.properties,n=[...ou(r),...au(r)];for(let a of n)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);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(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)r.unshift(dn(a))}else t!==void 0&&r.push(dn(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Er(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$ET(t,r){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Vt).toAttribute(r,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let n=this.constructor,a=n._$Eh.get(t);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:Vt;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,r,n){if(t!==void 0){let a=this.constructor,i=this[t];if(n??=a.getPropertyOptions(t),!((n.hasChanged??Ar)(i,r)||n.useDefault&&n.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,n))))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(r=void 0),this._$AL.set(t,r)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[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){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};Fe.elementStyles=[],Fe.shadowRootOptions={mode:"open"},Fe[Cr("elementProperties")]=new Map,Fe[Cr("finalized")]=new Map,cu?.({ReactiveElement:Fe}),(un.reactiveElementVersions??=[]).push("2.1.0");var ho=globalThis,fn=ho.trustedTypes,Xi=fn?fn.createPolicy("lit-html",{createHTML:e=>e}):void 0,yo="$lit$",Ke=`lit$${Math.random().toFixed(9).slice(2)}$`,mo="?"+Ke,lu=`<${mo}>`,Ot=document,Rr=()=>Ot.createComment(""),kr=e=>e===null||typeof e!="object"&&typeof e!="function",go=Array.isArray,os=e=>go(e)||typeof e?.[Symbol.iterator]=="function",po=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ts=/'/g,rs=/"/g,as=/^(?:script|style|textarea|title)$/i,bo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),it=bo(1),du=bo(2),uu=bo(3),se=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),ns=new WeakMap,St=Ot.createTreeWalker(Ot,129);function is(e,t){if(!go(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xi!==void 0?Xi.createHTML(t):t}var ss=(e,t)=>{let r=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=_r;for(let l=0;l<r;l++){let d=e[l],f,h,p=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===_r?h[1]==="!--"?s=Qi:h[1]!==void 0?s=es:h[2]!==void 0?(as.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=vt):h[3]!==void 0&&(s=vt):s===vt?h[0]===">"?(s=a??_r,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?vt:h[3]==='"'?rs:ts):s===rs||s===ts?s=vt:s===Qi||s===es?s=_r:(s=vt,a=void 0);let b=s===vt&&e[l+1].startsWith("/>")?" ":"";i+=s===_r?d+lu:p>=0?(n.push(f),d.slice(0,p)+yo+d.slice(p)+Ke+b):d+Ke+(p===-2?l:b)}return[is(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Tr=class e{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,h]=ss(t,r);if(this.el=e.createElement(f,n),St.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=St.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(yo)){let y=h[s++],b=a.getAttribute(p).split(Ke),g=/([.?@])?(.*)/.exec(y);d.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?hn:g[1]==="?"?yn:g[1]==="@"?mn:Et}),a.removeAttribute(p)}else p.startsWith(Ke)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(as.test(a.tagName)){let p=a.textContent.split(Ke),y=p.length-1;if(y>0){a.textContent=fn?fn.emptyScript:"";for(let b=0;b<y;b++)a.append(p[b],Rr()),St.nextNode(),d.push({type:2,index:++i});a.append(p[y],Rr())}}}else if(a.nodeType===8)if(a.data===mo)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(Ke,p+1))!==-1;)d.push({type:7,index:i}),p+=Ke.length-1}i++}}static createElement(t,r){let n=Ot.createElement("template");return n.innerHTML=t,n}};function wt(e,t,r=e,n){if(t===se)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=kr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(t=wt(e,a._$AS(e,t.values),a,n)),t}var pn=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,a=(t?.creationScope??Ot).importNode(r,!0);St.currentNode=a;let i=St.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Kt(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new gn(i,this,t)),this._$AV.push(f),d=n[++l]}s!==d?.index&&(i=St.nextNode(),s++)}return St.currentNode=Ot,a}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Kt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=wt(this,t,r),kr(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==se&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):os(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==J&&kr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ot.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Tr.createElement(is(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new pn(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=ns.get(t.strings);return r===void 0&&ns.set(t.strings,r=new Tr(t)),r}k(t){go(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of t)a===r.length?r.push(n=new e(this.O(Rr()),this.O(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(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Et=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,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=J}_$AI(t,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=wt(this,t,r,0),s=!kr(t)||t!==this._$AH&&t!==se,s&&(this._$AH=t);else{let l=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=wt(this,l[n+d],r,d),f===se&&(f=this._$AH[d]),s||=!kr(f)||f!==this._$AH[d],f===J?t=J:t!==J&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},hn=class extends Et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}},yn=class extends Et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},mn=class extends Et{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=wt(this,t,r,0)??J)===se)return;let n=this._$AH,a=t===J&&n!==J||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==J&&(n===J||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},gn=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){wt(this,t)}},xo={M:yo,P:Ke,A:mo,C:1,L:ss,R:pn,D:os,V:wt,I:Kt,H:Et,N:yn,U:mn,B:hn,F:gn},fu=ho.litHtmlPolyfillSupport;fu?.(Tr,Kt),(ho.litHtmlVersions??=[]).push("3.3.0");var vo=(e,t,r)=>{let n=r?.renderBefore??t,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Kt(t.insertBefore(Rr(),i),i,void 0,r??{})}return a._$AI(e),a};var So=globalThis,Ze=class extends Fe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=vo(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return se}};Ze._$litElement$=!0,Ze.finalized=!0,So.litElementHydrateSupport?.({LitElement:Ze});var pu=So.litElementPolyfillSupport;pu?.({LitElement:Ze});var hu={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(So.litElementVersions??=[]).push("4.2.0");var Ob=!1;var Eo={};H(Eo,{customElement:()=>yu,eventOptions:()=>gu,property:()=>M,query:()=>wo,queryAll:()=>xu,queryAssignedElements:()=>Su,queryAssignedNodes:()=>Ou,queryAsync:()=>vu,standardProperty:()=>cs,state:()=>Ue});var yu=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var mu={attribute:!0,type:String,converter:Vt,reflect:!1,hasChanged:Ar},cs=(e=mu,t,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function M(e){return(t,r)=>typeof r=="object"?cs(e,t,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function Ue(e){return M({...e,state:!0,attribute:!1})}function gu(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var ke=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function wo(e,t){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return ke(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return ke(r,n,{get(){return i(this)}})}}var bu;function xu(e){return(t,r)=>ke(t,r,{get(){return(this.renderRoot??(bu??=document.createDocumentFragment())).querySelectorAll(e)}})}function vu(e){return(t,r)=>ke(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Su(e){return(t,r)=>{let{slot:n,selector:a}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ke(t,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(e)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function Ou(e){return(t,r)=>{let{slot:n}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ke(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var Co={};H(Co,{repeat:()=>xn});var Be={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Te=e=>(...t)=>({_$litDirective$:e,values:t}),Oe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:wu}=xo;var ds=e=>e.strings===void 0,ls=()=>document.createComment(""),Zt=(e,t,r)=>{let n=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=n.insertBefore(ls(),a),s=n.insertBefore(ls(),a);r=new wu(i,s,e,e.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||l){let d=r._$AA;for(;d!==i;){let f=d.nextSibling;n.insertBefore(d,a),d=f}}}return r},st=(e,t,r=e)=>(e._$AI(t,r),e),Eu={},us=(e,t=Eu)=>e._$AH=t,fs=e=>e._$AH,bn=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var ps=(e,t,r)=>{let n=new Map;for(let a=t;a<=r;a++)n.set(e[a],a);return n},xn=Te(class extends Oe{constructor(e){if(super(e),e.type!==Be.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let a=[],i=[],s=0;for(let l of e)a[s]=n?n(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,n]){let a=fs(e),{values:i,keys:s}=this.dt(t,r,n);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,h,p=0,y=a.length-1,b=0,g=i.length-1;for(;p<=y&&b<=g;)if(a[p]===null)p++;else if(a[y]===null)y--;else if(l[p]===s[b])d[b]=st(a[p],i[b]),p++,b++;else if(l[y]===s[g])d[g]=st(a[y],i[g]),y--,g--;else if(l[p]===s[g])d[g]=st(a[p],i[g]),Zt(e,d[g+1],a[p]),p++,g--;else if(l[y]===s[b])d[b]=st(a[y],i[b]),Zt(e,a[p],a[y]),y--,b++;else if(f===void 0&&(f=ps(s,b,g),h=ps(l,p,y)),f.has(l[p]))if(f.has(l[y])){let O=h.get(s[b]),C=O!==void 0?a[O]:null;if(C===null){let A=Zt(e,a[p]);st(A,i[b]),d[b]=A}else d[b]=st(C,i[b]),Zt(e,a[p],C),a[O]=null;b++}else bn(a[y]),y--;else bn(a[p]),p++;for(;b<=g;){let O=Zt(e,d[g+1]);st(O,i[b]),d[b++]=O}for(;p<=y;){let O=a[p++];O!==null&&bn(O)}return this.ut=s,us(e,d),se}});var Ao={};H(Ao,{classMap:()=>Cu});var Cu=Te(class extends Oe{constructor(e){if(super(e),e.type!==Be.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.st)n in t||(r.remove(n),this.st.delete(n));for(let n in t){let a=!!t[n];a===this.st.has(n)||this.nt?.has(n)||(a?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return se}});var _o={};H(_o,{styleMap:()=>_u});var hs="important",Au=" !"+hs,_u=Te(class extends Oe{constructor(e){if(super(e),e.type!==Be.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let a=t[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(Au);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?hs:""):r[n]=a}}return se}});var Ro={};H(Ro,{UnsafeHTMLDirective:()=>qt,unsafeHTML:()=>Ru});var qt=class extends Oe{constructor(t){if(super(t),this.it=J,t.type!==Be.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||t==null)return this._t=void 0,this.it=t;if(t===se)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};qt.directiveName="unsafeHTML",qt.resultType=1;var Ru=Te(qt);var Uo={};H(Uo,{CacheRegistry:()=>Fo,ClearCacheEvent:()=>Lr});var To={};H(To,{CancelablePromise:()=>vn,CanceledPromiseError:()=>Ir,cancelable:()=>ko});var Ir=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},vn=class extends Promise{constructor(t){super((r,n)=>t(a=>{this.isCanceled?n(new Ir("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new Ir("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ko=e=>new vn((t,r)=>e.then(t).catch(r));var Mo={};H(Mo,{FtNotificationEvent:()=>Nr,PostResizeEvent:()=>Do,PreResizeEvent:()=>Lo,WithEventBus:()=>_t,withEventBus:()=>Os});var No={};H(No,{applyMixinOnce:()=>be,dateReviver:()=>Iu,deepCopy:()=>Po,deepEqual:()=>Pr,delay:()=>ys,eventPathContainsMatchingElement:()=>Nu,everyDeep:()=>Tu,flatDeep:()=>gs,forEachDeep:()=>bs,getComposedPathTo:()=>Io,hasChanged:()=>Ct,last:()=>Lu,minmax:()=>At,parseDate:()=>vs,randomId:()=>Du,someDeep:()=>xs,unslotText:()=>Ss,waitFor:()=>ms,waitUntil:()=>ku});var ys=e=>new Promise(t=>setTimeout(t,e));async function ku(e,t=10,r=2e4){await ms(async()=>await e()||void 0,t,r)}async function ms(e,t=10,r=2e4){let n=await e(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await ys(t),n=await e(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function gs(e,t){return e.flatMap(r=>[r,...gs(t(r),t)])}function bs(e,t,r){let n=(a,i)=>{var s;for(let l=0;l<a.length;l++){let d=a[l];if(!(((s=r(d,l,a,i))!==null&&s!==void 0?s:!0)&&n(t(d),[...i,d])))return!1}return!0};n(e,[])}function xs(e,t,r){let n=!1;return bs(e,t,(a,i,s,l)=>(n=!!r(a,i,s,l),!n)),n}function Tu(e,t,r){return!xs(e,t,(n,a,i,s)=>!r(n,a,i,s))}function Iu(...e){return(t,r)=>e.includes(t)?vs(r):r}function vs(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,a)=>r+n+":"+a),new Date(e)}function Pu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Pr(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Pr(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!Pr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Pr(e,t){try{return Pu(e,t)}catch{return!1}}function Ct(e,t){return!Pr(e,t)}function Nu(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function At(e,t,r){return Math.min(Math.max(e,t),r)}function Lu(e){return e[e.length-1]}function Ss(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Ss(t)).join(""):e?.textContent||""}function Io(e){let t=[],r=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Po(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Du(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function be(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let a=t(n);return a[e]=!0,a}}var Nr=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Lo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Do=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Os=be(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}),_t=class extends Os(Object){};var Lr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Fo=class extends _t{constructor(){super(...arguments),this.content={}}register(t,r,n=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:n,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let n=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new Lr(n)),n}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new Lr([t])),t}forceClear(t){var r;let n=this.content[t];n&&(this.clearClearTimeout(t),(r=n.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var r,n,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,n=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:n,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,n){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=ko(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,n!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),n)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,n;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Go={};H(Go,{ClusteringHelper:()=>$o,formatHierarchicalValues:()=>Ho});var Wo={};H(Wo,{accessBreadcrumb:()=>Uu,accessResult:()=>Bo,accessResultId:()=>Mu,accessResultUrl:()=>Fu});function Bo(e){var t,r,n,a;return(a=(n=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&a!==void 0?a:e?.htmlPackagePage}function Mu(e){var t,r,n,a,i,s,l,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&r!==void 0?r:(n=e?.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(l=e?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function Fu(e){var t,r,n,a,i,s,l,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.readerUrl)!==null&&r!==void 0?r:(n=e?.topic)===null||n===void 0?void 0:n.readerUrl)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(l=e?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function Uu(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function Ho(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var $o=class e{constructor(t,r,n,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static findResultWithMetadataValue(t,r,n){return t?.find(a=>{var i;return((i=this.extractResultMetadata({result:a}).find(s=>s.key==r))===null||i===void 0?void 0:i.value)==n})}static extractResultMetadata(t){let r=Bo(t.result).metadata;return t.key==null?e.flattenMetadata(r,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(r.find(n=>n.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,n){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(l=>{i.push(Ho(l)),s.push(Ho(l,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,n="No value",a,i){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(p=>e.extractResultMetadata({result:p,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:t,label:f,value:void 0,displayValue:n}).filter(p=>p.value!=d?.value).filter((p,y,b)=>b.findIndex(g=>g.value===p.value)===y).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,y)=>this.compareMetadata(p.metadata.value,y.metadata.value,t,r))}compareMetadata(t,r,n,a){if(t==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 d=t.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let f=this.countMatchingMetadata(d,i);if(f>l&&(l=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var zo={};H(zo,{Debouncer:()=>Dr});var Dr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>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 Yo={};H(Yo,{customElement:()=>jo,dateProperty:()=>Wu,isNumber:()=>Es,jsonProperty:()=>Rt,numberProperty:()=>ws,optionalNumberProperty:()=>Bu});var jo=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Rt(e,t){let r=()=>JSON.parse(JSON.stringify(e));return M({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ct,...t??{}})}function Bu(e){return ws(e)}function ws(e){return M({type:Object,converter:{fromAttribute:t=>{var r,n;if(t==null)return;let a=(r=e?.min)!==null&&r!==void 0?r:-1/0,i=(n=e?.max)!==null&&n!==void 0?n:1/0;return Es(t)?At(a,+t,i):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function Es(e){return!isNaN(parseFloat(e))}function Wu(e){return M({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let r=new Date(Date.parse(t));if(!isNaN(r.valueOf()))return r},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var qo={};H(qo,{designSystemVariables:()=>Ef});var Zo={};H(Zo,{DesignSystemFamily:()=>Mr,DesignSystemSize:()=>Fr,FtCssVariableFactory:()=>o,badge:()=>Qu,banner:()=>Xu,button:()=>Gu,card:()=>ju,chart:()=>mf,checkbox:()=>Yu,chip:()=>qu,chipChoice:()=>Zu,collapsible:()=>hf,combobox:()=>ff,dateRangePicker:()=>wf,drawer:()=>af,floatingMenu:()=>df,foundation:()=>c,link:()=>Ju,menuItem:()=>uf,modal:()=>of,notice:()=>bf,notification:()=>vf,pageDesigner:()=>gf,pageFooter:()=>rf,pageHeader:()=>tf,pageLayout:()=>nf,popover:()=>pf,radio:()=>Vu,reorderableList:()=>Of,resolveFamilyClass:()=>Vo,resolveSizeClass:()=>Ko,semantic:()=>u,setVariable:()=>Jt,switch_:()=>yf,table:()=>Ku,tabs:()=>sf,textArea:()=>lf,textInput:()=>cf,titleBreadcrumb:()=>ef,toggle:()=>xf,tooltip:()=>Sf,treeList:()=>zu,typographies:()=>Hu,typographyBody1Medium:()=>Ts,typographyBody1Regular:()=>ks,typographyBody1Semibold:()=>Is,typographyBody2Medium:()=>Ns,typographyBody2MediumUnderline:()=>Ls,typographyBody2Regular:()=>Ps,typographyBody2Semibold:()=>Ds,typographyCaption1Medium:()=>Ms,typographyCaption1Semibold:()=>Fs,typographyCaption2Bold:()=>Ws,typographyCaption2Medium:()=>Us,typographyCaption2Semibold:()=>Bs,typographyDisplay:()=>Cs,typographyTitle1:()=>As,typographyTitle2:()=>_s,typographyTitle3:()=>Rs,typographyVariants:()=>$u});var ct=e=>typeof e=="string"?wr(e):e,o=class{static create(t,r,n,a){let i=l=>ct(l??a),s=te`var(${ct(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Jt(s,l??i(a)),s.get=l=>te`var(${ct(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,n,a){let i=l=>n.get(l??a),s=te`var(${ct(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Jt(s,l??i(a)),s.get=l=>te`var(${ct(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,r){let n=i=>t.defaultCssValue(i),a=te`var(${ct(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>te`var(${ct(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Jt(e,t){return ct(`${e.name}: ${t}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},Cs={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},As={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},_s={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Rs={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},ks={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Ts={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Is={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Ps={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ns={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Ls={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ds={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ms={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Fs={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Us={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Bs={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ws={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Hu={display:Cs,"title-1":As,"title-2":_s,"title-3":Rs,"body-1-regular":ks,"body-1-medium":Ts,"body-1-semibold":Is,"body-2-regular":Ps,"body-2-medium":Ns,"body-2-medium-underline":Ls,"body-2-semibold":Ds,"caption-1-medium":Ms,"caption-1-semibold":Fs,"caption-2-medium":Us,"caption-2-semibold":Bs,"caption-2-bold":Ws},$u=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Gu={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var zu={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var ju={borderColor:o.extend("--ftds-card-border-color","",u.borderGlobalSecondary),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),borderRadius:o.extend("--ftds-card-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-card-background-color","",u.backgroundGlobalOnSurface),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.spacing1)};var Yu={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Vu={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Ku={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Zu={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var qu={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Ju={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var Xu={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Qu={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var ef={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var tf={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var rf={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var nf={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var of={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var af={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var sf={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var cf={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var lf={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var df={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var uf={multiselectCheckedStateLayerColor:o.extend("--ftds-menu-item-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-menu-item-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-menu-item-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-menu-item-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-menu-item-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-menu-item-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-menu-item-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-menu-item-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-menu-item-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-menu-item-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-menu-item-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-menu-item-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-menu-item-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-menu-item-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-menu-item-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-menu-item-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-menu-item-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-menu-item-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-menu-item-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-menu-item-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-menu-item-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-menu-item-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-menu-item-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-default-checked-focus-state-layer-opacity","",c.opacity24),defaultCheckedStateLayerColor:o.extend("--ftds-menu-item-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-menu-item-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-menu-item-default-checked-icon-color","",u.contentActionPrimary)};var ff={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),valuesHorizontalGap:o.extend("--ftds-combobox-values-horizontal-gap","",c.spacing2),valuesVerticalGap:o.extend("--ftds-combobox-values-vertical-gap","",c.spacing2)};var pf={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var hf={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var yf={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var mf={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var gf={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var bf={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var xf={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var vf={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Sf={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var Of={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var wf={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Mr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Mr||(Mr={}));var Fr;(function(e){e.large="large",e.medium="medium",e.small="small"})(Fr||(Fr={}));function Vo(e){return`ftds--family-${e}`}function Ko(e){return`ftds--size-${e}`}var Ef={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)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),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","","SHADOW","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","","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)"),elevation02:o.create("--ft-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)"),elevation03:o.create("--ft-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)"),elevation04:o.create("--ft-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)"),elevation06:o.create("--ft-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)"),elevation08:o.create("--ft-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)"),elevation12:o.create("--ft-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)"),elevation16:o.create("--ft-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)"),elevation24:o.create("--ft-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)"),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 Jo={};H(Jo,{DynamicImporter:()=>Sn,dynamicImporter:()=>Cf});var Sn=class{async import(t){if(t)return import(t)}},Cf=new Sn;var da={};H(da,{computeOffsetAutoPosition:()=>Zf,computeOffsetPosition:()=>Kf});var $s=["top","right","bottom","left"],Hs=["start","end"],Qo=$s.reduce((e,t)=>e.concat(t,t+"-"+Hs[0],t+"-"+Hs[1]),[]),kt=Math.min,he=Math.max,Ur=Math.round;var Ie=e=>({x:e,y:e}),Af={left:"right",right:"left",bottom:"top",top:"bottom"};function ea(e,t,r){return he(e,kt(t,r))}function Xt(e,t){return typeof e=="function"?e(t):e}function lt(e){return e.split("-")[0]}function We(e){return e.split("-")[1]}function ta(e){return e==="x"?"y":"x"}function ra(e){return e==="y"?"height":"width"}function Qt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function na(e){return ta(Qt(e))}function Gs(e,t,r){r===void 0&&(r=!1);let n=We(e),a=na(e),i=ra(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Xo(s)),[s,Xo(s)]}function zs(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Xo(e){let t=lt(e);return Af[t]+e.slice(t.length)}function _f(e){return{top:0,right:0,bottom:0,left:0,...e}}function js(e){return typeof e!="number"?_f(e):{top:e,right:e,bottom:e,left:e}}function Tt(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Ys(e,t,r){let{reference:n,floating:a}=e,i=Qt(t),s=na(t),l=ra(s),d=lt(t),f=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,y=n[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:p};break;case"left":b={x:n.x-a.width,y:p};break;default:b={x:n.x,y:n.y}}switch(We(t)){case"start":b[s]-=y*(r&&f?-1:1);break;case"end":b[s]+=y*(r&&f?-1:1);break}return b}async function Vs(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:y=!1,padding:b=0}=Xt(t,e),g=js(b),C=l[y?p==="floating"?"reference":"floating":p],A=Tt(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(C)))==null||r?C:C.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),k=p==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),x=await(i.isElement==null?void 0:i.isElement(S))?await(i.getScale==null?void 0:i.getScale(S))||{x:1,y:1}:{x:1,y:1},w=Tt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:k,offsetParent:S,strategy:d}):k);return{top:(A.top-w.top+g.top)/x.y,bottom:(w.bottom-A.bottom+g.bottom)/x.y,left:(A.left-w.left+g.left)/x.x,right:(w.right-A.right+g.right)/x.x}}var Rf=50,Ks=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Vs},d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=Ys(f,n,d),y=n,b=0,g={};for(let O=0;O<i.length;O++){let C=i[O];if(!C)continue;let{name:A,fn:k}=C,{x:S,y:x,data:w,reset:T}=await k({x:h,y:p,initialPlacement:n,placement:y,strategy:a,middlewareData:g,rects:f,platform:l,elements:{reference:e,floating:t}});h=S??h,p=x??p,g[A]={...g[A],...w},T&&b<Rf&&(b++,typeof T=="object"&&(T.placement&&(y=T.placement),T.rects&&(f=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):T.rects),{x:h,y:p}=Ys(f,y,d)),O=-1)}return{x:h,y:p,placement:y,strategy:a,middlewareData:g}};function kf(e,t,r){return(e?[...r.filter(a=>We(a)===e),...r.filter(a=>We(a)!==e)]:r.filter(a=>lt(a)===a)).filter(a=>e?We(a)===e||(t?zs(a)!==a:!1):!0)}var Zs=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:y=Qo,autoAlignment:b=!0,...g}=Xt(e,t),O=p!==void 0||y===Qo?kf(p||null,b,y):y,C=await d.detectOverflow(t,g),A=((r=s.autoPlacement)==null?void 0:r.index)||0,k=O[A];if(k==null)return{};let S=Gs(k,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==k)return{reset:{placement:O[0]}};let x=[C[lt(k)],C[S[0]],C[S[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:x}],T=O[A+1];if(T)return{data:{index:A+1,overflows:w},reset:{placement:T}};let L=w.map(P=>{let m=We(P.placement);return[P.placement,m&&h?P.overflows.slice(0,2).reduce((v,I)=>v+I,0):P.overflows[0],P.overflows]}).sort((P,m)=>P[1]-m[1]),B=((a=L.filter(P=>P[2].slice(0,We(P[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||L[0][0];return B!==l?{data:{index:A+1,overflows:w},reset:{placement:B}}:{}}}};var Tf=new Set(["left","top"]);async function If(e,t){let{placement:r,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=lt(r),l=We(r),d=Qt(r)==="y",f=Tf.has(s)?-1:1,h=i&&d?-1:1,p=Xt(t,e),{mainAxis:y,crossAxis:b,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(b=l==="end"?g*-1:g),d?{x:b*h,y:y*f}:{x:y*f,y:b*h}}var qs=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await If(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Js=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:A=>{let{x:k,y:S}=A;return{x:k,y:S}}},...f}=Xt(e,t),h={x:r,y:n},p=await i.detectOverflow(t,f),y=Qt(lt(a)),b=ta(y),g=h[b],O=h[y];if(s){let A=b==="y"?"top":"left",k=b==="y"?"bottom":"right",S=g+p[A],x=g-p[k];g=ea(S,g,x)}if(l){let A=y==="y"?"top":"left",k=y==="y"?"bottom":"right",S=O+p[A],x=O-p[k];O=ea(S,O,x)}let C=d.fn({...t,[b]:g,[y]:O});return{...C,data:{x:C.x-r,y:C.y-n,enabled:{[b]:s,[y]:l}}}}}};var Xs=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;let{placement:a,rects:i,platform:s,elements:l}=t,{apply:d=()=>{},...f}=Xt(e,t),h=await s.detectOverflow(t,f),p=lt(a),y=We(a),b=Qt(a)==="y",{width:g,height:O}=i.floating,C,A;p==="top"||p==="bottom"?(C=p,A=y===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(A=p,C=y==="end"?"top":"bottom");let k=O-h.top-h.bottom,S=g-h.left-h.right,x=kt(O-h[C],k),w=kt(g-h[A],S),T=!t.middlewareData.shift,L=x,G=w;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(G=S),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(L=k),T&&!y){let P=he(h.left,0),m=he(h.right,0),v=he(h.top,0),I=he(h.bottom,0);b?G=g-2*(P!==0||m!==0?P+m:he(h.left,h.right)):L=O-2*(v!==0||I!==0?v+I:he(h.top,h.bottom))}await d({...t,availableWidth:G,availableHeight:L});let B=await s.getDimensions(l.floating);return g!==B.width||O!==B.height?{reset:{rects:!0}}:{}}}};function wn(){return typeof window<"u"}function Pt(e){return ec(e)?(e.nodeName||"").toLowerCase():"#document"}function ye(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function He(e){var t;return(t=(ec(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ec(e){return wn()?e instanceof Node||e instanceof ye(e).Node:!1}function we(e){return wn()?e instanceof Element||e instanceof ye(e).Element:!1}function $e(e){return wn()?e instanceof HTMLElement||e instanceof ye(e).HTMLElement:!1}function Qs(e){return!wn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ye(e).ShadowRoot}function er(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=Ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function tc(e){return/^(table|td|th)$/.test(Pt(e))}function Br(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Pf=/transform|translate|scale|rotate|perspective|filter/,Nf=/paint|layout|strict|content/,It=e=>!!e&&e!=="none",oa;function En(e){let t=we(e)?Ee(e):e;return It(t.transform)||It(t.translate)||It(t.scale)||It(t.rotate)||It(t.perspective)||!Cn()&&(It(t.backdropFilter)||It(t.filter))||Pf.test(t.willChange||"")||Nf.test(t.contain||"")}function rc(e){let t=qe(e);for(;$e(t)&&!Nt(t);){if(En(t))return t;if(Br(t))return null;t=qe(t)}return null}function Cn(){return oa==null&&(oa=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),oa}function Nt(e){return/^(html|body|#document)$/.test(Pt(e))}function Ee(e){return ye(e).getComputedStyle(e)}function Wr(e){return we(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function qe(e){if(Pt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Qs(e)&&e.host||He(e);return Qs(t)?t.host:t}function nc(e){let t=qe(e);return Nt(t)?e.ownerDocument?e.ownerDocument.body:e.body:$e(t)&&er(t)?t:nc(t)}function On(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=nc(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=ye(a);if(i){let l=An(s);return t.concat(s,s.visualViewport||[],er(a)?a:[],l&&r?On(l):[])}else return t.concat(a,On(a,[],r))}function An(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sc(e){let t=Ee(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=$e(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,l=Ur(r)!==i||Ur(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function cc(e){return we(e)?e:e.contextElement}function tr(e){let t=cc(e);if(!$e(t))return Ie(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=sc(t),s=(i?Ur(r.width):r.width)/n,l=(i?Ur(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Lf=Ie(0);function lc(e){let t=ye(e);return!Cn()||!t.visualViewport?Lf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Df(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ye(e)?!1:t}function Hr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=cc(e),s=Ie(1);t&&(n?we(n)&&(s=tr(n)):s=tr(e));let l=Df(i,r,n)?lc(i):Ie(0),d=(a.left+l.x)/s.x,f=(a.top+l.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let y=ye(i),b=n&&we(n)?ye(n):n,g=y,O=An(g);for(;O&&n&&b!==g;){let C=tr(O),A=O.getBoundingClientRect(),k=Ee(O),S=A.left+(O.clientLeft+parseFloat(k.paddingLeft))*C.x,x=A.top+(O.clientTop+parseFloat(k.paddingTop))*C.y;d*=C.x,f*=C.y,h*=C.x,p*=C.y,d+=S,f+=x,g=ye(O),O=An(g)}}return Tt({width:h,height:p,x:d,y:f})}function _n(e,t){let r=Wr(e).scrollLeft;return t?t.left+r:Hr(He(e)).left+r}function dc(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-_n(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function Mf(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=He(n),l=t?Br(t.floating):!1;if(n===s||l&&i)return r;let d={scrollLeft:0,scrollTop:0},f=Ie(1),h=Ie(0),p=$e(n);if((p||!p&&!i)&&((Pt(n)!=="body"||er(s))&&(d=Wr(n)),p)){let b=Hr(n);f=tr(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let y=s&&!p&&!i?dc(s,d):Ie(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+h.x+y.x,y:r.y*f.y-d.scrollTop*f.y+h.y+y.y}}function Ff(e){return Array.from(e.getClientRects())}function Uf(e){let t=He(e),r=Wr(e),n=e.ownerDocument.body,a=he(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=he(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+_n(e),l=-r.scrollTop;return Ee(n).direction==="rtl"&&(s+=he(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var oc=25;function Bf(e,t){let r=ye(e),n=He(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let h=Cn();(!h||h&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}let f=_n(n);if(f<=0){let h=n.ownerDocument,p=h.body,y=getComputedStyle(p),b=h.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,g=Math.abs(n.clientWidth-p.clientWidth-b);g<=oc&&(i-=g)}else f<=oc&&(i+=f);return{width:i,height:s,x:l,y:d}}function Wf(e,t){let r=Hr(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=$e(e)?tr(e):Ie(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=n*i.y;return{width:s,height:l,x:d,y:f}}function ac(e,t,r){let n;if(t==="viewport")n=Bf(e,r);else if(t==="document")n=Uf(He(e));else if(we(t))n=Wf(t,r);else{let a=lc(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Tt(n)}function uc(e,t){let r=qe(e);return r===t||!we(r)||Nt(r)?!1:Ee(r).position==="fixed"||uc(r,t)}function Hf(e,t){let r=t.get(e);if(r)return r;let n=On(e,[],!1).filter(l=>we(l)&&Pt(l)!=="body"),a=null,i=Ee(e).position==="fixed",s=i?qe(e):e;for(;we(s)&&!Nt(s);){let l=Ee(s),d=En(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||er(s)&&!d&&uc(e,s))?n=n.filter(h=>h!==s):a=l,s=qe(s)}return t.set(e,n),n}function $f(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?Br(t)?[]:Hf(t,this._c):[].concat(r),n],l=ac(t,s[0],a),d=l.top,f=l.right,h=l.bottom,p=l.left;for(let y=1;y<s.length;y++){let b=ac(t,s[y],a);d=he(b.top,d),f=kt(b.right,f),h=kt(b.bottom,h),p=he(b.left,p)}return{width:f-p,height:h-d,x:p,y:d}}function Gf(e){let{width:t,height:r}=sc(e);return{width:t,height:r}}function zf(e,t,r){let n=$e(t),a=He(t),i=r==="fixed",s=Hr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=Ie(0);function f(){d.x=_n(a)}if(n||!n&&!i)if((Pt(t)!=="body"||er(a))&&(l=Wr(t)),n){let b=Hr(t,!0,i,t);d.x=b.x+t.clientLeft,d.y=b.y+t.clientTop}else a&&f();i&&!n&&a&&f();let h=a&&!n&&!i?dc(a,l):Ie(0),p=s.left+l.scrollLeft-d.x-h.x,y=s.top+l.scrollTop-d.y-h.y;return{x:p,y,width:s.width,height:s.height}}function aa(e){return Ee(e).position==="static"}function ic(e,t){if(!$e(e)||Ee(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return He(e)===r&&(r=r.ownerDocument.body),r}function fc(e,t){let r=ye(e);if(Br(e))return r;if(!$e(e)){let a=qe(e);for(;a&&!Nt(a);){if(we(a)&&!aa(a))return a;a=qe(a)}return r}let n=ic(e,t);for(;n&&tc(n)&&aa(n);)n=ic(n,t);return n&&Nt(n)&&aa(n)&&!En(n)?r:n||rc(e)||r}var jf=async function(e){let t=this.getOffsetParent||fc,r=this.getDimensions,n=await r(e.floating);return{reference:zf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Yf(e){return Ee(e).direction==="rtl"}var rr={convertOffsetParentRelativeRectToViewportRelativeRect:Mf,getDocumentElement:He,getClippingRect:$f,getOffsetParent:fc,getElementRects:jf,getClientRects:Ff,getDimensions:Gf,getScale:tr,isElement:we,isRTL:Yf};var pc=qs,ia=Zs,hc=Js;var yc=Xs;var sa=(e,t,r)=>{let n=new Map,a={platform:rr,...r},i={...a.platform,_c:n};return Ks(e,t,{...a,platform:i})};function la(e){return Vf(e)}function ca(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Vf(e){for(let t=e;t;t=ca(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ca(e);t;t=ca(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Kf(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},sa(e,t,{strategy:n.strategy,platform:{...rr,getOffsetParent:a=>rr.getOffsetParent(a,la)},middleware:[hc({crossAxis:!0}),ia({allowedPlacements:[n.placement]})]})}async function Zf(e,t,r,n,a,i,s){let l,d;return typeof r=="object"?(l=r.placement,n=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,sa(e,t,{placement:l,strategy:a,platform:{...rr,getOffsetParent:f=>rr.getOffsetParent(f,la)},middleware:[pc(s??4),ia({allowedPlacements:n}),yc({apply({availableHeight:f,availableWidth:h,elements:p}){typeof i=="string"&&(i=`var(${i})`),i?p.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${i})`:p.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?p.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:p.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var ua={};H(ua,{isSlotEmptyOrWithoutContent:()=>qf});var qf=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var a;return n.nodeType===Node.TEXT_NODE?((a=n.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var ga={};H(ga,{FtdsBase:()=>ma,toFtdsBase:()=>Oc});var ya={};H(ya,{ExportpartsUpdatedEvent:()=>Lt,FtLitElement:()=>pe});var fa={};H(fa,{ScopedRegistryLitElement:()=>$r});var $r=class extends Ze{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Er(n,t.elementStyles),n}};var ha={};H(ha,{shadowQuerySelector:()=>pa,shadowQuerySelectorAll:()=>Jf});function pa(e,t,...r){var n;let a=e.querySelector(t);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Jf(e,t,...r){let n=[...e.querySelectorAll(t)];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 nr=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},xc,mc=Symbol("constructorPrototype"),gc=Symbol("constructorName"),vc=Symbol("exportpartsDebouncer"),bc=Symbol("dynamicDependenciesLoaded"),Lt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Lt.eventName="exportparts-updated";var pe=class extends $r{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[xc]=new Dr(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[vc].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)})},this[gc]=this.constructor.name,this[mc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[gc]&&Object.setPrototypeOf(this,this[mc])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[bc]||(r[bc]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Lt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Lt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Lt)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=pa(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){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(t.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)}}setExportpartsAttribute(t){var r,n,a,i,s,l;let d=y=>y!=null&&y.trim().length>0,f=t.filter(d).map(y=>y.trim());if(f.length===0){this.exportparts=void 0;return}let h=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[],O=[...b,...g].filter(d).map(C=>C.trim());for(let C of O)h.add(C)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(y=>f.map(b=>`${y}:${b}--${y}`));this.exportparts=[...this.part,...p].join(", ")}};xc=vc;nr([M()],pe.prototype,"exportpartsPrefix",void 0);nr([Rt([])],pe.prototype,"exportpartsPrefixes",void 0);nr([M({reflect:!0})],pe.prototype,"exportparts",void 0);nr([M()],pe.prototype,"customStylesheet",void 0);nr([M()],pe.prototype,"elementToFocus",void 0);nr([Ue()],pe.prototype,"useAdoptedStyleSheets",void 0);var Sc=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Oc=be(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Fr.medium,this.family=Mr.neutral}getDesignSystemBaseClasses(){return{[Vo(this.family)]:!0,[Ko(this.size)]:!0}}}return Sc([M()],t.prototype,"size",void 0),Sc([M()],t.prototype,"family",void 0),t}),ma=class extends Oc(pe){};var wc={};var xa={};H(xa,{highlightHtml:()=>ep,highlightHtmlColorCssVariable:()=>Ec,highlightHtmlStyles:()=>Qf});var Dt=class e{constructor(t,r=!0,n=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(t,r){let n=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(t,r,n,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,n(h)),d()},d)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let a=t.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(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(t,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(t,r,n,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(t,r,n,a,i){let s=this.createIterator(r,t,a),l=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(f,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(t,b=>d.push(b),a)}),d.push(f);d.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,t,n,a),i()}forEachNode(t,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var Gr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Dt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",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),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){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`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.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(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((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(t,r){let n,a,i=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),a=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:a,valid:i}}checkWhitespaceRanges(t,r,n){let a,i=!0,s=n.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){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,()=>{t({value:r,nodes:n})})}matchesExclude(t){return Dt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let a=this.opt.element?this.opt.element:"mark",i=t.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(t,r,n,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(n>s.end?s.end:n)-s.start,p=t.value.substr(0,s.start),y=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+y,t.nodes.forEach((b,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let p=1;p<s;p++)f+=d[p].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,p=>n(d[s],p),(p,y)=>{t.lastIndex=y,a(p)})}i()})}wrapRangeFromIndex(t,r,n,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(l,s,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,y=>r(y,l,i.value.substring(f,h),d),y=>{n(y,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(y,b)=>this.opt.filter(b,f,n,p),y=>{p++,n++,this.opt.each(y)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(n):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(t,r){this.opt=r;let n=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Dt.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ba(e){let t=new Gr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var Xf=ba,Ec=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Qf=te`
|
|
1
|
+
"use strict";(()=>{var Zd=Object.create;var uo=Object.defineProperty;var qd=Object.getOwnPropertyDescriptor;var Jd=Object.getOwnPropertyNames;var Xd=Object.getPrototypeOf,Qd=Object.prototype.hasOwnProperty;var Zi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var eu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),H=(e,t)=>{for(var r in t)uo(e,r,{get:t[r],enumerable:!0})},tu=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Jd(t))!Qd.call(e,a)&&a!==r&&uo(e,a,{get:()=>t[a],enumerable:!(n=qd(t,a))||n.enumerable});return e};var ru=(e,t,r)=>(r=e!=null?Zd(Xd(e)):{},tu(t||!e||!e.__esModule?uo(r,"default",{value:e,enumerable:!0}):r,e));var cl=eu((yt,sl)=>{var Mn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Fn=function(){function e(){this.fetch=!1,this.DOMException=Mn.DOMException}return e.prototype=Mn,new e}();(function(e){var t=function(r){var n=typeof e<"u"&&e||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 d(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 f(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var v={next:function(){var I=m.shift();return{done:I===void 0,value:I}}};return a.iterable&&(v[Symbol.iterator]=function(){return v}),v}function p(m){this.map={},m instanceof p?m.forEach(function(v,I){this.append(I,v)},this):Array.isArray(m)?m.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(v){this.append(v,m[v])},this)}p.prototype.append=function(m,v){m=d(m),v=f(v);var I=this.map[m];this.map[m]=I?I+", "+v:v},p.prototype.delete=function(m){delete this.map[d(m)]},p.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},p.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},p.prototype.set=function(m,v){this.map[d(m)]=f(v)},p.prototype.forEach=function(m,v){for(var I in this.map)this.map.hasOwnProperty(I)&&m.call(v,this.map[I],I,this)},p.prototype.keys=function(){var m=[];return this.forEach(function(v,I){m.push(I)}),h(m)},p.prototype.values=function(){var m=[];return this.forEach(function(v){m.push(v)}),h(m)},p.prototype.entries=function(){var m=[];return this.forEach(function(v,I){m.push([I,v])}),h(m)},a.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function y(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function b(m){return new Promise(function(v,I){m.onload=function(){v(m.result)},m.onerror=function(){I(m.error)}})}function g(m){var v=new FileReader,I=b(v);return v.readAsArrayBuffer(m),I}function O(m){var v=new FileReader,I=b(v),Y=/charset=([A-Za-z0-9_-]+)/.exec(m.type),K=Y?Y[1]:"utf-8";return v.readAsText(m,K),I}function C(m){for(var v=new Uint8Array(m),I=new Array(v.length),Y=0;Y<v.length;Y++)I[Y]=String.fromCharCode(v[Y]);return I.join("")}function A(m){if(m.slice)return m.slice(0);var v=new Uint8Array(m.byteLength);return v.set(new Uint8Array(m)),v.buffer}function T(){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=y(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=y(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(g);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(C(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(k)}),this.json=function(){return this.text().then(JSON.parse)},this}var S=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function x(m){var v=m.toUpperCase();return S.indexOf(v)>-1?v:m}function w(m,v){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var I=v.body;if(m instanceof w){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,v.headers||(this.headers=new p(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!I&&m._bodyInit!=null&&(I=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new p(v.headers)),this.method=x(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var W=new AbortController;return W.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(I),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var Y=/([?&])_=[^&]*/;if(Y.test(this.url))this.url=this.url.replace(Y,"$1_="+new Date().getTime());else{var K=/\?/;this.url+=(K.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function k(m){var v=new FormData;return m.trim().split("&").forEach(function(I){if(I){var Y=I.split("="),K=Y.shift().replace(/\+/g," "),W=Y.join("=").replace(/\+/g," ");v.append(decodeURIComponent(K),decodeURIComponent(W))}}),v}function N(m){var v=new p,I=m.replace(/\r?\n[\t ]+/g," ");return I.split("\r").map(function(Y){return Y.indexOf(`
|
|
2
|
+
`)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var K=Y.split(":"),W=K.shift().trim();if(W){var ln=K.join(":").trim();try{v.append(W,ln)}catch(lo){console.warn("Response "+lo.message)}}}),v}T.call(w.prototype);function G(m,v){if(!(this instanceof G))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.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=v.statusText===void 0?"":""+v.statusText,this.headers=new p(v.headers),this.url=v.url||"",this._initBody(m)}T.call(G.prototype),G.prototype.clone=function(){return new G(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},G.error=function(){var m=new G(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var B=[301,302,303,307,308];G.redirect=function(m,v){if(B.indexOf(v)===-1)throw new RangeError("Invalid status code");return new G(null,{status:v,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,I){this.message=v,this.name=I;var Y=Error(v);this.stack=Y.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function P(m,v){return new Promise(function(I,Y){var K=new w(m,v);if(K.signal&&K.signal.aborted)return Y(new r.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function ln(){W.abort()}W.onload=function(){var ie={statusText:W.statusText,headers:N(W.getAllResponseHeaders()||"")};K.url.indexOf("file://")===0&&(W.status<200||W.status>599)?ie.status=200:ie.status=W.status,ie.url="responseURL"in W?W.responseURL:ie.headers.get("X-Request-URL");var xt="response"in W?W.response:W.responseText;setTimeout(function(){I(new G(xt,ie))},0)},W.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},W.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},W.onabort=function(){setTimeout(function(){Y(new r.DOMException("Aborted","AbortError"))},0)};function lo(ie){try{return ie===""&&n.location.href?n.location.href:ie}catch{return ie}}if(W.open(K.method,lo(K.url),!0),K.credentials==="include"?W.withCredentials=!0:K.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&(a.blob?W.responseType="blob":a.arrayBuffer&&(W.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof p||n.Headers&&v.headers instanceof n.Headers)){var Ki=[];Object.getOwnPropertyNames(v.headers).forEach(function(ie){Ki.push(d(ie)),W.setRequestHeader(ie,f(v.headers[ie]))}),K.headers.forEach(function(ie,xt){Ki.indexOf(xt)===-1&&W.setRequestHeader(xt,ie)})}else K.headers.forEach(function(ie,xt){W.setRequestHeader(xt,ie)});K.signal&&(K.signal.addEventListener("abort",ln),W.onreadystatechange=function(){W.readyState===4&&K.signal.removeEventListener("abort",ln)}),W.send(typeof K._bodyInit>"u"?null:K._bodyInit)})}return P.polyfill=!0,n.fetch||(n.fetch=P,n.Headers=p,n.Request=w,n.Response=G),r.Headers=p,r.Request=w,r.Response=G,r.fetch=P,r}({})})(Fn);Fn.fetch.ponyfill=!0;delete Fn.fetch.polyfill;var dr=Mn.fetch?Mn:Fn;yt=dr.fetch;yt.default=dr.fetch;yt.fetch=dr.fetch;yt.Headers=dr.Headers;yt.Request=dr.Request;yt.Response=dr.Response;sl.exports=yt});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=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(S,x){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=x.prototype.attributeChangedCallback,k=new Set(x.observedAttributes||[]);y(x,k,w);let N={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(S,N),this._definitionsByClass.set(x,N);let G=r.call(n,S);G||(G=p(S),t.call(n,S,G)),this===window.customElements&&(s.set(x,N),N.standInClass=G);let B=this._awaitingUpgrade.get(S);if(B){this._awaitingUpgrade.delete(S);for(let m of B)i.delete(m),g(m,N,!0)}let P=this._whenDefinedPromises.get(S);return P!==void 0&&(P.resolve(x),this._whenDefinedPromises.delete(S)),x}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let x=this._getDefinition(S);if(x!==void 0)return Promise.resolve(x.elementClass);let w=this._whenDefinedPromises.get(S);return w===void 0&&(w={},w.promise=new Promise(k=>w.resolve=k),this._whenDefinedPromises.set(S,w)),w.promise}_upgradeWhenDefined(S,x,w){let k=this._awaitingUpgrade.get(x);k||this._awaitingUpgrade.set(x,k=new Set),w?k.add(S):k.delete(S)}};let d;window.HTMLElement=function(){let x=d;if(x)return d=void 0,x;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(e,[],w.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),a.set(x,w),x},window.HTMLElement.prototype=e.prototype;let f=S=>S===document||S instanceof ShadowRoot,h=S=>{let x=S.getRootNode();if(!f(x)){let w=C[C.length-1];if(w instanceof CustomElementRegistry)return w;x=w.getRootNode(),f(x)||(x=l.get(x)?.getRootNode()||document)}return x.customElements},p=S=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let k=h(w)||window.customElements,N=k._getDefinition(S);return N?g(w,N):i.set(w,k),w}connectedCallback(){let w=a.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let w=a.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=a.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=a.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=a.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=a.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},y=(S,x,w)=>{if(x.size===0||w===void 0)return;let k=S.prototype.setAttribute;k&&(S.prototype.setAttribute=function(B,P){let m=B.toLowerCase();if(x.has(m)){let v=this.getAttribute(m);k.call(this,m,P),w.call(this,m,v,P)}else k.call(this,m,P)});let N=S.prototype.removeAttribute;N&&(S.prototype.removeAttribute=function(B){let P=B.toLowerCase();if(x.has(P)){let m=this.getAttribute(P);N.call(this,P),w.call(this,P,m,null)}else N.call(this,P)});let G=S.prototype.toggleAttribute;G&&(S.prototype.toggleAttribute=function(B,P){let m=B.toLowerCase();if(x.has(m)){let v=this.getAttribute(m);G.call(this,m,P);let I=this.getAttribute(m);w.call(this,m,v,I)}else G.call(this,m,P)})},b=S=>{let x=Object.getPrototypeOf(S);if(x!==window.HTMLElement)return x===e?Object.setPrototypeOf(S,window.HTMLElement):b(x)},g=(S,x,w=!1)=>{Object.setPrototypeOf(S,x.elementClass.prototype),a.set(S,x),d=S;try{new x.elementClass}catch{b(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(k=>{S.hasAttribute(k)&&x.attributeChangedCallback.call(S,k,null,S.getAttribute(k))}),w&&x.connectedCallback&&S.isConnected&&x.connectedCallback.call(S)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let x=O.apply(this,arguments);return S.customElements&&(x.customElements=S.customElements),x};let C=[document],A=(S,x,w=void 0)=>{let k=(w?Object.getPrototypeOf(w):S.prototype)[x];S.prototype[x]=function(){C.push(this);let N=k.apply(w||this,arguments);return N!==void 0&&l.set(N,this),C.pop(),N}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let T=(S,x)=>{let w=Object.getOwnPropertyDescriptor(S.prototype,x);Object.defineProperty(S.prototype,x,{...w,set(k){C.push(this),w.set.call(this,k),C.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,x=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...B){let P=x.call(this,...B);return S.set(P,this),P},w.forEach(B=>{let P=window.ElementInternals.prototype,m=P[B];P[B]=function(...v){let I=S.get(this);if(a.get(I).formAssociated===!0)return m?.call(this,...v);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class N{constructor(P){let m=new Map;P.forEach((v,I)=>{let Y=v.getAttribute("name"),K=m.get(Y)||[];this[+I]=v,K.push(v),m.set(Y,K)}),this.length=P.length,m.forEach((v,I)=>{v&&(v.length===1?this[I]=v[0]:this[I]=new k(v))})}namedItem(P){return this[P]}}let G=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let B=G.get.call(this,[]),P=[];for(let m of B){let v=a.get(m);(!v||v.formAssociated===!0)&&P.push(m)}return new N(P)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{t.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}var Oo={};H(Oo,{CSSResult:()=>Yt,LitElement:()=>Ue,ReactiveElement:()=>we,_$LE:()=>ls,_$LH:()=>xo,adoptStyles:()=>Cr,css:()=>te,defaultConverter:()=>Vt,getCompatibleStyle:()=>un,html:()=>it,isServer:()=>Eb,mathml:()=>pu,noChange:()=>re,notEqual:()=>_r,nothing:()=>J,render:()=>vo,supportsAdoptingStyleSheets:()=>wr,svg:()=>fu,unsafeCSS:()=>Er});var dn=globalThis,wr=dn.ShadowRoot&&(dn.ShadyCSS===void 0||dn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fo=Symbol(),qi=new WeakMap,Yt=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==fo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(wr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=qi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&qi.set(r,t))}return t}toString(){return this.cssText}},Er=e=>new Yt(typeof e=="string"?e:e+"",void 0,fo),te=(e,...t)=>{let r=e.length===1?e[0]:t.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)+e[i+1],e[0]);return new Yt(r,e,fo)},Cr=(e,t)=>{if(wr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=dn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}},un=wr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Er(r)})(e):e;var{is:nu,defineProperty:ou,getOwnPropertyDescriptor:au,getOwnPropertyNames:iu,getOwnPropertySymbols:su,getPrototypeOf:cu}=Object,fn=globalThis,Ji=fn.trustedTypes,lu=Ji?Ji.emptyScript:"",du=fn.reactiveElementPolyfillSupport,Ar=(e,t)=>e,Vt={toAttribute(e,t){switch(t){case Boolean:e=e?lu:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},_r=(e,t)=>!nu(e,t),Xi={attribute:!0,type:String,converter:Vt,reflect:!1,useDefault:!1,hasChanged:_r};Symbol.metadata??=Symbol("metadata"),fn.litPropertyMetadata??=new WeakMap;var we=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Xi){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,r);a!==void 0&&ou(this.prototype,t,a)}}static getPropertyDescriptor(t,r,n){let{get:a,set:i}=au(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let l=a?.call(this);i?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Xi}static _$Ei(){if(this.hasOwnProperty(Ar("elementProperties")))return;let t=cu(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ar("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ar("properties"))){let r=this.properties,n=[...iu(r),...su(r)];for(let a of n)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);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(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)r.unshift(un(a))}else t!==void 0&&r.push(un(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Cr(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$ET(t,r){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Vt).toAttribute(r,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let n=this.constructor,a=n._$Eh.get(t);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:Vt;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,r,n){if(t!==void 0){let a=this.constructor,i=this[t];if(n??=a.getPropertyOptions(t),!((n.hasChanged??_r)(i,r)||n.useDefault&&n.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,n))))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(r=void 0),this._$AL.set(t,r)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[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){let{wrapped:s}=i,l=this[a];s!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};we.elementStyles=[],we.shadowRootOptions={mode:"open"},we[Ar("elementProperties")]=new Map,we[Ar("finalized")]=new Map,du?.({ReactiveElement:we}),(fn.reactiveElementVersions??=[]).push("2.1.0");var ho=globalThis,pn=ho.trustedTypes,Qi=pn?pn.createPolicy("lit-html",{createHTML:e=>e}):void 0,yo="$lit$",Ze=`lit$${Math.random().toFixed(9).slice(2)}$`,mo="?"+Ze,uu=`<${mo}>`,Ot=document,Tr=()=>Ot.createComment(""),kr=e=>e===null||typeof e!="object"&&typeof e!="function",go=Array.isArray,as=e=>go(e)||typeof e?.[Symbol.iterator]=="function",po=`[
|
|
3
|
+
\f\r]`,Rr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,es=/-->/g,ts=/>/g,vt=RegExp(`>|${po}(?:([^\\s"'>=/]+)(${po}*=${po}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),rs=/'/g,ns=/"/g,is=/^(?:script|style|textarea|title)$/i,bo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),it=bo(1),fu=bo(2),pu=bo(3),re=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),os=new WeakMap,St=Ot.createTreeWalker(Ot,129);function ss(e,t){if(!go(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qi!==void 0?Qi.createHTML(t):t}var cs=(e,t)=>{let r=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=Rr;for(let l=0;l<r;l++){let d=e[l],f,h,p=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===Rr?h[1]==="!--"?s=es:h[1]!==void 0?s=ts:h[2]!==void 0?(is.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=vt):h[3]!==void 0&&(s=vt):s===vt?h[0]===">"?(s=a??Rr,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?vt:h[3]==='"'?ns:rs):s===ns||s===rs?s=vt:s===es||s===ts?s=Rr:(s=vt,a=void 0);let b=s===vt&&e[l+1].startsWith("/>")?" ":"";i+=s===Rr?d+uu:p>=0?(n.push(f),d.slice(0,p)+yo+d.slice(p)+Ze+b):d+Ze+(p===-2?l:b)}return[ss(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Ir=class e{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,h]=cs(t,r);if(this.el=e.createElement(f,n),St.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=St.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(yo)){let y=h[s++],b=a.getAttribute(p).split(Ze),g=/([.?@])?(.*)/.exec(y);d.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?yn:g[1]==="?"?mn:g[1]==="@"?gn:Et}),a.removeAttribute(p)}else p.startsWith(Ze)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(is.test(a.tagName)){let p=a.textContent.split(Ze),y=p.length-1;if(y>0){a.textContent=pn?pn.emptyScript:"";for(let b=0;b<y;b++)a.append(p[b],Tr()),St.nextNode(),d.push({type:2,index:++i});a.append(p[y],Tr())}}}else if(a.nodeType===8)if(a.data===mo)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(Ze,p+1))!==-1;)d.push({type:7,index:i}),p+=Ze.length-1}i++}}static createElement(t,r){let n=Ot.createElement("template");return n.innerHTML=t,n}};function wt(e,t,r=e,n){if(t===re)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=kr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(t=wt(e,a._$AS(e,t.values),a,n)),t}var hn=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,a=(t?.creationScope??Ot).importNode(r,!0);St.currentNode=a;let i=St.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Kt(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new bn(i,this,t)),this._$AV.push(f),d=n[++l]}s!==d?.index&&(i=St.nextNode(),s++)}return St.currentNode=Ot,a}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Kt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=wt(this,t,r),kr(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==re&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):as(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==J&&kr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ot.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Ir.createElement(ss(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new hn(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=os.get(t.strings);return r===void 0&&os.set(t.strings,r=new Ir(t)),r}k(t){go(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of t)a===r.length?r.push(n=new e(this.O(Tr()),this.O(Tr()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Et=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,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=J}_$AI(t,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=wt(this,t,r,0),s=!kr(t)||t!==this._$AH&&t!==re,s&&(this._$AH=t);else{let l=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=wt(this,l[n+d],r,d),f===re&&(f=this._$AH[d]),s||=!kr(f)||f!==this._$AH[d],f===J?t=J:t!==J&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},yn=class extends Et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}},mn=class extends Et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},gn=class extends Et{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=wt(this,t,r,0)??J)===re)return;let n=this._$AH,a=t===J&&n!==J||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==J&&(n===J||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},bn=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){wt(this,t)}},xo={M:yo,P:Ze,A:mo,C:1,L:cs,R:hn,D:as,V:wt,I:Kt,H:Et,N:mn,U:gn,B:yn,F:bn},hu=ho.litHtmlPolyfillSupport;hu?.(Ir,Kt),(ho.litHtmlVersions??=[]).push("3.3.0");var vo=(e,t,r)=>{let n=r?.renderBefore??t,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Kt(t.insertBefore(Tr(),i),i,void 0,r??{})}return a._$AI(e),a};var So=globalThis,Ue=class extends we{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=vo(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return re}};Ue._$litElement$=!0,Ue.finalized=!0,So.litElementHydrateSupport?.({LitElement:Ue});var yu=So.litElementPolyfillSupport;yu?.({LitElement:Ue});var ls={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(So.litElementVersions??=[]).push("4.2.0");var Eb=!1;var Eo={};H(Eo,{customElement:()=>mu,eventOptions:()=>bu,property:()=>M,query:()=>wo,queryAll:()=>vu,queryAssignedElements:()=>Ou,queryAssignedNodes:()=>wu,queryAsync:()=>Su,standardProperty:()=>ds,state:()=>Be});var mu=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var gu={attribute:!0,type:String,converter:Vt,reflect:!1,hasChanged:_r},ds=(e=gu,t,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function M(e){return(t,r)=>typeof r=="object"?ds(e,t,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function Be(e){return M({...e,state:!0,attribute:!1})}function bu(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var Ie=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function wo(e,t){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Ie(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ie(r,n,{get(){return i(this)}})}}var xu;function vu(e){return(t,r)=>Ie(t,r,{get(){return(this.renderRoot??(xu??=document.createDocumentFragment())).querySelectorAll(e)}})}function Su(e){return(t,r)=>Ie(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Ou(e){return(t,r)=>{let{slot:n,selector:a}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ie(t,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(e)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function wu(e){return(t,r)=>{let{slot:n}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ie(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var Co={};H(Co,{repeat:()=>vn});var We={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},be=e=>(...t)=>({_$litDirective$:e,values:t}),Ee=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:Eu}=xo;var fs=e=>e.strings===void 0,us=()=>document.createComment(""),Zt=(e,t,r)=>{let n=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=n.insertBefore(us(),a),s=n.insertBefore(us(),a);r=new Eu(i,s,e,e.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||l){let d=r._$AA;for(;d!==i;){let f=d.nextSibling;n.insertBefore(d,a),d=f}}}return r},st=(e,t,r=e)=>(e._$AI(t,r),e),Cu={},ps=(e,t=Cu)=>e._$AH=t,hs=e=>e._$AH,xn=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var ys=(e,t,r)=>{let n=new Map;for(let a=t;a<=r;a++)n.set(e[a],a);return n},vn=be(class extends Ee{constructor(e){if(super(e),e.type!==We.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let a=[],i=[],s=0;for(let l of e)a[s]=n?n(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,n]){let a=hs(e),{values:i,keys:s}=this.dt(t,r,n);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,h,p=0,y=a.length-1,b=0,g=i.length-1;for(;p<=y&&b<=g;)if(a[p]===null)p++;else if(a[y]===null)y--;else if(l[p]===s[b])d[b]=st(a[p],i[b]),p++,b++;else if(l[y]===s[g])d[g]=st(a[y],i[g]),y--,g--;else if(l[p]===s[g])d[g]=st(a[p],i[g]),Zt(e,d[g+1],a[p]),p++,g--;else if(l[y]===s[b])d[b]=st(a[y],i[b]),Zt(e,a[p],a[y]),y--,b++;else if(f===void 0&&(f=ys(s,b,g),h=ys(l,p,y)),f.has(l[p]))if(f.has(l[y])){let O=h.get(s[b]),C=O!==void 0?a[O]:null;if(C===null){let A=Zt(e,a[p]);st(A,i[b]),d[b]=A}else d[b]=st(C,i[b]),Zt(e,a[p],C),a[O]=null;b++}else xn(a[y]),y--;else xn(a[p]),p++;for(;b<=g;){let O=Zt(e,d[g+1]);st(O,i[b]),d[b++]=O}for(;p<=y;){let O=a[p++];O!==null&&xn(O)}return this.ut=s,ps(e,d),re}});var Ao={};H(Ao,{classMap:()=>Au});var Au=be(class extends Ee{constructor(e){if(super(e),e.type!==We.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.st)n in t||(r.remove(n),this.st.delete(n));for(let n in t){let a=!!t[n];a===this.st.has(n)||this.nt?.has(n)||(a?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return re}});var _o={};H(_o,{styleMap:()=>Ru});var ms="important",_u=" !"+ms,Ru=be(class extends Ee{constructor(e){if(super(e),e.type!==We.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let a=t[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(_u);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?ms:""):r[n]=a}}return re}});var Ro={};H(Ro,{UnsafeHTMLDirective:()=>qt,unsafeHTML:()=>Tu});var qt=class extends Ee{constructor(t){if(super(t),this.it=J,t.type!==We.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||t==null)return this._t=void 0,this.it=t;if(t===re)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};qt.directiveName="unsafeHTML",qt.resultType=1;var Tu=be(qt);var Uo={};H(Uo,{CacheRegistry:()=>Fo,ClearCacheEvent:()=>Dr});var ko={};H(ko,{CancelablePromise:()=>Sn,CanceledPromiseError:()=>Pr,cancelable:()=>To});var Pr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Sn=class extends Promise{constructor(t){super((r,n)=>t(a=>{this.isCanceled?n(new Pr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new Pr("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},To=e=>new Sn((t,r)=>e.then(t).catch(r));var Mo={};H(Mo,{FtNotificationEvent:()=>Nr,PostResizeEvent:()=>Do,PreResizeEvent:()=>No,WithEventBus:()=>_t,withEventBus:()=>Es});var Lo={};H(Lo,{applyMixinOnce:()=>xe,dateReviver:()=>Pu,deepCopy:()=>Po,deepEqual:()=>Lr,delay:()=>gs,eventPathContainsMatchingElement:()=>Nu,everyDeep:()=>Iu,flatDeep:()=>xs,forEachDeep:()=>vs,getComposedPathTo:()=>Io,hasChanged:()=>Ct,ignoreComposingEvents:()=>Fu,last:()=>Du,minmax:()=>At,parseDate:()=>Os,randomId:()=>Mu,someDeep:()=>Ss,unslotText:()=>ws,waitFor:()=>bs,waitUntil:()=>ku});var gs=e=>new Promise(t=>setTimeout(t,e));async function ku(e,t=10,r=2e4){await bs(async()=>await e()||void 0,t,r)}async function bs(e,t=10,r=2e4){let n=await e(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await gs(t),n=await e(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function xs(e,t){return e.flatMap(r=>[r,...xs(t(r),t)])}function vs(e,t,r){let n=(a,i)=>{var s;for(let l=0;l<a.length;l++){let d=a[l];if(!(((s=r(d,l,a,i))!==null&&s!==void 0?s:!0)&&n(t(d),[...i,d])))return!1}return!0};n(e,[])}function Ss(e,t,r){let n=!1;return vs(e,t,(a,i,s,l)=>(n=!!r(a,i,s,l),!n)),n}function Iu(e,t,r){return!Ss(e,t,(n,a,i,s)=>!r(n,a,i,s))}function Pu(...e){return(t,r)=>e.includes(t)?Os(r):r}function Os(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,a)=>r+n+":"+a),new Date(e)}function Lu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Lr(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Lr(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!Lr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Lr(e,t){try{return Lu(e,t)}catch{return!1}}function Ct(e,t){return!Lr(e,t)}function Nu(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function At(e,t,r){return Math.min(Math.max(e,t),r)}function Du(e){return e[e.length-1]}function ws(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>ws(t)).join(""):e?.textContent||""}function Io(e){let t=[],r=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Po(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Mu(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function xe(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let a=t(n);return a[e]=!0,a}}function Fu(){return function(e,t,r){let n=r.value;r.value=function(a){if(!(a.isComposing||a.keyCode===229))return n.apply(this,[a])}}}var Nr=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},No=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Do=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Es=xe(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}),_t=class extends Es(Object){};var Dr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Fo=class extends _t{constructor(){super(...arguments),this.content={}}register(t,r,n=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:n,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let n=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new Dr(n)),n}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new Dr([t])),t}forceClear(t){var r;let n=this.content[t];n&&(this.clearClearTimeout(t),(r=n.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var r,n,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,n=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:n,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,n){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=To(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,n!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),n)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,n;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Go={};H(Go,{ClusteringHelper:()=>$o,formatHierarchicalValues:()=>Ho});var Wo={};H(Wo,{accessBreadcrumb:()=>Wu,accessResult:()=>Bo,accessResultId:()=>Uu,accessResultUrl:()=>Bu});function Bo(e){var t,r,n,a;return(a=(n=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&a!==void 0?a:e?.htmlPackagePage}function Uu(e){var t,r,n,a,i,s,l,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&r!==void 0?r:(n=e?.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(l=e?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function Bu(e){var t,r,n,a,i,s,l,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.readerUrl)!==null&&r!==void 0?r:(n=e?.topic)===null||n===void 0?void 0:n.readerUrl)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(l=e?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function Wu(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function Ho(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var $o=class e{constructor(t,r,n,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static findResultWithMetadataValue(t,r,n){return t?.find(a=>{var i;return((i=this.extractResultMetadata({result:a}).find(s=>s.key==r))===null||i===void 0?void 0:i.value)==n})}static extractResultMetadata(t){var r,n;let a=(n=(r=Bo(t.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return t.key==null?e.flattenMetadata(a,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(a.find(i=>i.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,n){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(l=>{i.push(Ho(l)),s.push(Ho(l,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,n="No value",a,i){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(p=>e.extractResultMetadata({result:p,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:t,label:f,value:void 0,displayValue:n}).filter(p=>p.value!=d?.value).filter((p,y,b)=>b.findIndex(g=>g.value===p.value)===y).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,y)=>this.compareMetadata(p.metadata.value,y.metadata.value,t,r))}compareMetadata(t,r,n,a){if(t==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 d=t.localeCompare(r,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let f=this.countMatchingMetadata(d,i);if(f>l&&(l=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var zo={};H(zo,{Debouncer:()=>Mr});var Mr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>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 Yo={};H(Yo,{customElement:()=>jo,dateProperty:()=>$u,isNumber:()=>As,jsonProperty:()=>Rt,numberProperty:()=>Cs,optionalNumberProperty:()=>Hu});var jo=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Rt(e,t){let r=()=>JSON.parse(JSON.stringify(e));return M({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ct,...t??{}})}function Hu(e){return Cs(e)}function Cs(e){return M({type:Object,converter:{fromAttribute:t=>{var r,n;if(t==null)return;let a=(r=e?.min)!==null&&r!==void 0?r:-1/0,i=(n=e?.max)!==null&&n!==void 0?n:1/0;return As(t)?At(a,+t,i):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function As(e){return!isNaN(parseFloat(e))}function $u(e){return M({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let r=new Date(Date.parse(t));if(!isNaN(r.valueOf()))return r},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var qo={};H(qo,{designSystemVariables:()=>Af});var Zo={};H(Zo,{DesignSystemFamily:()=>Fr,DesignSystemSize:()=>Ur,FtCssVariableFactory:()=>o,badge:()=>tf,banner:()=>ef,button:()=>ju,card:()=>Vu,chart:()=>bf,checkbox:()=>Ku,chip:()=>Xu,chipChoice:()=>Ju,collapsible:()=>mf,combobox:()=>hf,dateRangePicker:()=>Cf,drawer:()=>cf,floatingMenu:()=>ff,foundation:()=>c,link:()=>Qu,menuItem:()=>pf,modal:()=>sf,notice:()=>vf,notification:()=>Of,pageDesigner:()=>xf,pageFooter:()=>of,pageHeader:()=>nf,pageLayout:()=>af,popover:()=>yf,radio:()=>Zu,reorderableList:()=>Ef,resolveFamilyClass:()=>Vo,resolveSizeClass:()=>Ko,semantic:()=>u,setVariable:()=>Jt,switch_:()=>gf,table:()=>qu,tabs:()=>lf,textArea:()=>uf,textInput:()=>df,titleBreadcrumb:()=>rf,toggle:()=>Sf,tooltip:()=>wf,treeList:()=>Yu,typographies:()=>Gu,typographyBody1Medium:()=>Ps,typographyBody1Regular:()=>Is,typographyBody1Semibold:()=>Ls,typographyBody2Medium:()=>Ds,typographyBody2MediumUnderline:()=>Ms,typographyBody2Regular:()=>Ns,typographyBody2Semibold:()=>Fs,typographyCaption1Medium:()=>Us,typographyCaption1Semibold:()=>Bs,typographyCaption2Bold:()=>$s,typographyCaption2Medium:()=>Ws,typographyCaption2Semibold:()=>Hs,typographyDisplay:()=>_s,typographyTitle1:()=>Rs,typographyTitle2:()=>Ts,typographyTitle3:()=>ks,typographyVariants:()=>zu});var ct=e=>typeof e=="string"?Er(e):e,o=class{static create(t,r,n,a){let i=l=>ct(l??a),s=te`var(${ct(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Jt(s,l??i(a)),s.get=l=>te`var(${ct(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,n,a){let i=l=>n.get(l??a),s=te`var(${ct(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Jt(s,l??i(a)),s.get=l=>te`var(${ct(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,r){let n=i=>t.defaultCssValue(i),a=te`var(${ct(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>te`var(${ct(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Jt(e,t){return ct(`${e.name}: ${t}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},_s={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Rs={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ts={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},ks={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Is={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Ps={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ls={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Ns={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ds={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Ms={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Fs={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Us={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Bs={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ws={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Hs={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},$s={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Gu={display:_s,"title-1":Rs,"title-2":Ts,"title-3":ks,"body-1-regular":Is,"body-1-medium":Ps,"body-1-semibold":Ls,"body-2-regular":Ns,"body-2-medium":Ds,"body-2-medium-underline":Ms,"body-2-semibold":Fs,"caption-1-medium":Us,"caption-1-semibold":Bs,"caption-2-medium":Ws,"caption-2-semibold":Hs,"caption-2-bold":$s},zu=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var ju={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Yu={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Vu={borderColor:o.extend("--ftds-card-border-color","",u.borderGlobalSecondary),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),borderRadius:o.extend("--ftds-card-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-card-background-color","",u.backgroundGlobalOnSurface),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.spacing1)};var Ku={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Zu={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var qu={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Ju={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Xu={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Qu={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var ef={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var tf={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var rf={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var nf={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var of={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var af={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var sf={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var cf={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var lf={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var df={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var uf={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var ff={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var pf={multiselectCheckedStateLayerColor:o.extend("--ftds-menu-item-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-menu-item-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-menu-item-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-menu-item-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-menu-item-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-menu-item-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-menu-item-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-menu-item-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-menu-item-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-menu-item-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-menu-item-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-menu-item-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-menu-item-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-menu-item-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-menu-item-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-menu-item-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-menu-item-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-menu-item-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-menu-item-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-menu-item-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-menu-item-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-menu-item-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-menu-item-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-menu-item-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-menu-item-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-menu-item-default-checked-focus-state-layer-opacity","",c.opacity24),defaultCheckedStateLayerColor:o.extend("--ftds-menu-item-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-menu-item-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-menu-item-default-checked-icon-color","",u.contentActionPrimary)};var hf={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),valuesHorizontalGap:o.extend("--ftds-combobox-values-horizontal-gap","",c.spacing2),valuesVerticalGap:o.extend("--ftds-combobox-values-vertical-gap","",c.spacing2)};var yf={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var mf={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var gf={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var bf={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var xf={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var vf={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var Sf={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var Of={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var wf={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var Ef={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Cf={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Fr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Fr||(Fr={}));var Ur;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ur||(Ur={}));function Vo(e){return`ftds--family-${e}`}function Ko(e){return`ftds--size-${e}`}var Af={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)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),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","","SHADOW","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","","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)"),elevation02:o.create("--ft-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)"),elevation03:o.create("--ft-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)"),elevation04:o.create("--ft-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)"),elevation06:o.create("--ft-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)"),elevation08:o.create("--ft-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)"),elevation12:o.create("--ft-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)"),elevation16:o.create("--ft-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)"),elevation24:o.create("--ft-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)"),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 Jo={};H(Jo,{DynamicImporter:()=>On,dynamicImporter:()=>_f});var On=class{async import(t){if(t)return import(t)}},_f=new On;var da={};H(da,{computeOffsetAutoPosition:()=>Jf,computeOffsetPosition:()=>qf});var zs=["top","right","bottom","left"],Gs=["start","end"],Qo=zs.reduce((e,t)=>e.concat(t,t+"-"+Gs[0],t+"-"+Gs[1]),[]),Tt=Math.min,he=Math.max,Br=Math.round;var Pe=e=>({x:e,y:e}),Rf={left:"right",right:"left",bottom:"top",top:"bottom"};function ea(e,t,r){return he(e,Tt(t,r))}function Xt(e,t){return typeof e=="function"?e(t):e}function lt(e){return e.split("-")[0]}function He(e){return e.split("-")[1]}function ta(e){return e==="x"?"y":"x"}function ra(e){return e==="y"?"height":"width"}function Qt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function na(e){return ta(Qt(e))}function js(e,t,r){r===void 0&&(r=!1);let n=He(e),a=na(e),i=ra(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Xo(s)),[s,Xo(s)]}function Ys(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Xo(e){let t=lt(e);return Rf[t]+e.slice(t.length)}function Tf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vs(e){return typeof e!="number"?Tf(e):{top:e,right:e,bottom:e,left:e}}function kt(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Ks(e,t,r){let{reference:n,floating:a}=e,i=Qt(t),s=na(t),l=ra(s),d=lt(t),f=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,y=n[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:p};break;case"left":b={x:n.x-a.width,y:p};break;default:b={x:n.x,y:n.y}}switch(He(t)){case"start":b[s]-=y*(r&&f?-1:1);break;case"end":b[s]+=y*(r&&f?-1:1);break}return b}async function Zs(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:y=!1,padding:b=0}=Xt(t,e),g=Vs(b),C=l[y?p==="floating"?"reference":"floating":p],A=kt(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(C)))==null||r?C:C.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),T=p==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),x=await(i.isElement==null?void 0:i.isElement(S))?await(i.getScale==null?void 0:i.getScale(S))||{x:1,y:1}:{x:1,y:1},w=kt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:T,offsetParent:S,strategy:d}):T);return{top:(A.top-w.top+g.top)/x.y,bottom:(w.bottom-A.bottom+g.bottom)/x.y,left:(A.left-w.left+g.left)/x.x,right:(w.right-A.right+g.right)/x.x}}var kf=50,qs=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Zs},d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=Ks(f,n,d),y=n,b=0,g={};for(let O=0;O<i.length;O++){let C=i[O];if(!C)continue;let{name:A,fn:T}=C,{x:S,y:x,data:w,reset:k}=await T({x:h,y:p,initialPlacement:n,placement:y,strategy:a,middlewareData:g,rects:f,platform:l,elements:{reference:e,floating:t}});h=S??h,p=x??p,g[A]={...g[A],...w},k&&b<kf&&(b++,typeof k=="object"&&(k.placement&&(y=k.placement),k.rects&&(f=k.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):k.rects),{x:h,y:p}=Ks(f,y,d)),O=-1)}return{x:h,y:p,placement:y,strategy:a,middlewareData:g}};function If(e,t,r){return(e?[...r.filter(a=>He(a)===e),...r.filter(a=>He(a)!==e)]:r.filter(a=>lt(a)===a)).filter(a=>e?He(a)===e||(t?Ys(a)!==a:!1):!0)}var Js=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:y=Qo,autoAlignment:b=!0,...g}=Xt(e,t),O=p!==void 0||y===Qo?If(p||null,b,y):y,C=await d.detectOverflow(t,g),A=((r=s.autoPlacement)==null?void 0:r.index)||0,T=O[A];if(T==null)return{};let S=js(T,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==T)return{reset:{placement:O[0]}};let x=[C[lt(T)],C[S[0]],C[S[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:x}],k=O[A+1];if(k)return{data:{index:A+1,overflows:w},reset:{placement:k}};let N=w.map(P=>{let m=He(P.placement);return[P.placement,m&&h?P.overflows.slice(0,2).reduce((v,I)=>v+I,0):P.overflows[0],P.overflows]}).sort((P,m)=>P[1]-m[1]),B=((a=N.filter(P=>P[2].slice(0,He(P[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||N[0][0];return B!==l?{data:{index:A+1,overflows:w},reset:{placement:B}}:{}}}};var Pf=new Set(["left","top"]);async function Lf(e,t){let{placement:r,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=lt(r),l=He(r),d=Qt(r)==="y",f=Pf.has(s)?-1:1,h=i&&d?-1:1,p=Xt(t,e),{mainAxis:y,crossAxis:b,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(b=l==="end"?g*-1:g),d?{x:b*h,y:y*f}:{x:y*f,y:b*h}}var Xs=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await Lf(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Qs=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:A=>{let{x:T,y:S}=A;return{x:T,y:S}}},...f}=Xt(e,t),h={x:r,y:n},p=await i.detectOverflow(t,f),y=Qt(lt(a)),b=ta(y),g=h[b],O=h[y];if(s){let A=b==="y"?"top":"left",T=b==="y"?"bottom":"right",S=g+p[A],x=g-p[T];g=ea(S,g,x)}if(l){let A=y==="y"?"top":"left",T=y==="y"?"bottom":"right",S=O+p[A],x=O-p[T];O=ea(S,O,x)}let C=d.fn({...t,[b]:g,[y]:O});return{...C,data:{x:C.x-r,y:C.y-n,enabled:{[b]:s,[y]:l}}}}}};var ec=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;let{placement:a,rects:i,platform:s,elements:l}=t,{apply:d=()=>{},...f}=Xt(e,t),h=await s.detectOverflow(t,f),p=lt(a),y=He(a),b=Qt(a)==="y",{width:g,height:O}=i.floating,C,A;p==="top"||p==="bottom"?(C=p,A=y===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(A=p,C=y==="end"?"top":"bottom");let T=O-h.top-h.bottom,S=g-h.left-h.right,x=Tt(O-h[C],T),w=Tt(g-h[A],S),k=!t.middlewareData.shift,N=x,G=w;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(G=S),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=T),k&&!y){let P=he(h.left,0),m=he(h.right,0),v=he(h.top,0),I=he(h.bottom,0);b?G=g-2*(P!==0||m!==0?P+m:he(h.left,h.right)):N=O-2*(v!==0||I!==0?v+I:he(h.top,h.bottom))}await d({...t,availableWidth:G,availableHeight:N});let B=await s.getDimensions(l.floating);return g!==B.width||O!==B.height?{reset:{rects:!0}}:{}}}};function En(){return typeof window<"u"}function Pt(e){return rc(e)?(e.nodeName||"").toLowerCase():"#document"}function ye(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $e(e){var t;return(t=(rc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function rc(e){return En()?e instanceof Node||e instanceof ye(e).Node:!1}function Ce(e){return En()?e instanceof Element||e instanceof ye(e).Element:!1}function Ge(e){return En()?e instanceof HTMLElement||e instanceof ye(e).HTMLElement:!1}function tc(e){return!En()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ye(e).ShadowRoot}function er(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=Ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function nc(e){return/^(table|td|th)$/.test(Pt(e))}function Wr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Nf=/transform|translate|scale|rotate|perspective|filter/,Df=/paint|layout|strict|content/,It=e=>!!e&&e!=="none",oa;function Cn(e){let t=Ce(e)?Ae(e):e;return It(t.transform)||It(t.translate)||It(t.scale)||It(t.rotate)||It(t.perspective)||!An()&&(It(t.backdropFilter)||It(t.filter))||Nf.test(t.willChange||"")||Df.test(t.contain||"")}function oc(e){let t=qe(e);for(;Ge(t)&&!Lt(t);){if(Cn(t))return t;if(Wr(t))return null;t=qe(t)}return null}function An(){return oa==null&&(oa=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),oa}function Lt(e){return/^(html|body|#document)$/.test(Pt(e))}function Ae(e){return ye(e).getComputedStyle(e)}function Hr(e){return Ce(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function qe(e){if(Pt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||tc(e)&&e.host||$e(e);return tc(t)?t.host:t}function ac(e){let t=qe(e);return Lt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ge(t)&&er(t)?t:ac(t)}function wn(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=ac(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=ye(a);if(i){let l=_n(s);return t.concat(s,s.visualViewport||[],er(a)?a:[],l&&r?wn(l):[])}else return t.concat(a,wn(a,[],r))}function _n(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lc(e){let t=Ae(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Ge(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,l=Br(r)!==i||Br(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function dc(e){return Ce(e)?e:e.contextElement}function tr(e){let t=dc(e);if(!Ge(t))return Pe(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=lc(t),s=(i?Br(r.width):r.width)/n,l=(i?Br(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Mf=Pe(0);function uc(e){let t=ye(e);return!An()||!t.visualViewport?Mf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ff(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ye(e)?!1:t}function $r(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=dc(e),s=Pe(1);t&&(n?Ce(n)&&(s=tr(n)):s=tr(e));let l=Ff(i,r,n)?uc(i):Pe(0),d=(a.left+l.x)/s.x,f=(a.top+l.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let y=ye(i),b=n&&Ce(n)?ye(n):n,g=y,O=_n(g);for(;O&&n&&b!==g;){let C=tr(O),A=O.getBoundingClientRect(),T=Ae(O),S=A.left+(O.clientLeft+parseFloat(T.paddingLeft))*C.x,x=A.top+(O.clientTop+parseFloat(T.paddingTop))*C.y;d*=C.x,f*=C.y,h*=C.x,p*=C.y,d+=S,f+=x,g=ye(O),O=_n(g)}}return kt({width:h,height:p,x:d,y:f})}function Rn(e,t){let r=Hr(e).scrollLeft;return t?t.left+r:$r($e(e)).left+r}function fc(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Rn(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function Uf(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=$e(n),l=t?Wr(t.floating):!1;if(n===s||l&&i)return r;let d={scrollLeft:0,scrollTop:0},f=Pe(1),h=Pe(0),p=Ge(n);if((p||!p&&!i)&&((Pt(n)!=="body"||er(s))&&(d=Hr(n)),p)){let b=$r(n);f=tr(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let y=s&&!p&&!i?fc(s,d):Pe(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+h.x+y.x,y:r.y*f.y-d.scrollTop*f.y+h.y+y.y}}function Bf(e){return Array.from(e.getClientRects())}function Wf(e){let t=$e(e),r=Hr(e),n=e.ownerDocument.body,a=he(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=he(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Rn(e),l=-r.scrollTop;return Ae(n).direction==="rtl"&&(s+=he(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var ic=25;function Hf(e,t){let r=ye(e),n=$e(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let h=An();(!h||h&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}let f=Rn(n);if(f<=0){let h=n.ownerDocument,p=h.body,y=getComputedStyle(p),b=h.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,g=Math.abs(n.clientWidth-p.clientWidth-b);g<=ic&&(i-=g)}else f<=ic&&(i+=f);return{width:i,height:s,x:l,y:d}}function $f(e,t){let r=$r(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=Ge(e)?tr(e):Pe(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=n*i.y;return{width:s,height:l,x:d,y:f}}function sc(e,t,r){let n;if(t==="viewport")n=Hf(e,r);else if(t==="document")n=Wf($e(e));else if(Ce(t))n=$f(t,r);else{let a=uc(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return kt(n)}function pc(e,t){let r=qe(e);return r===t||!Ce(r)||Lt(r)?!1:Ae(r).position==="fixed"||pc(r,t)}function Gf(e,t){let r=t.get(e);if(r)return r;let n=wn(e,[],!1).filter(l=>Ce(l)&&Pt(l)!=="body"),a=null,i=Ae(e).position==="fixed",s=i?qe(e):e;for(;Ce(s)&&!Lt(s);){let l=Ae(s),d=Cn(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||er(s)&&!d&&pc(e,s))?n=n.filter(h=>h!==s):a=l,s=qe(s)}return t.set(e,n),n}function zf(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?Wr(t)?[]:Gf(t,this._c):[].concat(r),n],l=sc(t,s[0],a),d=l.top,f=l.right,h=l.bottom,p=l.left;for(let y=1;y<s.length;y++){let b=sc(t,s[y],a);d=he(b.top,d),f=Tt(b.right,f),h=Tt(b.bottom,h),p=he(b.left,p)}return{width:f-p,height:h-d,x:p,y:d}}function jf(e){let{width:t,height:r}=lc(e);return{width:t,height:r}}function Yf(e,t,r){let n=Ge(t),a=$e(t),i=r==="fixed",s=$r(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=Pe(0);function f(){d.x=Rn(a)}if(n||!n&&!i)if((Pt(t)!=="body"||er(a))&&(l=Hr(t)),n){let b=$r(t,!0,i,t);d.x=b.x+t.clientLeft,d.y=b.y+t.clientTop}else a&&f();i&&!n&&a&&f();let h=a&&!n&&!i?fc(a,l):Pe(0),p=s.left+l.scrollLeft-d.x-h.x,y=s.top+l.scrollTop-d.y-h.y;return{x:p,y,width:s.width,height:s.height}}function aa(e){return Ae(e).position==="static"}function cc(e,t){if(!Ge(e)||Ae(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return $e(e)===r&&(r=r.ownerDocument.body),r}function hc(e,t){let r=ye(e);if(Wr(e))return r;if(!Ge(e)){let a=qe(e);for(;a&&!Lt(a);){if(Ce(a)&&!aa(a))return a;a=qe(a)}return r}let n=cc(e,t);for(;n&&nc(n)&&aa(n);)n=cc(n,t);return n&&Lt(n)&&aa(n)&&!Cn(n)?r:n||oc(e)||r}var Vf=async function(e){let t=this.getOffsetParent||hc,r=this.getDimensions,n=await r(e.floating);return{reference:Yf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Kf(e){return Ae(e).direction==="rtl"}var rr={convertOffsetParentRelativeRectToViewportRelativeRect:Uf,getDocumentElement:$e,getClippingRect:zf,getOffsetParent:hc,getElementRects:Vf,getClientRects:Bf,getDimensions:jf,getScale:tr,isElement:Ce,isRTL:Kf};var yc=Xs,ia=Js,mc=Qs;var gc=ec;var sa=(e,t,r)=>{let n=new Map,a={platform:rr,...r},i={...a.platform,_c:n};return qs(e,t,{...a,platform:i})};function la(e){return Zf(e)}function ca(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Zf(e){for(let t=e;t;t=ca(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ca(e);t;t=ca(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function qf(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},sa(e,t,{strategy:n.strategy,platform:{...rr,getOffsetParent:a=>rr.getOffsetParent(a,la)},middleware:[mc({crossAxis:!0}),ia({allowedPlacements:[n.placement]})]})}async function Jf(e,t,r,n,a,i,s){let l,d;return typeof r=="object"?(l=r.placement,n=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,sa(e,t,{placement:l,strategy:a,platform:{...rr,getOffsetParent:f=>rr.getOffsetParent(f,la)},middleware:[yc(s??4),ia({allowedPlacements:n}),gc({apply({availableHeight:f,availableWidth:h,elements:p}){typeof i=="string"&&(i=`var(${i})`),i?p.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${i})`:p.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?p.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:p.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var ua={};H(ua,{isSlotEmptyOrWithoutContent:()=>Xf});var Xf=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var a;return n.nodeType===Node.TEXT_NODE?((a=n.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var ga={};H(ga,{FtdsBase:()=>ma,toFtdsBase:()=>Ec});var ya={};H(ya,{ExportpartsUpdatedEvent:()=>Nt,FtLitElement:()=>pe});var fa={};H(fa,{ScopedRegistryLitElement:()=>Gr});var Gr=class extends Ue{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Cr(n,t.elementStyles),n}};var ha={};H(ha,{shadowQuerySelector:()=>pa,shadowQuerySelectorAll:()=>Qf});function pa(e,t,...r){var n;let a=e.querySelector(t);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Qf(e,t,...r){let n=[...e.querySelectorAll(t)];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 nr=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Sc,bc=Symbol("constructorPrototype"),xc=Symbol("constructorName"),Oc=Symbol("exportpartsDebouncer"),vc=Symbol("dynamicDependenciesLoaded"),Nt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Nt.eventName="exportparts-updated";var pe=class extends Gr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Sc]=new Mr(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Oc].run(()=>{var 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)})},this[xc]=this.constructor.name,this[bc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xc]&&Object.setPrototypeOf(this,this[bc])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[vc]||(r[vc]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Nt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Nt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Nt)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=pa(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){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(t.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)}}setExportpartsAttribute(t){var r,n,a,i,s,l;let d=y=>y!=null&&y.trim().length>0,f=t.filter(d).map(y=>y.trim());if(f.length===0){this.exportparts=void 0;return}let h=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[],O=[...b,...g].filter(d).map(C=>C.trim());for(let C of O)h.add(C)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(y=>f.map(b=>`${y}:${b}--${y}`));this.exportparts=[...this.part,...p].join(", ")}};Sc=Oc;nr([M()],pe.prototype,"exportpartsPrefix",void 0);nr([Rt([])],pe.prototype,"exportpartsPrefixes",void 0);nr([M({reflect:!0})],pe.prototype,"exportparts",void 0);nr([M()],pe.prototype,"customStylesheet",void 0);nr([M()],pe.prototype,"elementToFocus",void 0);nr([Be()],pe.prototype,"useAdoptedStyleSheets",void 0);var wc=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ec=xe(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Ur.medium,this.family=Fr.neutral}getDesignSystemBaseClasses(){return{[Vo(this.family)]:!0,[Ko(this.size)]:!0}}}return wc([M()],t.prototype,"size",void 0),wc([M()],t.prototype,"family",void 0),t}),ma=class extends Ec(pe){};var Cc={};var xa={};H(xa,{highlightHtml:()=>rp,highlightHtmlColorCssVariable:()=>Ac,highlightHtmlStyles:()=>tp});var Dt=class e{constructor(t,r=!0,n=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(t,r){let n=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(t,r,n,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,n(h)),d()},d)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let a=t.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(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(t,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(t,r,n,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(t,r,n,a,i){let s=this.createIterator(r,t,a),l=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(f,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(t,b=>d.push(b),a)}),d.push(f);d.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,t,n,a),i()}forEachNode(t,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var zr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Dt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",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),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return t.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){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`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.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(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((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(t,r){let n,a,i=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),a=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:a,valid:i}}checkWhitespaceRanges(t,r,n){let a,i=!0,s=n.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){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,()=>{t({value:r,nodes:n})})}matchesExclude(t){return Dt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let a=this.opt.element?this.opt.element:"mark",i=t.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(t,r,n,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(n>s.end?s.end:n)-s.start,p=t.value.substr(0,s.start),y=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+y,t.nodes.forEach((b,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let p=1;p<s;p++)f+=d[p].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,p=>n(d[s],p),(p,y)=>{t.lastIndex=y,a(p)})}i()})}wrapRangeFromIndex(t,r,n,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(l,s,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,y=>r(y,l,i.value.substring(f,h),d),y=>{n(y,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(y,b)=>this.opt.filter(b,f,n,p),y=>{p++,n++,this.opt.each(y)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(n):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(t,r){this.opt=r;let n=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Dt.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ba(e){let t=new zr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var ep=ba,Ac=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),tp=te`
|
|
6
6
|
.highlight-html-match {
|
|
7
|
-
background: ${
|
|
7
|
+
background: ${Ac};
|
|
8
8
|
}
|
|
9
|
-
`;function
|
|
9
|
+
`;function rp(e,t,r){var n,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new ep(e);if(s.unmark(),t&&t.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=f=>{for(let h in r.attributes)f.setAttribute(h,r.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=t.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var va={};H(va,{noTextInputDefaultClearButton:()=>ip,noTextSelect:()=>np,safariEllipsisFix:()=>ap,wordWrap:()=>op});var np=te`
|
|
10
10
|
.ft-no-text-select {
|
|
11
11
|
-webkit-touch-callout: none;
|
|
12
12
|
-webkit-user-select: none;
|
|
@@ -15,7 +15,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
15
15
|
-ms-user-select: none;
|
|
16
16
|
user-select: none;
|
|
17
17
|
}
|
|
18
|
-
`,
|
|
18
|
+
`,op=te`
|
|
19
19
|
.ft-word-wrap {
|
|
20
20
|
white-space: normal;
|
|
21
21
|
word-wrap: break-word;
|
|
@@ -27,7 +27,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
27
27
|
-webkit-hyphens: auto;
|
|
28
28
|
hyphens: auto
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,ap=te`
|
|
31
31
|
.ft-safari-ellipsis-fix {
|
|
32
32
|
margin-right: 0;
|
|
33
33
|
|
|
@@ -38,14 +38,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
38
38
|
display: inline-block;
|
|
39
39
|
width: 0;
|
|
40
40
|
}
|
|
41
|
-
`,
|
|
41
|
+
`,ip=te`
|
|
42
42
|
input::-webkit-search-cancel-button,
|
|
43
43
|
input::-webkit-search-decoration,
|
|
44
44
|
input::-webkit-search-results-button,
|
|
45
45
|
input::-webkit-search-results-decoration {
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
|
-
`;var Cc={};var Oa={};H(Oa,{ParametrizedLabelResolver:()=>Sa});var Sa=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,a;t=this.resolvePluralKey(t,r);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let n=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var Za={};H(Za,{FtCommandQueue:()=>zr,FtLitElementRedux:()=>wa,FtReduxStore:()=>Va,FtStateManager:()=>Ka,ReduxWatcher:()=>Nn,clearAllStores:()=>zp,isFtReduxStore:()=>or,redux:()=>ip,reduxEventListener:()=>sp,reduxReactive:()=>ap,watch:()=>jp,withRedux:()=>Ac});var ap=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},ip=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:Ct,attribute:!1,...t};M(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}},sp=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var zr=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function or(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var jr=Symbol("internalReduxEventsUnsubscribers"),dt=Symbol("internalStoresUnsubscribers"),Mt=Symbol("internalStores"),Ac=be(Symbol("withRedux"),function(e){var t,r,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Mt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Mt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Mt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Mt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Mt].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(s.store);f&&(s.store?this[dt].has(s.store):this[dt].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[dt].set(s,l.subscribe(()=>this.updateFromStores())),this[jr].set(s,[]),or(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||l.name===f.store)){let p=y=>this[h](y);l.addEventListener(f.eventName,p),this[jr].get(s).push(()=>l.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[dt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[dt].has(s)&&this[dt].get(s)(),this[dt].delete(s),(l=this[jr].get(s))===null||l===void 0||l.forEach(d=>d()),this[jr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=dt,r=Mt,n=jr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),wa=class extends Ac(pe){};function Ce(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(e){return!!e&&!!e[X]}function Pe(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===yp}(e)||Array.isArray(e)||!!e[Nc]||!!(!((t=e.constructor)===null||t===void 0)&&t[Nc])||Pa(e)||Na(e))}function Ft(e,t,r){r===void 0&&(r=!1),sr(e)===0?(r?Object.keys:ir)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function sr(e){var t=e[X];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Pa(e)?2:Na(e)?3:0}function ar(e,t){return sr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function cp(e,t){return sr(e)===2?e.get(t):e[t]}function Lc(e,t,r){var n=sr(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Dc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Pa(e){return pp&&e instanceof Map}function Na(e){return hp&&e instanceof Set}function ut(e){return e.o||e.t}function La(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Uc(e);delete t[X];for(var r=ir(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Da(e,t){return t===void 0&&(t=!1),Ma(e)||Je(e)||!Pe(e)||(sr(e)>1&&(e.set=e.add=e.clear=e.delete=lp),Object.freeze(e),t&&Ft(e,function(r,n){return Da(n,!0)},!0)),e}function lp(){Ce(2)}function Ma(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ge(e){var t=Ia[e];return t||Ce(18,e),t}function dp(e,t){Ia[e]||(Ia[e]=t)}function Ra(){return Vr}function Ea(e,t){t&&(Ge("Patches"),e.u=[],e.s=[],e.v=t)}function Rn(e){ka(e),e.p.forEach(up),e.p=null}function ka(e){e===Vr&&(Vr=e.l)}function _c(e){return Vr={p:[],l:Vr,h:e,m:!0,_:0}}function up(e){var t=e[X];t.i===0||t.i===1?t.j():t.g=!0}function Ca(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Ge("ES5").S(t,e,n),n?(r[X].P&&(Rn(t),Ce(4)),Pe(e)&&(e=kn(t,e),t.l||Tn(t,e)),t.u&&Ge("Patches").M(r[X].t,e,t.u,t.s)):e=kn(t,r,[]),Rn(t),t.u&&t.v(t.u,t.s),e!==Fc?e:void 0}function kn(e,t,r){if(Ma(t))return t;var n=t[X];if(!n)return Ft(t,function(l,d){return Rc(e,n,t,l,d,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Tn(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=La(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Ft(i,function(l,d){return Rc(e,n,a,l,d,r,s)}),Tn(e,a,!1),r&&e.u&&Ge("Patches").N(n,r,e.u,e.s)}return n.o}function Rc(e,t,r,n,a,i,s){if(Je(a)){var l=kn(e,a,i&&t&&t.i!==3&&!ar(t.R,n)?i.concat(n):void 0);if(Lc(r,n,l),!Je(l))return;e.m=!1}else s&&r.add(a);if(Pe(a)&&!Ma(a)){if(!e.h.D&&e._<1)return;kn(e,a),t&&t.A.l||Tn(e,a)}}function Tn(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Da(t,r)}function Aa(e,t){var r=e[X];return(r?ut(r):e)[t]}function kc(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function ft(e){e.P||(e.P=!0,e.l&&ft(e.l))}function _a(e){e.o||(e.o=La(e.t))}function Ta(e,t,r){var n=Pa(t)?Ge("MapSet").F(t,r):Na(t)?Ge("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ra(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,f=Kr;s&&(d=[l],f=Yr);var h=Proxy.revocable(d,f),p=h.revoke,y=h.proxy;return l.k=y,l.j=p,y}(t,r):Ge("ES5").J(t,r);return(r?r.A:Ra()).p.push(n),n}function fp(e){return Je(e)||Ce(22,e),function t(r){if(!Pe(r))return r;var n,a=r[X],i=sr(r);if(a){if(!a.P&&(a.i<4||!Ge("ES5").K(a)))return a.t;a.I=!0,n=Tc(r,i),a.I=!1}else n=Tc(r,i);return Ft(n,function(s,l){a&&cp(a.t,s)===l||Lc(n,s,t(l))}),i===3?new Set(n):n}(e)}function Tc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return La(e)}function Mc(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[X];return Kr.get(f,s)},set:function(f){var h=this[X];Kr.set(h,s,f)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][X];if(!d.P)switch(d.i){case 5:n(d)&&ft(d);break;case 4:r(d)&&ft(d)}}}function r(s){for(var l=s.t,d=s.k,f=ir(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==X){var y=l[p];if(y===void 0&&!ar(l,p))return!0;var b=d[p],g=b&&b[X];if(g?g.t!==y:!Dc(b,y))return!0}}var O=!!l[X];return f.length!==ir(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&Ce(3,JSON.stringify(ut(s)))}var i={};dp("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(p,y){if(p){for(var b=Array(y.length),g=0;g<y.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var O=Uc(y);delete O[X];for(var C=ir(O),A=0;A<C.length;A++){var k=C[A];O[k]=e(k,p||!!O[k].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(d,s),h={i:d?5:4,A:l?l.A:Ra(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,X,{value:h,writable:!0}),f},S:function(s,l,d){d?Je(l)&&l[X].A===s&&t(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[X];if(p){var y=p.t,b=p.k,g=p.R,O=p.i;if(O===4)Ft(b,function(x){x!==X&&(y[x]!==void 0||ar(y,x)?g[x]||f(b[x]):(g[x]=!0,ft(p)))}),Ft(y,function(x){b[x]!==void 0||ar(b,x)||(g[x]=!1,ft(p))});else if(O===5){if(n(p)&&(ft(p),g.length=!0),b.length<y.length)for(var C=b.length;C<y.length;C++)g[C]=!1;else for(var A=y.length;A<b.length;A++)g[A]=!0;for(var k=Math.min(b.length,y.length),S=0;S<k;S++)b.hasOwnProperty(S)||(g[S]=!0),g[S]===void 0&&f(b[S])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Ic,Vr,Fa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pp=typeof Map<"u",hp=typeof Set<"u",Pc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Fc=Fa?Symbol.for("immer-nothing"):((Ic={})["immer-nothing"]=!0,Ic),Nc=Fa?Symbol.for("immer-draftable"):"__$immer_draftable",X=Fa?Symbol.for("immer-state"):"__$immer_state";var yp=""+Object.prototype.constructor,ir=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Uc=Object.getOwnPropertyDescriptors||function(e){var t={};return ir(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Ia={},Kr={get:function(e,t){if(t===X)return e;var r=ut(e);if(!ar(r,t))return function(a,i,s){var l,d=kc(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,r,t);var n=r[t];return e.I||!Pe(n)?n:n===Aa(e.t,t)?(_a(e),e.o[t]=Ta(e.A.h,n,e)):n},has:function(e,t){return t in ut(e)},ownKeys:function(e){return Reflect.ownKeys(ut(e))},set:function(e,t,r){var n=kc(ut(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Aa(ut(e),t),i=a?.[X];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Dc(r,a)&&(r!==void 0||ar(e.t,t)))return!0;_a(e),ft(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Aa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,_a(e),ft(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=ut(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ce(12)}},Yr={};Ft(Kr,function(e,t){Yr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Yr.deleteProperty=function(e,t){return Yr.set.call(this,e,t,void 0)},Yr.set=function(e,t,r){return Kr.set.call(this,e[0],t,r,e[0])};var mp=function(){function e(r){var n=this;this.O=Pc,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(O){var C=this;O===void 0&&(O=l);for(var A=arguments.length,k=Array(A>1?A-1:0),S=1;S<A;S++)k[S-1]=arguments[S];return d.produce(O,function(x){var w;return(w=i).call.apply(w,[C,x].concat(k))})}}var f;if(typeof i!="function"&&Ce(6),s!==void 0&&typeof s!="function"&&Ce(7),Pe(a)){var h=_c(n),p=Ta(n,a,void 0),y=!0;try{f=i(p),y=!1}finally{y?Rn(h):ka(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(O){return Ea(h,s),Ca(O,h)},function(O){throw Rn(h),O}):(Ea(h,s),Ca(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Fc&&(f=void 0),n.D&&Da(f,!0),s){var b=[],g=[];Ge("Patches").M(a,f,b,g),s(b,g)}return f}Ce(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),y=1;y<h;y++)p[y-1]=arguments[y];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(p))})};var s,l,d=n.produce(a,i,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Pe(r)||Ce(8),Je(r)&&(r=fp(r));var n=_c(this),a=Ta(this,r,void 0);return a[X].C=!0,ka(n),a},t.finishDraft=function(r,n){var a=r&&r[X],i=a.A;return Ea(i,n),Ca(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Pc&&Ce(20),this.O=r},t.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=Ge("Patches").$;return Je(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),xe=new mp,gp=xe.produce,jO=xe.produceWithPatches.bind(xe),YO=xe.setAutoFreeze.bind(xe),VO=xe.setUseProxies.bind(xe),KO=xe.applyPatches.bind(xe),ZO=xe.createDraft.bind(xe),qO=xe.finishDraft.bind(xe),In=gp;function Ut(e){"@babel/helpers - typeof";return Ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ut(e)}function Bc(e,t){if(Ut(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ut(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wc(e){var t=Bc(e,"string");return Ut(t)=="symbol"?t:t+""}function Hc(e,t,r){return(t=Wc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ua(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$c(Object(r),!0).forEach(function(n){Hc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$c(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ce(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Gc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ba=function(){return Math.random().toString(36).substring(7).split("").join(".")},Pn={INIT:"@@redux/INIT"+Ba(),REPLACE:"@@redux/REPLACE"+Ba(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ba()}};function bp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Wa(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ce(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ce(1));return r(Wa)(e,t)}if(typeof e!="function")throw new Error(ce(2));var a=e,i=t,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(ce(3));return i}function p(O){if(typeof O!="function")throw new Error(ce(4));if(d)throw new Error(ce(5));var C=!0;return f(),l.push(O),function(){if(C){if(d)throw new Error(ce(6));C=!1,f();var k=l.indexOf(O);l.splice(k,1),s=null}}}function y(O){if(!bp(O))throw new Error(ce(7));if(typeof O.type>"u")throw new Error(ce(8));if(d)throw new Error(ce(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var C=s=l,A=0;A<C.length;A++){var k=C[A];k()}return O}function b(O){if(typeof O!="function")throw new Error(ce(10));a=O,y({type:Pn.REPLACE})}function g(){var O,C=p;return O={subscribe:function(k){if(typeof k!="object"||k===null)throw new Error(ce(11));function S(){k.next&&k.next(h())}S();var x=C(S);return{unsubscribe:x}}},O[Gc]=function(){return this},O}return y({type:Pn.INIT}),n={dispatch:y,subscribe:p,getState:h,replaceReducer:b},n[Gc]=g,n}function xp(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Pn.INIT});if(typeof n>"u")throw new Error(ce(12));if(typeof r(void 0,{type:Pn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ce(13))})}function zc(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{xp(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var p;for(var y=!1,b={},g=0;g<i.length;g++){var O=i[g],C=r[O],A=f[O],k=C(A,h);if(typeof k>"u"){var S=h&&h.type;throw new Error(ce(14))}b[O]=k,y=y||k!==A}return y=y||i.length!==Object.keys(f).length,y?b:f}}function cr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function jc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(ce(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=cr.apply(void 0,l)(a.dispatch),Ua(Ua({},a),{},{dispatch:i})}}}function Yc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Vc=Yc();Vc.withExtraArgument=Yc;var Ha=Vc;var Xc=function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),vp=function(e,t){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(f){return function(h){return d([f,h])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},lr=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},Sp=Object.defineProperty,Op=Object.defineProperties,wp=Object.getOwnPropertyDescriptors,Kc=Object.getOwnPropertySymbols,Ep=Object.prototype.hasOwnProperty,Cp=Object.prototype.propertyIsEnumerable,Zc=function(e,t,r){return t in e?Sp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},pt=function(e,t){for(var r in t||(t={}))Ep.call(t,r)&&Zc(e,r,t[r]);if(Kc)for(var n=0,a=Kc(t);n<a.length;n++){var r=a[n];Cp.call(t,r)&&Zc(e,r,t[r])}return e},$a=function(e,t){return Op(e,wp(t))},Ap=function(e,t,r){return new Promise(function(n,a){var i=function(d){try{l(r.next(d))}catch(f){a(f)}},s=function(d){try{l(r.throw(d))}catch(f){a(f)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(e,t)).next())})};var _p=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?cr:cr.apply(null,arguments)},hw=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Rp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var kp=function(e){Xc(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,lr([void 0],r[0].concat(this)))):new(t.bind.apply(t,lr([void 0],r.concat(this))))},t}(Array),Tp=function(e){Xc(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,lr([void 0],r[0].concat(this)))):new(t.bind.apply(t,lr([void 0],r.concat(this))))},t}(Array);function ja(e){return Pe(e)?In(e,function(){}):e}function Ip(e){return typeof e=="boolean"}function Pp(){return function(t){return Np(t)}}function Np(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=new kp;if(r&&(Ip(r)?l.push(Ha):l.push(Ha.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return l}var Ga=!0;function Qc(e){var t=Pp(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,y=p===void 0?void 0:p,b;if(typeof a=="function")b=a;else if(Rp(a))b=zc(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 g=s;if(typeof g=="function"&&(g=g(t),!Ga&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ga&&g.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=jc.apply(void 0,g),C=cr;d&&(C=_p(pt({trace:!Ga},typeof d=="object"&&d)));var A=new Tp(O),k=A;Array.isArray(y)?k=lr([O],y):typeof y=="function"&&(k=y(A));var S=C.apply(void 0,k);return Wa(b,h,S)}function ht(e,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return pt(pt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function el(e){var t={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,r,n]}function Lp(e){return typeof e=="function"}function Dp(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?el(t):[t,r,n],i=a[0],s=a[1],l=a[2],d;if(Lp(e))d=function(){return ja(e())};else{var f=ja(e);d=function(){return f}}function h(p,y){p===void 0&&(p=d());var b=lr([i[y.type]],s.filter(function(g){var O=g.matcher;return O(y)}).map(function(g){var O=g.reducer;return O}));return b.filter(function(g){return!!g}).length===0&&(b=[l]),b.reduce(function(g,O){if(O)if(Je(g)){var C=g,A=O(C,y);return A===void 0?g:A}else{if(Pe(g))return In(g,function(k){return O(k,y)});var A=O(g,y);if(A===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return g},p)}return h.getInitialState=d,h}function Mp(e,t){return e+"/"+t}function tl(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ja(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var p=n[h],y=Mp(t,h),b,g;"reducer"in p?(b=p.reducer,g=p.prepare):b=p,i[h]=b,s[y]=b,l[h]=g?ht(y,g):ht(y)});function d(){var h=typeof e.extraReducers=="function"?el(e.extraReducers):[e.extraReducers],p=h[0],y=p===void 0?{}:p,b=h[1],g=b===void 0?[]:b,O=h[2],C=O===void 0?void 0:O,A=pt(pt({},y),s);return Dp(r,function(k){for(var S in A)k.addCase(S,A[S]);for(var x=0,w=g;x<w.length;x++){var T=w[x];k.addMatcher(T.matcher,T.reducer)}C&&k.addDefaultCase(C)})}var f;return{name:t,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:l,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Fp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Up=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Fp[Math.random()*64|0];return t},Bp=["name","message","stack","code"],za=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),qc=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Wp=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=Bp;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},bw=function(){function e(t,r,n){var a=ht(t+"/fulfilled",function(h,p,y,b){return{payload:h,meta:$a(pt({},b||{}),{arg:y,requestId:p,requestStatus:"fulfilled"})}}),i=ht(t+"/pending",function(h,p,y){return{payload:void 0,meta:$a(pt({},y||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=ht(t+"/rejected",function(h,p,y,b,g){return{payload:b,error:(n&&n.serializeError||Wp)(h||"Rejected"),meta:$a(pt({},g||{}),{arg:y,requestId:p,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=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 f(h){return function(p,y,b){var g=n?.idGenerator?n.idGenerator(h):Up(),O=new d,C,A=!1;function k(x){C=x,O.abort()}var S=function(){return Ap(this,null,function(){var x,w,T,L,G,B,P;return vp(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),L=(x=n?.condition)==null?void 0:x.call(n,h,{getState:y,extra:b}),$p(L)?[4,L]:[3,2];case 1:L=m.sent(),m.label=2;case 2:if(L===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,G=new Promise(function(v,I){return O.signal.addEventListener("abort",function(){return I({name:"AbortError",message:C||"Aborted"})})}),p(i(g,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:g,arg:h},{getState:y,extra:b}))),[4,Promise.race([G,Promise.resolve(r(h,{dispatch:p,getState:y,extra:b,requestId:g,signal:O.signal,abort:k,rejectWithValue:function(v,I){return new za(v,I)},fulfillWithValue:function(v,I){return new qc(v,I)}})).then(function(v){if(v instanceof za)throw v;return v instanceof qc?a(v.payload,g,h,v.meta):a(v,g,h)})])];case 3:return T=m.sent(),[3,5];case 4:return B=m.sent(),T=B instanceof za?s(null,g,h,B.payload,B.meta):s(B,g,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(T)&&T.meta.condition,P||p(T),[2,T]}})})}();return Object.assign(S,{abort:k,requestId:g,arg:h,unwrap:function(){return S.then(Hp)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Hp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function $p(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var rl="listener",nl="completed",ol="cancelled",xw="task-"+ol,vw="task-"+nl,Sw=rl+"-"+ol,Ow=rl+"-"+nl;var Ya="listenerMiddleware";var ww=ht(Ya+"/add"),Ew=ht(Ya+"/removeAll"),Cw=ht(Ya+"/remove");var Jc,Aw=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Jc||(Jc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Gp=function(e){return function(t){setTimeout(t,e)}},_w=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Gp(10);Mc();window.ftReduxStores||(window.ftReduxStores={});var Va=class e extends _t{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(or(i))return i;if(a==null)return;let s=tl({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=Qc({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Po(s.getInitialState());for(let p of f.keeping)h[p]=(d??h)[p];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new zr;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function zp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))or(t)&&t.clear()}var Nn=class{constructor(t,r,n){this.store=t,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);Ct(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function jp(e,t,r){return new Nn(e,t,r).watch()}var Ka=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var Xa={};H(Xa,{scrollHelper:()=>Yp});var qa,Ln=new Map,Ja=class{lock(t,r){if(r){let n=Ln.get(r);if(n==null||n===t)return Ln.set(r,t),r}}release(t,r){r&&Ln.get(r)===t&&Ln.delete(r)}findFirstScrollableParent(t){var r;let n,a;for(let i of Io(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var n,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,l=At(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(qa=window.FluidTopicsScrollHelper)!==null&&qa!==void 0?qa:new Ja;var Yp=window.FluidTopicsScrollHelper;var ei={};H(ei,{SearchPlaceConverter:()=>Fn,SearchPlaceQueryParams:()=>U,isSearchPlaceQueryParams:()=>zl,serializeRequest:()=>Zp});var Vp=eu(il(),1);var sl;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(sl||(sl={}));var cl;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(cl||(cl={}));var ll;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(ll||(ll={}));var dl;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(dl||(dl={}));var ul;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ul||(ul={}));var fl;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(fl||(fl={}));var pl;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(pl||(pl={}));var hl;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(hl||(hl={}));var yl;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(yl||(yl={}));var ml;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(ml||(ml={}));var gl;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(gl||(gl={}));var bl;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(bl||(bl={}));var xl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(xl||(xl={}));var vl;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(vl||(vl={}));var Sl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Sl||(Sl={}));var Ol;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ol||(Ol={}));var ur;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(ur||(ur={}));var wl;(function(e){e.ASC="ASC",e.DESC="DESC"})(wl||(wl={}));var El;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(El||(El={}));var Qa;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Qa||(Qa={}));var Nl=e=>Object.keys(Qa).includes(e);var Cl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Cl||(Cl={}));var Al;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Al||(Al={}));var _l;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(_l||(_l={}));var fr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(fr||(fr={}));var Ll=e=>Object.keys(fr).includes(e);var Rl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Rl||(Rl={}));var kl;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(kl||(kl={}));var Tl;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Tl||(Tl={}));var oe;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(oe||(oe={}));var Il;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Il||(Il={}));var Pl;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(Pl||(Pl={}));var Dl;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Dl||(Dl={}));var Ml;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(Ml||(Ml={}));var Fl;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Fl||(Fl={}));var Ul;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Ul||(Ul={}));var Bl;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(Bl||(Bl={}));var Wl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Wl||(Wl={}));var Hl;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Hl||(Hl={}));var $l;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})($l||($l={}));var eE={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN,oe.BEHAVIOR_DATA_USER],[oe.GENERATIVE_AI_EXPORT_USER]:[oe.GENERATIVE_AI_USER]};function Kp(e){return`"${e}"`}function Gl(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Zp(e,t){return new Fn(e).serialize(t)}var U;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(U||(U={}));var qp=new Set(Object.values(U));function zl(e){return qp.has(e)}var Fn=class{constructor(t,r=20,n=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var n,a,i,s,l,d,f,h,p,y,b;let g=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&g.append(U.LOCALE,t.contentLocale):g.append(U.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&g.append(U.QUERY,t.query);let O=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(x=>x.valueFilter&&!x.valueFilter.negative))!==null&&i!==void 0?i:[];if(O.length>0){let x=O.map(w=>{var T,L;let G=((L=(T=w.valueFilter)===null||T===void 0?void 0:T.values)!==null&&L!==void 0?L:[]).map(B=>this.escapeFilters(B)).map(B=>Kp(Gl(B))).join("_");return`${w.key}~${G}`}).join("*");g.append(U.VALUE_FILTERS,x)}let C=(l=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(x=>x.dateFilter))!==null&&l!==void 0?l:[];if(C.length>0){let x=C.map(w=>{var T;return`${w.key}~${(T=w.dateFilter)===null||T===void 0?void 0:T.type.toLowerCase()}`}).join("*");g.append(U.DATE_FILTERS,x)}let A=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(x=>x.rangeFilter))!==null&&f!==void 0?f:[];if(A.length>0){let x=A.map(w=>{var T,L;return`${w.key}~${(T=w.rangeFilter)===null||T===void 0?void 0:T.from}_${(L=w.rangeFilter)===null||L===void 0?void 0:L.to}`}).join("*");g.append(U.RANGE_FILTERS,x)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&g.append(U.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&g.append(U.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&g.append(U.SORT,t.sortId),!((h=t.paging)===null||h===void 0)&&h.perPage&&((y=(p=t.paging)===null||p===void 0?void 0:p.perPage)!==null&&y!==void 0?y:this.defaultPerPage)!=this.defaultPerPage&&g.append(U.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&g.append(U.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let k=(b=t.otherQueryParams)!==null&&b!==void 0?b:{};for(let x in k)g.append(x,k[x]);let S=new Array;return g.forEach((x,w)=>{S.push(this.encodeQueryString(w)+"="+this.encodeQueryString(x))}),encodeURI(S.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let n=t.split("?"),a=this.fromURLSearchParams(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(t){var r,n,a,i,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(A){console.warn("Could not decode search request query params, fallback on raw value",A)}let d=new URLSearchParams(t),f=d.get(U.LOCALE)==="all"?void 0:d.get(U.LOCALE),h=((r=d.get(U.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(n=d.get(U.SORT))===null||n===void 0?void 0:n.toLowerCase(),y=(a=d.get(U.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=d.get(U.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),g=d.get(U.KEYWORD_MATCH),O=g?g.toUpperCase()===ur.MANDATORY?ur.MANDATORY:ur.OPTIONAL:void 0,C={};for(let A of d.keys())zl(A)||(C[A]=d.get(A));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(U.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:Nl(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:At(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:O,otherQueryParams:C}}parseCompatFilters(t){var r,n,a,i,s,l;let d=[];return t.has(U.FILTERS)&&(d=this.parseValueFilters((r=t.get(U.FILTERS))!==null&&r!==void 0?r:"")),(n=t.has(U.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(U.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(U.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(U.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(U.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Gl).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:fr[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(r,n);return t}superEscapeFilters(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(Ll(t))return[{key:"ft:lastEdition",dateFilter:{type:fr[t]}}];if(t.startsWith("CUSTOM_")){let[r,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}static clearSearchParamsInUrl(t){let r=new URL(t);return[U.LOCALE,U.FILTERS,U.VALUE_FILTERS,U.DATE_FILTERS,U.RANGE_FILTERS].forEach(a=>{r.searchParams.delete(a)}),r.toString()}static updateLocaleParamInUrl(t,r){let n=new URL(t);return n.searchParams.delete(U.LOCALE),r!==void 0&&n.searchParams.append(U.LOCALE,r),n.toString()}};var ri={};H(ri,{toFtFormComponent:()=>Jp});var ti=Symbol("elementInternals"),Jp=be(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[ti].form}constructor(...n){super(n),this[ti]=this.attachInternals()}setFormValue(n){this[ti].setFormValue(n)}}return t});var oi={};H(oi,{DateFormatter:()=>ni});var ni=class{static format(t,r,n,a,i){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,a,!!i)):this.getIntlDateTime(t,r,n,a,!!i)}static getMomentDateFormat(t,r,n){return n?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return i?d:a?`${l} ${d}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ii={};H(ii,{ALL_KEYS_VALUE:()=>ai,SameWindowStorageEvent:()=>pr});var ai="__all__",pr=class extends CustomEvent{constructor(t,r,n){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==ai}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new pr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new pr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new pr(ai))}});var ci={};H(ci,{FocusMainContentEvent:()=>si});var si=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var jl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Xp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function Qp(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Xp);document.addEventListener("click",Qp);var Yl=te`
|
|
48
|
+
`;var _c={};var Oa={};H(Oa,{ParametrizedLabelResolver:()=>Sa});var Sa=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,a;t=this.resolvePluralKey(t,r);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let n=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var Za={};H(Za,{FtCommandQueue:()=>jr,FtLitElementRedux:()=>wa,FtReduxStore:()=>Va,FtStateManager:()=>Ka,ReduxWatcher:()=>Nn,clearAllStores:()=>Yp,isFtReduxStore:()=>or,redux:()=>cp,reduxEventListener:()=>lp,reduxReactive:()=>sp,watch:()=>Vp,withRedux:()=>Rc});var sp=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},cp=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:Ct,attribute:!1,...t};M(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}},lp=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var jr=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function or(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Yr=Symbol("internalReduxEventsUnsubscribers"),dt=Symbol("internalStoresUnsubscribers"),Mt=Symbol("internalStores"),Rc=xe(Symbol("withRedux"),function(e){var t,r,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Mt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Mt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Mt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Mt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Mt].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(s.store);f&&(s.store?this[dt].has(s.store):this[dt].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[dt].set(s,l.subscribe(()=>this.updateFromStores())),this[Yr].set(s,[]),or(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||l.name===f.store)){let p=y=>this[h](y);l.addEventListener(f.eventName,p),this[Yr].get(s).push(()=>l.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[dt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[dt].has(s)&&this[dt].get(s)(),this[dt].delete(s),(l=this[Yr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Yr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=dt,r=Mt,n=Yr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),wa=class extends Rc(pe){};function _e(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(e){return!!e&&!!e[X]}function Le(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===gp}(e)||Array.isArray(e)||!!e[Dc]||!!(!((t=e.constructor)===null||t===void 0)&&t[Dc])||Pa(e)||La(e))}function Ft(e,t,r){r===void 0&&(r=!1),sr(e)===0?(r?Object.keys:ir)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function sr(e){var t=e[X];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Pa(e)?2:La(e)?3:0}function ar(e,t){return sr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function dp(e,t){return sr(e)===2?e.get(t):e[t]}function Mc(e,t,r){var n=sr(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Fc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Pa(e){return yp&&e instanceof Map}function La(e){return mp&&e instanceof Set}function ut(e){return e.o||e.t}function Na(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Wc(e);delete t[X];for(var r=ir(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Da(e,t){return t===void 0&&(t=!1),Ma(e)||Je(e)||!Le(e)||(sr(e)>1&&(e.set=e.add=e.clear=e.delete=up),Object.freeze(e),t&&Ft(e,function(r,n){return Da(n,!0)},!0)),e}function up(){_e(2)}function Ma(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function ze(e){var t=Ia[e];return t||_e(18,e),t}function fp(e,t){Ia[e]||(Ia[e]=t)}function Ra(){return Kr}function Ea(e,t){t&&(ze("Patches"),e.u=[],e.s=[],e.v=t)}function Tn(e){Ta(e),e.p.forEach(pp),e.p=null}function Ta(e){e===Kr&&(Kr=e.l)}function Tc(e){return Kr={p:[],l:Kr,h:e,m:!0,_:0}}function pp(e){var t=e[X];t.i===0||t.i===1?t.j():t.g=!0}function Ca(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||ze("ES5").S(t,e,n),n?(r[X].P&&(Tn(t),_e(4)),Le(e)&&(e=kn(t,e),t.l||In(t,e)),t.u&&ze("Patches").M(r[X].t,e,t.u,t.s)):e=kn(t,r,[]),Tn(t),t.u&&t.v(t.u,t.s),e!==Bc?e:void 0}function kn(e,t,r){if(Ma(t))return t;var n=t[X];if(!n)return Ft(t,function(l,d){return kc(e,n,t,l,d,r)},!0),t;if(n.A!==e)return t;if(!n.P)return In(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Na(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Ft(i,function(l,d){return kc(e,n,a,l,d,r,s)}),In(e,a,!1),r&&e.u&&ze("Patches").N(n,r,e.u,e.s)}return n.o}function kc(e,t,r,n,a,i,s){if(Je(a)){var l=kn(e,a,i&&t&&t.i!==3&&!ar(t.R,n)?i.concat(n):void 0);if(Mc(r,n,l),!Je(l))return;e.m=!1}else s&&r.add(a);if(Le(a)&&!Ma(a)){if(!e.h.D&&e._<1)return;kn(e,a),t&&t.A.l||In(e,a)}}function In(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Da(t,r)}function Aa(e,t){var r=e[X];return(r?ut(r):e)[t]}function Ic(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function ft(e){e.P||(e.P=!0,e.l&&ft(e.l))}function _a(e){e.o||(e.o=Na(e.t))}function ka(e,t,r){var n=Pa(t)?ze("MapSet").F(t,r):La(t)?ze("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ra(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,f=Zr;s&&(d=[l],f=Vr);var h=Proxy.revocable(d,f),p=h.revoke,y=h.proxy;return l.k=y,l.j=p,y}(t,r):ze("ES5").J(t,r);return(r?r.A:Ra()).p.push(n),n}function hp(e){return Je(e)||_e(22,e),function t(r){if(!Le(r))return r;var n,a=r[X],i=sr(r);if(a){if(!a.P&&(a.i<4||!ze("ES5").K(a)))return a.t;a.I=!0,n=Pc(r,i),a.I=!1}else n=Pc(r,i);return Ft(n,function(s,l){a&&dp(a.t,s)===l||Mc(n,s,t(l))}),i===3?new Set(n):n}(e)}function Pc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Na(e)}function Uc(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[X];return Zr.get(f,s)},set:function(f){var h=this[X];Zr.set(h,s,f)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][X];if(!d.P)switch(d.i){case 5:n(d)&&ft(d);break;case 4:r(d)&&ft(d)}}}function r(s){for(var l=s.t,d=s.k,f=ir(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==X){var y=l[p];if(y===void 0&&!ar(l,p))return!0;var b=d[p],g=b&&b[X];if(g?g.t!==y:!Fc(b,y))return!0}}var O=!!l[X];return f.length!==ir(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&_e(3,JSON.stringify(ut(s)))}var i={};fp("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(p,y){if(p){for(var b=Array(y.length),g=0;g<y.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var O=Wc(y);delete O[X];for(var C=ir(O),A=0;A<C.length;A++){var T=C[A];O[T]=e(T,p||!!O[T].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(d,s),h={i:d?5:4,A:l?l.A:Ra(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,X,{value:h,writable:!0}),f},S:function(s,l,d){d?Je(l)&&l[X].A===s&&t(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[X];if(p){var y=p.t,b=p.k,g=p.R,O=p.i;if(O===4)Ft(b,function(x){x!==X&&(y[x]!==void 0||ar(y,x)?g[x]||f(b[x]):(g[x]=!0,ft(p)))}),Ft(y,function(x){b[x]!==void 0||ar(b,x)||(g[x]=!1,ft(p))});else if(O===5){if(n(p)&&(ft(p),g.length=!0),b.length<y.length)for(var C=b.length;C<y.length;C++)g[C]=!1;else for(var A=y.length;A<b.length;A++)g[A]=!0;for(var T=Math.min(b.length,y.length),S=0;S<T;S++)b.hasOwnProperty(S)||(g[S]=!0),g[S]===void 0&&f(b[S])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Lc,Kr,Fa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",yp=typeof Map<"u",mp=typeof Set<"u",Nc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Bc=Fa?Symbol.for("immer-nothing"):((Lc={})["immer-nothing"]=!0,Lc),Dc=Fa?Symbol.for("immer-draftable"):"__$immer_draftable",X=Fa?Symbol.for("immer-state"):"__$immer_state";var gp=""+Object.prototype.constructor,ir=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Wc=Object.getOwnPropertyDescriptors||function(e){var t={};return ir(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Ia={},Zr={get:function(e,t){if(t===X)return e;var r=ut(e);if(!ar(r,t))return function(a,i,s){var l,d=Ic(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,r,t);var n=r[t];return e.I||!Le(n)?n:n===Aa(e.t,t)?(_a(e),e.o[t]=ka(e.A.h,n,e)):n},has:function(e,t){return t in ut(e)},ownKeys:function(e){return Reflect.ownKeys(ut(e))},set:function(e,t,r){var n=Ic(ut(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Aa(ut(e),t),i=a?.[X];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Fc(r,a)&&(r!==void 0||ar(e.t,t)))return!0;_a(e),ft(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Aa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,_a(e),ft(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=ut(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){_e(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){_e(12)}},Vr={};Ft(Zr,function(e,t){Vr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Vr.deleteProperty=function(e,t){return Vr.set.call(this,e,t,void 0)},Vr.set=function(e,t,r){return Zr.set.call(this,e[0],t,r,e[0])};var bp=function(){function e(r){var n=this;this.O=Nc,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(O){var C=this;O===void 0&&(O=l);for(var A=arguments.length,T=Array(A>1?A-1:0),S=1;S<A;S++)T[S-1]=arguments[S];return d.produce(O,function(x){var w;return(w=i).call.apply(w,[C,x].concat(T))})}}var f;if(typeof i!="function"&&_e(6),s!==void 0&&typeof s!="function"&&_e(7),Le(a)){var h=Tc(n),p=ka(n,a,void 0),y=!0;try{f=i(p),y=!1}finally{y?Tn(h):Ta(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(O){return Ea(h,s),Ca(O,h)},function(O){throw Tn(h),O}):(Ea(h,s),Ca(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Bc&&(f=void 0),n.D&&Da(f,!0),s){var b=[],g=[];ze("Patches").M(a,f,b,g),s(b,g)}return f}_e(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),y=1;y<h;y++)p[y-1]=arguments[y];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(p))})};var s,l,d=n.produce(a,i,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Le(r)||_e(8),Je(r)&&(r=hp(r));var n=Tc(this),a=ka(this,r,void 0);return a[X].C=!0,Ta(n),a},t.finishDraft=function(r,n){var a=r&&r[X],i=a.A;return Ea(i,n),Ca(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Nc&&_e(20),this.O=r},t.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=ze("Patches").$;return Je(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),ve=new bp,xp=ve.produce,VO=ve.produceWithPatches.bind(ve),KO=ve.setAutoFreeze.bind(ve),ZO=ve.setUseProxies.bind(ve),qO=ve.applyPatches.bind(ve),JO=ve.createDraft.bind(ve),XO=ve.finishDraft.bind(ve),Pn=xp;function Ut(e){"@babel/helpers - typeof";return Ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ut(e)}function Hc(e,t){if(Ut(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ut(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $c(e){var t=Hc(e,"string");return Ut(t)=="symbol"?t:t+""}function Gc(e,t,r){return(t=$c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ua(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zc(Object(r),!0).forEach(function(n){Gc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ce(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var jc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ba=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ln={INIT:"@@redux/INIT"+Ba(),REPLACE:"@@redux/REPLACE"+Ba(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ba()}};function vp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Wa(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ce(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ce(1));return r(Wa)(e,t)}if(typeof e!="function")throw new Error(ce(2));var a=e,i=t,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(ce(3));return i}function p(O){if(typeof O!="function")throw new Error(ce(4));if(d)throw new Error(ce(5));var C=!0;return f(),l.push(O),function(){if(C){if(d)throw new Error(ce(6));C=!1,f();var T=l.indexOf(O);l.splice(T,1),s=null}}}function y(O){if(!vp(O))throw new Error(ce(7));if(typeof O.type>"u")throw new Error(ce(8));if(d)throw new Error(ce(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var C=s=l,A=0;A<C.length;A++){var T=C[A];T()}return O}function b(O){if(typeof O!="function")throw new Error(ce(10));a=O,y({type:Ln.REPLACE})}function g(){var O,C=p;return O={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(ce(11));function S(){T.next&&T.next(h())}S();var x=C(S);return{unsubscribe:x}}},O[jc]=function(){return this},O}return y({type:Ln.INIT}),n={dispatch:y,subscribe:p,getState:h,replaceReducer:b},n[jc]=g,n}function Sp(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Ln.INIT});if(typeof n>"u")throw new Error(ce(12));if(typeof r(void 0,{type:Ln.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ce(13))})}function Yc(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{Sp(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var p;for(var y=!1,b={},g=0;g<i.length;g++){var O=i[g],C=r[O],A=f[O],T=C(A,h);if(typeof T>"u"){var S=h&&h.type;throw new Error(ce(14))}b[O]=T,y=y||T!==A}return y=y||i.length!==Object.keys(f).length,y?b:f}}function cr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Vc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(ce(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=cr.apply(void 0,l)(a.dispatch),Ua(Ua({},a),{},{dispatch:i})}}}function Kc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Zc=Kc();Zc.withExtraArgument=Kc;var Ha=Zc;var el=function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Op=function(e,t){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(f){return function(h){return d([f,h])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},lr=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},wp=Object.defineProperty,Ep=Object.defineProperties,Cp=Object.getOwnPropertyDescriptors,qc=Object.getOwnPropertySymbols,Ap=Object.prototype.hasOwnProperty,_p=Object.prototype.propertyIsEnumerable,Jc=function(e,t,r){return t in e?wp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},pt=function(e,t){for(var r in t||(t={}))Ap.call(t,r)&&Jc(e,r,t[r]);if(qc)for(var n=0,a=qc(t);n<a.length;n++){var r=a[n];_p.call(t,r)&&Jc(e,r,t[r])}return e},$a=function(e,t){return Ep(e,Cp(t))},Rp=function(e,t,r){return new Promise(function(n,a){var i=function(d){try{l(r.next(d))}catch(f){a(f)}},s=function(d){try{l(r.throw(d))}catch(f){a(f)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(e,t)).next())})};var Tp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?cr:cr.apply(null,arguments)},mw=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function kp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var Ip=function(e){el(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,lr([void 0],r[0].concat(this)))):new(t.bind.apply(t,lr([void 0],r.concat(this))))},t}(Array),Pp=function(e){el(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,lr([void 0],r[0].concat(this)))):new(t.bind.apply(t,lr([void 0],r.concat(this))))},t}(Array);function ja(e){return Le(e)?Pn(e,function(){}):e}function Lp(e){return typeof e=="boolean"}function Np(){return function(t){return Dp(t)}}function Dp(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=new Ip;if(r&&(Lp(r)?l.push(Ha):l.push(Ha.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return l}var Ga=!0;function tl(e){var t=Np(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,y=p===void 0?void 0:p,b;if(typeof a=="function")b=a;else if(kp(a))b=Yc(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 g=s;if(typeof g=="function"&&(g=g(t),!Ga&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ga&&g.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Vc.apply(void 0,g),C=cr;d&&(C=Tp(pt({trace:!Ga},typeof d=="object"&&d)));var A=new Pp(O),T=A;Array.isArray(y)?T=lr([O],y):typeof y=="function"&&(T=y(A));var S=C.apply(void 0,T);return Wa(b,h,S)}function ht(e,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return pt(pt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function rl(e){var t={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,r,n]}function Mp(e){return typeof e=="function"}function Fp(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?rl(t):[t,r,n],i=a[0],s=a[1],l=a[2],d;if(Mp(e))d=function(){return ja(e())};else{var f=ja(e);d=function(){return f}}function h(p,y){p===void 0&&(p=d());var b=lr([i[y.type]],s.filter(function(g){var O=g.matcher;return O(y)}).map(function(g){var O=g.reducer;return O}));return b.filter(function(g){return!!g}).length===0&&(b=[l]),b.reduce(function(g,O){if(O)if(Je(g)){var C=g,A=O(C,y);return A===void 0?g:A}else{if(Le(g))return Pn(g,function(T){return O(T,y)});var A=O(g,y);if(A===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return g},p)}return h.getInitialState=d,h}function Up(e,t){return e+"/"+t}function nl(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ja(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var p=n[h],y=Up(t,h),b,g;"reducer"in p?(b=p.reducer,g=p.prepare):b=p,i[h]=b,s[y]=b,l[h]=g?ht(y,g):ht(y)});function d(){var h=typeof e.extraReducers=="function"?rl(e.extraReducers):[e.extraReducers],p=h[0],y=p===void 0?{}:p,b=h[1],g=b===void 0?[]:b,O=h[2],C=O===void 0?void 0:O,A=pt(pt({},y),s);return Fp(r,function(T){for(var S in A)T.addCase(S,A[S]);for(var x=0,w=g;x<w.length;x++){var k=w[x];T.addMatcher(k.matcher,k.reducer)}C&&T.addDefaultCase(C)})}var f;return{name:t,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:l,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Bp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Wp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Bp[Math.random()*64|0];return t},Hp=["name","message","stack","code"],za=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Xc=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),$p=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=Hp;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},vw=function(){function e(t,r,n){var a=ht(t+"/fulfilled",function(h,p,y,b){return{payload:h,meta:$a(pt({},b||{}),{arg:y,requestId:p,requestStatus:"fulfilled"})}}),i=ht(t+"/pending",function(h,p,y){return{payload:void 0,meta:$a(pt({},y||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=ht(t+"/rejected",function(h,p,y,b,g){return{payload:b,error:(n&&n.serializeError||$p)(h||"Rejected"),meta:$a(pt({},g||{}),{arg:y,requestId:p,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=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 f(h){return function(p,y,b){var g=n?.idGenerator?n.idGenerator(h):Wp(),O=new d,C,A=!1;function T(x){C=x,O.abort()}var S=function(){return Rp(this,null,function(){var x,w,k,N,G,B,P;return Op(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),N=(x=n?.condition)==null?void 0:x.call(n,h,{getState:y,extra:b}),zp(N)?[4,N]:[3,2];case 1:N=m.sent(),m.label=2;case 2:if(N===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,G=new Promise(function(v,I){return O.signal.addEventListener("abort",function(){return I({name:"AbortError",message:C||"Aborted"})})}),p(i(g,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:g,arg:h},{getState:y,extra:b}))),[4,Promise.race([G,Promise.resolve(r(h,{dispatch:p,getState:y,extra:b,requestId:g,signal:O.signal,abort:T,rejectWithValue:function(v,I){return new za(v,I)},fulfillWithValue:function(v,I){return new Xc(v,I)}})).then(function(v){if(v instanceof za)throw v;return v instanceof Xc?a(v.payload,g,h,v.meta):a(v,g,h)})])];case 3:return k=m.sent(),[3,5];case 4:return B=m.sent(),k=B instanceof za?s(null,g,h,B.payload,B.meta):s(B,g,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(k)&&k.meta.condition,P||p(k),[2,k]}})})}();return Object.assign(S,{abort:T,requestId:g,arg:h,unwrap:function(){return S.then(Gp)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Gp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function zp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var ol="listener",al="completed",il="cancelled",Sw="task-"+il,Ow="task-"+al,ww=ol+"-"+il,Ew=ol+"-"+al;var Ya="listenerMiddleware";var Cw=ht(Ya+"/add"),Aw=ht(Ya+"/removeAll"),_w=ht(Ya+"/remove");var Qc,Rw=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Qc||(Qc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},jp=function(e){return function(t){setTimeout(t,e)}},Tw=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:jp(10);Uc();window.ftReduxStores||(window.ftReduxStores={});var Va=class e extends _t{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(or(i))return i;if(a==null)return;let s=nl({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=tl({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Po(s.getInitialState());for(let p of f.keeping)h[p]=(d??h)[p];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new jr;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Yp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))or(t)&&t.clear()}var Nn=class{constructor(t,r,n){this.store=t,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);Ct(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Vp(e,t,r){return new Nn(e,t,r).watch()}var Ka=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var Xa={};H(Xa,{scrollHelper:()=>Kp});var qa,Dn=new Map,Ja=class{lock(t,r){if(r){let n=Dn.get(r);if(n==null||n===t)return Dn.set(r,t),r}}release(t,r){r&&Dn.get(r)===t&&Dn.delete(r)}findFirstScrollableParent(t){var r;let n,a;for(let i of Io(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var n,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,l=At(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(qa=window.FluidTopicsScrollHelper)!==null&&qa!==void 0?qa:new Ja;var Kp=window.FluidTopicsScrollHelper;var ei={};H(ei,{SearchPlaceConverter:()=>Un,SearchPlaceQueryParams:()=>U,isSearchPlaceQueryParams:()=>Yl,serializeRequest:()=>Jp});var Zp=ru(cl(),1);var ll;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(ll||(ll={}));var dl;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(dl||(dl={}));var ul;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(ul||(ul={}));var fl;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(fl||(fl={}));var pl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(pl||(pl={}));var hl;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(hl||(hl={}));var yl;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(yl||(yl={}));var ml;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(ml||(ml={}));var gl;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(gl||(gl={}));var bl;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(bl||(bl={}));var xl;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(xl||(xl={}));var vl;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(vl||(vl={}));var Sl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Sl||(Sl={}));var Ol;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ol||(Ol={}));var wl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(wl||(wl={}));var El;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(El||(El={}));var ur;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(ur||(ur={}));var Cl;(function(e){e.ASC="ASC",e.DESC="DESC"})(Cl||(Cl={}));var Al;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Al||(Al={}));var Qa;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Qa||(Qa={}));var Dl=e=>Object.keys(Qa).includes(e);var _l;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(_l||(_l={}));var Rl;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Rl||(Rl={}));var Tl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Tl||(Tl={}));var fr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(fr||(fr={}));var Ml=e=>Object.keys(fr).includes(e);var kl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(kl||(kl={}));var Il;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Il||(Il={}));var Pl;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Pl||(Pl={}));var ae;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(ae||(ae={}));var Ll;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ll||(Ll={}));var Nl;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(Nl||(Nl={}));var Fl;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Fl||(Fl={}));var Ul;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(Ul||(Ul={}));var Bl;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Bl||(Bl={}));var Wl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Wl||(Wl={}));var Hl;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(Hl||(Hl={}));var $l;(function(e){e.TEXT="TEXT",e.HTML="HTML"})($l||($l={}));var Gl;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Gl||(Gl={}));var zl;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(zl||(zl={}));var rE={[ae.PERSONAL_BOOK_SHARE_USER]:[ae.PERSONAL_BOOK_USER],[ae.HTML_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.PDF_EXPORT_USER]:[ae.PERSONAL_BOOK_USER],[ae.KHUB_ADMIN]:[ae.CONTENT_PUBLISHER],[ae.ADMIN]:[ae.KHUB_ADMIN,ae.USERS_ADMIN,ae.PORTAL_ADMIN,ae.BEHAVIOR_DATA_USER],[ae.GENERATIVE_AI_EXPORT_USER]:[ae.GENERATIVE_AI_USER]};function qp(e){return`"${e}"`}function jl(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Jp(e,t){return new Un(e).serialize(t)}var U;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(U||(U={}));var Xp=new Set(Object.values(U));function Yl(e){return Xp.has(e)}var Un=class{constructor(t,r=20,n=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var n,a,i,s,l,d,f,h,p,y,b;let g=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&g.append(U.LOCALE,t.contentLocale):g.append(U.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&g.append(U.QUERY,t.query);let O=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(x=>x.valueFilter&&!x.valueFilter.negative))!==null&&i!==void 0?i:[];if(O.length>0){let x=O.map(w=>{var k,N;let G=((N=(k=w.valueFilter)===null||k===void 0?void 0:k.values)!==null&&N!==void 0?N:[]).map(B=>this.escapeFilters(B)).map(B=>qp(jl(B))).join("_");return`${w.key}~${G}`}).join("*");g.append(U.VALUE_FILTERS,x)}let C=(l=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(x=>x.dateFilter))!==null&&l!==void 0?l:[];if(C.length>0){let x=C.map(w=>{var k;return`${w.key}~${(k=w.dateFilter)===null||k===void 0?void 0:k.type.toLowerCase()}`}).join("*");g.append(U.DATE_FILTERS,x)}let A=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(x=>x.rangeFilter))!==null&&f!==void 0?f:[];if(A.length>0){let x=A.map(w=>{var k,N;return`${w.key}~${(k=w.rangeFilter)===null||k===void 0?void 0:k.from}_${(N=w.rangeFilter)===null||N===void 0?void 0:N.to}`}).join("*");g.append(U.RANGE_FILTERS,x)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&g.append(U.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&g.append(U.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&g.append(U.SORT,t.sortId),!((h=t.paging)===null||h===void 0)&&h.perPage&&((y=(p=t.paging)===null||p===void 0?void 0:p.perPage)!==null&&y!==void 0?y:this.defaultPerPage)!=this.defaultPerPage&&g.append(U.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&g.append(U.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let T=(b=t.otherQueryParams)!==null&&b!==void 0?b:{};for(let x in T)g.append(x,T[x]);let S=new Array;return g.forEach((x,w)=>{S.push(this.encodeQueryString(w)+"="+this.encodeQueryString(x))}),encodeURI(S.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let n=t.split("?"),a=this.fromURLSearchParams(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(t){var r,n,a,i,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(A){console.warn("Could not decode search request query params, fallback on raw value",A)}let d=new URLSearchParams(t),f=d.get(U.LOCALE)==="all"?void 0:d.get(U.LOCALE),h=((r=d.get(U.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(n=d.get(U.SORT))===null||n===void 0?void 0:n.toLowerCase(),y=(a=d.get(U.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=d.get(U.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),g=d.get(U.KEYWORD_MATCH),O=g?g.toUpperCase()===ur.MANDATORY?ur.MANDATORY:ur.OPTIONAL:void 0,C={};for(let A of d.keys())Yl(A)||(C[A]=d.get(A));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(U.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:Dl(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:At(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:O,otherQueryParams:C}}parseCompatFilters(t){var r,n,a,i,s,l;let d=[];return t.has(U.FILTERS)&&(d=this.parseValueFilters((r=t.get(U.FILTERS))!==null&&r!==void 0?r:"")),(n=t.has(U.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(U.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(U.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(U.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(U.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(jl).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:fr[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(r,n);return t}superEscapeFilters(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[r,n,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(Ml(t))return[{key:"ft:lastEdition",dateFilter:{type:fr[t]}}];if(t.startsWith("CUSTOM_")){let[r,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}static clearSearchParamsInUrl(t){let r=new URL(t);return[U.LOCALE,U.FILTERS,U.VALUE_FILTERS,U.DATE_FILTERS,U.RANGE_FILTERS].forEach(a=>{r.searchParams.delete(a)}),r.toString()}static updateLocaleParamInUrl(t,r){let n=new URL(t);return n.searchParams.delete(U.LOCALE),r!==void 0&&n.searchParams.append(U.LOCALE,r),n.toString()}};var ri={};H(ri,{toFtFormComponent:()=>Qp});var ti=Symbol("elementInternals"),Qp=xe(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[ti].form}constructor(...n){super(n),this[ti]=this.attachInternals()}setFormValue(n){this[ti].setFormValue(n)}}return t});var oi={};H(oi,{DateFormatter:()=>ni});var ni=class{static format(t,r,n,a,i){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,a,!!i)):this.getIntlDateTime(t,r,n,a,!!i)}static getMomentDateFormat(t,r,n){return n?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return i?d:a?`${l} ${d}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ii={};H(ii,{ALL_KEYS_VALUE:()=>ai,SameWindowStorageEvent:()=>pr});var ai="__all__",pr=class extends CustomEvent{constructor(t,r,n){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==ai}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new pr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let n=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new pr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new pr(ai))}});var ci={};H(ci,{FocusMainContentEvent:()=>si});var si=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Vl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function eh(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function th(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",eh);document.addEventListener("click",th);var Kl=te`
|
|
49
49
|
.sr-only {
|
|
50
50
|
position:absolute;
|
|
51
51
|
left:-10000px;
|
|
@@ -69,30 +69,30 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
69
69
|
width:auto;
|
|
70
70
|
height:auto;
|
|
71
71
|
}
|
|
72
|
-
`;var li={};H(li,{withAriaNotification:()=>
|
|
72
|
+
`;var li={};H(li,{withAriaNotification:()=>nh});var rh={checkVisibility:!0},nh=xe(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(n,a){let{checkVisibility:i}={...rh,...a};setTimeout(()=>{(!i||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Nr({type:"aria",message:n})))},20)}}return t});function Zl(e,t,r){return e?t(e):r?.(e)}var se=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Bt;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(Bt||(Bt={}));var Wt;(function(e){e.default="default",e.warning="warning",e.error="error"})(Wt||(Wt={}));var di=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}},_E=xe(Symbol("toFtInput"),function(e){class t extends e{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Bt.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Wt.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Bt.blur||this.validateOn===Bt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==Wt.default&&this.validateOn===Bt.blurWithStatusResolutionOnInput||this.validateOn===Bt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new di(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return it`
|
|
73
73
|
<ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
|
|
74
74
|
style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
|
|
75
|
-
${
|
|
75
|
+
${vn(this.errorMessages,n=>it`
|
|
76
76
|
<li>${n}</li>
|
|
77
77
|
`)}
|
|
78
|
-
${
|
|
78
|
+
${vn(this.warningMessages,n=>it`
|
|
79
79
|
<li>${n}</li>
|
|
80
80
|
`)}
|
|
81
|
-
${
|
|
81
|
+
${Zl(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>it`
|
|
82
82
|
<li>${this.helperText}</li>
|
|
83
83
|
`)}
|
|
84
84
|
</ul>
|
|
85
|
-
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Wt.error:this.warningMessages.length?Wt.warning:Wt.default}processRules(n){return n.map(a=>a(this.value)).filter(a=>a!==!0).map(a=>a)}}return
|
|
86
|
-
[`+i+"] ";for(s in arguments[0])z(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}
|
|
85
|
+
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Wt.error:this.warningMessages.length?Wt.warning:Wt.default}processRules(n){return n.map(a=>a(this.value)).filter(a=>a!==!0).map(a=>a)}}return se([M()],t.prototype,"warningRules",void 0),se([M()],t.prototype,"errorRules",void 0),se([M()],t.prototype,"validateOn",void 0),se([M({type:Boolean})],t.prototype,"validateAtRender",void 0),se([M()],t.prototype,"label",void 0),se([M({type:Boolean})],t.prototype,"hideLabel",void 0),se([M()],t.prototype,"name",void 0),se([M({type:Boolean})],t.prototype,"disabled",void 0),se([M()],t.prototype,"helperText",void 0),se([M()],t.prototype,"forceStatus",void 0),se([M({reflect:!0})],t.prototype,"value",void 0),se([Be()],t.prototype,"errorMessages",void 0),se([Be()],t.prototype,"warningMessages",void 0),se([Be()],t.prototype,"status",void 0),se([Be()],t.prototype,"focused",void 0),se([Be()],t.prototype,"additionalWarningRules",void 0),se([Be()],t.prototype,"additionalErrorRules",void 0),t});var qr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(t,!1),qr(n,t);return!0},Bn=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},ql=e=>{for(let t;t=e._$AM;e=t){let r=t._$AN;if(r===void 0)t._$AN=r=new Set;else if(r.has(e))break;r.add(e),ih(t)}};function oh(e){this._$AN!==void 0?(Bn(this),this._$AM=e,ql(this)):this._$AM=e}function ah(e,t=!1,r=0){let n=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(n))for(let i=r;i<n.length;i++)qr(n[i],!1),Bn(n[i]);else n!=null&&(qr(n,!1),Bn(n));else qr(this,e)}var ih=e=>{e.type==We.CHILD&&(e._$AP??=ah,e._$AQ??=oh)},hr=class extends Ee{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,n){super._$AT(t,r,n),ql(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(qr(this,t),Bn(this))}setValue(t){if(fs(this._$Ct))this._$Ct._$AI(t,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=t,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var ui=class extends hr{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return re}update(t){return this.part=t,this.isElementTrappable(t.element)&&this.createFocusTrap(t.element),re}reconnected(){var t;this.isElementTrappable((t=this.part)===null||t===void 0?void 0:t.element)&&this.createFocusTrap(this.part.element)}disconnected(){var t,r,n,a;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(a=this.lastTrap)===null||a===void 0||a.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=0;n<r.length;n++){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusFirstDescendant(a)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let r=this.getChildren(t);for(let n=r.length-1;n>=0;n--){let a=r[n];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusLastDescendant(a)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof we&&await t.updateComplete}isInsideElement(t,r){for(let n=t;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},YE=be(ui);var Jl;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(Jl||(Jl={}));var sh={sm:640,md:768,lg:1024,xl:1280},fi=class extends hr{constructor(t){super(t),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[r,n,a]){return this.lastArgs=[r,n,a],this.render(r,n,a)}render(t,r,n){let a=this.resolveThreshold(t),i=n??(()=>J);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:sh[t]}},qE=be(fi);var pi,hi,yi,mi,ch=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((yi=(hi=(pi=window.safari)===null||pi===void 0?void 0:pi.pushNotification)===null||hi===void 0?void 0:hi.toString())!==null&&yi!==void 0?yi:"")==="[object SafariRemoteNotification]",lh="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(mi=window.ftGlobals)!==null&&mi!==void 0?mi:{lit:Oo,litDecorators:Eo,litRepeat:Co,litClassMap:Ao,litStyleMap:_o,litUnsafeHTML:Ro,wcUtils:{...Uo,...ko,...Go,...oi,...zo,...Yo,...qo,...Mo,...da,...ci,...Vl,...Xa,...ua,...Zo,...ga,...ri,...ya,...li,...Cc,...Lo,...xa,...Jo,...va,...Kl,..._c,...Oa,...Za,...ii,...fa,...ha,...ei,...Wo,isSafari:ch,isTouchScreen:lh,setVariable:Jt}};var nd;function _(){return nd.apply(null,arguments)}function dh(e){nd=e}function De(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Gt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function z(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ri(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(z(e,t))return!1;return!0}function me(e){return e===void 0}function nt(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function on(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function od(e,t){var r=[],n,a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function mt(e,t){for(var r in t)z(t,r)&&(e[r]=t[r]);return z(t,"toString")&&(e.toString=t.toString),z(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ve(e,t,r,n){return Rd(e,t,r,n,!0).utc()}function uh(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function D(e){return e._pf==null&&(e._pf=uh()),e._pf}var Si;Array.prototype.some?Si=Array.prototype.some:Si=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function Ti(e){if(e._isValid==null){var t=D(e),r=Si.call(t.parsedDateParts,function(a){return a!=null}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n}return e._isValid}function Jn(e){var t=Ve(NaN);return e!=null?mt(D(t),e):D(t).userInvalidated=!0,t}var Xl=_.momentProperties=[],gi=!1;function ki(e,t){var r,n,a,i=Xl.length;if(me(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),me(t._i)||(e._i=t._i),me(t._f)||(e._f=t._f),me(t._l)||(e._l=t._l),me(t._strict)||(e._strict=t._strict),me(t._tzm)||(e._tzm=t._tzm),me(t._isUTC)||(e._isUTC=t._isUTC),me(t._offset)||(e._offset=t._offset),me(t._pf)||(e._pf=D(t)),me(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)n=Xl[r],a=t[n],me(a)||(e[n]=a);return e}function an(e){ki(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),gi===!1&&(gi=!0,_.updateOffset(this),gi=!1)}function Me(e){return e instanceof an||e!=null&&e._isAMomentObject!=null}function ad(e){_.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Te(e,t){var r=!0;return mt(function(){if(_.deprecationHandler!=null&&_.deprecationHandler(null,e),r){var n=[],a,i,s,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
86
|
+
[`+i+"] ";for(s in arguments[0])z(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}ad(e+`
|
|
87
87
|
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
88
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Jl={};function od(e,t){_.deprecationHandler!=null&&_.deprecationHandler(e,t),Jl[e]||(nd(t),Jl[e]=!0)}_.suppressDeprecationWarnings=!1;_.deprecationHandler=null;function Ve(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function dh(e){var t,r;for(r in e)z(e,r)&&(t=e[r],Ve(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Si(e,t){var r=mt({},e),n;for(n in t)z(t,n)&&(Gt(e[n])&&Gt(t[n])?(r[n]={},mt(r[n],e[n]),mt(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)z(e,n)&&!z(t,n)&&Gt(e[n])&&(r[n]=mt({},r[n]));return r}function Ti(e){e!=null&&this.set(e)}var Oi;Object.keys?Oi=Object.keys:Oi=function(e){var t,r=[];for(t in e)z(e,t)&&r.push(t);return r};var uh={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function fh(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return Ve(n)?n.call(t,r):n}function je(e,t,r){var n=""+Math.abs(e),a=t-n.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var Ii=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Wn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,gi={},gr={};function N(e,t,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),e&&(gr[e]=a),t&&(gr[t[0]]=function(){return je(a.apply(this,arguments),t[1],t[2])}),r&&(gr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function ph(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function hh(e){var t=e.match(Ii),r,n;for(r=0,n=t.length;r<n;r++)gr[t[r]]?t[r]=gr[t[r]]:t[r]=ph(t[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=Ve(t[s])?t[s].call(a,e):t[s];return i}}function $n(e,t){return e.isValid()?(t=ad(t,e.localeData()),gi[t]=gi[t]||hh(t),gi[t](e)):e.localeData().invalidDate()}function ad(e,t){var r=5;function n(a){return t.longDateFormat(a)||a}for(Wn.lastIndex=0;r>=0&&Wn.test(e);)e=e.replace(Wn,n),Wn.lastIndex=0,r-=1;return e}var yh={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function mh(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Ii).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var gh="Invalid date";function bh(){return this._invalidDate}var xh="%d",vh=/\d{1,2}/;function Sh(e){return this._ordinal.replace("%d",e)}var Oh={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function wh(e,t,r,n){var a=this._relativeTime[r];return Ve(a)?a(e,t,r,n):a.replace(/%d/i,e)}function Eh(e,t){var r=this._relativeTime[e>0?"future":"past"];return Ve(r)?r(t):r.replace(/%s/i,t)}var Xr={};function de(e,t){var r=e.toLowerCase();Xr[r]=Xr[r+"s"]=Xr[t]=e}function Re(e){return typeof e=="string"?Xr[e]||Xr[e.toLowerCase()]:void 0}function Pi(e){var t={},r,n;for(n in e)z(e,n)&&(r=Re(n),r&&(t[r]=e[n]));return t}var id={};function ue(e,t){id[e]=t}function Ch(e){var t=[],r;for(r in e)z(e,r)&&t.push({unit:r,priority:id[r]});return t.sort(function(n,a){return n.priority-a.priority}),t}function Xn(e){return e%4===0&&e%100!==0||e%400===0}function Ae(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function F(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=Ae(t)),r}function vr(e,t){return function(r){return r!=null?(sd(this,e,r),_.updateOffset(this,t),this):jn(this,e)}}function jn(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function sd(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Xn(e.year())&&e.month()===1&&e.date()===29?(r=F(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),oo(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function Ah(e){return e=Re(e),Ve(this[e])?this[e]():this}function _h(e,t){if(typeof e=="object"){e=Pi(e);var r=Ch(e),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(e=Re(e),Ve(this[e]))return this[e](t);return this}var cd=/\d/,Se=/\d\d/,ld=/\d{3}/,Ni=/\d{4}/,Qn=/[+-]?\d{6}/,q=/\d\d?/,dd=/\d\d\d\d?/,ud=/\d\d\d\d\d\d?/,eo=/\d{1,3}/,Li=/\d{1,4}/,to=/[+-]?\d{1,6}/,Sr=/\d+/,ro=/[+-]?\d+/,Rh=/Z|[+-]\d\d:?\d\d/gi,no=/Z|[+-]\d\d(?::?\d\d)?/gi,kh=/[+-]?\d+(\.\d{1,3})?/,an=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Yn;Yn={};function R(e,t,r){Yn[e]=Ve(t)?t:function(n,a){return n&&r?r:t}}function Th(e,t){return z(Yn,e)?Yn[e](t._strict,t._locale):new RegExp(Ih(e))}function Ih(e){return ve(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,a,i){return r||n||a||i}))}function ve(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var wi={};function V(e,t){var r,n=t,a;for(typeof e=="string"&&(e=[e]),nt(t)&&(n=function(i,s){s[t]=F(i)}),a=e.length,r=0;r<a;r++)wi[e[r]]=n}function sn(e,t){V(e,function(r,n,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function Ph(e,t,r){t!=null&&z(wi,e)&&wi[e](t,r._a,r,e)}var le=0,et=1,ze=2,re=3,Ne=4,tt=5,$t=6,Nh=7,Lh=8;function Dh(e,t){return(e%t+t)%t}var ee;Array.prototype.indexOf?ee=Array.prototype.indexOf:ee=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function oo(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Dh(t,12);return e+=(t-r)/12,r===1?Xn(e)?29:28:31-r%7%2}N("M",["MM",2],"Mo",function(){return this.month()+1});N("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});N("MMMM",0,0,function(e){return this.localeData().months(this,e)});de("month","M");ue("month",8);R("M",q);R("MM",q,Se);R("MMM",function(e,t){return t.monthsShortRegex(e)});R("MMMM",function(e,t){return t.monthsRegex(e)});V(["M","MM"],function(e,t){t[et]=F(e)-1});V(["MMM","MMMM"],function(e,t,r,n){var a=r._locale.monthsParse(e,n,r._strict);a!=null?t[et]=a:D(r).invalidMonth=e});var Mh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),fd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),pd=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fh=an,Uh=an;function Bh(e,t){return e?Le(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||pd).test(t)?"format":"standalone"][e.month()]:Le(this._months)?this._months:this._months.standalone}function Wh(e,t){return e?Le(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[pd.test(t)?"format":"standalone"][e.month()]:Le(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Hh(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=Ye([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null):(a=ee.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:(a=ee.call(this._longMonthsParse,s),a!==-1?a:null)):(a=ee.call(this._longMonthsParse,s),a!==-1?a:(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null))}function $h(e,t,r){var n,a,i;if(this._monthsParseExact)return Hh.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=Ye([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function hd(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=F(t);else if(t=e.localeData().monthsParse(t),!nt(t))return e}return r=Math.min(e.date(),oo(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function yd(e){return e!=null?(hd(this,e),_.updateOffset(this,!0),this):jn(this,"Month")}function Gh(){return oo(this.year(),this.month())}function zh(e){return this._monthsParseExact?(z(this,"_monthsRegex")||md.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(z(this,"_monthsShortRegex")||(this._monthsShortRegex=Fh),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function jh(e){return this._monthsParseExact?(z(this,"_monthsRegex")||md.call(this),e?this._monthsStrictRegex:this._monthsRegex):(z(this,"_monthsRegex")||(this._monthsRegex=Uh),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function md(){function e(s,l){return l.length-s.length}var t=[],r=[],n=[],a,i;for(a=0;a<12;a++)i=Ye([2e3,a]),t.push(this.monthsShort(i,"")),r.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(t.sort(e),r.sort(e),n.sort(e),a=0;a<12;a++)t[a]=ve(t[a]),r[a]=ve(r[a]);for(a=0;a<24;a++)n[a]=ve(n[a]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}N("Y",0,0,function(){var e=this.year();return e<=9999?je(e,4):"+"+e});N(0,["YY",2],0,function(){return this.year()%100});N(0,["YYYY",4],0,"year");N(0,["YYYYY",5],0,"year");N(0,["YYYYYY",6,!0],0,"year");de("year","y");ue("year",1);R("Y",ro);R("YY",q,Se);R("YYYY",Li,Ni);R("YYYYY",to,Qn);R("YYYYYY",to,Qn);V(["YYYYY","YYYYYY"],le);V("YYYY",function(e,t){t[le]=e.length===2?_.parseTwoDigitYear(e):F(e)});V("YY",function(e,t){t[le]=_.parseTwoDigitYear(e)});V("Y",function(e,t){t[le]=parseInt(e,10)});function Qr(e){return Xn(e)?366:365}_.parseTwoDigitYear=function(e){return F(e)+(F(e)>68?1900:2e3)};var gd=vr("FullYear",!0);function Yh(){return Xn(this.year())}function Vh(e,t,r,n,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,n,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,n,a,i,s),l}function en(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Vn(e,t,r){var n=7+t-r,a=(7+en(e,0,n).getUTCDay()-t)%7;return-a+n-1}function bd(e,t,r,n,a){var i=(7+r-n)%7,s=Vn(e,n,a),l=1+7*(t-1)+i+s,d,f;return l<=0?(d=e-1,f=Qr(d)+l):l>Qr(e)?(d=e+1,f=l-Qr(e)):(d=e,f=l),{year:d,dayOfYear:f}}function tn(e,t,r){var n=Vn(e.year(),t,r),a=Math.floor((e.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+rt(s,t,r)):a>rt(e.year(),t,r)?(i=a-rt(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function rt(e,t,r){var n=Vn(e,t,r),a=Vn(e+1,t,r);return(Qr(e)-n+a)/7}N("w",["ww",2],"wo","week");N("W",["WW",2],"Wo","isoWeek");de("week","w");de("isoWeek","W");ue("week",5);ue("isoWeek",5);R("w",q);R("ww",q,Se);R("W",q);R("WW",q,Se);sn(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=F(e)});function Kh(e){return tn(e,this._week.dow,this._week.doy).week}var Zh={dow:0,doy:6};function qh(){return this._week.dow}function Jh(){return this._week.doy}function Xh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Qh(e){var t=tn(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}N("d",0,"do","day");N("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});N("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});N("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});N("e",0,0,"weekday");N("E",0,0,"isoWeekday");de("day","d");de("weekday","e");de("isoWeekday","E");ue("day",11);ue("weekday",11);ue("isoWeekday",11);R("d",q);R("e",q);R("E",q);R("dd",function(e,t){return t.weekdaysMinRegex(e)});R("ddd",function(e,t){return t.weekdaysShortRegex(e)});R("dddd",function(e,t){return t.weekdaysRegex(e)});sn(["dd","ddd","dddd"],function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);a!=null?t.d=a:D(r).invalidWeekday=e});sn(["d","e","E"],function(e,t,r,n){t[n]=F(e)});function ey(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ty(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Di(e,t){return e.slice(t,7).concat(e.slice(0,t))}var ry="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),xd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ny="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),oy=an,ay=an,iy=an;function sy(e,t){var r=Le(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Di(r,this._week.dow):e?r[e.day()]:r}function cy(e){return e===!0?Di(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ly(e){return e===!0?Di(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function dy(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=Ye([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1||(a=ee.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=ee.call(this._minWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function uy(e,t,r){var n,a,i;if(this._weekdaysParseExact)return dy.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=Ye([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function fy(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=ey(e,this.localeData()),this.add(e-t,"d")):t}function py(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function hy(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ty(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function yy(e){return this._weekdaysParseExact?(z(this,"_weekdaysRegex")||Mi.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(z(this,"_weekdaysRegex")||(this._weekdaysRegex=oy),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function my(e){return this._weekdaysParseExact?(z(this,"_weekdaysRegex")||Mi.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(z(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ay),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function gy(e){return this._weekdaysParseExact?(z(this,"_weekdaysRegex")||Mi.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(z(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=iy),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Mi(){function e(h,p){return p.length-h.length}var t=[],r=[],n=[],a=[],i,s,l,d,f;for(i=0;i<7;i++)s=Ye([2e3,1]).day(i),l=ve(this.weekdaysMin(s,"")),d=ve(this.weekdaysShort(s,"")),f=ve(this.weekdays(s,"")),t.push(l),r.push(d),n.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),n.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Fi(){return this.hours()%12||12}function by(){return this.hours()||24}N("H",["HH",2],0,"hour");N("h",["hh",2],0,Fi);N("k",["kk",2],0,by);N("hmm",0,0,function(){return""+Fi.apply(this)+je(this.minutes(),2)});N("hmmss",0,0,function(){return""+Fi.apply(this)+je(this.minutes(),2)+je(this.seconds(),2)});N("Hmm",0,0,function(){return""+this.hours()+je(this.minutes(),2)});N("Hmmss",0,0,function(){return""+this.hours()+je(this.minutes(),2)+je(this.seconds(),2)});function vd(e,t){N(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}vd("a",!0);vd("A",!1);de("hour","h");ue("hour",13);function Sd(e,t){return t._meridiemParse}R("a",Sd);R("A",Sd);R("H",q);R("h",q);R("k",q);R("HH",q,Se);R("hh",q,Se);R("kk",q,Se);R("hmm",dd);R("hmmss",ud);R("Hmm",dd);R("Hmmss",ud);V(["H","HH"],re);V(["k","kk"],function(e,t,r){var n=F(e);t[re]=n===24?0:n});V(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});V(["h","hh"],function(e,t,r){t[re]=F(e),D(r).bigHour=!0});V("hmm",function(e,t,r){var n=e.length-2;t[re]=F(e.substr(0,n)),t[Ne]=F(e.substr(n)),D(r).bigHour=!0});V("hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[re]=F(e.substr(0,n)),t[Ne]=F(e.substr(n,2)),t[tt]=F(e.substr(a)),D(r).bigHour=!0});V("Hmm",function(e,t,r){var n=e.length-2;t[re]=F(e.substr(0,n)),t[Ne]=F(e.substr(n))});V("Hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[re]=F(e.substr(0,n)),t[Ne]=F(e.substr(n,2)),t[tt]=F(e.substr(a))});function xy(e){return(e+"").toLowerCase().charAt(0)==="p"}var vy=/[ap]\.?m?\.?/i,Sy=vr("Hours",!0);function Oy(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Od={calendar:uh,longDateFormat:yh,invalidDate:gh,ordinal:xh,dayOfMonthOrdinalParse:vh,relativeTime:Oh,months:Mh,monthsShort:fd,week:Zh,weekdays:ry,weekdaysMin:ny,weekdaysShort:xd,meridiemParse:vy},Q={},qr={},rn;function wy(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function Xl(e){return e&&e.toLowerCase().replace("_","-")}function Ey(e){for(var t=0,r,n,a,i;t<e.length;){for(i=Xl(e[t]).split("-"),r=i.length,n=Xl(e[t+1]),n=n?n.split("-"):null;r>0;){if(a=ao(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&wy(i,n)>=r-1)break;r--}t++}return rn}function Cy(e){return e.match("^[^/\\\\]*$")!=null}function ao(e){var t=null,r;if(Q[e]===void 0&&typeof module<"u"&&module&&module.exports&&Cy(e))try{t=rn._abbr,r=Ki,r("./locale/"+e),bt(t)}catch{Q[e]=null}return Q[e]}function bt(e,t){var r;return e&&(me(t)?r=ot(e):r=Ui(e,t),r?rn=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rn._abbr}function Ui(e,t){if(t!==null){var r,n=Od;if(t.abbr=e,Q[e]!=null)od("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Q[e]._config;else if(t.parentLocale!=null)if(Q[t.parentLocale]!=null)n=Q[t.parentLocale]._config;else if(r=ao(t.parentLocale),r!=null)n=r._config;else return qr[t.parentLocale]||(qr[t.parentLocale]=[]),qr[t.parentLocale].push({name:e,config:t}),null;return Q[e]=new Ti(Si(n,t)),qr[e]&&qr[e].forEach(function(a){Ui(a.name,a.config)}),bt(e),Q[e]}else return delete Q[e],null}function Ay(e,t){if(t!=null){var r,n,a=Od;Q[e]!=null&&Q[e].parentLocale!=null?Q[e].set(Si(Q[e]._config,t)):(n=ao(e),n!=null&&(a=n._config),t=Si(a,t),n==null&&(t.abbr=e),r=new Ti(t),r.parentLocale=Q[e],Q[e]=r),bt(e)}else Q[e]!=null&&(Q[e].parentLocale!=null?(Q[e]=Q[e].parentLocale,e===bt()&&bt(e)):Q[e]!=null&&delete Q[e]);return Q[e]}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rn;if(!Le(e)){if(t=ao(e),t)return t;e=[e]}return Ey(e)}function _y(){return Oi(Q)}function Bi(e){var t,r=e._a;return r&&D(e).overflow===-2&&(t=r[et]<0||r[et]>11?et:r[ze]<1||r[ze]>oo(r[le],r[et])?ze:r[re]<0||r[re]>24||r[re]===24&&(r[Ne]!==0||r[tt]!==0||r[$t]!==0)?re:r[Ne]<0||r[Ne]>59?Ne:r[tt]<0||r[tt]>59?tt:r[$t]<0||r[$t]>999?$t:-1,D(e)._overflowDayOfYear&&(t<le||t>ze)&&(t=ze),D(e)._overflowWeeks&&t===-1&&(t=Nh),D(e)._overflowWeekday&&t===-1&&(t=Lh),D(e).overflow=t),e}var Ry=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ky=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ty=/Z|[+-]\d\d(?::?\d\d)?/,Hn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],bi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Iy=/^\/?Date\((-?\d+)/i,Py=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ny={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function wd(e){var t,r,n=e._i,a=Ry.exec(n)||ky.exec(n),i,s,l,d,f=Hn.length,h=bi.length;if(a){for(D(e).iso=!0,t=0,r=f;t<r;t++)if(Hn[t][1].exec(a[1])){s=Hn[t][0],i=Hn[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(bi[t][1].exec(a[3])){l=(a[2]||" ")+bi[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(Ty.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),Hi(e)}else e._isValid=!1}function Ly(e,t,r,n,a,i){var s=[Dy(e),fd.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Dy(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function My(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Fy(e,t,r){if(e){var n=xd.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(n!==a)return D(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Uy(e,t,r){if(e)return Ny[e];if(t)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function Ed(e){var t=Py.exec(My(e._i)),r;if(t){if(r=Ly(t[4],t[3],t[2],t[5],t[6],t[7]),!Fy(t[1],r,e))return;e._a=r,e._tzm=Uy(t[8],t[9],t[10]),e._d=en.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),D(e).rfc2822=!0}else e._isValid=!1}function By(e){var t=Iy.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(wd(e),e._isValid===!1)delete e._isValid;else return;if(Ed(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:_.createFromInputFallback(e)}_.createFromInputFallback=_e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function yr(e,t,r){return e??t??r}function Wy(e){var t=new Date(_.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Wi(e){var t,r,n=[],a,i,s;if(!e._d){for(a=Wy(e),e._w&&e._a[ze]==null&&e._a[et]==null&&Hy(e),e._dayOfYear!=null&&(s=yr(e._a[le],a[le]),(e._dayOfYear>Qr(s)||e._dayOfYear===0)&&(D(e)._overflowDayOfYear=!0),r=en(s,0,e._dayOfYear),e._a[et]=r.getUTCMonth(),e._a[ze]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[re]===24&&e._a[Ne]===0&&e._a[tt]===0&&e._a[$t]===0&&(e._nextDay=!0,e._a[re]=0),e._d=(e._useUTC?en:Vh).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[re]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(D(e).weekdayMismatch=!0)}}function Hy(e){var t,r,n,a,i,s,l,d,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=yr(t.GG,e._a[le],tn(Z(),1,4).year),n=yr(t.W,1),a=yr(t.E,1),(a<1||a>7)&&(d=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,f=tn(Z(),i,s),r=yr(t.gg,e._a[le],f.year),n=yr(t.w,f.week),t.d!=null?(a=t.d,(a<0||a>6)&&(d=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(d=!0)):a=i),n<1||n>rt(r,i,s)?D(e)._overflowWeeks=!0:d!=null?D(e)._overflowWeekday=!0:(l=bd(r,n,a,i,s),e._a[le]=l.year,e._dayOfYear=l.dayOfYear)}_.ISO_8601=function(){};_.RFC_2822=function(){};function Hi(e){if(e._f===_.ISO_8601){wd(e);return}if(e._f===_.RFC_2822){Ed(e);return}e._a=[],D(e).empty=!0;var t=""+e._i,r,n,a,i,s,l=t.length,d=0,f,h;for(a=ad(e._f,e._locale).match(Ii)||[],h=a.length,r=0;r<h;r++)i=a[r],n=(t.match(Th(i,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&D(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),d+=n.length),gr[i]?(n?D(e).empty=!1:D(e).unusedTokens.push(i),Ph(i,n,e)):e._strict&&!n&&D(e).unusedTokens.push(i);D(e).charsLeftOver=l-d,t.length>0&&D(e).unusedInput.push(t),e._a[re]<=12&&D(e).bigHour===!0&&e._a[re]>0&&(D(e).bigHour=void 0),D(e).parsedDateParts=e._a.slice(0),D(e).meridiem=e._meridiem,e._a[re]=$y(e._locale,e._a[re],e._meridiem),f=D(e).era,f!==null&&(e._a[le]=e._locale.erasConvertYear(f,e._a[le])),Wi(e),Bi(e)}function $y(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Gy(e){var t,r,n,a,i,s,l=!1,d=e._f.length;if(d===0){D(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,s=!1,t=ki({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Hi(t),Ri(t)&&(s=!0),i+=D(t).charsLeftOver,i+=D(t).unusedTokens.length*10,D(t).score=i,l?i<n&&(n=i,r=t):(n==null||i<n||s)&&(n=i,r=t,s&&(l=!0));mt(e,r||t)}function zy(e){if(!e._d){var t=Pi(e._i),r=t.day===void 0?t.date:t.day;e._a=rd([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Wi(e)}}function jy(e){var t=new on(Bi(Cd(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Cd(e){var t=e._i,r=e._f;return e._locale=e._locale||ot(e._l),t===null||r===void 0&&t===""?Jn({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),De(t)?new on(Bi(t)):(nn(t)?e._d=t:Le(r)?Gy(e):r?Hi(e):Yy(e),Ri(e)||(e._d=null),e))}function Yy(e){var t=e._i;me(t)?e._d=new Date(_.now()):nn(t)?e._d=new Date(t.valueOf()):typeof t=="string"?By(e):Le(t)?(e._a=rd(t.slice(0),function(r){return parseInt(r,10)}),Wi(e)):Gt(t)?zy(e):nt(t)?e._d=new Date(t):_.createFromInputFallback(e)}function Ad(e,t,r,n,a){var i={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Gt(e)&&_i(e)||Le(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=n,jy(i)}function Z(e,t,r,n){return Ad(e,t,r,n,!1)}var Vy=_e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Z.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Jn()}),Ky=_e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Z.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Jn()});function _d(e,t){var r,n;if(t.length===1&&Le(t[0])&&(t=t[0]),!t.length)return Z();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Zy(){var e=[].slice.call(arguments,0);return _d("isBefore",e)}function qy(){var e=[].slice.call(arguments,0);return _d("isAfter",e)}var Jy=function(){return Date.now?Date.now():+new Date},Jr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Xy(e){var t,r=!1,n,a=Jr.length;for(t in e)if(z(e,t)&&!(ee.call(Jr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<a;++n)if(e[Jr[n]]){if(r)return!1;parseFloat(e[Jr[n]])!==F(e[Jr[n]])&&(r=!0)}return!0}function Qy(){return this._isValid}function em(){return Me(NaN)}function io(e){var t=Pi(e),r=t.year||0,n=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,h=t.millisecond||0;this._isValid=Xy(t),this._milliseconds=+h+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=ot(),this._bubble()}function Gn(e){return e instanceof io}function Ei(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function tm(e,t,r){var n=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<n;s++)(r&&e[s]!==t[s]||!r&&F(e[s])!==F(t[s]))&&i++;return i+a}function Rd(e,t){N(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+je(~~(r/60),2)+t+je(~~r%60,2)})}Rd("Z",":");Rd("ZZ","");R("Z",no);R("ZZ",no);V(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=$i(no,e)});var rm=/([\+\-]|\d\d)/gi;function $i(e,t){var r=(t||"").match(e),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(rm)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function Gi(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(De(e)||nn(e)?e.valueOf():Z(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),_.updateOffset(r,!1),r):Z(e).local()}function Ci(e){return-Math.round(e._d.getTimezoneOffset())}_.updateOffset=function(){};function nm(e,t,r){var n=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=$i(no,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=Ci(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==e&&(!t||this._changeInProgress?Id(this,Me(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,_.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Ci(this)}function om(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function am(e){return this.utcOffset(0,e)}function im(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ci(this),"m")),this}function sm(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=$i(Rh,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function cm(e){return this.isValid()?(e=e?Z(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function lm(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function dm(){if(!me(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ki(e,this),e=Cd(e),e._a?(t=e._isUTC?Ye(e._a):Z(e._a),this._isDSTShifted=this.isValid()&&tm(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function um(){return this.isValid()?!this._isUTC:!1}function fm(){return this.isValid()?this._isUTC:!1}function kd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var pm=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,hm=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Me(e,t){var r=e,n=null,a,i,s;return Gn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:nt(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=pm.exec(e))?(a=n[1]==="-"?-1:1,r={y:0,d:F(n[ze])*a,h:F(n[re])*a,m:F(n[Ne])*a,s:F(n[tt])*a,ms:F(Ei(n[$t]*1e3))*a}):(n=hm.exec(e))?(a=n[1]==="-"?-1:1,r={y:Ht(n[2],a),M:Ht(n[3],a),w:Ht(n[4],a),d:Ht(n[5],a),h:Ht(n[6],a),m:Ht(n[7],a),s:Ht(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=ym(Z(r.from),Z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new io(r),Gn(e)&&z(e,"_locale")&&(i._locale=e._locale),Gn(e)&&z(e,"_isValid")&&(i._isValid=e._isValid),i}Me.fn=io.prototype;Me.invalid=em;function Ht(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Ql(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function ym(e,t){var r;return e.isValid()&&t.isValid()?(t=Gi(t,e),e.isBefore(t)?r=Ql(e,t):(r=Ql(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Td(e,t){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(od(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=Me(r,n),Id(this,a,e),this}}function Id(e,t,r,n){var a=t._milliseconds,i=Ei(t._days),s=Ei(t._months);e.isValid()&&(n=n??!0,s&&hd(e,jn(e,"Month")+s*r),i&&sd(e,"Date",jn(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),n&&_.updateOffset(e,i||s))}var mm=Td(1,"add"),gm=Td(-1,"subtract");function Pd(e){return typeof e=="string"||e instanceof String}function bm(e){return De(e)||nn(e)||Pd(e)||nt(e)||vm(e)||xm(e)||e===null||e===void 0}function xm(e){var t=Gt(e)&&!_i(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=n.length;for(a=0;a<s;a+=1)i=n[a],r=r||z(e,i);return t&&r}function vm(e){var t=Le(e),r=!1;return t&&(r=e.filter(function(n){return!nt(n)&&Pd(e)}).length===0),t&&r}function Sm(e){var t=Gt(e)&&!_i(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||z(e,i);return t&&r}function Om(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function wm(e,t){arguments.length===1&&(arguments[0]?bm(arguments[0])?(e=arguments[0],t=void 0):Sm(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Z(),n=Gi(r,this).startOf("day"),a=_.calendarFormat(this,n)||"sameElse",i=t&&(Ve(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,Z(r)))}function Em(){return new on(this)}function Cm(e,t){var r=De(e)?e:Z(e);return this.isValid()&&r.isValid()?(t=Re(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Am(e,t){var r=De(e)?e:Z(e);return this.isValid()&&r.isValid()?(t=Re(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function _m(e,t,r,n){var a=De(e)?e:Z(e),i=De(t)?t:Z(t);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function Rm(e,t){var r=De(e)?e:Z(e),n;return this.isValid()&&r.isValid()?(t=Re(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function km(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Tm(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Im(e,t,r){var n,a,i;if(!this.isValid())return NaN;if(n=Gi(e,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,t=Re(t),t){case"year":i=zn(this,n)/12;break;case"month":i=zn(this,n);break;case"quarter":i=zn(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:Ae(i)}function zn(e,t){if(e.date()<t.date())return-zn(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),a,i;return t-n<0?(a=e.clone().add(r-1,"months"),i=(t-n)/(n-a)):(a=e.clone().add(r+1,"months"),i=(t-n)/(a-n)),-(r+i)||0}_.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";_.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Pm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Nm(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?$n(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ve(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",$n(r,"Z")):$n(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Lm(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+n+a+i)}function Dm(e){e||(e=this.isUtc()?_.defaultFormatUtc:_.defaultFormat);var t=$n(this,e);return this.localeData().postformat(t)}function Mm(e,t){return this.isValid()&&(De(e)&&e.isValid()||Z(e).isValid())?Me({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Fm(e){return this.from(Z(),e)}function Um(e,t){return this.isValid()&&(De(e)&&e.isValid()||Z(e).isValid())?Me({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Bm(e){return this.to(Z(),e)}function Nd(e){var t;return e===void 0?this._locale._abbr:(t=ot(e),t!=null&&(this._locale=t),this)}var Ld=_e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Dd(){return this._locale}var Kn=1e3,br=60*Kn,Zn=60*br,Md=(365*400+97)*24*Zn;function xr(e,t){return(e%t+t)%t}function Fd(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Md:new Date(e,t,r).valueOf()}function Ud(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Md:Date.UTC(e,t,r)}function Wm(e){var t,r;if(e=Re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ud:Fd,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=xr(t+(this._isUTC?0:this.utcOffset()*br),Zn);break;case"minute":t=this._d.valueOf(),t-=xr(t,br);break;case"second":t=this._d.valueOf(),t-=xr(t,Kn);break}return this._d.setTime(t),_.updateOffset(this,!0),this}function Hm(e){var t,r;if(e=Re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ud:Fd,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Zn-xr(t+(this._isUTC?0:this.utcOffset()*br),Zn)-1;break;case"minute":t=this._d.valueOf(),t+=br-xr(t,br)-1;break;case"second":t=this._d.valueOf(),t+=Kn-xr(t,Kn)-1;break}return this._d.setTime(t),_.updateOffset(this,!0),this}function $m(){return this._d.valueOf()-(this._offset||0)*6e4}function Gm(){return Math.floor(this.valueOf()/1e3)}function zm(){return new Date(this.valueOf())}function jm(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ym(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Vm(){return this.isValid()?this.toISOString():null}function Km(){return Ri(this)}function Zm(){return mt({},D(this))}function qm(){return D(this).overflow}function Jm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}N("N",0,0,"eraAbbr");N("NN",0,0,"eraAbbr");N("NNN",0,0,"eraAbbr");N("NNNN",0,0,"eraName");N("NNNNN",0,0,"eraNarrow");N("y",["y",1],"yo","eraYear");N("y",["yy",2],0,"eraYear");N("y",["yyy",3],0,"eraYear");N("y",["yyyy",4],0,"eraYear");R("N",zi);R("NN",zi);R("NNN",zi);R("NNNN",cg);R("NNNNN",lg);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?D(r).era=a:D(r).invalidEra=e});R("y",Sr);R("yy",Sr);R("yyy",Sr);R("yyyy",Sr);R("yo",dg);V(["y","yy","yyy","yyyy"],le);V(["yo"],function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[le]=r._locale.eraYearOrdinalParse(e,a):t[le]=parseInt(e,10)});function Xm(e,t){var r,n,a,i=this._eras||ot("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=_(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=_(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function Qm(e,t,r){var n,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),l=i[n].abbr.toUpperCase(),d=i[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[n];break;case"NNNN":if(s===e)return i[n];break;case"NNNNN":if(d===e)return i[n];break}else if([s,l,d].indexOf(e)>=0)return i[n]}function eg(e,t){var r=e.since<=e.until?1:-1;return t===void 0?_(e.since).year():_(e.since).year()+(t-e.offset)*r}function tg(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function rg(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function ng(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function og(){var e,t,r,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return(this.year()-_(a[e].since).year())*r+a[e].offset;return this.year()}function ag(e){return z(this,"_erasNameRegex")||ji.call(this),e?this._erasNameRegex:this._erasRegex}function ig(e){return z(this,"_erasAbbrRegex")||ji.call(this),e?this._erasAbbrRegex:this._erasRegex}function sg(e){return z(this,"_erasNarrowRegex")||ji.call(this),e?this._erasNarrowRegex:this._erasRegex}function zi(e,t){return t.erasAbbrRegex(e)}function cg(e,t){return t.erasNameRegex(e)}function lg(e,t){return t.erasNarrowRegex(e)}function dg(e,t){return t._eraYearOrdinalRegex||Sr}function ji(){var e=[],t=[],r=[],n=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)t.push(ve(s[a].name)),e.push(ve(s[a].abbr)),r.push(ve(s[a].narrow)),n.push(ve(s[a].name)),n.push(ve(s[a].abbr)),n.push(ve(s[a].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}N(0,["gg",2],0,function(){return this.weekYear()%100});N(0,["GG",2],0,function(){return this.isoWeekYear()%100});function so(e,t){N(0,[e,e.length],0,t)}so("gggg","weekYear");so("ggggg","weekYear");so("GGGG","isoWeekYear");so("GGGGG","isoWeekYear");de("weekYear","gg");de("isoWeekYear","GG");ue("weekYear",1);ue("isoWeekYear",1);R("G",ro);R("g",ro);R("GG",q,Se);R("gg",q,Se);R("GGGG",Li,Ni);R("gggg",Li,Ni);R("GGGGG",to,Qn);R("ggggg",to,Qn);sn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=F(e)});sn(["gg","GG"],function(e,t,r,n){t[n]=_.parseTwoDigitYear(e)});function ug(e){return Bd.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function fg(e){return Bd.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function pg(){return rt(this.year(),1,4)}function hg(){return rt(this.isoWeekYear(),1,4)}function yg(){var e=this.localeData()._week;return rt(this.year(),e.dow,e.doy)}function mg(){var e=this.localeData()._week;return rt(this.weekYear(),e.dow,e.doy)}function Bd(e,t,r,n,a){var i;return e==null?tn(this,n,a).year:(i=rt(e,n,a),t>i&&(t=i),gg.call(this,e,t,r,n,a))}function gg(e,t,r,n,a){var i=bd(e,t,r,n,a),s=en(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}N("Q",0,"Qo","quarter");de("quarter","Q");ue("quarter",7);R("Q",cd);V("Q",function(e,t){t[et]=(F(e)-1)*3});function bg(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}N("D",["DD",2],"Do","date");de("date","D");ue("date",9);R("D",q);R("DD",q,Se);R("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],ze);V("Do",function(e,t){t[ze]=F(e.match(q)[0])});var Wd=vr("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear");de("dayOfYear","DDD");ue("dayOfYear",4);R("DDD",eo);R("DDDD",ld);V(["DDD","DDDD"],function(e,t,r){r._dayOfYear=F(e)});function xg(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}N("m",["mm",2],0,"minute");de("minute","m");ue("minute",14);R("m",q);R("mm",q,Se);V(["m","mm"],Ne);var vg=vr("Minutes",!1);N("s",["ss",2],0,"second");de("second","s");ue("second",15);R("s",q);R("ss",q,Se);V(["s","ss"],tt);var Sg=vr("Seconds",!1);N("S",0,0,function(){return~~(this.millisecond()/100)});N(0,["SS",2],0,function(){return~~(this.millisecond()/10)});N(0,["SSS",3],0,"millisecond");N(0,["SSSS",4],0,function(){return this.millisecond()*10});N(0,["SSSSS",5],0,function(){return this.millisecond()*100});N(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});N(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});N(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});N(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});de("millisecond","ms");ue("millisecond",16);R("S",eo,cd);R("SS",eo,Se);R("SSS",eo,ld);var gt,Hd;for(gt="SSSS";gt.length<=9;gt+="S")R(gt,Sr);function Og(e,t){t[$t]=F(("0."+e)*1e3)}for(gt="S";gt.length<=9;gt+="S")V(gt,Og);Hd=vr("Milliseconds",!1);N("z",0,0,"zoneAbbr");N("zz",0,0,"zoneName");function wg(){return this._isUTC?"UTC":""}function Eg(){return this._isUTC?"Coordinated Universal Time":""}var E=on.prototype;E.add=mm;E.calendar=wm;E.clone=Em;E.diff=Im;E.endOf=Hm;E.format=Dm;E.from=Mm;E.fromNow=Fm;E.to=Um;E.toNow=Bm;E.get=Ah;E.invalidAt=qm;E.isAfter=Cm;E.isBefore=Am;E.isBetween=_m;E.isSame=Rm;E.isSameOrAfter=km;E.isSameOrBefore=Tm;E.isValid=Km;E.lang=Ld;E.locale=Nd;E.localeData=Dd;E.max=Ky;E.min=Vy;E.parsingFlags=Zm;E.set=_h;E.startOf=Wm;E.subtract=gm;E.toArray=jm;E.toObject=Ym;E.toDate=zm;E.toISOString=Nm;E.inspect=Lm;typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E.toJSON=Vm;E.toString=Pm;E.unix=Gm;E.valueOf=$m;E.creationData=Jm;E.eraName=tg;E.eraNarrow=rg;E.eraAbbr=ng;E.eraYear=og;E.year=gd;E.isLeapYear=Yh;E.weekYear=ug;E.isoWeekYear=fg;E.quarter=E.quarters=bg;E.month=yd;E.daysInMonth=Gh;E.week=E.weeks=Xh;E.isoWeek=E.isoWeeks=Qh;E.weeksInYear=yg;E.weeksInWeekYear=mg;E.isoWeeksInYear=pg;E.isoWeeksInISOWeekYear=hg;E.date=Wd;E.day=E.days=fy;E.weekday=py;E.isoWeekday=hy;E.dayOfYear=xg;E.hour=E.hours=Sy;E.minute=E.minutes=vg;E.second=E.seconds=Sg;E.millisecond=E.milliseconds=Hd;E.utcOffset=nm;E.utc=am;E.local=im;E.parseZone=sm;E.hasAlignedHourOffset=cm;E.isDST=lm;E.isLocal=um;E.isUtcOffset=fm;E.isUtc=kd;E.isUTC=kd;E.zoneAbbr=wg;E.zoneName=Eg;E.dates=_e("dates accessor is deprecated. Use date instead.",Wd);E.months=_e("months accessor is deprecated. Use month instead",yd);E.years=_e("years accessor is deprecated. Use year instead",gd);E.zone=_e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",om);E.isDSTShifted=_e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",dm);function Cg(e){return Z(e*1e3)}function Ag(){return Z.apply(null,arguments).parseZone()}function $d(e){return e}var j=Ti.prototype;j.calendar=fh;j.longDateFormat=mh;j.invalidDate=bh;j.ordinal=Sh;j.preparse=$d;j.postformat=$d;j.relativeTime=wh;j.pastFuture=Eh;j.set=dh;j.eras=Xm;j.erasParse=Qm;j.erasConvertYear=eg;j.erasAbbrRegex=ig;j.erasNameRegex=ag;j.erasNarrowRegex=sg;j.months=Bh;j.monthsShort=Wh;j.monthsParse=$h;j.monthsRegex=jh;j.monthsShortRegex=zh;j.week=Kh;j.firstDayOfYear=Jh;j.firstDayOfWeek=qh;j.weekdays=sy;j.weekdaysMin=ly;j.weekdaysShort=cy;j.weekdaysParse=uy;j.weekdaysRegex=yy;j.weekdaysShortRegex=my;j.weekdaysMinRegex=gy;j.isPM=xy;j.meridiem=Oy;function qn(e,t,r,n){var a=ot(),i=Ye().set(n,t);return a[r](i,e)}function Gd(e,t,r){if(nt(e)&&(t=e,e=void 0),e=e||"",t!=null)return qn(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=qn(e,n,r,"month");return a}function Yi(e,t,r,n){typeof e=="boolean"?(nt(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,nt(t)&&(r=t,t=void 0),t=t||"");var a=ot(),i=e?a._week.dow:0,s,l=[];if(r!=null)return qn(t,(r+i)%7,n,"day");for(s=0;s<7;s++)l[s]=qn(t,(s+i)%7,n,"day");return l}function _g(e,t){return Gd(e,t,"months")}function Rg(e,t){return Gd(e,t,"monthsShort")}function kg(e,t,r){return Yi(e,t,r,"weekdays")}function Tg(e,t,r){return Yi(e,t,r,"weekdaysShort")}function Ig(e,t,r){return Yi(e,t,r,"weekdaysMin")}bt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=F(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});_.lang=_e("moment.lang is deprecated. Use moment.locale instead.",bt);_.langData=_e("moment.langData is deprecated. Use moment.localeData instead.",ot);var Xe=Math.abs;function Pg(){var e=this._data;return this._milliseconds=Xe(this._milliseconds),this._days=Xe(this._days),this._months=Xe(this._months),e.milliseconds=Xe(e.milliseconds),e.seconds=Xe(e.seconds),e.minutes=Xe(e.minutes),e.hours=Xe(e.hours),e.months=Xe(e.months),e.years=Xe(e.years),this}function zd(e,t,r,n){var a=Me(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function Ng(e,t){return zd(this,e,t,1)}function Lg(e,t){return zd(this,e,t,-1)}function ed(e){return e<0?Math.floor(e):Math.ceil(e)}function Dg(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=ed(Ai(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,a=Ae(e/1e3),n.seconds=a%60,i=Ae(a/60),n.minutes=i%60,s=Ae(i/60),n.hours=s%24,t+=Ae(s/24),d=Ae(jd(t)),r+=d,t-=ed(Ai(d)),l=Ae(r/12),r%=12,n.days=t,n.months=r,n.years=l,this}function jd(e){return e*4800/146097}function Ai(e){return e*146097/4800}function Mg(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=Re(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+jd(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Ai(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Fg(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+F(this._months/12)*31536e6:NaN}function at(e){return function(){return this.as(e)}}var Ug=at("ms"),Bg=at("s"),Wg=at("m"),Hg=at("h"),$g=at("d"),Gg=at("w"),zg=at("M"),jg=at("Q"),Yg=at("y");function Vg(){return Me(this)}function Kg(e){return e=Re(e),this.isValid()?this[e+"s"]():NaN}function zt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zg=zt("milliseconds"),qg=zt("seconds"),Jg=zt("minutes"),Xg=zt("hours"),Qg=zt("days"),eb=zt("months"),tb=zt("years");function rb(){return Ae(this.days()/7)}var Qe=Math.round,mr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nb(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}function ob(e,t,r,n){var a=Me(e).abs(),i=Qe(a.as("s")),s=Qe(a.as("m")),l=Qe(a.as("h")),d=Qe(a.as("d")),f=Qe(a.as("M")),h=Qe(a.as("w")),p=Qe(a.as("y")),y=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||l<=1&&["h"]||l<r.h&&["hh",l]||d<=1&&["d"]||d<r.d&&["dd",d];return r.w!=null&&(y=y||h<=1&&["w"]||h<r.w&&["ww",h]),y=y||f<=1&&["M"]||f<r.M&&["MM",f]||p<=1&&["y"]||["yy",p],y[2]=t,y[3]=+e>0,y[4]=n,nb.apply(null,y)}function ab(e){return e===void 0?Qe:typeof e=="function"?(Qe=e,!0):!1}function ib(e,t){return mr[e]===void 0?!1:t===void 0?mr[e]:(mr[e]=t,e==="s"&&(mr.ss=t-1),!0)}function sb(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=mr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},mr,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),a=this.localeData(),i=ob(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var xi=Math.abs;function hr(e){return(e>0)-(e<0)||+e}function co(){if(!this.isValid())return this.localeData().invalidDate();var e=xi(this._milliseconds)/1e3,t=xi(this._days),r=xi(this._months),n,a,i,s,l=this.asSeconds(),d,f,h,p;return l?(n=Ae(e/60),a=Ae(n/60),e%=60,n%=60,i=Ae(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=hr(this._months)!==hr(l)?"-":"",h=hr(this._days)!==hr(l)?"-":"",p=hr(this._milliseconds)!==hr(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?h+t+"D":"")+(a||n||e?"T":"")+(a?p+a+"H":"")+(n?p+n+"M":"")+(e?p+s+"S":"")):"P0D"}var $=io.prototype;$.isValid=Qy;$.abs=Pg;$.add=Ng;$.subtract=Lg;$.as=Mg;$.asMilliseconds=Ug;$.asSeconds=Bg;$.asMinutes=Wg;$.asHours=Hg;$.asDays=$g;$.asWeeks=Gg;$.asMonths=zg;$.asQuarters=jg;$.asYears=Yg;$.valueOf=Fg;$._bubble=Dg;$.clone=Vg;$.get=Kg;$.milliseconds=Zg;$.seconds=qg;$.minutes=Jg;$.hours=Xg;$.days=Qg;$.weeks=rb;$.months=eb;$.years=tb;$.humanize=sb;$.toISOString=co;$.toString=co;$.toJSON=co;$.locale=Nd;$.localeData=Dd;$.toIsoString=_e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co);$.lang=Ld;N("X",0,0,"unix");N("x",0,0,"valueOf");R("x",ro);R("X",kh);V("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,r){r._d=new Date(F(e))});_.version="2.29.4";ch(Z);_.fn=E;_.min=Zy;_.max=qy;_.now=Jy;_.utc=Ye;_.unix=Cg;_.months=_g;_.isDate=nn;_.locale=bt;_.invalid=Jn;_.duration=Me;_.isMoment=De;_.weekdays=kg;_.parseZone=Ag;_.localeData=ot;_.isDuration=Gn;_.monthsShort=Rg;_.weekdaysMin=Ig;_.defineLocale=Ui;_.updateLocale=Ay;_.locales=_y;_.weekdaysShort=Tg;_.normalizeUnits=Re;_.relativeTimeRounding=ab;_.relativeTimeThreshold=ib;_.calendarFormat=Om;_.prototype=E;_.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var jt=_;var fe;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(fe||(fe={}));var Yd=te`
|
|
88
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Ql={};function id(e,t){_.deprecationHandler!=null&&_.deprecationHandler(e,t),Ql[e]||(ad(t),Ql[e]=!0)}_.suppressDeprecationWarnings=!1;_.deprecationHandler=null;function Ke(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function fh(e){var t,r;for(r in e)z(e,r)&&(t=e[r],Ke(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Oi(e,t){var r=mt({},e),n;for(n in t)z(t,n)&&(Gt(e[n])&&Gt(t[n])?(r[n]={},mt(r[n],e[n]),mt(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)z(e,n)&&!z(t,n)&&Gt(e[n])&&(r[n]=mt({},r[n]));return r}function Ii(e){e!=null&&this.set(e)}var wi;Object.keys?wi=Object.keys:wi=function(e){var t,r=[];for(t in e)z(e,t)&&r.push(t);return r};var ph={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function hh(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return Ke(n)?n.call(t,r):n}function Ye(e,t,r){var n=""+Math.abs(e),a=t-n.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var Pi=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Wn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,bi={},br={};function L(e,t,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),e&&(br[e]=a),t&&(br[t[0]]=function(){return Ye(a.apply(this,arguments),t[1],t[2])}),r&&(br[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function yh(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function mh(e){var t=e.match(Pi),r,n;for(r=0,n=t.length;r<n;r++)br[t[r]]?t[r]=br[t[r]]:t[r]=yh(t[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=Ke(t[s])?t[s].call(a,e):t[s];return i}}function $n(e,t){return e.isValid()?(t=sd(t,e.localeData()),bi[t]=bi[t]||mh(t),bi[t](e)):e.localeData().invalidDate()}function sd(e,t){var r=5;function n(a){return t.longDateFormat(a)||a}for(Wn.lastIndex=0;r>=0&&Wn.test(e);)e=e.replace(Wn,n),Wn.lastIndex=0,r-=1;return e}var gh={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function bh(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Pi).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var xh="Invalid date";function vh(){return this._invalidDate}var Sh="%d",Oh=/\d{1,2}/;function wh(e){return this._ordinal.replace("%d",e)}var Eh={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ch(e,t,r,n){var a=this._relativeTime[r];return Ke(a)?a(e,t,r,n):a.replace(/%d/i,e)}function Ah(e,t){var r=this._relativeTime[e>0?"future":"past"];return Ke(r)?r(t):r.replace(/%s/i,t)}var Qr={};function de(e,t){var r=e.toLowerCase();Qr[r]=Qr[r+"s"]=Qr[t]=e}function ke(e){return typeof e=="string"?Qr[e]||Qr[e.toLowerCase()]:void 0}function Li(e){var t={},r,n;for(n in e)z(e,n)&&(r=ke(n),r&&(t[r]=e[n]));return t}var cd={};function ue(e,t){cd[e]=t}function _h(e){var t=[],r;for(r in e)z(e,r)&&t.push({unit:r,priority:cd[r]});return t.sort(function(n,a){return n.priority-a.priority}),t}function Xn(e){return e%4===0&&e%100!==0||e%400===0}function Re(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function F(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=Re(t)),r}function Sr(e,t){return function(r){return r!=null?(ld(this,e,r),_.updateOffset(this,t),this):jn(this,e)}}function jn(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ld(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Xn(e.year())&&e.month()===1&&e.date()===29?(r=F(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),oo(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function Rh(e){return e=ke(e),Ke(this[e])?this[e]():this}function Th(e,t){if(typeof e=="object"){e=Li(e);var r=_h(e),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(e=ke(e),Ke(this[e]))return this[e](t);return this}var dd=/\d/,Oe=/\d\d/,ud=/\d{3}/,Ni=/\d{4}/,Qn=/[+-]?\d{6}/,q=/\d\d?/,fd=/\d\d\d\d?/,pd=/\d\d\d\d\d\d?/,eo=/\d{1,3}/,Di=/\d{1,4}/,to=/[+-]?\d{1,6}/,Or=/\d+/,ro=/[+-]?\d+/,kh=/Z|[+-]\d\d:?\d\d/gi,no=/Z|[+-]\d\d(?::?\d\d)?/gi,Ih=/[+-]?\d+(\.\d{1,3})?/,sn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Yn;Yn={};function R(e,t,r){Yn[e]=Ke(t)?t:function(n,a){return n&&r?r:t}}function Ph(e,t){return z(Yn,e)?Yn[e](t._strict,t._locale):new RegExp(Lh(e))}function Lh(e){return Se(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,a,i){return r||n||a||i}))}function Se(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ei={};function V(e,t){var r,n=t,a;for(typeof e=="string"&&(e=[e]),nt(t)&&(n=function(i,s){s[t]=F(i)}),a=e.length,r=0;r<a;r++)Ei[e[r]]=n}function cn(e,t){V(e,function(r,n,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function Nh(e,t,r){t!=null&&z(Ei,e)&&Ei[e](t,r._a,r,e)}var le=0,et=1,je=2,ne=3,Ne=4,tt=5,$t=6,Dh=7,Mh=8;function Fh(e,t){return(e%t+t)%t}var ee;Array.prototype.indexOf?ee=Array.prototype.indexOf:ee=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function oo(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Fh(t,12);return e+=(t-r)/12,r===1?Xn(e)?29:28:31-r%7%2}L("M",["MM",2],"Mo",function(){return this.month()+1});L("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});L("MMMM",0,0,function(e){return this.localeData().months(this,e)});de("month","M");ue("month",8);R("M",q);R("MM",q,Oe);R("MMM",function(e,t){return t.monthsShortRegex(e)});R("MMMM",function(e,t){return t.monthsRegex(e)});V(["M","MM"],function(e,t){t[et]=F(e)-1});V(["MMM","MMMM"],function(e,t,r,n){var a=r._locale.monthsParse(e,n,r._strict);a!=null?t[et]=a:D(r).invalidMonth=e});var Uh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),hd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),yd=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Bh=sn,Wh=sn;function Hh(e,t){return e?De(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||yd).test(t)?"format":"standalone"][e.month()]:De(this._months)?this._months:this._months.standalone}function $h(e,t){return e?De(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[yd.test(t)?"format":"standalone"][e.month()]:De(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Gh(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=Ve([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null):(a=ee.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=ee.call(this._shortMonthsParse,s),a!==-1?a:(a=ee.call(this._longMonthsParse,s),a!==-1?a:null)):(a=ee.call(this._longMonthsParse,s),a!==-1?a:(a=ee.call(this._shortMonthsParse,s),a!==-1?a:null))}function zh(e,t,r){var n,a,i;if(this._monthsParseExact)return Gh.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=Ve([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function md(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=F(t);else if(t=e.localeData().monthsParse(t),!nt(t))return e}return r=Math.min(e.date(),oo(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function gd(e){return e!=null?(md(this,e),_.updateOffset(this,!0),this):jn(this,"Month")}function jh(){return oo(this.year(),this.month())}function Yh(e){return this._monthsParseExact?(z(this,"_monthsRegex")||bd.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(z(this,"_monthsShortRegex")||(this._monthsShortRegex=Bh),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Vh(e){return this._monthsParseExact?(z(this,"_monthsRegex")||bd.call(this),e?this._monthsStrictRegex:this._monthsRegex):(z(this,"_monthsRegex")||(this._monthsRegex=Wh),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bd(){function e(s,l){return l.length-s.length}var t=[],r=[],n=[],a,i;for(a=0;a<12;a++)i=Ve([2e3,a]),t.push(this.monthsShort(i,"")),r.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(t.sort(e),r.sort(e),n.sort(e),a=0;a<12;a++)t[a]=Se(t[a]),r[a]=Se(r[a]);for(a=0;a<24;a++)n[a]=Se(n[a]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}L("Y",0,0,function(){var e=this.year();return e<=9999?Ye(e,4):"+"+e});L(0,["YY",2],0,function(){return this.year()%100});L(0,["YYYY",4],0,"year");L(0,["YYYYY",5],0,"year");L(0,["YYYYYY",6,!0],0,"year");de("year","y");ue("year",1);R("Y",ro);R("YY",q,Oe);R("YYYY",Di,Ni);R("YYYYY",to,Qn);R("YYYYYY",to,Qn);V(["YYYYY","YYYYYY"],le);V("YYYY",function(e,t){t[le]=e.length===2?_.parseTwoDigitYear(e):F(e)});V("YY",function(e,t){t[le]=_.parseTwoDigitYear(e)});V("Y",function(e,t){t[le]=parseInt(e,10)});function en(e){return Xn(e)?366:365}_.parseTwoDigitYear=function(e){return F(e)+(F(e)>68?1900:2e3)};var xd=Sr("FullYear",!0);function Kh(){return Xn(this.year())}function Zh(e,t,r,n,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,n,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,n,a,i,s),l}function tn(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Vn(e,t,r){var n=7+t-r,a=(7+tn(e,0,n).getUTCDay()-t)%7;return-a+n-1}function vd(e,t,r,n,a){var i=(7+r-n)%7,s=Vn(e,n,a),l=1+7*(t-1)+i+s,d,f;return l<=0?(d=e-1,f=en(d)+l):l>en(e)?(d=e+1,f=l-en(e)):(d=e,f=l),{year:d,dayOfYear:f}}function rn(e,t,r){var n=Vn(e.year(),t,r),a=Math.floor((e.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+rt(s,t,r)):a>rt(e.year(),t,r)?(i=a-rt(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function rt(e,t,r){var n=Vn(e,t,r),a=Vn(e+1,t,r);return(en(e)-n+a)/7}L("w",["ww",2],"wo","week");L("W",["WW",2],"Wo","isoWeek");de("week","w");de("isoWeek","W");ue("week",5);ue("isoWeek",5);R("w",q);R("ww",q,Oe);R("W",q);R("WW",q,Oe);cn(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=F(e)});function qh(e){return rn(e,this._week.dow,this._week.doy).week}var Jh={dow:0,doy:6};function Xh(){return this._week.dow}function Qh(){return this._week.doy}function ey(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function ty(e){var t=rn(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}L("d",0,"do","day");L("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});L("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});L("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});L("e",0,0,"weekday");L("E",0,0,"isoWeekday");de("day","d");de("weekday","e");de("isoWeekday","E");ue("day",11);ue("weekday",11);ue("isoWeekday",11);R("d",q);R("e",q);R("E",q);R("dd",function(e,t){return t.weekdaysMinRegex(e)});R("ddd",function(e,t){return t.weekdaysShortRegex(e)});R("dddd",function(e,t){return t.weekdaysRegex(e)});cn(["dd","ddd","dddd"],function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);a!=null?t.d=a:D(r).invalidWeekday=e});cn(["d","e","E"],function(e,t,r,n){t[n]=F(e)});function ry(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function ny(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Mi(e,t){return e.slice(t,7).concat(e.slice(0,t))}var oy="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Sd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ay="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),iy=sn,sy=sn,cy=sn;function ly(e,t){var r=De(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Mi(r,this._week.dow):e?r[e.day()]:r}function dy(e){return e===!0?Mi(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function uy(e){return e===!0?Mi(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function fy(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=Ve([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=ee.call(this._weekdaysParse,s),a!==-1||(a=ee.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=ee.call(this._shortWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=ee.call(this._minWeekdaysParse,s),a!==-1||(a=ee.call(this._weekdaysParse,s),a!==-1)?a:(a=ee.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function py(e,t,r){var n,a,i;if(this._weekdaysParseExact)return fy.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=Ve([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function hy(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=ry(e,this.localeData()),this.add(e-t,"d")):t}function yy(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function my(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=ny(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function gy(e){return this._weekdaysParseExact?(z(this,"_weekdaysRegex")||Fi.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(z(this,"_weekdaysRegex")||(this._weekdaysRegex=iy),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function by(e){return this._weekdaysParseExact?(z(this,"_weekdaysRegex")||Fi.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(z(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=sy),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function xy(e){return this._weekdaysParseExact?(z(this,"_weekdaysRegex")||Fi.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(z(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=cy),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Fi(){function e(h,p){return p.length-h.length}var t=[],r=[],n=[],a=[],i,s,l,d,f;for(i=0;i<7;i++)s=Ve([2e3,1]).day(i),l=Se(this.weekdaysMin(s,"")),d=Se(this.weekdaysShort(s,"")),f=Se(this.weekdays(s,"")),t.push(l),r.push(d),n.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),n.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ui(){return this.hours()%12||12}function vy(){return this.hours()||24}L("H",["HH",2],0,"hour");L("h",["hh",2],0,Ui);L("k",["kk",2],0,vy);L("hmm",0,0,function(){return""+Ui.apply(this)+Ye(this.minutes(),2)});L("hmmss",0,0,function(){return""+Ui.apply(this)+Ye(this.minutes(),2)+Ye(this.seconds(),2)});L("Hmm",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)});L("Hmmss",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)+Ye(this.seconds(),2)});function Od(e,t){L(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Od("a",!0);Od("A",!1);de("hour","h");ue("hour",13);function wd(e,t){return t._meridiemParse}R("a",wd);R("A",wd);R("H",q);R("h",q);R("k",q);R("HH",q,Oe);R("hh",q,Oe);R("kk",q,Oe);R("hmm",fd);R("hmmss",pd);R("Hmm",fd);R("Hmmss",pd);V(["H","HH"],ne);V(["k","kk"],function(e,t,r){var n=F(e);t[ne]=n===24?0:n});V(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});V(["h","hh"],function(e,t,r){t[ne]=F(e),D(r).bigHour=!0});V("hmm",function(e,t,r){var n=e.length-2;t[ne]=F(e.substr(0,n)),t[Ne]=F(e.substr(n)),D(r).bigHour=!0});V("hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[ne]=F(e.substr(0,n)),t[Ne]=F(e.substr(n,2)),t[tt]=F(e.substr(a)),D(r).bigHour=!0});V("Hmm",function(e,t,r){var n=e.length-2;t[ne]=F(e.substr(0,n)),t[Ne]=F(e.substr(n))});V("Hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[ne]=F(e.substr(0,n)),t[Ne]=F(e.substr(n,2)),t[tt]=F(e.substr(a))});function Sy(e){return(e+"").toLowerCase().charAt(0)==="p"}var Oy=/[ap]\.?m?\.?/i,wy=Sr("Hours",!0);function Ey(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Ed={calendar:ph,longDateFormat:gh,invalidDate:xh,ordinal:Sh,dayOfMonthOrdinalParse:Oh,relativeTime:Eh,months:Uh,monthsShort:hd,week:Jh,weekdays:oy,weekdaysMin:ay,weekdaysShort:Sd,meridiemParse:Oy},Q={},Jr={},nn;function Cy(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function ed(e){return e&&e.toLowerCase().replace("_","-")}function Ay(e){for(var t=0,r,n,a,i;t<e.length;){for(i=ed(e[t]).split("-"),r=i.length,n=ed(e[t+1]),n=n?n.split("-"):null;r>0;){if(a=ao(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&Cy(i,n)>=r-1)break;r--}t++}return nn}function _y(e){return e.match("^[^/\\\\]*$")!=null}function ao(e){var t=null,r;if(Q[e]===void 0&&typeof module<"u"&&module&&module.exports&&_y(e))try{t=nn._abbr,r=Zi,r("./locale/"+e),bt(t)}catch{Q[e]=null}return Q[e]}function bt(e,t){var r;return e&&(me(t)?r=ot(e):r=Bi(e,t),r?nn=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nn._abbr}function Bi(e,t){if(t!==null){var r,n=Ed;if(t.abbr=e,Q[e]!=null)id("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Q[e]._config;else if(t.parentLocale!=null)if(Q[t.parentLocale]!=null)n=Q[t.parentLocale]._config;else if(r=ao(t.parentLocale),r!=null)n=r._config;else return Jr[t.parentLocale]||(Jr[t.parentLocale]=[]),Jr[t.parentLocale].push({name:e,config:t}),null;return Q[e]=new Ii(Oi(n,t)),Jr[e]&&Jr[e].forEach(function(a){Bi(a.name,a.config)}),bt(e),Q[e]}else return delete Q[e],null}function Ry(e,t){if(t!=null){var r,n,a=Ed;Q[e]!=null&&Q[e].parentLocale!=null?Q[e].set(Oi(Q[e]._config,t)):(n=ao(e),n!=null&&(a=n._config),t=Oi(a,t),n==null&&(t.abbr=e),r=new Ii(t),r.parentLocale=Q[e],Q[e]=r),bt(e)}else Q[e]!=null&&(Q[e].parentLocale!=null?(Q[e]=Q[e].parentLocale,e===bt()&&bt(e)):Q[e]!=null&&delete Q[e]);return Q[e]}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return nn;if(!De(e)){if(t=ao(e),t)return t;e=[e]}return Ay(e)}function Ty(){return wi(Q)}function Wi(e){var t,r=e._a;return r&&D(e).overflow===-2&&(t=r[et]<0||r[et]>11?et:r[je]<1||r[je]>oo(r[le],r[et])?je:r[ne]<0||r[ne]>24||r[ne]===24&&(r[Ne]!==0||r[tt]!==0||r[$t]!==0)?ne:r[Ne]<0||r[Ne]>59?Ne:r[tt]<0||r[tt]>59?tt:r[$t]<0||r[$t]>999?$t:-1,D(e)._overflowDayOfYear&&(t<le||t>je)&&(t=je),D(e)._overflowWeeks&&t===-1&&(t=Dh),D(e)._overflowWeekday&&t===-1&&(t=Mh),D(e).overflow=t),e}var ky=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Iy=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Py=/Z|[+-]\d\d(?::?\d\d)?/,Hn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ly=/^\/?Date\((-?\d+)/i,Ny=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dy={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Cd(e){var t,r,n=e._i,a=ky.exec(n)||Iy.exec(n),i,s,l,d,f=Hn.length,h=xi.length;if(a){for(D(e).iso=!0,t=0,r=f;t<r;t++)if(Hn[t][1].exec(a[1])){s=Hn[t][0],i=Hn[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(xi[t][1].exec(a[3])){l=(a[2]||" ")+xi[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(Py.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),$i(e)}else e._isValid=!1}function My(e,t,r,n,a,i){var s=[Fy(e),hd.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Fy(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Uy(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function By(e,t,r){if(e){var n=Sd.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(n!==a)return D(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Wy(e,t,r){if(e)return Dy[e];if(t)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function Ad(e){var t=Ny.exec(Uy(e._i)),r;if(t){if(r=My(t[4],t[3],t[2],t[5],t[6],t[7]),!By(t[1],r,e))return;e._a=r,e._tzm=Wy(t[8],t[9],t[10]),e._d=tn.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),D(e).rfc2822=!0}else e._isValid=!1}function Hy(e){var t=Ly.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Cd(e),e._isValid===!1)delete e._isValid;else return;if(Ad(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:_.createFromInputFallback(e)}_.createFromInputFallback=Te("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function mr(e,t,r){return e??t??r}function $y(e){var t=new Date(_.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Hi(e){var t,r,n=[],a,i,s;if(!e._d){for(a=$y(e),e._w&&e._a[je]==null&&e._a[et]==null&&Gy(e),e._dayOfYear!=null&&(s=mr(e._a[le],a[le]),(e._dayOfYear>en(s)||e._dayOfYear===0)&&(D(e)._overflowDayOfYear=!0),r=tn(s,0,e._dayOfYear),e._a[et]=r.getUTCMonth(),e._a[je]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ne]===24&&e._a[Ne]===0&&e._a[tt]===0&&e._a[$t]===0&&(e._nextDay=!0,e._a[ne]=0),e._d=(e._useUTC?tn:Zh).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ne]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(D(e).weekdayMismatch=!0)}}function Gy(e){var t,r,n,a,i,s,l,d,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=mr(t.GG,e._a[le],rn(Z(),1,4).year),n=mr(t.W,1),a=mr(t.E,1),(a<1||a>7)&&(d=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,f=rn(Z(),i,s),r=mr(t.gg,e._a[le],f.year),n=mr(t.w,f.week),t.d!=null?(a=t.d,(a<0||a>6)&&(d=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(d=!0)):a=i),n<1||n>rt(r,i,s)?D(e)._overflowWeeks=!0:d!=null?D(e)._overflowWeekday=!0:(l=vd(r,n,a,i,s),e._a[le]=l.year,e._dayOfYear=l.dayOfYear)}_.ISO_8601=function(){};_.RFC_2822=function(){};function $i(e){if(e._f===_.ISO_8601){Cd(e);return}if(e._f===_.RFC_2822){Ad(e);return}e._a=[],D(e).empty=!0;var t=""+e._i,r,n,a,i,s,l=t.length,d=0,f,h;for(a=sd(e._f,e._locale).match(Pi)||[],h=a.length,r=0;r<h;r++)i=a[r],n=(t.match(Ph(i,e))||[])[0],n&&(s=t.substr(0,t.indexOf(n)),s.length>0&&D(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),d+=n.length),br[i]?(n?D(e).empty=!1:D(e).unusedTokens.push(i),Nh(i,n,e)):e._strict&&!n&&D(e).unusedTokens.push(i);D(e).charsLeftOver=l-d,t.length>0&&D(e).unusedInput.push(t),e._a[ne]<=12&&D(e).bigHour===!0&&e._a[ne]>0&&(D(e).bigHour=void 0),D(e).parsedDateParts=e._a.slice(0),D(e).meridiem=e._meridiem,e._a[ne]=zy(e._locale,e._a[ne],e._meridiem),f=D(e).era,f!==null&&(e._a[le]=e._locale.erasConvertYear(f,e._a[le])),Hi(e),Wi(e)}function zy(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function jy(e){var t,r,n,a,i,s,l=!1,d=e._f.length;if(d===0){D(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,s=!1,t=ki({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],$i(t),Ti(t)&&(s=!0),i+=D(t).charsLeftOver,i+=D(t).unusedTokens.length*10,D(t).score=i,l?i<n&&(n=i,r=t):(n==null||i<n||s)&&(n=i,r=t,s&&(l=!0));mt(e,r||t)}function Yy(e){if(!e._d){var t=Li(e._i),r=t.day===void 0?t.date:t.day;e._a=od([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Hi(e)}}function Vy(e){var t=new an(Wi(_d(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function _d(e){var t=e._i,r=e._f;return e._locale=e._locale||ot(e._l),t===null||r===void 0&&t===""?Jn({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Me(t)?new an(Wi(t)):(on(t)?e._d=t:De(r)?jy(e):r?$i(e):Ky(e),Ti(e)||(e._d=null),e))}function Ky(e){var t=e._i;me(t)?e._d=new Date(_.now()):on(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Hy(e):De(t)?(e._a=od(t.slice(0),function(r){return parseInt(r,10)}),Hi(e)):Gt(t)?Yy(e):nt(t)?e._d=new Date(t):_.createFromInputFallback(e)}function Rd(e,t,r,n,a){var i={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Gt(e)&&Ri(e)||De(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=n,Vy(i)}function Z(e,t,r,n){return Rd(e,t,r,n,!1)}var Zy=Te("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Z.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Jn()}),qy=Te("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Z.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Jn()});function Td(e,t){var r,n;if(t.length===1&&De(t[0])&&(t=t[0]),!t.length)return Z();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function Jy(){var e=[].slice.call(arguments,0);return Td("isBefore",e)}function Xy(){var e=[].slice.call(arguments,0);return Td("isAfter",e)}var Qy=function(){return Date.now?Date.now():+new Date},Xr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function em(e){var t,r=!1,n,a=Xr.length;for(t in e)if(z(e,t)&&!(ee.call(Xr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<a;++n)if(e[Xr[n]]){if(r)return!1;parseFloat(e[Xr[n]])!==F(e[Xr[n]])&&(r=!0)}return!0}function tm(){return this._isValid}function rm(){return Fe(NaN)}function io(e){var t=Li(e),r=t.year||0,n=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,d=t.minute||0,f=t.second||0,h=t.millisecond||0;this._isValid=em(t),this._milliseconds=+h+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=ot(),this._bubble()}function Gn(e){return e instanceof io}function Ci(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function nm(e,t,r){var n=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<n;s++)(r&&e[s]!==t[s]||!r&&F(e[s])!==F(t[s]))&&i++;return i+a}function kd(e,t){L(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Ye(~~(r/60),2)+t+Ye(~~r%60,2)})}kd("Z",":");kd("ZZ","");R("Z",no);R("ZZ",no);V(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Gi(no,e)});var om=/([\+\-]|\d\d)/gi;function Gi(e,t){var r=(t||"").match(e),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(om)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function zi(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(Me(e)||on(e)?e.valueOf():Z(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),_.updateOffset(r,!1),r):Z(e).local()}function Ai(e){return-Math.round(e._d.getTimezoneOffset())}_.updateOffset=function(){};function am(e,t,r){var n=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Gi(no,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=Ai(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==e&&(!t||this._changeInProgress?Ld(this,Fe(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,_.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Ai(this)}function im(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function sm(e){return this.utcOffset(0,e)}function cm(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ai(this),"m")),this}function lm(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Gi(kh,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function dm(e){return this.isValid()?(e=e?Z(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function um(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function fm(){if(!me(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ki(e,this),e=_d(e),e._a?(t=e._isUTC?Ve(e._a):Z(e._a),this._isDSTShifted=this.isValid()&&nm(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function pm(){return this.isValid()?!this._isUTC:!1}function hm(){return this.isValid()?this._isUTC:!1}function Id(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ym=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,mm=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fe(e,t){var r=e,n=null,a,i,s;return Gn(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:nt(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=ym.exec(e))?(a=n[1]==="-"?-1:1,r={y:0,d:F(n[je])*a,h:F(n[ne])*a,m:F(n[Ne])*a,s:F(n[tt])*a,ms:F(Ci(n[$t]*1e3))*a}):(n=mm.exec(e))?(a=n[1]==="-"?-1:1,r={y:Ht(n[2],a),M:Ht(n[3],a),w:Ht(n[4],a),d:Ht(n[5],a),h:Ht(n[6],a),m:Ht(n[7],a),s:Ht(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=gm(Z(r.from),Z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new io(r),Gn(e)&&z(e,"_locale")&&(i._locale=e._locale),Gn(e)&&z(e,"_isValid")&&(i._isValid=e._isValid),i}Fe.fn=io.prototype;Fe.invalid=rm;function Ht(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function td(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function gm(e,t){var r;return e.isValid()&&t.isValid()?(t=zi(t,e),e.isBefore(t)?r=td(e,t):(r=td(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Pd(e,t){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(id(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=Fe(r,n),Ld(this,a,e),this}}function Ld(e,t,r,n){var a=t._milliseconds,i=Ci(t._days),s=Ci(t._months);e.isValid()&&(n=n??!0,s&&md(e,jn(e,"Month")+s*r),i&&ld(e,"Date",jn(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),n&&_.updateOffset(e,i||s))}var bm=Pd(1,"add"),xm=Pd(-1,"subtract");function Nd(e){return typeof e=="string"||e instanceof String}function vm(e){return Me(e)||on(e)||Nd(e)||nt(e)||Om(e)||Sm(e)||e===null||e===void 0}function Sm(e){var t=Gt(e)&&!Ri(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=n.length;for(a=0;a<s;a+=1)i=n[a],r=r||z(e,i);return t&&r}function Om(e){var t=De(e),r=!1;return t&&(r=e.filter(function(n){return!nt(n)&&Nd(e)}).length===0),t&&r}function wm(e){var t=Gt(e)&&!Ri(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||z(e,i);return t&&r}function Em(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Cm(e,t){arguments.length===1&&(arguments[0]?vm(arguments[0])?(e=arguments[0],t=void 0):wm(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Z(),n=zi(r,this).startOf("day"),a=_.calendarFormat(this,n)||"sameElse",i=t&&(Ke(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,Z(r)))}function Am(){return new an(this)}function _m(e,t){var r=Me(e)?e:Z(e);return this.isValid()&&r.isValid()?(t=ke(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Rm(e,t){var r=Me(e)?e:Z(e);return this.isValid()&&r.isValid()?(t=ke(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Tm(e,t,r,n){var a=Me(e)?e:Z(e),i=Me(t)?t:Z(t);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function km(e,t){var r=Me(e)?e:Z(e),n;return this.isValid()&&r.isValid()?(t=ke(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Im(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Pm(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Lm(e,t,r){var n,a,i;if(!this.isValid())return NaN;if(n=zi(e,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,t=ke(t),t){case"year":i=zn(this,n)/12;break;case"month":i=zn(this,n);break;case"quarter":i=zn(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:Re(i)}function zn(e,t){if(e.date()<t.date())return-zn(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),a,i;return t-n<0?(a=e.clone().add(r-1,"months"),i=(t-n)/(n-a)):(a=e.clone().add(r+1,"months"),i=(t-n)/(a-n)),-(r+i)||0}_.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";_.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Nm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Dm(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?$n(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ke(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",$n(r,"Z")):$n(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Mm(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+n+a+i)}function Fm(e){e||(e=this.isUtc()?_.defaultFormatUtc:_.defaultFormat);var t=$n(this,e);return this.localeData().postformat(t)}function Um(e,t){return this.isValid()&&(Me(e)&&e.isValid()||Z(e).isValid())?Fe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Bm(e){return this.from(Z(),e)}function Wm(e,t){return this.isValid()&&(Me(e)&&e.isValid()||Z(e).isValid())?Fe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Hm(e){return this.to(Z(),e)}function Dd(e){var t;return e===void 0?this._locale._abbr:(t=ot(e),t!=null&&(this._locale=t),this)}var Md=Te("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Fd(){return this._locale}var Kn=1e3,xr=60*Kn,Zn=60*xr,Ud=(365*400+97)*24*Zn;function vr(e,t){return(e%t+t)%t}function Bd(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Ud:new Date(e,t,r).valueOf()}function Wd(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Ud:Date.UTC(e,t,r)}function $m(e){var t,r;if(e=ke(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Wd:Bd,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=vr(t+(this._isUTC?0:this.utcOffset()*xr),Zn);break;case"minute":t=this._d.valueOf(),t-=vr(t,xr);break;case"second":t=this._d.valueOf(),t-=vr(t,Kn);break}return this._d.setTime(t),_.updateOffset(this,!0),this}function Gm(e){var t,r;if(e=ke(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Wd:Bd,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Zn-vr(t+(this._isUTC?0:this.utcOffset()*xr),Zn)-1;break;case"minute":t=this._d.valueOf(),t+=xr-vr(t,xr)-1;break;case"second":t=this._d.valueOf(),t+=Kn-vr(t,Kn)-1;break}return this._d.setTime(t),_.updateOffset(this,!0),this}function zm(){return this._d.valueOf()-(this._offset||0)*6e4}function jm(){return Math.floor(this.valueOf()/1e3)}function Ym(){return new Date(this.valueOf())}function Vm(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Km(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Zm(){return this.isValid()?this.toISOString():null}function qm(){return Ti(this)}function Jm(){return mt({},D(this))}function Xm(){return D(this).overflow}function Qm(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}L("N",0,0,"eraAbbr");L("NN",0,0,"eraAbbr");L("NNN",0,0,"eraAbbr");L("NNNN",0,0,"eraName");L("NNNNN",0,0,"eraNarrow");L("y",["y",1],"yo","eraYear");L("y",["yy",2],0,"eraYear");L("y",["yyy",3],0,"eraYear");L("y",["yyyy",4],0,"eraYear");R("N",ji);R("NN",ji);R("NNN",ji);R("NNNN",dg);R("NNNNN",ug);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?D(r).era=a:D(r).invalidEra=e});R("y",Or);R("yy",Or);R("yyy",Or);R("yyyy",Or);R("yo",fg);V(["y","yy","yyy","yyyy"],le);V(["yo"],function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[le]=r._locale.eraYearOrdinalParse(e,a):t[le]=parseInt(e,10)});function eg(e,t){var r,n,a,i=this._eras||ot("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=_(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=_(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function tg(e,t,r){var n,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),l=i[n].abbr.toUpperCase(),d=i[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[n];break;case"NNNN":if(s===e)return i[n];break;case"NNNNN":if(d===e)return i[n];break}else if([s,l,d].indexOf(e)>=0)return i[n]}function rg(e,t){var r=e.since<=e.until?1:-1;return t===void 0?_(e.since).year():_(e.since).year()+(t-e.offset)*r}function ng(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function og(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function ag(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function ig(){var e,t,r,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return(this.year()-_(a[e].since).year())*r+a[e].offset;return this.year()}function sg(e){return z(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function cg(e){return z(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function lg(e){return z(this,"_erasNarrowRegex")||Yi.call(this),e?this._erasNarrowRegex:this._erasRegex}function ji(e,t){return t.erasAbbrRegex(e)}function dg(e,t){return t.erasNameRegex(e)}function ug(e,t){return t.erasNarrowRegex(e)}function fg(e,t){return t._eraYearOrdinalRegex||Or}function Yi(){var e=[],t=[],r=[],n=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)t.push(Se(s[a].name)),e.push(Se(s[a].abbr)),r.push(Se(s[a].narrow)),n.push(Se(s[a].name)),n.push(Se(s[a].abbr)),n.push(Se(s[a].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}L(0,["gg",2],0,function(){return this.weekYear()%100});L(0,["GG",2],0,function(){return this.isoWeekYear()%100});function so(e,t){L(0,[e,e.length],0,t)}so("gggg","weekYear");so("ggggg","weekYear");so("GGGG","isoWeekYear");so("GGGGG","isoWeekYear");de("weekYear","gg");de("isoWeekYear","GG");ue("weekYear",1);ue("isoWeekYear",1);R("G",ro);R("g",ro);R("GG",q,Oe);R("gg",q,Oe);R("GGGG",Di,Ni);R("gggg",Di,Ni);R("GGGGG",to,Qn);R("ggggg",to,Qn);cn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=F(e)});cn(["gg","GG"],function(e,t,r,n){t[n]=_.parseTwoDigitYear(e)});function pg(e){return Hd.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function hg(e){return Hd.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function yg(){return rt(this.year(),1,4)}function mg(){return rt(this.isoWeekYear(),1,4)}function gg(){var e=this.localeData()._week;return rt(this.year(),e.dow,e.doy)}function bg(){var e=this.localeData()._week;return rt(this.weekYear(),e.dow,e.doy)}function Hd(e,t,r,n,a){var i;return e==null?rn(this,n,a).year:(i=rt(e,n,a),t>i&&(t=i),xg.call(this,e,t,r,n,a))}function xg(e,t,r,n,a){var i=vd(e,t,r,n,a),s=tn(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}L("Q",0,"Qo","quarter");de("quarter","Q");ue("quarter",7);R("Q",dd);V("Q",function(e,t){t[et]=(F(e)-1)*3});function vg(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}L("D",["DD",2],"Do","date");de("date","D");ue("date",9);R("D",q);R("DD",q,Oe);R("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],je);V("Do",function(e,t){t[je]=F(e.match(q)[0])});var $d=Sr("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear");de("dayOfYear","DDD");ue("dayOfYear",4);R("DDD",eo);R("DDDD",ud);V(["DDD","DDDD"],function(e,t,r){r._dayOfYear=F(e)});function Sg(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}L("m",["mm",2],0,"minute");de("minute","m");ue("minute",14);R("m",q);R("mm",q,Oe);V(["m","mm"],Ne);var Og=Sr("Minutes",!1);L("s",["ss",2],0,"second");de("second","s");ue("second",15);R("s",q);R("ss",q,Oe);V(["s","ss"],tt);var wg=Sr("Seconds",!1);L("S",0,0,function(){return~~(this.millisecond()/100)});L(0,["SS",2],0,function(){return~~(this.millisecond()/10)});L(0,["SSS",3],0,"millisecond");L(0,["SSSS",4],0,function(){return this.millisecond()*10});L(0,["SSSSS",5],0,function(){return this.millisecond()*100});L(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});L(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});L(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});L(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});de("millisecond","ms");ue("millisecond",16);R("S",eo,dd);R("SS",eo,Oe);R("SSS",eo,ud);var gt,Gd;for(gt="SSSS";gt.length<=9;gt+="S")R(gt,Or);function Eg(e,t){t[$t]=F(("0."+e)*1e3)}for(gt="S";gt.length<=9;gt+="S")V(gt,Eg);Gd=Sr("Milliseconds",!1);L("z",0,0,"zoneAbbr");L("zz",0,0,"zoneName");function Cg(){return this._isUTC?"UTC":""}function Ag(){return this._isUTC?"Coordinated Universal Time":""}var E=an.prototype;E.add=bm;E.calendar=Cm;E.clone=Am;E.diff=Lm;E.endOf=Gm;E.format=Fm;E.from=Um;E.fromNow=Bm;E.to=Wm;E.toNow=Hm;E.get=Rh;E.invalidAt=Xm;E.isAfter=_m;E.isBefore=Rm;E.isBetween=Tm;E.isSame=km;E.isSameOrAfter=Im;E.isSameOrBefore=Pm;E.isValid=qm;E.lang=Md;E.locale=Dd;E.localeData=Fd;E.max=qy;E.min=Zy;E.parsingFlags=Jm;E.set=Th;E.startOf=$m;E.subtract=xm;E.toArray=Vm;E.toObject=Km;E.toDate=Ym;E.toISOString=Dm;E.inspect=Mm;typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E.toJSON=Zm;E.toString=Nm;E.unix=jm;E.valueOf=zm;E.creationData=Qm;E.eraName=ng;E.eraNarrow=og;E.eraAbbr=ag;E.eraYear=ig;E.year=xd;E.isLeapYear=Kh;E.weekYear=pg;E.isoWeekYear=hg;E.quarter=E.quarters=vg;E.month=gd;E.daysInMonth=jh;E.week=E.weeks=ey;E.isoWeek=E.isoWeeks=ty;E.weeksInYear=gg;E.weeksInWeekYear=bg;E.isoWeeksInYear=yg;E.isoWeeksInISOWeekYear=mg;E.date=$d;E.day=E.days=hy;E.weekday=yy;E.isoWeekday=my;E.dayOfYear=Sg;E.hour=E.hours=wy;E.minute=E.minutes=Og;E.second=E.seconds=wg;E.millisecond=E.milliseconds=Gd;E.utcOffset=am;E.utc=sm;E.local=cm;E.parseZone=lm;E.hasAlignedHourOffset=dm;E.isDST=um;E.isLocal=pm;E.isUtcOffset=hm;E.isUtc=Id;E.isUTC=Id;E.zoneAbbr=Cg;E.zoneName=Ag;E.dates=Te("dates accessor is deprecated. Use date instead.",$d);E.months=Te("months accessor is deprecated. Use month instead",gd);E.years=Te("years accessor is deprecated. Use year instead",xd);E.zone=Te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",im);E.isDSTShifted=Te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",fm);function _g(e){return Z(e*1e3)}function Rg(){return Z.apply(null,arguments).parseZone()}function zd(e){return e}var j=Ii.prototype;j.calendar=hh;j.longDateFormat=bh;j.invalidDate=vh;j.ordinal=wh;j.preparse=zd;j.postformat=zd;j.relativeTime=Ch;j.pastFuture=Ah;j.set=fh;j.eras=eg;j.erasParse=tg;j.erasConvertYear=rg;j.erasAbbrRegex=cg;j.erasNameRegex=sg;j.erasNarrowRegex=lg;j.months=Hh;j.monthsShort=$h;j.monthsParse=zh;j.monthsRegex=Vh;j.monthsShortRegex=Yh;j.week=qh;j.firstDayOfYear=Qh;j.firstDayOfWeek=Xh;j.weekdays=ly;j.weekdaysMin=uy;j.weekdaysShort=dy;j.weekdaysParse=py;j.weekdaysRegex=gy;j.weekdaysShortRegex=by;j.weekdaysMinRegex=xy;j.isPM=Sy;j.meridiem=Ey;function qn(e,t,r,n){var a=ot(),i=Ve().set(n,t);return a[r](i,e)}function jd(e,t,r){if(nt(e)&&(t=e,e=void 0),e=e||"",t!=null)return qn(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=qn(e,n,r,"month");return a}function Vi(e,t,r,n){typeof e=="boolean"?(nt(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,nt(t)&&(r=t,t=void 0),t=t||"");var a=ot(),i=e?a._week.dow:0,s,l=[];if(r!=null)return qn(t,(r+i)%7,n,"day");for(s=0;s<7;s++)l[s]=qn(t,(s+i)%7,n,"day");return l}function Tg(e,t){return jd(e,t,"months")}function kg(e,t){return jd(e,t,"monthsShort")}function Ig(e,t,r){return Vi(e,t,r,"weekdays")}function Pg(e,t,r){return Vi(e,t,r,"weekdaysShort")}function Lg(e,t,r){return Vi(e,t,r,"weekdaysMin")}bt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=F(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});_.lang=Te("moment.lang is deprecated. Use moment.locale instead.",bt);_.langData=Te("moment.langData is deprecated. Use moment.localeData instead.",ot);var Xe=Math.abs;function Ng(){var e=this._data;return this._milliseconds=Xe(this._milliseconds),this._days=Xe(this._days),this._months=Xe(this._months),e.milliseconds=Xe(e.milliseconds),e.seconds=Xe(e.seconds),e.minutes=Xe(e.minutes),e.hours=Xe(e.hours),e.months=Xe(e.months),e.years=Xe(e.years),this}function Yd(e,t,r,n){var a=Fe(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function Dg(e,t){return Yd(this,e,t,1)}function Mg(e,t){return Yd(this,e,t,-1)}function rd(e){return e<0?Math.floor(e):Math.ceil(e)}function Fg(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=rd(_i(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,a=Re(e/1e3),n.seconds=a%60,i=Re(a/60),n.minutes=i%60,s=Re(i/60),n.hours=s%24,t+=Re(s/24),d=Re(Vd(t)),r+=d,t-=rd(_i(d)),l=Re(r/12),r%=12,n.days=t,n.months=r,n.years=l,this}function Vd(e){return e*4800/146097}function _i(e){return e*146097/4800}function Ug(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=ke(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+Vd(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(_i(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Bg(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+F(this._months/12)*31536e6:NaN}function at(e){return function(){return this.as(e)}}var Wg=at("ms"),Hg=at("s"),$g=at("m"),Gg=at("h"),zg=at("d"),jg=at("w"),Yg=at("M"),Vg=at("Q"),Kg=at("y");function Zg(){return Fe(this)}function qg(e){return e=ke(e),this.isValid()?this[e+"s"]():NaN}function zt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Jg=zt("milliseconds"),Xg=zt("seconds"),Qg=zt("minutes"),eb=zt("hours"),tb=zt("days"),rb=zt("months"),nb=zt("years");function ob(){return Re(this.days()/7)}var Qe=Math.round,gr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ab(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}function ib(e,t,r,n){var a=Fe(e).abs(),i=Qe(a.as("s")),s=Qe(a.as("m")),l=Qe(a.as("h")),d=Qe(a.as("d")),f=Qe(a.as("M")),h=Qe(a.as("w")),p=Qe(a.as("y")),y=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||l<=1&&["h"]||l<r.h&&["hh",l]||d<=1&&["d"]||d<r.d&&["dd",d];return r.w!=null&&(y=y||h<=1&&["w"]||h<r.w&&["ww",h]),y=y||f<=1&&["M"]||f<r.M&&["MM",f]||p<=1&&["y"]||["yy",p],y[2]=t,y[3]=+e>0,y[4]=n,ab.apply(null,y)}function sb(e){return e===void 0?Qe:typeof e=="function"?(Qe=e,!0):!1}function cb(e,t){return gr[e]===void 0?!1:t===void 0?gr[e]:(gr[e]=t,e==="s"&&(gr.ss=t-1),!0)}function lb(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=gr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},gr,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),a=this.localeData(),i=ib(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var vi=Math.abs;function yr(e){return(e>0)-(e<0)||+e}function co(){if(!this.isValid())return this.localeData().invalidDate();var e=vi(this._milliseconds)/1e3,t=vi(this._days),r=vi(this._months),n,a,i,s,l=this.asSeconds(),d,f,h,p;return l?(n=Re(e/60),a=Re(n/60),e%=60,n%=60,i=Re(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=yr(this._months)!==yr(l)?"-":"",h=yr(this._days)!==yr(l)?"-":"",p=yr(this._milliseconds)!==yr(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?h+t+"D":"")+(a||n||e?"T":"")+(a?p+a+"H":"")+(n?p+n+"M":"")+(e?p+s+"S":"")):"P0D"}var $=io.prototype;$.isValid=tm;$.abs=Ng;$.add=Dg;$.subtract=Mg;$.as=Ug;$.asMilliseconds=Wg;$.asSeconds=Hg;$.asMinutes=$g;$.asHours=Gg;$.asDays=zg;$.asWeeks=jg;$.asMonths=Yg;$.asQuarters=Vg;$.asYears=Kg;$.valueOf=Bg;$._bubble=Fg;$.clone=Zg;$.get=qg;$.milliseconds=Jg;$.seconds=Xg;$.minutes=Qg;$.hours=eb;$.days=tb;$.weeks=ob;$.months=rb;$.years=nb;$.humanize=lb;$.toISOString=co;$.toString=co;$.toJSON=co;$.locale=Dd;$.localeData=Fd;$.toIsoString=Te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co);$.lang=Md;L("X",0,0,"unix");L("x",0,0,"valueOf");R("x",ro);R("X",Ih);V("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,r){r._d=new Date(F(e))});_.version="2.29.4";dh(Z);_.fn=E;_.min=Jy;_.max=Xy;_.now=Qy;_.utc=Ve;_.unix=_g;_.months=Tg;_.isDate=on;_.locale=bt;_.invalid=Jn;_.duration=Fe;_.isMoment=Me;_.weekdays=Ig;_.parseZone=Rg;_.localeData=ot;_.isDuration=Gn;_.monthsShort=kg;_.weekdaysMin=Lg;_.defineLocale=Bi;_.updateLocale=Ry;_.locales=Ty;_.weekdaysShort=Pg;_.normalizeUnits=ke;_.relativeTimeRounding=sb;_.relativeTimeThreshold=cb;_.calendarFormat=Em;_.prototype=E;_.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var jt=_;var fe;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(fe||(fe={}));var Kd=te`
|
|
89
89
|
.sessions-chart {
|
|
90
90
|
height: 100%;
|
|
91
91
|
width: 100%;
|
|
92
92
|
}
|
|
93
|
-
`;var ge=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};window.echarts==null&&console.warn("Echarts is not available");var
|
|
93
|
+
`;var ge=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};window.echarts==null&&console.warn("Echarts is not available");var oe=class extends pe{constructor(){super(...arguments),this.xAxisName="date",this.yAxisName="",this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.valueLabels=void 0,this.valueLabelsSingular=void 0,this.barChart=!1,this.period=fe.DAY,this.data=[]}render(){return it`
|
|
94
94
|
<div class="sessions-chart"></div>
|
|
95
|
-
`}firstUpdated(t){var r;super.firstUpdated(t),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var n;(n=this.myChart)===null||n===void 0||n.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===fe.DAY||t.period===fe.WEEK?jt.utc(r*1e3).format("DD MMM YYYY"):t.period===fe.MONTH?jt.utc(r*1e3).format("MMMM YYYY"):jt.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){let r=jt.utc(t[0].data.value[0]*1e3),n=t.map(d=>d.data.value[1]),a,i,s="";switch(this.period){case fe.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,fe.DAY)&&(s=" so far");break}case fe.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,fe.WEEK)&&(s=" so far");break}case fe.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,fe.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<n.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,p=n[d]===1?h:f;l+=`${n[d].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,n=jt.utc()){switch(r){case fe.DAY:return t.format("YYYY-MM-DD")===n.clone().startOf("day").format("YYYY-MM-DD");case fe.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===n.clone().startOf("isoWeek").format("YYYY-MM-DD");case fe.MONTH:return t.month()===n.month()&&t.year()===n.year()}return!1}getSeries(){if(this.data.length==0)return[];let t=this.data[0].length-1;if(t==0)return[];let r=[];for(let n=0;n<t;n++)r[n]={type:this.barChart?"bar":"line",data:this.getData(n)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(jt.unix(r[0]),this.period)?{value:[r[0],r[t+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[t+1]]})}};
|
|
95
|
+
`}firstUpdated(t){var r;super.firstUpdated(t),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var n;(n=this.myChart)===null||n===void 0||n.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===fe.DAY||t.period===fe.WEEK?jt.utc(r*1e3).format("DD MMM YYYY"):t.period===fe.MONTH?jt.utc(r*1e3).format("MMMM YYYY"):jt.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){let r=jt.utc(t[0].data.value[0]*1e3),n=t.map(d=>d.data.value[1]),a,i,s="";switch(this.period){case fe.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,fe.DAY)&&(s=" so far");break}case fe.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,fe.WEEK)&&(s=" so far");break}case fe.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,fe.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<n.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,p=n[d]===1?h:f;l+=`${n[d].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,n=jt.utc()){switch(r){case fe.DAY:return t.format("YYYY-MM-DD")===n.clone().startOf("day").format("YYYY-MM-DD");case fe.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===n.clone().startOf("isoWeek").format("YYYY-MM-DD");case fe.MONTH:return t.month()===n.month()&&t.year()===n.year()}return!1}getSeries(){if(this.data.length==0)return[];let t=this.data[0].length-1;if(t==0)return[];let r=[];for(let n=0;n<t;n++)r[n]={type:this.barChart?"bar":"line",data:this.getData(n)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(jt.unix(r[0]),this.period)?{value:[r[0],r[t+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[t+1]]})}};oe.styles=Kd;ge([M({type:String})],oe.prototype,"xAxisName",void 0);ge([M({type:String})],oe.prototype,"yAxisName",void 0);ge([M({type:String})],oe.prototype,"graphColor",void 0);ge([M({type:String})],oe.prototype,"hoverColor",void 0);ge([M({type:String})],oe.prototype,"tooltipBackgroundColor",void 0);ge([M({type:String})],oe.prototype,"tooltipBorderColor",void 0);ge([M({type:String})],oe.prototype,"tooltipTextColor",void 0);ge([M({type:String})],oe.prototype,"tooltipBorderRadius",void 0);ge([Rt(void 0)],oe.prototype,"valueLabels",void 0);ge([Rt(void 0)],oe.prototype,"valueLabelsSingular",void 0);ge([M({type:Boolean})],oe.prototype,"barChart",void 0);ge([M({type:String})],oe.prototype,"period",void 0);ge([Rt([])],oe.prototype,"data",void 0);ge([wo(".sessions-chart")],oe.prototype,"container",void 0);jo("ft-chart")(oe);})();
|
|
96
96
|
/*! Bundled license information:
|
|
97
97
|
|
|
98
98
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|