@fluid-topics/ft-analytics-sessions-chart 1.3.35 → 1.3.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?G.substr(1,G.length):G}).forEach(function(G){var K=G.split(":"),B=K.shift().trim();if(B){var io=K.join(":").trim();try{v.append(B,io)}catch(ln){console.warn("Response "+ln.message)}}}),v}N.call(w.prototype);function H(y,v){if(!(this instanceof H))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(y)}N.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},H.error=function(){var y=new H(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var U=[301,302,303,307,308];H.redirect=function(y,v){if(U.indexOf(v)===-1)throw new RangeError("Invalid status code");return new H(null,{status:v,headers:{location:y}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,T){this.message=v,this.name=T;var G=Error(v);this.stack=G.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function k(y,v){return new Promise(function(T,G){var K=new w(y,v);if(K.signal&&K.signal.aborted)return G(new r.DOMException("Aborted","AbortError"));var B=new XMLHttpRequest;function io(){B.abort()}B.onload=function(){var ae={statusText:B.statusText,headers:L(B.getAllResponseHeaders()||"")};K.url.indexOf("file://")===0&&(B.status<200||B.status>599)?ae.status=200:ae.status=B.status,ae.url="responseURL"in B?B.responseURL:ae.headers.get("X-Request-URL");var wt="response"in B?B.response:B.responseText;setTimeout(function(){T(new H(wt,ae))},0)},B.onerror=function(){setTimeout(function(){G(new TypeError("Network request failed"))},0)},B.ontimeout=function(){setTimeout(function(){G(new TypeError("Network request timed out"))},0)},B.onabort=function(){setTimeout(function(){G(new r.DOMException("Aborted","AbortError"))},0)};function ln(ae){try{return ae===""&&o.location.href?o.location.href:ae}catch{return ae}}if(B.open(K.method,ln(K.url),!0),K.credentials==="include"?B.withCredentials=!0:K.credentials==="omit"&&(B.withCredentials=!1),"responseType"in B&&(a.blob?B.responseType="blob":a.arrayBuffer&&(B.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof p||o.Headers&&v.headers instanceof o.Headers)){var Wi=[];Object.getOwnPropertyNames(v.headers).forEach(function(ae){Wi.push(d(ae)),B.setRequestHeader(ae,f(v.headers[ae]))}),K.headers.forEach(function(ae,wt){Wi.indexOf(wt)===-1&&B.setRequestHeader(wt,ae)})}else K.headers.forEach(function(ae,wt){B.setRequestHeader(wt,ae)});K.signal&&(K.signal.addEventListener("abort",io),B.onreadystatechange=function(){B.readyState===4&&K.signal.removeEventListener("abort",io)}),B.send(typeof K._bodyInit>"u"?null:K._bodyInit)})}return k.polyfill=!0,o.fetch||(o.fetch=k,o.Headers=p,o.Request=w,o.Response=H),r.Headers=p,r.Request=w,r.Response=H,r.fetch=k,r}({})})(Lo);Lo.fetch.ponyfill=!0;delete Lo.fetch.polyfill;var cr=Do.fetch?Do:Lo;xt=cr.fetch;xt.default=cr.fetch;xt.fetch=cr.fetch;xt.Headers=cr.Headers;xt.Request=cr.Request;xt.Response=cr.Response;Qc.exports=xt});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,o=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(O,x){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(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,I=new Set(x.observedAttributes||[]);m(x,I,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:I};this._definitionsByTag.set(O,L),this._definitionsByClass.set(x,L);let H=r.call(o,O);H||(H=p(O),t.call(o,O,H)),this===window.customElements&&(s.set(x,L),L.standInClass=H);let U=this._awaitingUpgrade.get(O);if(U){this._awaitingUpgrade.delete(O);for(let y of U)i.delete(y),g(y,L,!0)}let k=this._whenDefinedPromises.get(O);return k!==void 0&&(k.resolve(x),this._whenDefinedPromises.delete(O)),x}upgrade(){A.push(this),o.upgrade.apply(o,arguments),A.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let x=this._getDefinition(O);if(x!==void 0)return Promise.resolve(x.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(I=>w.resolve=I),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,x,w){let I=this._awaitingUpgrade.get(x);I||this._awaitingUpgrade.set(x,I=new Set),w?I.add(O):I.delete(O)}};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=O=>O===document||O instanceof ShadowRoot,h=O=>{let x=O.getRootNode();if(!f(x)){let w=A[A.length-1];if(w instanceof CustomElementRegistry)return w;x=w.getRootNode(),f(x)||(x=l.get(x)?.getRootNode()||document)}return x.customElements},p=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let I=h(w)||window.customElements,L=I._getDefinition(O);return L?g(w,L):i.set(w,I),w}connectedCallback(){let w=a.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=a.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!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)}},m=(O,x,w)=>{if(x.size===0||w===void 0)return;let I=O.prototype.setAttribute;I&&(O.prototype.setAttribute=function(U,k){let y=U.toLowerCase();if(x.has(y)){let v=this.getAttribute(y);I.call(this,y,k),w.call(this,y,v,k)}else I.call(this,y,k)});let L=O.prototype.removeAttribute;L&&(O.prototype.removeAttribute=function(U){let k=U.toLowerCase();if(x.has(k)){let y=this.getAttribute(k);L.call(this,k),w.call(this,k,y,null)}else L.call(this,k)});let H=O.prototype.toggleAttribute;H&&(O.prototype.toggleAttribute=function(U,k){let y=U.toLowerCase();if(x.has(y)){let v=this.getAttribute(y);H.call(this,y,k);let T=this.getAttribute(y);w.call(this,y,v,T)}else H.call(this,y,k)})},b=O=>{let x=Object.getPrototypeOf(O);if(x!==window.HTMLElement)return x===e?Object.setPrototypeOf(O,window.HTMLElement):b(x)},g=(O,x,w=!1)=>{Object.setPrototypeOf(O,x.elementClass.prototype),a.set(O,x),d=O;try{new x.elementClass}catch{b(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(I=>{O.hasAttribute(I)&&x.attributeChangedCallback.call(O,I,null,O.getAttribute(I))}),w&&x.connectedCallback&&O.isConnected&&x.connectedCallback.call(O)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let x=S.apply(this,arguments);return O.customElements&&(x.customElements=O.customElements),x};let A=[document],C=(O,x,w=void 0)=>{let I=(w?Object.getPrototypeOf(w):O.prototype)[x];O.prototype[x]=function(){A.push(this);let L=I.apply(w||this,arguments);return L!==void 0&&l.set(L,this),A.pop(),L}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let N=(O,x)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,x);Object.defineProperty(O.prototype,x,{...w,set(I){A.push(this),w.set.call(this,I),A.pop()}})};if(N(Element,"innerHTML"),N(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,x=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...U){let k=x.call(this,...U);return O.set(k,this),k},w.forEach(U=>{let k=window.ElementInternals.prototype,y=k[U];k[U]=function(...v){let T=O.get(this);if(a.get(T).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class L{constructor(k){let y=new Map;k.forEach((v,T)=>{let G=v.getAttribute("name"),K=y.get(G)||[];this[+T]=v,K.push(v),y.set(G,K)}),this.length=k.length,y.forEach((v,T)=>{v&&(v.length===1?this[T]=v[0]:this[T]=new I(v))})}namedItem(k){return this[k]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=H.get.call(this,[]),k=[];for(let y of U){let v=a.get(y);(!v||v.formAssociated===!0)&&k.push(y)}return new L(k)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,o,a)=>{if(o!==null)try{t.bind(window.customElements)(r,o,a)}catch(i){console.info(r,o,a,i)}}}var Sn={};Y(Sn,{CSSResult:()=>Gt,LitElement:()=>qe,ReactiveElement:()=>Be,_$LE:()=>ru,_$LH:()=>bn,adoptStyles:()=>Sr,css:()=>ee,defaultConverter:()=>Yt,getCompatibleStyle:()=>co,html:()=>We,isServer:()=>rb,mathml:()=>Qd,noChange:()=>le,notEqual:()=>wr,nothing:()=>J,render:()=>xn,supportsAdoptingStyleSheets:()=>xr,svg:()=>Xd,unsafeCSS:()=>vr});var so=globalThis,xr=so.ShadowRoot&&(so.ShadyCSS===void 0||so.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,un=Symbol(),$i=new WeakMap,Gt=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==un)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(xr&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=$i.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&$i.set(r,t))}return t}toString(){return this.cssText}},vr=e=>new Gt(typeof e=="string"?e:e+"",void 0,un),ee=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,a,i)=>o+(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 Gt(r,e,un)},Sr=(e,t)=>{if(xr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),a=so.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,e.appendChild(o)}},co=xr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return vr(r)})(e):e;var{is:zd,defineProperty:Gd,getOwnPropertyDescriptor:Yd,getOwnPropertyNames:jd,getOwnPropertySymbols:Vd,getPrototypeOf:Kd}=Object,lo=globalThis,zi=lo.trustedTypes,Zd=zi?zi.emptyScript:"",qd=lo.reactiveElementPolyfillSupport,Or=(e,t)=>e,Yt={toAttribute(e,t){switch(t){case Boolean:e=e?Zd: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}},wr=(e,t)=>!zd(e,t),Gi={attribute:!0,type:String,converter:Yt,reflect:!1,useDefault:!1,hasChanged:wr};Symbol.metadata??=Symbol("metadata"),lo.litPropertyMetadata??=new WeakMap;var Be=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=Gi){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 o=Symbol(),a=this.getPropertyDescriptor(t,o,r);a!==void 0&&Gd(this.prototype,t,a)}}static getPropertyDescriptor(t,r,o){let{get:a,set:i}=Yd(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,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Gi}static _$Ei(){if(this.hasOwnProperty(Or("elementProperties")))return;let t=Kd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Or("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Or("properties"))){let r=this.properties,o=[...jd(r),...Vd(r)];for(let a of o)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let a of o)r.unshift(co(a))}else t!==void 0&&r.push(co(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o: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 o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Sr(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,o){this._$AK(t,o)}_$ET(t,r){let o=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:Yt).toAttribute(r,o.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let o=this.constructor,a=o._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Yt;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){let a=this.constructor,i=this[t];if(o??=a.getPropertyOptions(t),!((o.hasChanged??wr)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,o))))return;this.C(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(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||o||(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 o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o){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(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}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){}};Be.elementStyles=[],Be.shadowRootOptions={mode:"open"},Be[Or("elementProperties")]=new Map,Be[Or("finalized")]=new Map,qd?.({ReactiveElement:Be}),(lo.reactiveElementVersions??=[]).push("2.1.0");var pn=globalThis,uo=pn.trustedTypes,Yi=uo?uo.createPolicy("lit-html",{createHTML:e=>e}):void 0,hn="$lit$",Ze=`lit$${Math.random().toFixed(9).slice(2)}$`,yn="?"+Ze,Jd=`<${yn}>`,_t=document,Cr=()=>_t.createComment(""),_r=e=>e===null||typeof e!="object"&&typeof e!="function",mn=Array.isArray,Ji=e=>mn(e)||typeof e?.[Symbol.iterator]=="function",fn=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ki=/'/g,Zi=/"/g,Xi=/^(?:script|style|textarea|title)$/i,gn=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),We=gn(1),Xd=gn(2),Qd=gn(3),le=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),qi=new WeakMap,Ct=_t.createTreeWalker(_t,129);function Qi(e,t){if(!mn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Yi!==void 0?Yi.createHTML(t):t}var es=(e,t)=>{let r=e.length-1,o=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=Er;for(let l=0;l<r;l++){let d=e[l],f,h,p=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Er?h[1]==="!--"?s=ji:h[1]!==void 0?s=Vi:h[2]!==void 0?(Xi.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Et):h[3]!==void 0&&(s=Et):s===Et?h[0]===">"?(s=a??Er,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?Et:h[3]==='"'?Zi:Ki):s===Zi||s===Ki?s=Et:s===ji||s===Vi?s=Er:(s=Et,a=void 0);let b=s===Et&&e[l+1].startsWith("/>")?" ":"";i+=s===Er?d+Jd:p>=0?(o.push(f),d.slice(0,p)+hn+d.slice(p)+Ze+b):d+Ze+(p===-2?l:b)}return[Qi(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Ar=class e{constructor({strings:t,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,h]=es(t,r);if(this.el=e.createElement(f,o),Ct.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Ct.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(hn)){let m=h[s++],b=a.getAttribute(p).split(Ze),g=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?po:g[1]==="?"?ho:g[1]==="@"?yo:Rt}),a.removeAttribute(p)}else p.startsWith(Ze)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(Xi.test(a.tagName)){let p=a.textContent.split(Ze),m=p.length-1;if(m>0){a.textContent=uo?uo.emptyScript:"";for(let b=0;b<m;b++)a.append(p[b],Cr()),Ct.nextNode(),d.push({type:2,index:++i});a.append(p[m],Cr())}}}else if(a.nodeType===8)if(a.data===yn)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 o=_t.createElement("template");return o.innerHTML=t,o}};function At(e,t,r=e,o){if(t===le)return t;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=_r(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,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(t=At(e,a._$AS(e,t.values),a,o)),t}var fo=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,a=(t?.creationScope??_t).importNode(r,!0);Ct.currentNode=a;let i=Ct.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new jt(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new mo(i,this,t)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(i=Ct.nextNode(),s++)}return Ct.currentNode=_t,a}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},jt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,a){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,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=At(this,t,r),_r(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==le&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ji(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&&_r(this._$AH)?this._$AA.nextSibling.data=t:this.T(_t.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Ar.createElement(Qi(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new fo(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=qi.get(t.strings);return r===void 0&&qi.set(t.strings,r=new Ar(t)),r}k(t){mn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of t)a===r.length?r.push(o=new e(this.O(Cr()),this.O(Cr()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,a,i){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=J}_$AI(t,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)t=At(this,t,r,0),s=!_r(t)||t!==this._$AH&&t!==le,s&&(this._$AH=t);else{let l=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=At(this,l[o+d],r,d),f===le&&(f=this._$AH[d]),s||=!_r(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??"")}},po=class extends Rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}},ho=class extends Rt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},yo=class extends Rt{constructor(t,r,o,a,i){super(t,r,o,a,i),this.type=5}_$AI(t,r=this){if((t=At(this,t,r,0)??J)===le)return;let o=this._$AH,a=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==J&&(o===J||a);a&&this.element.removeEventListener(this.name,this,o),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)}},mo=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){At(this,t)}},bn={M:hn,P:Ze,A:yn,C:1,L:es,R:fo,D:Ji,V:At,I:jt,H:Rt,N:ho,U:yo,B:po,F:mo},eu=pn.litHtmlPolyfillSupport;eu?.(Ar,jt),(pn.litHtmlVersions??=[]).push("3.3.0");var xn=(e,t,r)=>{let o=r?.renderBefore??t,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new jt(t.insertBefore(Cr(),i),i,void 0,r??{})}return a._$AI(e),a};var vn=globalThis,qe=class extends Be{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=xn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return le}};qe._$litElement$=!0,qe.finalized=!0,vn.litElementHydrateSupport?.({LitElement:qe});var tu=vn.litElementPolyfillSupport;tu?.({LitElement:qe});var ru={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(vn.litElementVersions??=[]).push("4.2.0");var rb=!1;var wn={};Y(wn,{customElement:()=>ou,eventOptions:()=>au,property:()=>D,query:()=>On,queryAll:()=>su,queryAssignedElements:()=>lu,queryAssignedNodes:()=>du,queryAsync:()=>cu,standardProperty:()=>ts,state:()=>we});var ou=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var nu={attribute:!0,type:String,converter:Yt,reflect:!1,hasChanged:wr},ts=(e=nu,t,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),o==="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(o==="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: "+o)};function D(e){return(t,r)=>typeof r=="object"?ts(e,t,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function we(e){return D({...e,state:!0,attribute:!1})}function au(e){return(t,r)=>{let o=typeof t=="function"?t:t[r];Object.assign(o,e)}}var Te=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function On(e,t){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Te(r,o,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Te(r,o,{get(){return i(this)}})}}var iu;function su(e){return(t,r)=>Te(t,r,{get(){return(this.renderRoot??(iu??=document.createDocumentFragment())).querySelectorAll(e)}})}function cu(e){return(t,r)=>Te(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function lu(e){return(t,r)=>{let{slot:o,selector:a}=e??{},i="slot"+(o?`[name=${o}]`:":not([name])");return Te(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 du(e){return(t,r)=>{let{slot:o}=e??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Te(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var En={};Y(En,{repeat:()=>bo});var He={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ie=e=>(...t)=>({_$litDirective$:e,values:t}),Ee=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:uu}=bn;var os=e=>e.strings===void 0,rs=()=>document.createComment(""),Vt=(e,t,r)=>{let o=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=o.insertBefore(rs(),a),s=o.insertBefore(rs(),a);r=new uu(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;o.insertBefore(d,a),d=f}}}return r},dt=(e,t,r=e)=>(e._$AI(t,r),e),fu={},ns=(e,t=fu)=>e._$AH=t,as=e=>e._$AH,go=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let o=t.nextSibling;t.remove(),t=o}};var is=(e,t,r)=>{let o=new Map;for(let a=t;a<=r;a++)o.set(e[a],a);return o},bo=Ie(class extends Ee{constructor(e){if(super(e),e.type!==He.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let o;r===void 0?r=t:t!==void 0&&(o=t);let a=[],i=[],s=0;for(let l of e)a[s]=o?o(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,o]){let a=as(e),{values:i,keys:s}=this.dt(t,r,o);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,h,p=0,m=a.length-1,b=0,g=i.length-1;for(;p<=m&&b<=g;)if(a[p]===null)p++;else if(a[m]===null)m--;else if(l[p]===s[b])d[b]=dt(a[p],i[b]),p++,b++;else if(l[m]===s[g])d[g]=dt(a[m],i[g]),m--,g--;else if(l[p]===s[g])d[g]=dt(a[p],i[g]),Vt(e,d[g+1],a[p]),p++,g--;else if(l[m]===s[b])d[b]=dt(a[m],i[b]),Vt(e,a[p],a[m]),m--,b++;else if(f===void 0&&(f=is(s,b,g),h=is(l,p,m)),f.has(l[p]))if(f.has(l[m])){let S=h.get(s[b]),A=S!==void 0?a[S]:null;if(A===null){let C=Vt(e,a[p]);dt(C,i[b]),d[b]=C}else d[b]=dt(A,i[b]),Vt(e,a[p],A),a[S]=null;b++}else go(a[m]),m--;else go(a[p]),p++;for(;b<=g;){let S=Vt(e,d[g+1]);dt(S,i[b]),d[b++]=S}for(;p<=m;){let S=a[p++];S!==null&&go(S)}return this.ut=s,ns(e,d),le}});var Cn={};Y(Cn,{classMap:()=>pu});var pu=Ie(class extends Ee{constructor(e){if(super(e),e.type!==He.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(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let a=!!t[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return le}});var _n={};Y(_n,{styleMap:()=>yu});var ss="important",hu=" !"+ss,yu=Ie(class extends Ee{constructor(e){if(super(e),e.type!==He.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 o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}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 o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let a=t[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(hu);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?ss:""):r[o]=a}}return le}});var An={};Y(An,{UnsafeHTMLDirective:()=>Kt,unsafeHTML:()=>mu});var Kt=class extends Ee{constructor(t){if(super(t),this.it=J,t.type!==He.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===le)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:[]}}};Kt.directiveName="unsafeHTML",Kt.resultType=1;var mu=Ie(Kt);var Mn={};Y(Mn,{CacheRegistry:()=>Ln,ClearCacheEvent:()=>kr});var Nn={};Y(Nn,{CancelablePromise:()=>xo,CanceledPromiseError:()=>Rr,cancelable:()=>Rn});var Rr=class extends Error{constructor(t,r,o){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=o}},xo=class extends Promise{constructor(t){super((r,o)=>t(a=>{this.isCanceled?o(new Rr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Rr("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Rn=e=>new xo((t,r)=>e.then(t).catch(r));var Dn={};Y(Dn,{FtNotificationEvent:()=>Ir,PostResizeEvent:()=>Pn,PreResizeEvent:()=>kn,WithEventBus:()=>Tt,withEventBus:()=>ys});var In={};Y(In,{applyMixinOnce:()=>be,dateReviver:()=>xu,deepCopy:()=>wu,deepEqual:()=>Nr,delay:()=>cs,eventPathContainsMatchingElement:()=>Su,everyDeep:()=>bu,flatDeep:()=>ds,forEachDeep:()=>us,getComposedPathTo:()=>Tn,hasChanged:()=>Nt,last:()=>Ou,minmax:()=>Tr,parseDate:()=>ps,randomId:()=>Eu,someDeep:()=>fs,unslotText:()=>hs,waitFor:()=>ls,waitUntil:()=>gu});var cs=e=>new Promise(t=>setTimeout(t,e));async function gu(e,t=10,r=2e4){await ls(async()=>await e()||void 0,t,r)}async function ls(e,t=10,r=2e4){let o=await e(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await cs(t),o=await e(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function ds(e,t){return e.flatMap(r=>[r,...ds(t(r),t)])}function us(e,t,r){let o=(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)&&o(t(d),[...i,d])))return!1}return!0};o(e,[])}function fs(e,t,r){let o=!1;return us(e,t,(a,i,s,l)=>(o=!!r(a,i,s,l),!o)),o}function bu(e,t,r){return!fs(e,t,(o,a,i,s)=>!r(o,a,i,s))}function xu(...e){return(t,r)=>e.includes(t)?ps(r):r}function ps(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,o,a)=>r+o+":"+a),new Date(e)}function vu(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,o,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!Nr(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!Nr(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[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(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!Nr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Nr(e,t){try{return vu(e,t)}catch{return!1}}function Nt(e,t){return!Nr(e,t)}function Su(e,t,r=window.document.body){if(t.length>0){let o=e.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function Tr(e,t,r){return Math.min(Math.max(e,t),r)}function Ou(e){return e[e.length-1]}function hs(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>hs(t)).join(""):e?.textContent||""}function Tn(e){let t=[],r=o=>{o.stopPropagation(),t=o.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 wu(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Eu(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function be(e,t){let r=o=>o[e]===!0;return o=>{if(r(o))return o;let a=t(o);return a[e]=!0,a}}var Ir=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},kn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Pn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},ys=be(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}),Tt=class extends ys(Object){};var kr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Ln=class extends Tt{constructor(){super(...arguments),this.content={}}register(t,r,o=!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:o,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let o=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new kr(o)),o}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new kr([t])),t}forceClear(t){var r;let o=this.content[t];o&&(this.clearClearTimeout(t),(r=o.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(t){var r,o,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,o=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:o,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,o){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=Rn(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),o)),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,o;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[t])===null||o===void 0?void 0:o.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 Bn={};Y(Bn,{ClusteringHelper:()=>Un,formatHierarchicalValues:()=>Fn});function Fn(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Un=class e{constructor(t,r,o,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(t){var r,o,a,i,s;let l=((i=(o=(r=t.result)===null||r===void 0?void 0:r.map)!==null&&o!==void 0?o:(a=t.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(l,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(l.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,o){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,o)).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(Fn(l)),s.push(Fn(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=>o?o(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,o="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:o}).filter(p=>p.value!=d?.value).filter((p,m,b)=>b.findIndex(g=>g.value===p.value)===m).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,m)=>this.compareMetadata(p.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,o,a){if(t==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),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 o=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 o){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(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Wn={};Y(Wn,{Debouncer:()=>Pr});var Pr=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,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let o=[...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 o)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 Hn={};Y(Hn,{customElement:()=>Je,dateProperty:()=>_u,isNumber:()=>gs,jsonProperty:()=>It,numberProperty:()=>ms,optionalNumberProperty:()=>Cu});var Je=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function It(e,t){let r=()=>JSON.parse(JSON.stringify(e));return D({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:Nt,...t??{}})}function Cu(e){return ms(e)}function ms(e){return D({type:Object,converter:{fromAttribute:t=>{if(t!=null)return gs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function gs(e){return!isNaN(parseFloat(e))}function _u(e){return D({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 Yn={};Y(Yn,{designSystemVariables:()=>lf});var Gn={};Y(Gn,{DesignSystemFamily:()=>Dr,DesignSystemSize:()=>Lr,FtCssVariableFactory:()=>n,badge:()=>Uu,banner:()=>Fu,button:()=>Nu,chart:()=>ef,checkbox:()=>Iu,chip:()=>Lu,chipChoice:()=>Du,collapsible:()=>Xu,comboboxMultiSelect:()=>qu,comboboxSingleSelect:()=>Zu,dateRangePicker:()=>cf,drawer:()=>Gu,floatingMenu:()=>Ku,foundation:()=>c,link:()=>Mu,modal:()=>zu,notice:()=>rf,notification:()=>nf,pageDesigner:()=>tf,pageFooter:()=>Hu,pageHeader:()=>Wu,pageLayout:()=>$u,popover:()=>Ju,radio:()=>ku,reorderableList:()=>sf,resolveFamilyClass:()=>$n,resolveSizeClass:()=>zn,semantic:()=>u,setVariable:()=>Zt,switch_:()=>Qu,table:()=>Pu,tabs:()=>Yu,textArea:()=>Vu,textInput:()=>ju,titleBreadcrumb:()=>Bu,toggle:()=>of,tooltip:()=>af,treeList:()=>Tu,typographies:()=>Au,typographyBody1Medium:()=>ws,typographyBody1Regular:()=>Os,typographyBody1Semibold:()=>Es,typographyBody2Medium:()=>_s,typographyBody2MediumUnderline:()=>As,typographyBody2Regular:()=>Cs,typographyBody2Semibold:()=>Rs,typographyCaption1Bold:()=>Fs,typographyCaption1Medium:()=>Ls,typographyCaption1Semibold:()=>Ms,typographyCaption2Bold:()=>Ws,typographyCaption2Medium:()=>Us,typographyCaption2Semibold:()=>Bs,typographyCaption3Bold:()=>zs,typographyCaption3Medium:()=>Hs,typographyCaption3Semibold:()=>$s,typographyDisplay:()=>bs,typographyLabel1Bold:()=>Is,typographyLabel1Medium:()=>Ns,typographyLabel1Semibold:()=>Ts,typographyLabel2Bold:()=>Ds,typographyLabel2Medium:()=>ks,typographyLabel2Semibold:()=>Ps,typographyTitle1:()=>xs,typographyTitle2:()=>vs,typographyTitle3:()=>Ss,typographyVariants:()=>Ru});var ut=e=>typeof e=="string"?vr(e):e,n=class{static create(t,r,o,a){let i=l=>ut(l??a),s=ee`var(${ut(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Zt(s,l??i(a)),s.get=l=>ee`var(${ut(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,o,a){let i=l=>o.get(l??a),s=ee`var(${ut(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Zt(s,l??i(a)),s.get=l=>ee`var(${ut(t)}, ${i(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(t,r){let o=i=>t.defaultCssValue(i),a=ee`var(${ut(t.name)}, ${o(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>t.set(i),a.get=i=>ee`var(${ut(t.name)}, ${o(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Zt(e,t){return ut(`${e.name}: ${t}`)}var c={colorWhite:n.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:n.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:n.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:n.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:n.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:n.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:n.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:n.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:n.create("--ftds-opacity-0","","NUMBER","0"),opacity8:n.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:n.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:n.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:n.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:n.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:n.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:n.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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)")},bs={fontFamily:n.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:n.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-display-text-case","","UNKNOWN","none")},xs={fontFamily:n.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:n.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},vs={fontFamily:n.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:n.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Ss={fontFamily:n.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:n.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Os={fontFamily:n.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},ws={fontFamily:n.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Es={fontFamily:n.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Cs={fontFamily:n.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},_s={fontFamily:n.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},As={fontFamily:n.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:n.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:n.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Rs={fontFamily:n.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ns={fontFamily:n.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Ts={fontFamily:n.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Is={fontFamily:n.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},ks={fontFamily:n.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Ps={fontFamily:n.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Ds={fontFamily:n.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Ls={fontFamily:n.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ms={fontFamily:n.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Fs={fontFamily:n.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},Us={fontFamily:n.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Bs={fontFamily:n.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ws={fontFamily:n.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Hs={fontFamily:n.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},$s={fontFamily:n.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},zs={fontFamily:n.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Au={display:bs,"title-1":xs,"title-2":vs,"title-3":Ss,"body-1-regular":Os,"body-1-medium":ws,"body-1-semibold":Es,"body-2-regular":Cs,"body-2-medium":_s,"body-2-medium-underline":As,"body-2-semibold":Rs,"label-1-medium":Ns,"label-1-semibold":Ts,"label-1-bold":Is,"label-2-medium":ks,"label-2-semibold":Ps,"label-2-bold":Ds,"caption-1-medium":Ls,"caption-1-semibold":Ms,"caption-1-bold":Fs,"caption-2-medium":Us,"caption-2-semibold":Bs,"caption-2-bold":Ws,"caption-3-medium":Hs,"caption-3-semibold":$s,"caption-3-bold":zs},Ru=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:n.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:n.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:n.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:n.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:n.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:n.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:n.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:n.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:n.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:n.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:n.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:n.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:n.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:n.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:n.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:n.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:n.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:n.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:n.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:n.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:n.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:n.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:n.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:n.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:n.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:n.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:n.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:n.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:n.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:n.extend("--ftds-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:n.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:n.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:n.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Nu={largeHeight:n.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:n.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:n.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:n.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:n.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:n.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:n.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:n.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:n.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:n.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:n.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:n.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:n.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:n.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:n.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:n.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:n.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:n.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:n.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:n.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:n.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:n.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:n.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:n.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:n.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:n.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:n.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:n.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:n.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:n.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:n.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:n.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:n.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:n.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:n.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:n.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:n.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Tu={loadMoreIconSize:n.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:n.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:n.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:n.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:n.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:n.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:n.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:n.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:n.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:n.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:n.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:n.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:n.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:n.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:n.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:n.extend("--ftds-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:n.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:n.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:n.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:n.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:n.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:n.extend("--ftds-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:n.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:n.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:n.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:n.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:n.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:n.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:n.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:n.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:n.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:n.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:n.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:n.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:n.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Iu={iconSize:n.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:n.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:n.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:n.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:n.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:n.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:n.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:n.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:n.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:n.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:n.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:n.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:n.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:n.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),leftPadding:n.extend("--ftds-checkbox-left-padding","",c.spacing2)};var ku={circleSize:n.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ftds-radio-border-width","","SIZE","2px"),color:n.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:n.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:n.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:n.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:n.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:n.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:n.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:n.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:n.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:n.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:n.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Pu={headerRowBorderWidth:n.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:n.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:n.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:n.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:n.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:n.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:n.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:n.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:n.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:n.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:n.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:n.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:n.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:n.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:n.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:n.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:n.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:n.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Du={neutralOffHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:n.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:n.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:n.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:n.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:n.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:n.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:n.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:n.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:n.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:n.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:n.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Lu={largeMinHeight:n.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:n.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:n.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:n.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:n.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:n.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:n.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:n.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:n.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:n.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:n.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:n.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:n.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:n.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:n.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:n.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:n.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:n.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Mu={brandHoverOpacity:n.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:n.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:n.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:n.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:n.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:n.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:n.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:n.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:n.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:n.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:n.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:n.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:n.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:n.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:n.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var Fu={iconSize:n.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:n.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:n.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:n.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:n.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:n.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:n.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:n.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:n.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Uu={horizontalPadding:n.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:n.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:n.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:n.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Bu={horizontalGap:n.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:n.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:n.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:n.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Wu={parentHorizontalPadding:n.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:n.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:n.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:n.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:n.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:n.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:n.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:n.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:n.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:n.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:n.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:n.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:n.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:n.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:n.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:n.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:n.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:n.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:n.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:n.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:n.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:n.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:n.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:n.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:n.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:n.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Hu={horizontalPadding:n.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:n.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:n.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:n.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:n.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:n.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var $u={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var zu={smallContainerTargetWidth:n.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:n.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:n.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:n.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:n.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:n.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:n.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:n.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:n.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:n.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:n.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:n.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:n.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:n.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:n.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:n.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Gu={overlayOpacity:n.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:n.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:n.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:n.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:n.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:n.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:n.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:n.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:n.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:n.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:n.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:n.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:n.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var Yu={offBorderBottomWidth:n.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:n.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:n.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:n.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:n.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:n.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:n.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:n.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:n.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:n.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:n.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:n.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:n.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:n.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:n.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:n.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:n.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var ju={largeFieldHorizontalPadding:n.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:n.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:n.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Vu={backgroundColor:n.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:n.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:n.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:n.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:n.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:n.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Ku={height:n.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:n.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:n.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:n.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:n.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:n.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:n.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:n.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:n.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:n.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:n.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var Zu={largeFieldHorizontalPadding:n.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:n.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:n.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:n.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:n.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:n.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:n.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:n.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:n.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var qu={backgroundColor:n.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:n.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:n.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:n.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:n.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:n.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:n.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:n.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:n.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:n.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:n.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:n.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:n.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var Ju={backgroundColor:n.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:n.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:n.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:n.extend("--ftds-popover-gap","",c.spacing2),borderRadius:n.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:n.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:n.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:n.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:n.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var Xu={hoverStateLayerOpacity:n.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:n.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:n.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:n.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:n.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:n.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:n.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:n.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:n.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:n.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Qu={groupHorizontalPadding:n.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:n.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:n.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:n.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:n.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:n.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:n.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:n.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:n.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:n.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:n.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:n.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:n.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:n.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:n.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:n.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:n.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:n.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var ef={color1Light:n.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:n.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:n.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:n.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:n.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:n.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:n.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:n.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:n.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:n.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:n.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:n.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:n.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:n.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:n.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:n.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:n.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:n.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:n.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:n.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:n.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:n.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:n.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:n.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:n.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:n.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:n.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:n.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:n.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var tf={color1IconColor:n.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:n.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:n.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:n.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:n.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:n.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:n.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:n.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:n.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:n.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:n.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:n.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:n.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:n.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:n.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:n.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var rf={borderWidth:n.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:n.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:n.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:n.extend("--ftds-notice-gap","",c.spacing2),iconSize:n.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:n.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:n.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:n.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:n.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:n.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:n.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:n.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:n.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:n.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:n.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:n.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:n.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:n.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:n.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:n.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:n.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:n.create("--ftds-notice-dense-border-width","","SIZE","0")};var of={offHoverStateLayerOpacity:n.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:n.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:n.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:n.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:n.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:n.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:n.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:n.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:n.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:n.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:n.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:n.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:n.extend("--ftds-toggle-gap","",c.spacing3)};var nf={iconSize:n.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:n.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:n.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:n.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:n.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:n.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:n.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:n.extend("--ftds-notification-trailing-gap","",c.spacing8)};var af={horizontalPadding:n.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:n.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:n.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:n.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:n.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:n.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:n.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ftds-tooltip-gap","",c.spacing05)};var sf={verticalPadding:n.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:n.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:n.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:n.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:n.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:n.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:n.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:n.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:n.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:n.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:n.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:n.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:n.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:n.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var cf={menuHorizontalPadding:n.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:n.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:n.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:n.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Dr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Dr||(Dr={}));var Lr;(function(e){e.large="large",e.medium="medium",e.small="small"})(Lr||(Lr={}));function $n(e){return`ftds--family-${e}`}function zn(e){return`ftds--size-${e}`}var lf={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:n.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:n.create("--ft-color-warning","","COLOR","#B74706"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:n.create("--ft-color-success","","COLOR","#187856"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var jn={};Y(jn,{DynamicImporter:()=>vo,dynamicImporter:()=>df});var vo=class{async import(t){if(t)return import(t)}},df=new vo;var ia={};Y(ia,{computeOffsetAutoPosition:()=>If,computeOffsetPosition:()=>Tf});var Ys=["top","right","bottom","left"],Gs=["start","end"],Kn=Ys.reduce((e,t)=>e.concat(t,t+"-"+Gs[0],t+"-"+Gs[1]),[]),So=Math.min,ft=Math.max;var uf={left:"right",right:"left",bottom:"top",top:"bottom"},ff={start:"end",end:"start"};function Zn(e,t,r){return ft(e,So(t,r))}function qt(e,t){return typeof e=="function"?e(t):e}function pt(e){return e.split("-")[0]}function $e(e){return e.split("-")[1]}function qn(e){return e==="x"?"y":"x"}function Jn(e){return e==="y"?"height":"width"}function Jt(e){return["top","bottom"].includes(pt(e))?"y":"x"}function Xn(e){return qn(Jt(e))}function js(e,t,r){r===void 0&&(r=!1);let o=$e(e),a=Xn(e),i=Jn(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Vn(s)),[s,Vn(s)]}function Vs(e){return e.replace(/start|end/g,t=>ff[t])}function Vn(e){return e.replace(/left|right|bottom|top/g,t=>uf[t])}function pf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ks(e){return typeof e!="number"?pf(e):{top:e,right:e,bottom:e,left:e}}function kt(e){let{x:t,y:r,width:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function Zs(e,t,r){let{reference:o,floating:a}=e,i=Jt(t),s=Xn(t),l=Jn(s),d=pt(t),f=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,m=o[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:o.y-a.height};break;case"bottom":b={x:h,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:p};break;case"left":b={x:o.x-a.width,y:p};break;default:b={x:o.x,y:o.y}}switch($e(t)){case"start":b[s]-=m*(r&&f?-1:1);break;case"end":b[s]+=m*(r&&f?-1:1);break}return b}var qs=async(e,t,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=Zs(f,o,d),m=o,b={},g=0;for(let S=0;S<l.length;S++){let{name:A,fn:C}=l[S],{x:N,y:O,data:x,reset:w}=await C({x:h,y:p,initialPlacement:o,placement:m,strategy:a,middlewareData:b,rects:f,platform:s,elements:{reference:e,floating:t}});h=N??h,p=O??p,b={...b,[A]:{...b[A],...x}},w&&g<=50&&(g++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(f=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):w.rects),{x:h,y:p}=Zs(f,m,d)),S=-1)}return{x:h,y:p,placement:m,strategy:a,middlewareData:b}};async function Oo(e,t){var r;t===void 0&&(t={});let{x:o,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:b=0}=qt(t,e),g=Ks(b),A=l[m?p==="floating"?"reference":"floating":p],C=kt(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(A)))==null||r?A:A.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),N=p==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),x=await(i.isElement==null?void 0:i.isElement(O))?await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1}:{x:1,y:1},w=kt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:O,strategy:d}):N);return{top:(C.top-w.top+g.top)/x.y,bottom:(w.bottom-C.bottom+g.bottom)/x.y,left:(C.left-w.left+g.left)/x.x,right:(w.right-C.right+g.right)/x.x}}function hf(e,t,r){return(e?[...r.filter(a=>$e(a)===e),...r.filter(a=>$e(a)!==e)]:r.filter(a=>pt(a)===a)).filter(a=>e?$e(a)===e||(t?Vs(a)!==a:!1):!0)}var wo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:m=Kn,autoAlignment:b=!0,...g}=qt(e,t),S=p!==void 0||m===Kn?hf(p||null,b,m):m,A=await Oo(t,g),C=((r=s.autoPlacement)==null?void 0:r.index)||0,N=S[C];if(N==null)return{};let O=js(N,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==N)return{reset:{placement:S[0]}};let x=[A[pt(N)],A[O[0]],A[O[1]]],w=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:N,overflows:x}],I=S[C+1];if(I)return{data:{index:C+1,overflows:w},reset:{placement:I}};let L=w.map(k=>{let y=$e(k.placement);return[k.placement,y&&h?k.overflows.slice(0,2).reduce((v,T)=>v+T,0):k.overflows[0],k.overflows]}).sort((k,y)=>k[1]-y[1]),U=((a=L.filter(k=>k[2].slice(0,$e(k[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||L[0][0];return U!==l?{data:{index:C+1,overflows:w},reset:{placement:U}}:{}}}};async function yf(e,t){let{placement:r,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=pt(r),l=$e(r),d=Jt(r)==="y",f=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,p=qt(t,e),{mainAxis:m,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:m*f}:{x:m*f,y:b*h}}var Qn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await yf(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},ea=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:A=>{let{x:C,y:N}=A;return{x:C,y:N}}},...d}=qt(e,t),f={x:r,y:o},h=await Oo(t,d),p=Jt(pt(a)),m=qn(p),b=f[m],g=f[p];if(i){let A=m==="y"?"top":"left",C=m==="y"?"bottom":"right",N=b+h[A],O=b-h[C];b=Zn(N,b,O)}if(s){let A=p==="y"?"top":"left",C=p==="y"?"bottom":"right",N=g+h[A],O=g-h[C];g=Zn(N,g,O)}let S=l.fn({...t,[m]:b,[p]:g});return{...S,data:{x:S.x-r,y:S.y-o,enabled:{[m]:i,[p]:s}}}}}};var ta=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;let{placement:a,rects:i,platform:s,elements:l}=t,{apply:d=()=>{},...f}=qt(e,t),h=await Oo(t,f),p=pt(a),m=$e(a),b=Jt(a)==="y",{width:g,height:S}=i.floating,A,C;p==="top"||p==="bottom"?(A=p,C=m===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(C=p,A=m==="end"?"top":"bottom");let N=S-h.top-h.bottom,O=g-h.left-h.right,x=So(S-h[A],N),w=So(g-h[C],O),I=!t.middlewareData.shift,L=x,H=w;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(H=O),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(L=N),I&&!m){let k=ft(h.left,0),y=ft(h.right,0),v=ft(h.top,0),T=ft(h.bottom,0);b?H=g-2*(k!==0||y!==0?k+y:ft(h.left,h.right)):L=S-2*(v!==0||T!==0?v+T:ft(h.top,h.bottom))}await d({...t,availableWidth:H,availableHeight:L});let U=await s.getDimensions(l.floating);return g!==U.width||S!==U.height?{reset:{rects:!0}}:{}}}};var ra=Math.min,Xt=Math.max,Mr=Math.round;var Xe=e=>({x:e,y:e});function Qe(e){return Xs(e)?(e.nodeName||"").toLowerCase():"#document"}function me(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function et(e){var t;return(t=(Xs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Xs(e){return e instanceof Node||e instanceof me(e).Node}function ze(e){return e instanceof Element||e instanceof me(e).Element}function ke(e){return e instanceof HTMLElement||e instanceof me(e).HTMLElement}function Js(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof me(e).ShadowRoot}function Qt(e){let{overflow:t,overflowX:r,overflowY:o,display:a}=xe(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(a)}function Qs(e){return["table","td","th"].includes(Qe(e))}function Co(e){let t=_o(),r=xe(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function ec(e){let t=Pt(e);for(;ke(t)&&!Fr(t);){if(Co(t))return t;t=Pt(t)}return null}function _o(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Fr(e){return["html","body","#document"].includes(Qe(e))}function xe(e){return me(e).getComputedStyle(e)}function Ur(e){return ze(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pt(e){if(Qe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Js(e)&&e.host||et(e);return Js(t)?t.host:t}function tc(e){let t=Pt(e);return Fr(t)?e.ownerDocument?e.ownerDocument.body:e.body:ke(t)&&Qt(t)?t:tc(t)}function Eo(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=tc(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=me(a);return i?t.concat(s,s.visualViewport||[],Qt(a)?a:[],s.frameElement&&r?Eo(s.frameElement):[]):t.concat(a,Eo(a,[],r))}function nc(e){let t=xe(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=ke(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:o,l=Mr(r)!==i||Mr(o)!==s;return l&&(r=i,o=s),{width:r,height:o,$:l}}function ac(e){return ze(e)?e:e.contextElement}function er(e){let t=ac(e);if(!ke(t))return Xe(1);let r=t.getBoundingClientRect(),{width:o,height:a,$:i}=nc(t),s=(i?Mr(r.width):r.width)/o,l=(i?Mr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var mf=Xe(0);function ic(e){let t=me(e);return!_o()||!t.visualViewport?mf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function gf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==me(e)?!1:t}function Br(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=ac(e),s=Xe(1);t&&(o?ze(o)&&(s=er(o)):s=er(e));let l=gf(i,r,o)?ic(i):Xe(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 m=me(i),b=o&&ze(o)?me(o):o,g=m.frameElement;for(;g&&o&&b!==m;){let S=er(g),A=g.getBoundingClientRect(),C=xe(g),N=A.left+(g.clientLeft+parseFloat(C.paddingLeft))*S.x,O=A.top+(g.clientTop+parseFloat(C.paddingTop))*S.y;d*=S.x,f*=S.y,h*=S.x,p*=S.y,d+=N,f+=O,g=me(g).frameElement}}return kt({width:h,height:p,x:d,y:f})}function bf(e){let{rect:t,offsetParent:r,strategy:o}=e,a=ke(r),i=et(r);if(r===i)return t;let s={scrollLeft:0,scrollTop:0},l=Xe(1),d=Xe(0);if((a||!a&&o!=="fixed")&&((Qe(r)!=="body"||Qt(i))&&(s=Ur(r)),ke(r))){let f=Br(r);l=er(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function xf(e){return Array.from(e.getClientRects())}function sc(e){return Br(et(e)).left+Ur(e).scrollLeft}function vf(e){let t=et(e),r=Ur(e),o=e.ownerDocument.body,a=Xt(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Xt(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+sc(e),l=-r.scrollTop;return xe(o).direction==="rtl"&&(s+=Xt(t.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Sf(e,t){let r=me(e),o=et(e),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let f=_o();(!f||f&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function Of(e,t){let r=Br(e,!0,t==="fixed"),o=r.top+e.clientTop,a=r.left+e.clientLeft,i=ke(e)?er(e):Xe(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:l,x:d,y:f}}function rc(e,t,r){let o;if(t==="viewport")o=Sf(e,r);else if(t==="document")o=vf(et(e));else if(ze(t))o=Of(t,r);else{let a=ic(e);o={...t,x:t.x-a.x,y:t.y-a.y}}return kt(o)}function cc(e,t){let r=Pt(e);return r===t||!ze(r)||Fr(r)?!1:xe(r).position==="fixed"||cc(r,t)}function wf(e,t){let r=t.get(e);if(r)return r;let o=Eo(e,[],!1).filter(l=>ze(l)&&Qe(l)!=="body"),a=null,i=xe(e).position==="fixed",s=i?Pt(e):e;for(;ze(s)&&!Fr(s);){let l=xe(s),d=Co(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Qt(s)&&!d&&cc(e,s))?o=o.filter(h=>h!==s):a=l,s=Pt(s)}return t.set(e,o),o}function Ef(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e,s=[...r==="clippingAncestors"?wf(t,this._c):[].concat(r),o],l=s[0],d=s.reduce((f,h)=>{let p=rc(t,h,a);return f.top=Xt(p.top,f.top),f.right=ra(p.right,f.right),f.bottom=ra(p.bottom,f.bottom),f.left=Xt(p.left,f.left),f},rc(t,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Cf(e){return nc(e)}function _f(e,t,r){let o=ke(t),a=et(t),i=r==="fixed",s=Br(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=Xe(0);if(o||!o&&!i)if((Qe(t)!=="body"||Qt(a))&&(l=Ur(t)),o){let f=Br(t,!0,i,t);d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}else a&&(d.x=sc(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function oc(e,t){return!ke(e)||xe(e).position==="fixed"?null:t?t(e):e.offsetParent}function lc(e,t){let r=me(e);if(!ke(e))return r;let o=oc(e,t);for(;o&&Qs(o)&&xe(o).position==="static";)o=oc(o,t);return o&&(Qe(o)==="html"||Qe(o)==="body"&&xe(o).position==="static"&&!Co(o))?r:o||ec(e)||r}var Af=async function(e){let{reference:t,floating:r,strategy:o}=e,a=this.getOffsetParent||lc,i=this.getDimensions;return{reference:_f(t,await a(r),o),floating:{x:0,y:0,...await i(r)}}};function Rf(e){return xe(e).direction==="rtl"}var tr={convertOffsetParentRelativeRectToViewportRelativeRect:bf,getDocumentElement:et,getClippingRect:Ef,getOffsetParent:lc,getElementRects:Af,getClientRects:xf,getDimensions:Cf,getScale:er,isElement:ze,isRTL:Rf};var oa=(e,t,r)=>{let o=new Map,a={platform:tr,...r},i={...a.platform,_c:o};return qs(e,t,{...a,platform:i})};function aa(e){return Nf(e)}function na(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Nf(e){for(let t=e;t;t=na(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=na(e);t;t=na(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 Tf(e,t,r){return oa(e,t,{platform:{...tr,getOffsetParent:o=>tr.getOffsetParent(o,aa)},middleware:[ea({crossAxis:!0}),wo({allowedPlacements:[r]})]})}async function If(e,t,r,o,a,i,s=4){return oa(e,t,{placement:r,strategy:a,platform:{...tr,getOffsetParent:l=>tr.getOffsetParent(l,aa)},middleware:[Qn(s),wo({allowedPlacements:o}),ta({apply({availableHeight:l,elements:d}){typeof i=="string"&&(i=`var(${i})`),i?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${i})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var fa={};Y(fa,{FtdsBase:()=>ua,toFtdsBase:()=>mc});var da={};Y(da,{FtLitElement:()=>de});var sa={};Y(sa,{ScopedRegistryLitElement:()=>Wr});var Wr=class extends qe{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},o=this.renderOptions.creationScope=this.attachShadow(r);return Sr(o,t.elementStyles),o}};var la={};Y(la,{shadowQuerySelector:()=>ca,shadowQuerySelectorAll:()=>kf});function ca(e,t,...r){var o;let a=e.querySelector(t);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function kf(e,t,...r){let o=[...e.querySelectorAll(t)];for(let a of r)o=o.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 o}var Hr=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);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},pc,dc=Symbol("constructorPrototype"),uc=Symbol("constructorName"),hc=Symbol("exportpartsDebouncer"),fc=Symbol("dynamicDependenciesLoaded"),de=class extends Wr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[pc]=new Pr(5),this[uc]=this.constructor.name,this[dc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[uc]&&Object.setPrototypeOf(this,this[dc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let t=this.constructor;t[fc]||(t[fc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=ca(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).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)}}scheduleExportpartsUpdate(){var t,r,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[hc].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,o,a,i,s,l;let d=m=>m!=null&&m.trim().length>0,f=t.filter(d).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...g).filter(d).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};pc=hc;Hr([D()],de.prototype,"exportpartsPrefix",void 0);Hr([It([])],de.prototype,"exportpartsPrefixes",void 0);Hr([D()],de.prototype,"customStylesheet",void 0);Hr([D()],de.prototype,"elementToFocus",void 0);Hr([we()],de.prototype,"useAdoptedStyleSheets",void 0);var yc=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);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},mc=be(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Lr.medium,this.family=Dr.neutral}getDesignSystemBaseClasses(){return{[$n(this.family)]:!0,[zn(this.size)]:!0}}}return yc([D()],t.prototype,"size",void 0),yc([D()],t.prototype,"family",void 0),t}),ua=class extends mc(de){};var gc={};var ha={};Y(ha,{highlightHtml:()=>Lf,highlightHtmlColorCssVariable:()=>bc,highlightHtmlStyles:()=>Df});var Dt=class e{constructor(t,r=!0,o=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(t,r){let o=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return o.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(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(t,r,o=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(t){let r="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(t,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,o))}catch{o()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,o){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,o):this.getIframeContents(t,r,o):this.observeIframeLoad(t,r,o)}catch{o()}}waitForIframes(t,r){let o=0;this.forEachIframe(t,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(t,r,o,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++,o(h)),d()},d)})}createIterator(t,r,o){return document.createNodeIterator(t,r,o,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,o){let a=t.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),o;return r===null?o=t.nextNode():o=t.nextNode()&&t.nextNode(),{prevNode:r,node:o}}checkIframeFilter(t,r,o,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===o&&(i=d,s=l.handled)}),this.compareNodeIframe(t,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(t,r,o,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(t,r,o,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,m=>this.checkIframeFilter(f,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),a)}),d.push(f);d.forEach(m=>{o(m)}),this.iframes&&this.handleOpenIframes(l,t,o,a),i()}forEachNode(t,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var $r=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 o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[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,o=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${o}`),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,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.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",o=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=>{o.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",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.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(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.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=[],o=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,o);l&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(t,r){let o,a,i=!1;return t&&typeof t.start<"u"?(o=parseInt(t.start,10),a=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-o>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:o,end:a,valid:i}}checkWhitespaceRanges(t,r,o){let a,i=!0,s=o.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)):o.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="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.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:o})})}matchesExclude(t){return Dt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,o){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(r),s=i.splitText(o-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,o,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=(o>s.end?s.end:o)-s.start,p=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+m,t.nodes.forEach((b,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,o,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(!o(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,o,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=>o(d[s],p),(p,m)=>{t.lastIndex=m,a(p)})}i()})}wrapRangeFromIndex(t,r,o,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,m=>r(m,l,i.value.substring(f,h),d),m=>{o(m,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));r.replaceChild(o,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 o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),i,()=>{o===0&&this.opt.noMatch(t),this.opt.done(o)})}mark(t,r){this.opt=r;let o=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,(m,b)=>this.opt.filter(b,f,o,p),m=>{p++,o++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(o):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(t,r){this.opt=r;let o=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)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}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,o=>{this.unwrapMatches(o)},o=>{let a=Dt.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function pa(e){let t=new $r(e);return this.mark=(r,o)=>(t.mark(r,o),this),this.markRegExp=(r,o)=>(t.markRegExp(r,o),this),this.markRanges=(r,o)=>(t.markRanges(r,o),this),this.unmark=r=>(t.unmark(r),this),this}var Pf=pa,bc=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Df=ee`
|
|
1
|
+
"use strict";(()=>{var Md=Object.create;var un=Object.defineProperty;var Fd=Object.getOwnPropertyDescriptor;var Ud=Object.getOwnPropertyNames;var Bd=Object.getPrototypeOf,Wd=Object.prototype.hasOwnProperty;var $i=(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 Hd=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Y=(e,t)=>{for(var r in t)un(e,r,{get:t[r],enumerable:!0})},$d=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ud(t))!Wd.call(e,a)&&a!==r&&un(e,a,{get:()=>t[a],enumerable:!(o=Fd(t,a))||o.enumerable});return e};var zd=(e,t,r)=>(r=e!=null?Md(Bd(e)):{},$d(t||!e||!e.__esModule?un(r,"default",{value:e,enumerable:!0}):r,e));var tl=Hd((xt,el)=>{var Lo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Mo=function(){function e(){this.fetch=!1,this.DOMException=Lo.DOMException}return e.prototype=Lo,new e}();(function(e){var t=function(r){var o=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}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(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function f(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var v={next:function(){var T=y.shift();return{done:T===void 0,value:T}}};return a.iterable&&(v[Symbol.iterator]=function(){return v}),v}function p(y){this.map={},y instanceof p?y.forEach(function(v,T){this.append(T,v)},this):Array.isArray(y)?y.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):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}p.prototype.append=function(y,v){y=d(y),v=f(v);var T=this.map[y];this.map[y]=T?T+", "+v:v},p.prototype.delete=function(y){delete this.map[d(y)]},p.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},p.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},p.prototype.set=function(y,v){this.map[d(y)]=f(v)},p.prototype.forEach=function(y,v){for(var T in this.map)this.map.hasOwnProperty(T)&&y.call(v,this.map[T],T,this)},p.prototype.keys=function(){var y=[];return this.forEach(function(v,T){y.push(T)}),h(y)},p.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),h(y)},p.prototype.entries=function(){var y=[];return this.forEach(function(v,T){y.push([T,v])}),h(y)},a.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function b(y){return new Promise(function(v,T){y.onload=function(){v(y.result)},y.onerror=function(){T(y.error)}})}function g(y){var v=new FileReader,T=b(v);return v.readAsArrayBuffer(y),T}function w(y){var v=new FileReader,T=b(v),G=/charset=([A-Za-z0-9_-]+)/.exec(y.type),K=G?G[1]:"utf-8";return v.readAsText(y,K),T}function C(y){for(var v=new Uint8Array(y),T=new Array(v.length),G=0;G<v.length;G++)T[G]=String.fromCharCode(v[G]);return T.join("")}function _(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=_(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=_(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="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(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=m(this);if(y)return y;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 y=m(this);return y||(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 y=m(this);if(y)return y;if(this._bodyBlob)return w(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(I)}),this.json=function(){return this.text().then(JSON.parse)},this}var S=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function x(y){var v=y.toUpperCase();return S.indexOf(v)>-1?v:y}function O(y,v){if(!(this instanceof O))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var T=v.body;if(y instanceof O){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new p(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!T&&y._bodyInit!=null&&(T=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);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 o){var B=new AbortController;return B.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&T)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(T),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var G=/([?&])_=[^&]*/;if(G.test(this.url))this.url=this.url.replace(G,"$1_="+new Date().getTime());else{var K=/\?/;this.url+=(K.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}O.prototype.clone=function(){return new O(this,{body:this._bodyInit})};function I(y){var v=new FormData;return y.trim().split("&").forEach(function(T){if(T){var G=T.split("="),K=G.shift().replace(/\+/g," "),B=G.join("=").replace(/\+/g," ");v.append(decodeURIComponent(K),decodeURIComponent(B))}}),v}function L(y){var v=new p,T=y.replace(/\r?\n[\t ]+/g," ");return T.split("\r").map(function(G){return G.indexOf(`
|
|
2
|
+
`)===0?G.substr(1,G.length):G}).forEach(function(G){var K=G.split(":"),B=K.shift().trim();if(B){var so=K.join(":").trim();try{v.append(B,so)}catch(dn){console.warn("Response "+dn.message)}}}),v}N.call(O.prototype);function H(y,v){if(!(this instanceof H))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(y)}N.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},H.error=function(){var y=new H(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var U=[301,302,303,307,308];H.redirect=function(y,v){if(U.indexOf(v)===-1)throw new RangeError("Invalid status code");return new H(null,{status:v,headers:{location:y}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,T){this.message=v,this.name=T;var G=Error(v);this.stack=G.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function k(y,v){return new Promise(function(T,G){var K=new O(y,v);if(K.signal&&K.signal.aborted)return G(new r.DOMException("Aborted","AbortError"));var B=new XMLHttpRequest;function so(){B.abort()}B.onload=function(){var ae={statusText:B.statusText,headers:L(B.getAllResponseHeaders()||"")};K.url.indexOf("file://")===0&&(B.status<200||B.status>599)?ae.status=200:ae.status=B.status,ae.url="responseURL"in B?B.responseURL:ae.headers.get("X-Request-URL");var wt="response"in B?B.response:B.responseText;setTimeout(function(){T(new H(wt,ae))},0)},B.onerror=function(){setTimeout(function(){G(new TypeError("Network request failed"))},0)},B.ontimeout=function(){setTimeout(function(){G(new TypeError("Network request timed out"))},0)},B.onabort=function(){setTimeout(function(){G(new r.DOMException("Aborted","AbortError"))},0)};function dn(ae){try{return ae===""&&o.location.href?o.location.href:ae}catch{return ae}}if(B.open(K.method,dn(K.url),!0),K.credentials==="include"?B.withCredentials=!0:K.credentials==="omit"&&(B.withCredentials=!1),"responseType"in B&&(a.blob?B.responseType="blob":a.arrayBuffer&&(B.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof p||o.Headers&&v.headers instanceof o.Headers)){var Hi=[];Object.getOwnPropertyNames(v.headers).forEach(function(ae){Hi.push(d(ae)),B.setRequestHeader(ae,f(v.headers[ae]))}),K.headers.forEach(function(ae,wt){Hi.indexOf(wt)===-1&&B.setRequestHeader(wt,ae)})}else K.headers.forEach(function(ae,wt){B.setRequestHeader(wt,ae)});K.signal&&(K.signal.addEventListener("abort",so),B.onreadystatechange=function(){B.readyState===4&&K.signal.removeEventListener("abort",so)}),B.send(typeof K._bodyInit>"u"?null:K._bodyInit)})}return k.polyfill=!0,o.fetch||(o.fetch=k,o.Headers=p,o.Request=O,o.Response=H),r.Headers=p,r.Request=O,r.Response=H,r.fetch=k,r}({})})(Mo);Mo.fetch.ponyfill=!0;delete Mo.fetch.polyfill;var dr=Lo.fetch?Lo:Mo;xt=dr.fetch;xt.default=dr.fetch;xt.fetch=dr.fetch;xt.Headers=dr.Headers;xt.Request=dr.Request;xt.Response=dr.Response;el.exports=xt});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,o=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 O=x.prototype.attributeChangedCallback,I=new Set(x.observedAttributes||[]);m(x,I,O);let L={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:O,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(S,L),this._definitionsByClass.set(x,L);let H=r.call(o,S);H||(H=p(S),t.call(o,S,H)),this===window.customElements&&(s.set(x,L),L.standInClass=H);let U=this._awaitingUpgrade.get(S);if(U){this._awaitingUpgrade.delete(S);for(let y of U)i.delete(y),g(y,L,!0)}let k=this._whenDefinedPromises.get(S);return k!==void 0&&(k.resolve(x),this._whenDefinedPromises.delete(S)),x}upgrade(){C.push(this),o.upgrade.apply(o,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 O=this._whenDefinedPromises.get(S);return O===void 0&&(O={},O.promise=new Promise(I=>O.resolve=I),this._whenDefinedPromises.set(S,O)),O.promise}_upgradeWhenDefined(S,x,O){let I=this._awaitingUpgrade.get(x);I||this._awaitingUpgrade.set(x,I=new Set),O?I.add(S):I.delete(S)}};let d;window.HTMLElement=function(){let x=d;if(x)return d=void 0,x;let O=s.get(this.constructor);if(!O)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(e,[],O.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),a.set(x,O),x},window.HTMLElement.prototype=e.prototype;let f=S=>S===document||S instanceof ShadowRoot,h=S=>{let x=S.getRootNode();if(!f(x)){let O=C[C.length-1];if(O instanceof CustomElementRegistry)return O;x=O.getRootNode(),f(x)||(x=l.get(x)?.getRootNode()||document)}return x.customElements},p=S=>class{static get formAssociated(){return!0}constructor(){let O=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(O,HTMLElement.prototype);let I=h(O)||window.customElements,L=I._getDefinition(S);return L?g(O,L):i.set(O,I),O}connectedCallback(){let O=a.get(this);O?O.connectedCallback&&O.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let O=a.get(this);O?O.disconnectedCallback&&O.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let O=a.get(this);O&&O.formAssociated&&O?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let O=a.get(this);O?.formAssociated&&O?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let O=a.get(this);O?.formAssociated&&O?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let O=a.get(this);O?.formAssociated&&O?.formStateRestoreCallback?.apply(this,arguments)}},m=(S,x,O)=>{if(x.size===0||O===void 0)return;let I=S.prototype.setAttribute;I&&(S.prototype.setAttribute=function(U,k){let y=U.toLowerCase();if(x.has(y)){let v=this.getAttribute(y);I.call(this,y,k),O.call(this,y,v,k)}else I.call(this,y,k)});let L=S.prototype.removeAttribute;L&&(S.prototype.removeAttribute=function(U){let k=U.toLowerCase();if(x.has(k)){let y=this.getAttribute(k);L.call(this,k),O.call(this,k,y,null)}else L.call(this,k)});let H=S.prototype.toggleAttribute;H&&(S.prototype.toggleAttribute=function(U,k){let y=U.toLowerCase();if(x.has(y)){let v=this.getAttribute(y);H.call(this,y,k);let T=this.getAttribute(y);O.call(this,y,v,T)}else H.call(this,y,k)})},b=S=>{let x=Object.getPrototypeOf(S);if(x!==window.HTMLElement)return x===e?Object.setPrototypeOf(S,window.HTMLElement):b(x)},g=(S,x,O=!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(I=>{S.hasAttribute(I)&&x.attributeChangedCallback.call(S,I,null,S.getAttribute(I))}),O&&x.connectedCallback&&S.isConnected&&x.connectedCallback.call(S)},w=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let x=w.apply(this,arguments);return S.customElements&&(x.customElements=S.customElements),x};let C=[document],_=(S,x,O=void 0)=>{let I=(O?Object.getPrototypeOf(O):S.prototype)[x];S.prototype[x]=function(){C.push(this);let L=I.apply(O||this,arguments);return L!==void 0&&l.set(L,this),C.pop(),L}};_(ShadowRoot,"createElement",document),_(ShadowRoot,"importNode",document),_(Element,"insertAdjacentHTML");let N=(S,x)=>{let O=Object.getOwnPropertyDescriptor(S.prototype,x);Object.defineProperty(S.prototype,x,{...O,set(I){C.push(this),O.set.call(this,I),C.pop()}})};if(N(Element,"innerHTML"),N(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,O=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...U){let k=x.call(this,...U);return S.set(k,this),k},O.forEach(U=>{let k=window.ElementInternals.prototype,y=k[U];k[U]=function(...v){let T=S.get(this);if(a.get(T).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class L{constructor(k){let y=new Map;k.forEach((v,T)=>{let G=v.getAttribute("name"),K=y.get(G)||[];this[+T]=v,K.push(v),y.set(G,K)}),this.length=k.length,y.forEach((v,T)=>{v&&(v.length===1?this[T]=v[0]:this[T]=new I(v))})}namedItem(k){return this[k]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=H.get.call(this,[]),k=[];for(let y of U){let v=a.get(y);(!v||v.formAssociated===!0)&&k.push(y)}return new L(k)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,o,a)=>{if(o!==null)try{t.bind(window.customElements)(r,o,a)}catch(i){console.info(r,o,a,i)}}}var On={};Y(On,{CSSResult:()=>Yt,LitElement:()=>qe,ReactiveElement:()=>Be,_$LE:()=>ou,_$LH:()=>xn,adoptStyles:()=>wr,css:()=>ee,defaultConverter:()=>jt,getCompatibleStyle:()=>lo,html:()=>We,isServer:()=>ob,mathml:()=>eu,noChange:()=>de,notEqual:()=>Cr,nothing:()=>J,render:()=>vn,supportsAdoptingStyleSheets:()=>Sr,svg:()=>Qd,unsafeCSS:()=>Or});var co=globalThis,Sr=co.ShadowRoot&&(co.ShadyCSS===void 0||co.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fn=Symbol(),zi=new WeakMap,Yt=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==fn)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(Sr&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=zi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&zi.set(r,t))}return t}toString(){return this.cssText}},Or=e=>new Yt(typeof e=="string"?e:e+"",void 0,fn),ee=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,a,i)=>o+(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,fn)},wr=(e,t)=>{if(Sr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),a=co.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,e.appendChild(o)}},lo=Sr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return Or(r)})(e):e;var{is:Gd,defineProperty:Yd,getOwnPropertyDescriptor:jd,getOwnPropertyNames:Vd,getOwnPropertySymbols:Kd,getPrototypeOf:Zd}=Object,uo=globalThis,Gi=uo.trustedTypes,qd=Gi?Gi.emptyScript:"",Jd=uo.reactiveElementPolyfillSupport,Er=(e,t)=>e,jt={toAttribute(e,t){switch(t){case Boolean:e=e?qd: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}},Cr=(e,t)=>!Gd(e,t),Yi={attribute:!0,type:String,converter:jt,reflect:!1,useDefault:!1,hasChanged:Cr};Symbol.metadata??=Symbol("metadata"),uo.litPropertyMetadata??=new WeakMap;var Be=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=Yi){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 o=Symbol(),a=this.getPropertyDescriptor(t,o,r);a!==void 0&&Yd(this.prototype,t,a)}}static getPropertyDescriptor(t,r,o){let{get:a,set:i}=jd(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,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yi}static _$Ei(){if(this.hasOwnProperty(Er("elementProperties")))return;let t=Zd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Er("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Er("properties"))){let r=this.properties,o=[...Vd(r),...Kd(r)];for(let a of o)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let a of o)r.unshift(lo(a))}else t!==void 0&&r.push(lo(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o: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 o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return wr(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,o){this._$AK(t,o)}_$ET(t,r){let o=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:jt).toAttribute(r,o.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let o=this.constructor,a=o._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:jt;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){let a=this.constructor,i=this[t];if(o??=a.getPropertyOptions(t),!((o.hasChanged??Cr)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,o))))return;this.C(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(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||o||(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 o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o){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(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}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){}};Be.elementStyles=[],Be.shadowRootOptions={mode:"open"},Be[Er("elementProperties")]=new Map,Be[Er("finalized")]=new Map,Jd?.({ReactiveElement:Be}),(uo.reactiveElementVersions??=[]).push("2.1.0");var hn=globalThis,fo=hn.trustedTypes,ji=fo?fo.createPolicy("lit-html",{createHTML:e=>e}):void 0,yn="$lit$",Ze=`lit$${Math.random().toFixed(9).slice(2)}$`,mn="?"+Ze,Xd=`<${mn}>`,_t=document,Ar=()=>_t.createComment(""),Rr=e=>e===null||typeof e!="object"&&typeof e!="function",gn=Array.isArray,Xi=e=>gn(e)||typeof e?.[Symbol.iterator]=="function",pn=`[
|
|
3
|
+
\f\r]`,_r=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vi=/-->/g,Ki=/>/g,Et=RegExp(`>|${pn}(?:([^\\s"'>=/]+)(${pn}*=${pn}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Zi=/'/g,qi=/"/g,Qi=/^(?:script|style|textarea|title)$/i,bn=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),We=bn(1),Qd=bn(2),eu=bn(3),de=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Ji=new WeakMap,Ct=_t.createTreeWalker(_t,129);function es(e,t){if(!gn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ji!==void 0?ji.createHTML(t):t}var ts=(e,t)=>{let r=e.length-1,o=[],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,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===_r?h[1]==="!--"?s=Vi:h[1]!==void 0?s=Ki:h[2]!==void 0?(Qi.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Et):h[3]!==void 0&&(s=Et):s===Et?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?Et:h[3]==='"'?qi:Zi):s===qi||s===Zi?s=Et:s===Vi||s===Ki?s=_r:(s=Et,a=void 0);let b=s===Et&&e[l+1].startsWith("/>")?" ":"";i+=s===_r?d+Xd:p>=0?(o.push(f),d.slice(0,p)+yn+d.slice(p)+Ze+b):d+Ze+(p===-2?l:b)}return[es(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Nr=class e{constructor({strings:t,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[f,h]=ts(t,r);if(this.el=e.createElement(f,o),Ct.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Ct.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(yn)){let m=h[s++],b=a.getAttribute(p).split(Ze),g=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?ho:g[1]==="?"?yo:g[1]==="@"?mo:Rt}),a.removeAttribute(p)}else p.startsWith(Ze)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(Qi.test(a.tagName)){let p=a.textContent.split(Ze),m=p.length-1;if(m>0){a.textContent=fo?fo.emptyScript:"";for(let b=0;b<m;b++)a.append(p[b],Ar()),Ct.nextNode(),d.push({type:2,index:++i});a.append(p[m],Ar())}}}else if(a.nodeType===8)if(a.data===mn)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 o=_t.createElement("template");return o.innerHTML=t,o}};function At(e,t,r=e,o){if(t===de)return t;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=Rr(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,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(t=At(e,a._$AS(e,t.values),a,o)),t}var po=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:o}=this._$AD,a=(t?.creationScope??_t).importNode(r,!0);Ct.currentNode=a;let i=Ct.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Vt(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new go(i,this,t)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(i=Ct.nextNode(),s++)}return Ct.currentNode=_t,a}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},Vt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,a){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,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=At(this,t,r),Rr(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==de&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Xi(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&&Rr(this._$AH)?this._$AA.nextSibling.data=t:this.T(_t.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Nr.createElement(es(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new po(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=Ji.get(t.strings);return r===void 0&&Ji.set(t.strings,r=new Nr(t)),r}k(t){gn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of t)a===r.length?r.push(o=new e(this.O(Ar()),this.O(Ar()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,a,i){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=J}_$AI(t,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)t=At(this,t,r,0),s=!Rr(t)||t!==this._$AH&&t!==de,s&&(this._$AH=t);else{let l=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=At(this,l[o+d],r,d),f===de&&(f=this._$AH[d]),s||=!Rr(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??"")}},ho=class extends Rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}},yo=class extends Rt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},mo=class extends Rt{constructor(t,r,o,a,i){super(t,r,o,a,i),this.type=5}_$AI(t,r=this){if((t=At(this,t,r,0)??J)===de)return;let o=this._$AH,a=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==J&&(o===J||a);a&&this.element.removeEventListener(this.name,this,o),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)}},go=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){At(this,t)}},xn={M:yn,P:Ze,A:mn,C:1,L:ts,R:po,D:Xi,V:At,I:Vt,H:Rt,N:yo,U:mo,B:ho,F:go},tu=hn.litHtmlPolyfillSupport;tu?.(Nr,Vt),(hn.litHtmlVersions??=[]).push("3.3.0");var vn=(e,t,r)=>{let o=r?.renderBefore??t,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new Vt(t.insertBefore(Ar(),i),i,void 0,r??{})}return a._$AI(e),a};var Sn=globalThis,qe=class extends Be{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=vn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return de}};qe._$litElement$=!0,qe.finalized=!0,Sn.litElementHydrateSupport?.({LitElement:qe});var ru=Sn.litElementPolyfillSupport;ru?.({LitElement:qe});var ou={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(Sn.litElementVersions??=[]).push("4.2.0");var ob=!1;var En={};Y(En,{customElement:()=>nu,eventOptions:()=>iu,property:()=>D,query:()=>wn,queryAll:()=>cu,queryAssignedElements:()=>du,queryAssignedNodes:()=>uu,queryAsync:()=>lu,standardProperty:()=>rs,state:()=>we});var nu=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var au={attribute:!0,type:String,converter:jt,reflect:!1,hasChanged:Cr},rs=(e=au,t,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),o==="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(o==="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: "+o)};function D(e){return(t,r)=>typeof r=="object"?rs(e,t,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function we(e){return D({...e,state:!0,attribute:!1})}function iu(e){return(t,r)=>{let o=typeof t=="function"?t:t[r];Object.assign(o,e)}}var Te=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function wn(e,t){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Te(r,o,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Te(r,o,{get(){return i(this)}})}}var su;function cu(e){return(t,r)=>Te(t,r,{get(){return(this.renderRoot??(su??=document.createDocumentFragment())).querySelectorAll(e)}})}function lu(e){return(t,r)=>Te(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function du(e){return(t,r)=>{let{slot:o,selector:a}=e??{},i="slot"+(o?`[name=${o}]`:":not([name])");return Te(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 uu(e){return(t,r)=>{let{slot:o}=e??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Te(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var Cn={};Y(Cn,{repeat:()=>xo});var He={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ie=e=>(...t)=>({_$litDirective$:e,values:t}),Ee=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:fu}=xn;var ns=e=>e.strings===void 0,os=()=>document.createComment(""),Kt=(e,t,r)=>{let o=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=o.insertBefore(os(),a),s=o.insertBefore(os(),a);r=new fu(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;o.insertBefore(d,a),d=f}}}return r},dt=(e,t,r=e)=>(e._$AI(t,r),e),pu={},as=(e,t=pu)=>e._$AH=t,is=e=>e._$AH,bo=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let o=t.nextSibling;t.remove(),t=o}};var ss=(e,t,r)=>{let o=new Map;for(let a=t;a<=r;a++)o.set(e[a],a);return o},xo=Ie(class extends Ee{constructor(e){if(super(e),e.type!==He.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let o;r===void 0?r=t:t!==void 0&&(o=t);let a=[],i=[],s=0;for(let l of e)a[s]=o?o(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,o]){let a=is(e),{values:i,keys:s}=this.dt(t,r,o);if(!Array.isArray(a))return this.ut=s,i;let l=this.ut??=[],d=[],f,h,p=0,m=a.length-1,b=0,g=i.length-1;for(;p<=m&&b<=g;)if(a[p]===null)p++;else if(a[m]===null)m--;else if(l[p]===s[b])d[b]=dt(a[p],i[b]),p++,b++;else if(l[m]===s[g])d[g]=dt(a[m],i[g]),m--,g--;else if(l[p]===s[g])d[g]=dt(a[p],i[g]),Kt(e,d[g+1],a[p]),p++,g--;else if(l[m]===s[b])d[b]=dt(a[m],i[b]),Kt(e,a[p],a[m]),m--,b++;else if(f===void 0&&(f=ss(s,b,g),h=ss(l,p,m)),f.has(l[p]))if(f.has(l[m])){let w=h.get(s[b]),C=w!==void 0?a[w]:null;if(C===null){let _=Kt(e,a[p]);dt(_,i[b]),d[b]=_}else d[b]=dt(C,i[b]),Kt(e,a[p],C),a[w]=null;b++}else bo(a[m]),m--;else bo(a[p]),p++;for(;b<=g;){let w=Kt(e,d[g+1]);dt(w,i[b]),d[b++]=w}for(;p<=m;){let w=a[p++];w!==null&&bo(w)}return this.ut=s,as(e,d),de}});var _n={};Y(_n,{classMap:()=>hu});var hu=Ie(class extends Ee{constructor(e){if(super(e),e.type!==He.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(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let a=!!t[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return de}});var An={};Y(An,{styleMap:()=>mu});var cs="important",yu=" !"+cs,mu=Ie(class extends Ee{constructor(e){if(super(e),e.type!==He.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 o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}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 o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let a=t[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(yu);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?cs:""):r[o]=a}}return de}});var Rn={};Y(Rn,{UnsafeHTMLDirective:()=>Zt,unsafeHTML:()=>gu});var Zt=class extends Ee{constructor(t){if(super(t),this.it=J,t.type!==He.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===de)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:[]}}};Zt.directiveName="unsafeHTML",Zt.resultType=1;var gu=Ie(Zt);var Fn={};Y(Fn,{CacheRegistry:()=>Mn,ClearCacheEvent:()=>Dr});var Tn={};Y(Tn,{CancelablePromise:()=>vo,CanceledPromiseError:()=>Tr,cancelable:()=>Nn});var Tr=class extends Error{constructor(t,r,o){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=o}},vo=class extends Promise{constructor(t){super((r,o)=>t(a=>{this.isCanceled?o(new Tr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Tr("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Nn=e=>new vo((t,r)=>e.then(t).catch(r));var Ln={};Y(Ln,{FtNotificationEvent:()=>Pr,PostResizeEvent:()=>Dn,PreResizeEvent:()=>Pn,WithEventBus:()=>Tt,withEventBus:()=>ms});var kn={};Y(kn,{applyMixinOnce:()=>be,dateReviver:()=>vu,deepCopy:()=>Eu,deepEqual:()=>Ir,delay:()=>ls,eventPathContainsMatchingElement:()=>Ou,everyDeep:()=>xu,flatDeep:()=>us,forEachDeep:()=>fs,getComposedPathTo:()=>In,hasChanged:()=>Nt,last:()=>wu,minmax:()=>kr,parseDate:()=>hs,randomId:()=>Cu,someDeep:()=>ps,unslotText:()=>ys,waitFor:()=>ds,waitUntil:()=>bu});var ls=e=>new Promise(t=>setTimeout(t,e));async function bu(e,t=10,r=2e4){await ds(async()=>await e()||void 0,t,r)}async function ds(e,t=10,r=2e4){let o=await e(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await ls(t),o=await e(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function us(e,t){return e.flatMap(r=>[r,...us(t(r),t)])}function fs(e,t,r){let o=(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)&&o(t(d),[...i,d])))return!1}return!0};o(e,[])}function ps(e,t,r){let o=!1;return fs(e,t,(a,i,s,l)=>(o=!!r(a,i,s,l),!o)),o}function xu(e,t,r){return!ps(e,t,(o,a,i,s)=>!r(o,a,i,s))}function vu(...e){return(t,r)=>e.includes(t)?hs(r):r}function hs(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,o,a)=>r+o+":"+a),new Date(e)}function Su(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,o,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!Ir(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!Ir(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[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(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!Ir(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Ir(e,t){try{return Su(e,t)}catch{return!1}}function Nt(e,t){return!Ir(e,t)}function Ou(e,t,r=window.document.body){if(t.length>0){let o=e.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function kr(e,t,r){return Math.min(Math.max(e,t),r)}function wu(e){return e[e.length-1]}function ys(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>ys(t)).join(""):e?.textContent||""}function In(e){let t=[],r=o=>{o.stopPropagation(),t=o.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 Eu(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Cu(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function be(e,t){let r=o=>o[e]===!0;return o=>{if(r(o))return o;let a=t(o);return a[e]=!0,a}}var Pr=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Pn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Dn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},ms=be(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}),Tt=class extends ms(Object){};var Dr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Mn=class extends Tt{constructor(){super(...arguments),this.content={}}register(t,r,o=!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:o,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let o=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Dr(o)),o}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 o=this.content[t];o&&(this.clearClearTimeout(t),(r=o.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(t){var r,o,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,o=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:o,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,o){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=Nn(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),o)),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,o;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[t])===null||o===void 0?void 0:o.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 Wn={};Y(Wn,{ClusteringHelper:()=>Bn,formatHierarchicalValues:()=>Un});function Un(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Bn=class e{constructor(t,r,o,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(t){var r,o,a,i,s;let l=((i=(o=(r=t.result)===null||r===void 0?void 0:r.map)!==null&&o!==void 0?o:(a=t.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(l,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(l.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,o){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,o)).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(Un(l)),s.push(Un(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=>o?o(l):l).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,o="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:o}).filter(p=>p.value!=d?.value).filter((p,m,b)=>b.findIndex(g=>g.value===p.value)===m).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,m)=>this.compareMetadata(p.metadata.value,m.metadata.value,t,r))}compareMetadata(t,r,o,a){if(t==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),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 o=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 o){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(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Hn={};Y(Hn,{Debouncer:()=>Lr});var Lr=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,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let o=[...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 o)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 $n={};Y($n,{customElement:()=>Je,dateProperty:()=>Au,isNumber:()=>bs,jsonProperty:()=>It,numberProperty:()=>gs,optionalNumberProperty:()=>_u});var Je=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function It(e,t){let r=()=>JSON.parse(JSON.stringify(e));return D({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:Nt,...t??{}})}function _u(e){return gs(e)}function gs(e){return D({type:Object,converter:{fromAttribute:t=>{if(t!=null)return bs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function bs(e){return!isNaN(parseFloat(e))}function Au(e){return D({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 jn={};Y(jn,{designSystemVariables:()=>df});var Yn={};Y(Yn,{DesignSystemFamily:()=>Mr,DesignSystemSize:()=>Fr,FtCssVariableFactory:()=>n,badge:()=>Bu,banner:()=>Uu,button:()=>Tu,chart:()=>tf,checkbox:()=>ku,chip:()=>Mu,chipChoice:()=>Lu,collapsible:()=>Qu,comboboxMultiSelect:()=>Ju,comboboxSingleSelect:()=>qu,dateRangePicker:()=>lf,drawer:()=>Yu,floatingMenu:()=>Zu,foundation:()=>c,link:()=>Fu,modal:()=>Gu,notice:()=>of,notification:()=>af,pageDesigner:()=>rf,pageFooter:()=>$u,pageHeader:()=>Hu,pageLayout:()=>zu,popover:()=>Xu,radio:()=>Pu,reorderableList:()=>cf,resolveFamilyClass:()=>zn,resolveSizeClass:()=>Gn,semantic:()=>u,setVariable:()=>qt,switch_:()=>ef,table:()=>Du,tabs:()=>ju,textArea:()=>Ku,textInput:()=>Vu,titleBreadcrumb:()=>Wu,toggle:()=>nf,tooltip:()=>sf,treeList:()=>Iu,typographies:()=>Ru,typographyBody1Medium:()=>Es,typographyBody1Regular:()=>ws,typographyBody1Semibold:()=>Cs,typographyBody2Medium:()=>As,typographyBody2MediumUnderline:()=>Rs,typographyBody2Regular:()=>_s,typographyBody2Semibold:()=>Ns,typographyCaption1Bold:()=>Us,typographyCaption1Medium:()=>Ms,typographyCaption1Semibold:()=>Fs,typographyCaption2Bold:()=>Hs,typographyCaption2Medium:()=>Bs,typographyCaption2Semibold:()=>Ws,typographyCaption3Bold:()=>Gs,typographyCaption3Medium:()=>$s,typographyCaption3Semibold:()=>zs,typographyDisplay:()=>xs,typographyLabel1Bold:()=>ks,typographyLabel1Medium:()=>Ts,typographyLabel1Semibold:()=>Is,typographyLabel2Bold:()=>Ls,typographyLabel2Medium:()=>Ps,typographyLabel2Semibold:()=>Ds,typographyTitle1:()=>vs,typographyTitle2:()=>Ss,typographyTitle3:()=>Os,typographyVariants:()=>Nu});var ut=e=>typeof e=="string"?Or(e):e,n=class{static create(t,r,o,a){let i=l=>ut(l??a),s=ee`var(${ut(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>qt(s,l??i(a)),s.get=l=>ee`var(${ut(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,o,a){let i=l=>o.get(l??a),s=ee`var(${ut(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>qt(s,l??i(a)),s.get=l=>ee`var(${ut(t)}, ${i(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(t,r){let o=i=>t.defaultCssValue(i),a=ee`var(${ut(t.name)}, ${o(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>t.set(i),a.get=i=>ee`var(${ut(t.name)}, ${o(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function qt(e,t){return ut(`${e.name}: ${t}`)}var c={colorWhite:n.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:n.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:n.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:n.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:n.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:n.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:n.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:n.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:n.create("--ftds-opacity-0","","NUMBER","0"),opacity8:n.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:n.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:n.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:n.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:n.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:n.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:n.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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)")},xs={fontFamily:n.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:n.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-display-text-case","","UNKNOWN","none")},vs={fontFamily:n.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:n.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ss={fontFamily:n.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:n.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Os={fontFamily:n.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:n.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},ws={fontFamily:n.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Es={fontFamily:n.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Cs={fontFamily:n.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},_s={fontFamily:n.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},As={fontFamily:n.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Rs={fontFamily:n.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:n.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:n.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ns={fontFamily:n.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ts={fontFamily:n.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Is={fontFamily:n.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},ks={fontFamily:n.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Ps={fontFamily:n.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Ds={fontFamily:n.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Ls={fontFamily:n.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:n.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:n.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Ms={fontFamily:n.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Fs={fontFamily:n.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Us={fontFamily:n.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},Bs={fontFamily:n.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Ws={fontFamily:n.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Hs={fontFamily:n.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},$s={fontFamily:n.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},zs={fontFamily:n.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Gs={fontFamily:n.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:n.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Ru={display:xs,"title-1":vs,"title-2":Ss,"title-3":Os,"body-1-regular":ws,"body-1-medium":Es,"body-1-semibold":Cs,"body-2-regular":_s,"body-2-medium":As,"body-2-medium-underline":Rs,"body-2-semibold":Ns,"label-1-medium":Ts,"label-1-semibold":Is,"label-1-bold":ks,"label-2-medium":Ps,"label-2-semibold":Ds,"label-2-bold":Ls,"caption-1-medium":Ms,"caption-1-semibold":Fs,"caption-1-bold":Us,"caption-2-medium":Bs,"caption-2-semibold":Ws,"caption-2-bold":Hs,"caption-3-medium":$s,"caption-3-semibold":zs,"caption-3-bold":Gs},Nu=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:n.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:n.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:n.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:n.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:n.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:n.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:n.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:n.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:n.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:n.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:n.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:n.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:n.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:n.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:n.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:n.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:n.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:n.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:n.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:n.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:n.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:n.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:n.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:n.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:n.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:n.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:n.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:n.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:n.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:n.extend("--ftds-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:n.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:n.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:n.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Tu={largeHeight:n.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:n.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:n.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:n.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:n.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:n.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:n.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:n.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:n.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:n.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:n.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:n.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:n.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:n.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:n.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:n.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:n.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:n.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:n.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:n.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:n.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:n.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:n.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:n.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:n.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:n.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:n.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:n.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:n.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:n.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:n.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:n.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:n.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:n.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:n.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:n.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:n.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Iu={loadMoreIconSize:n.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:n.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:n.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:n.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:n.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:n.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:n.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:n.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:n.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:n.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:n.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:n.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:n.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:n.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:n.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:n.extend("--ftds-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:n.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:n.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:n.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:n.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:n.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:n.extend("--ftds-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:n.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:n.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:n.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:n.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:n.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:n.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:n.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:n.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:n.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:n.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:n.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:n.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:n.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var ku={iconSize:n.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:n.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:n.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:n.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:n.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:n.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:n.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:n.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:n.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:n.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:n.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:n.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:n.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:n.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),leftPadding:n.extend("--ftds-checkbox-left-padding","",c.spacing2)};var Pu={circleSize:n.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ftds-radio-border-width","","SIZE","2px"),color:n.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:n.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:n.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:n.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:n.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:n.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:n.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:n.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:n.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:n.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:n.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:n.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Du={headerRowBorderWidth:n.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:n.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:n.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:n.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:n.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:n.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:n.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:n.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:n.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:n.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:n.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:n.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:n.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:n.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:n.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:n.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:n.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:n.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Lu={neutralOffHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:n.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:n.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:n.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:n.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:n.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:n.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:n.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:n.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:n.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:n.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:n.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Mu={largeMinHeight:n.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:n.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:n.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:n.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:n.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:n.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:n.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:n.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:n.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:n.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:n.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:n.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:n.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:n.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:n.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:n.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:n.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:n.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Fu={brandHoverOpacity:n.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:n.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:n.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:n.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:n.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:n.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:n.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:n.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:n.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:n.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:n.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:n.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:n.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:n.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:n.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var Uu={iconSize:n.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:n.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:n.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:n.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:n.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:n.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:n.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:n.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:n.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Bu={horizontalPadding:n.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:n.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:n.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:n.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Wu={horizontalGap:n.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:n.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:n.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:n.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Hu={parentHorizontalPadding:n.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:n.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:n.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:n.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:n.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:n.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:n.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:n.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:n.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:n.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:n.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:n.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:n.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:n.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:n.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:n.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:n.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:n.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:n.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:n.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:n.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:n.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:n.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:n.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:n.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:n.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var $u={horizontalPadding:n.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:n.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:n.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:n.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:n.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:n.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var zu={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Gu={smallContainerTargetWidth:n.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:n.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:n.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:n.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:n.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:n.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:n.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:n.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:n.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:n.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:n.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:n.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:n.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:n.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:n.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:n.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Yu={overlayOpacity:n.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:n.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:n.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:n.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:n.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:n.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:n.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:n.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:n.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:n.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:n.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:n.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:n.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:n.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var ju={offBorderBottomWidth:n.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:n.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:n.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:n.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:n.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:n.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:n.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:n.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:n.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:n.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:n.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:n.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:n.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:n.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:n.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:n.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:n.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Vu={largeFieldHorizontalPadding:n.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:n.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:n.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Ku={backgroundColor:n.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:n.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:n.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:n.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:n.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:n.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:n.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:n.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Zu={height:n.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:n.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:n.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:n.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:n.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:n.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:n.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:n.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:n.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:n.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:n.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var qu={largeFieldHorizontalPadding:n.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:n.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:n.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:n.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:n.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:n.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:n.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:n.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:n.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:n.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:n.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:n.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:n.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:n.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:n.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Ju={backgroundColor:n.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:n.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:n.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:n.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:n.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:n.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:n.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:n.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:n.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:n.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:n.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:n.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:n.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:n.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:n.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:n.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var Xu={backgroundColor:n.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:n.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:n.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:n.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:n.extend("--ftds-popover-gap","",c.spacing2),borderRadius:n.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:n.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:n.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:n.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:n.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var Qu={hoverStateLayerOpacity:n.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:n.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:n.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:n.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:n.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:n.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:n.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:n.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:n.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:n.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:n.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var ef={groupHorizontalPadding:n.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:n.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:n.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:n.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:n.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:n.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:n.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:n.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:n.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:n.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:n.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:n.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:n.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:n.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:n.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:n.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:n.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:n.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:n.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var tf={color1Light:n.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:n.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:n.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:n.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:n.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:n.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:n.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:n.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:n.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:n.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:n.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:n.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:n.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:n.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:n.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:n.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:n.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:n.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:n.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:n.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:n.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:n.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:n.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:n.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:n.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:n.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:n.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:n.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:n.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var rf={color1IconColor:n.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:n.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:n.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:n.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:n.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:n.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:n.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:n.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:n.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:n.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:n.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:n.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:n.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:n.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:n.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:n.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var of={borderWidth:n.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:n.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:n.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:n.extend("--ftds-notice-gap","",c.spacing2),iconSize:n.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:n.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:n.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:n.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:n.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:n.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:n.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:n.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:n.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:n.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:n.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:n.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:n.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:n.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:n.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:n.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:n.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:n.create("--ftds-notice-dense-border-width","","SIZE","0")};var nf={offHoverStateLayerOpacity:n.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:n.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:n.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:n.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:n.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:n.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:n.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:n.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:n.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:n.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:n.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:n.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:n.extend("--ftds-toggle-gap","",c.spacing3)};var af={iconSize:n.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:n.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:n.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:n.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:n.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:n.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:n.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:n.extend("--ftds-notification-trailing-gap","",c.spacing8)};var sf={horizontalPadding:n.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:n.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:n.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:n.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:n.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:n.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:n.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ftds-tooltip-gap","",c.spacing05)};var cf={verticalPadding:n.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:n.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:n.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:n.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:n.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:n.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:n.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:n.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:n.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:n.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:n.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:n.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:n.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:n.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var lf={menuHorizontalPadding:n.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:n.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:n.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:n.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 zn(e){return`ftds--family-${e}`}function Gn(e){return`ftds--size-${e}`}var df={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:n.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:n.create("--ft-color-warning","","COLOR","#B74706"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:n.create("--ft-color-success","","COLOR","#187856"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Vn={};Y(Vn,{DynamicImporter:()=>So,dynamicImporter:()=>uf});var So=class{async import(t){if(t)return import(t)}},uf=new So;var sa={};Y(sa,{computeOffsetAutoPosition:()=>kf,computeOffsetPosition:()=>If});var js=["top","right","bottom","left"],Ys=["start","end"],Zn=js.reduce((e,t)=>e.concat(t,t+"-"+Ys[0],t+"-"+Ys[1]),[]),Oo=Math.min,ft=Math.max;var ff={left:"right",right:"left",bottom:"top",top:"bottom"},pf={start:"end",end:"start"};function qn(e,t,r){return ft(e,Oo(t,r))}function Jt(e,t){return typeof e=="function"?e(t):e}function pt(e){return e.split("-")[0]}function $e(e){return e.split("-")[1]}function Jn(e){return e==="x"?"y":"x"}function Xn(e){return e==="y"?"height":"width"}function Xt(e){return["top","bottom"].includes(pt(e))?"y":"x"}function Qn(e){return Jn(Xt(e))}function Vs(e,t,r){r===void 0&&(r=!1);let o=$e(e),a=Qn(e),i=Xn(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Kn(s)),[s,Kn(s)]}function Ks(e){return e.replace(/start|end/g,t=>pf[t])}function Kn(e){return e.replace(/left|right|bottom|top/g,t=>ff[t])}function hf(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zs(e){return typeof e!="number"?hf(e):{top:e,right:e,bottom:e,left:e}}function kt(e){let{x:t,y:r,width:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function qs(e,t,r){let{reference:o,floating:a}=e,i=Xt(t),s=Qn(t),l=Xn(s),d=pt(t),f=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,m=o[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:o.y-a.height};break;case"bottom":b={x:h,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:p};break;case"left":b={x:o.x-a.width,y:p};break;default:b={x:o.x,y:o.y}}switch($e(t)){case"start":b[s]-=m*(r&&f?-1:1);break;case"end":b[s]+=m*(r&&f?-1:1);break}return b}var Js=async(e,t,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=qs(f,o,d),m=o,b={},g=0;for(let w=0;w<l.length;w++){let{name:C,fn:_}=l[w],{x:N,y:S,data:x,reset:O}=await _({x:h,y:p,initialPlacement:o,placement:m,strategy:a,middlewareData:b,rects:f,platform:s,elements:{reference:e,floating:t}});h=N??h,p=S??p,b={...b,[C]:{...b[C],...x}},O&&g<=50&&(g++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(f=O.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):O.rects),{x:h,y:p}=qs(f,m,d)),w=-1)}return{x:h,y:p,placement:m,strategy:a,middlewareData:b}};async function wo(e,t){var r;t===void 0&&(t={});let{x:o,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:b=0}=Jt(t,e),g=Zs(b),C=l[m?p==="floating"?"reference":"floating":p],_=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})),N=p==="floating"?{x:o,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},O=kt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:S,strategy:d}):N);return{top:(_.top-O.top+g.top)/x.y,bottom:(O.bottom-_.bottom+g.bottom)/x.y,left:(_.left-O.left+g.left)/x.x,right:(O.right-_.right+g.right)/x.x}}function yf(e,t,r){return(e?[...r.filter(a=>$e(a)===e),...r.filter(a=>$e(a)!==e)]:r.filter(a=>pt(a)===a)).filter(a=>e?$e(a)===e||(t?Ks(a)!==a:!1):!0)}var Eo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:m=Zn,autoAlignment:b=!0,...g}=Jt(e,t),w=p!==void 0||m===Zn?yf(p||null,b,m):m,C=await wo(t,g),_=((r=s.autoPlacement)==null?void 0:r.index)||0,N=w[_];if(N==null)return{};let S=Vs(N,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==N)return{reset:{placement:w[0]}};let x=[C[pt(N)],C[S[0]],C[S[1]]],O=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:N,overflows:x}],I=w[_+1];if(I)return{data:{index:_+1,overflows:O},reset:{placement:I}};let L=O.map(k=>{let y=$e(k.placement);return[k.placement,y&&h?k.overflows.slice(0,2).reduce((v,T)=>v+T,0):k.overflows[0],k.overflows]}).sort((k,y)=>k[1]-y[1]),U=((a=L.filter(k=>k[2].slice(0,$e(k[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||L[0][0];return U!==l?{data:{index:_+1,overflows:O},reset:{placement:U}}:{}}}};async function mf(e,t){let{placement:r,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=pt(r),l=$e(r),d=Xt(r)==="y",f=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,p=Jt(t,e),{mainAxis:m,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:m*f}:{x:m*f,y:b*h}}var ea=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await mf(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},ta=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:C=>{let{x:_,y:N}=C;return{x:_,y:N}}},...d}=Jt(e,t),f={x:r,y:o},h=await wo(t,d),p=Xt(pt(a)),m=Jn(p),b=f[m],g=f[p];if(i){let C=m==="y"?"top":"left",_=m==="y"?"bottom":"right",N=b+h[C],S=b-h[_];b=qn(N,b,S)}if(s){let C=p==="y"?"top":"left",_=p==="y"?"bottom":"right",N=g+h[C],S=g-h[_];g=qn(N,g,S)}let w=l.fn({...t,[m]:b,[p]:g});return{...w,data:{x:w.x-r,y:w.y-o,enabled:{[m]:i,[p]:s}}}}}};var ra=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;let{placement:a,rects:i,platform:s,elements:l}=t,{apply:d=()=>{},...f}=Jt(e,t),h=await wo(t,f),p=pt(a),m=$e(a),b=Xt(a)==="y",{width:g,height:w}=i.floating,C,_;p==="top"||p==="bottom"?(C=p,_=m===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(_=p,C=m==="end"?"top":"bottom");let N=w-h.top-h.bottom,S=g-h.left-h.right,x=Oo(w-h[C],N),O=Oo(g-h[_],S),I=!t.middlewareData.shift,L=x,H=O;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(H=S),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(L=N),I&&!m){let k=ft(h.left,0),y=ft(h.right,0),v=ft(h.top,0),T=ft(h.bottom,0);b?H=g-2*(k!==0||y!==0?k+y:ft(h.left,h.right)):L=w-2*(v!==0||T!==0?v+T:ft(h.top,h.bottom))}await d({...t,availableWidth:H,availableHeight:L});let U=await s.getDimensions(l.floating);return g!==U.width||w!==U.height?{reset:{rects:!0}}:{}}}};var oa=Math.min,Qt=Math.max,Ur=Math.round;var Xe=e=>({x:e,y:e});function Qe(e){return Qs(e)?(e.nodeName||"").toLowerCase():"#document"}function me(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function et(e){var t;return(t=(Qs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Qs(e){return e instanceof Node||e instanceof me(e).Node}function ze(e){return e instanceof Element||e instanceof me(e).Element}function ke(e){return e instanceof HTMLElement||e instanceof me(e).HTMLElement}function Xs(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof me(e).ShadowRoot}function er(e){let{overflow:t,overflowX:r,overflowY:o,display:a}=xe(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(a)}function ec(e){return["table","td","th"].includes(Qe(e))}function _o(e){let t=Ao(),r=xe(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function tc(e){let t=Pt(e);for(;ke(t)&&!Br(t);){if(_o(t))return t;t=Pt(t)}return null}function Ao(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Br(e){return["html","body","#document"].includes(Qe(e))}function xe(e){return me(e).getComputedStyle(e)}function Wr(e){return ze(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pt(e){if(Qe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Xs(e)&&e.host||et(e);return Xs(t)?t.host:t}function rc(e){let t=Pt(e);return Br(t)?e.ownerDocument?e.ownerDocument.body:e.body:ke(t)&&er(t)?t:rc(t)}function Co(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=rc(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=me(a);return i?t.concat(s,s.visualViewport||[],er(a)?a:[],s.frameElement&&r?Co(s.frameElement):[]):t.concat(a,Co(a,[],r))}function ac(e){let t=xe(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=ke(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:o,l=Ur(r)!==i||Ur(o)!==s;return l&&(r=i,o=s),{width:r,height:o,$:l}}function ic(e){return ze(e)?e:e.contextElement}function tr(e){let t=ic(e);if(!ke(t))return Xe(1);let r=t.getBoundingClientRect(),{width:o,height:a,$:i}=ac(t),s=(i?Ur(r.width):r.width)/o,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 gf=Xe(0);function sc(e){let t=me(e);return!Ao()||!t.visualViewport?gf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==me(e)?!1:t}function Hr(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=ic(e),s=Xe(1);t&&(o?ze(o)&&(s=tr(o)):s=tr(e));let l=bf(i,r,o)?sc(i):Xe(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 m=me(i),b=o&&ze(o)?me(o):o,g=m.frameElement;for(;g&&o&&b!==m;){let w=tr(g),C=g.getBoundingClientRect(),_=xe(g),N=C.left+(g.clientLeft+parseFloat(_.paddingLeft))*w.x,S=C.top+(g.clientTop+parseFloat(_.paddingTop))*w.y;d*=w.x,f*=w.y,h*=w.x,p*=w.y,d+=N,f+=S,g=me(g).frameElement}}return kt({width:h,height:p,x:d,y:f})}function xf(e){let{rect:t,offsetParent:r,strategy:o}=e,a=ke(r),i=et(r);if(r===i)return t;let s={scrollLeft:0,scrollTop:0},l=Xe(1),d=Xe(0);if((a||!a&&o!=="fixed")&&((Qe(r)!=="body"||er(i))&&(s=Wr(r)),ke(r))){let f=Hr(r);l=tr(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function vf(e){return Array.from(e.getClientRects())}function cc(e){return Hr(et(e)).left+Wr(e).scrollLeft}function Sf(e){let t=et(e),r=Wr(e),o=e.ownerDocument.body,a=Qt(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Qt(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+cc(e),l=-r.scrollTop;return xe(o).direction==="rtl"&&(s+=Qt(t.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Of(e,t){let r=me(e),o=et(e),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let f=Ao();(!f||f&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function wf(e,t){let r=Hr(e,!0,t==="fixed"),o=r.top+e.clientTop,a=r.left+e.clientLeft,i=ke(e)?tr(e):Xe(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:l,x:d,y:f}}function oc(e,t,r){let o;if(t==="viewport")o=Of(e,r);else if(t==="document")o=Sf(et(e));else if(ze(t))o=wf(t,r);else{let a=sc(e);o={...t,x:t.x-a.x,y:t.y-a.y}}return kt(o)}function lc(e,t){let r=Pt(e);return r===t||!ze(r)||Br(r)?!1:xe(r).position==="fixed"||lc(r,t)}function Ef(e,t){let r=t.get(e);if(r)return r;let o=Co(e,[],!1).filter(l=>ze(l)&&Qe(l)!=="body"),a=null,i=xe(e).position==="fixed",s=i?Pt(e):e;for(;ze(s)&&!Br(s);){let l=xe(s),d=_o(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||er(s)&&!d&&lc(e,s))?o=o.filter(h=>h!==s):a=l,s=Pt(s)}return t.set(e,o),o}function Cf(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e,s=[...r==="clippingAncestors"?Ef(t,this._c):[].concat(r),o],l=s[0],d=s.reduce((f,h)=>{let p=oc(t,h,a);return f.top=Qt(p.top,f.top),f.right=oa(p.right,f.right),f.bottom=oa(p.bottom,f.bottom),f.left=Qt(p.left,f.left),f},oc(t,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function _f(e){return ac(e)}function Af(e,t,r){let o=ke(t),a=et(t),i=r==="fixed",s=Hr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=Xe(0);if(o||!o&&!i)if((Qe(t)!=="body"||er(a))&&(l=Wr(t)),o){let f=Hr(t,!0,i,t);d.x=f.x+t.clientLeft,d.y=f.y+t.clientTop}else a&&(d.x=cc(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function nc(e,t){return!ke(e)||xe(e).position==="fixed"?null:t?t(e):e.offsetParent}function dc(e,t){let r=me(e);if(!ke(e))return r;let o=nc(e,t);for(;o&&ec(o)&&xe(o).position==="static";)o=nc(o,t);return o&&(Qe(o)==="html"||Qe(o)==="body"&&xe(o).position==="static"&&!_o(o))?r:o||tc(e)||r}var Rf=async function(e){let{reference:t,floating:r,strategy:o}=e,a=this.getOffsetParent||dc,i=this.getDimensions;return{reference:Af(t,await a(r),o),floating:{x:0,y:0,...await i(r)}}};function Nf(e){return xe(e).direction==="rtl"}var rr={convertOffsetParentRelativeRectToViewportRelativeRect:xf,getDocumentElement:et,getClippingRect:Cf,getOffsetParent:dc,getElementRects:Rf,getClientRects:vf,getDimensions:_f,getScale:tr,isElement:ze,isRTL:Nf};var na=(e,t,r)=>{let o=new Map,a={platform:rr,...r},i={...a.platform,_c:o};return Js(e,t,{...a,platform:i})};function ia(e){return Tf(e)}function aa(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Tf(e){for(let t=e;t;t=aa(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=aa(e);t;t=aa(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 If(e,t,r){return na(e,t,{platform:{...rr,getOffsetParent:o=>rr.getOffsetParent(o,ia)},middleware:[ta({crossAxis:!0}),Eo({allowedPlacements:[r]})]})}async function kf(e,t,r,o,a,i,s=4){return na(e,t,{placement:r,strategy:a,platform:{...rr,getOffsetParent:l=>rr.getOffsetParent(l,ia)},middleware:[ea(s),Eo({allowedPlacements:o}),ra({apply({availableHeight:l,elements:d}){typeof i=="string"&&(i=`var(${i})`),i?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${i})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var pa={};Y(pa,{FtdsBase:()=>fa,toFtdsBase:()=>gc});var ua={};Y(ua,{ExportpartsUpdatedEvent:()=>Dt,FtLitElement:()=>ie});var ca={};Y(ca,{ScopedRegistryLitElement:()=>$r});var $r=class extends qe{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},o=this.renderOptions.creationScope=this.attachShadow(r);return wr(o,t.elementStyles),o}};var da={};Y(da,{shadowQuerySelector:()=>la,shadowQuerySelectorAll:()=>Pf});function la(e,t,...r){var o;let a=e.querySelector(t);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function Pf(e,t,...r){let o=[...e.querySelectorAll(t)];for(let a of r)o=o.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 o}var or=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);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},hc,uc=Symbol("constructorPrototype"),fc=Symbol("constructorName"),yc=Symbol("exportpartsDebouncer"),pc=Symbol("dynamicDependenciesLoaded"),Dt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Dt.eventName="exportparts-updated";var ie=class extends $r{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[hc]=new Lr(5),this.scheduleExportpartsUpdate=()=>{var t,r,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[yc].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[fc]=this.constructor.name,this[uc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[fc]&&Object.setPrototypeOf(this,this[uc])}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(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[pc]||(r[pc]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Dt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Dt.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 Dt)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=la(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).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,o,a,i,s,l;let d=m=>m!=null&&m.trim().length>0,f=t.filter(d).map(m=>m.trim());if(f.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[],w=[...b,...g].filter(d).map(C=>C.trim());for(let C of w)h.add(C)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...p].join(", ")}};hc=yc;or([D()],ie.prototype,"exportpartsPrefix",void 0);or([It([])],ie.prototype,"exportpartsPrefixes",void 0);or([D({reflect:!0})],ie.prototype,"exportparts",void 0);or([D()],ie.prototype,"customStylesheet",void 0);or([D()],ie.prototype,"elementToFocus",void 0);or([we()],ie.prototype,"useAdoptedStyleSheets",void 0);var mc=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);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},gc=be(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Fr.medium,this.family=Mr.neutral}getDesignSystemBaseClasses(){return{[zn(this.family)]:!0,[Gn(this.size)]:!0}}}return mc([D()],t.prototype,"size",void 0),mc([D()],t.prototype,"family",void 0),t}),fa=class extends gc(ie){};var bc={};var ya={};Y(ya,{highlightHtml:()=>Mf,highlightHtmlColorCssVariable:()=>xc,highlightHtmlStyles:()=>Lf});var Lt=class e{constructor(t,r=!0,o=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(t,r){let o=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return o.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(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(t,r,o=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(t){let r="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(t,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,o))}catch{o()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,o){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,o):this.getIframeContents(t,r,o):this.observeIframeLoad(t,r,o)}catch{o()}}waitForIframes(t,r){let o=0;this.forEachIframe(t,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(t,r,o,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++,o(h)),d()},d)})}createIterator(t,r,o){return document.createNodeIterator(t,r,o,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,o){let a=t.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),o;return r===null?o=t.nextNode():o=t.nextNode()&&t.nextNode(),{prevNode:r,node:o}}checkIframeFilter(t,r,o,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===o&&(i=d,s=l.handled)}),this.compareNodeIframe(t,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(t,r,o,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(t,r,o,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,m=>this.checkIframeFilter(f,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),a)}),d.push(f);d.forEach(m=>{o(m)}),this.iframes&&this.handleOpenIframes(l,t,o,a),i()}forEachNode(t,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,o,()=>{--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 Lt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[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,o=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${o}`),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,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.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",o=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=>{o.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",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.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(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.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=[],o=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,o);l&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(t,r){let o,a,i=!1;return t&&typeof t.start<"u"?(o=parseInt(t.start,10),a=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-o>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:o,end:a,valid:i}}checkWhitespaceRanges(t,r,o){let a,i=!0,s=o.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)):o.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="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.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:o})})}matchesExclude(t){return Lt.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,o){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(r),s=i.splitText(o-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,o,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=(o>s.end?s.end:o)-s.start,p=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+m,t.nodes.forEach((b,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,o,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(!o(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,o,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=>o(d[s],p),(p,m)=>{t.lastIndex=m,a(p)})}i()})}wrapRangeFromIndex(t,r,o,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,m=>r(m,l,i.value.substring(f,h),d),m=>{o(m,l)})}),a()})}unwrapMatches(t){let r=t.parentNode,o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));r.replaceChild(o,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 o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),i,()=>{o===0&&this.opt.noMatch(t),this.opt.done(o)})}mark(t,r){this.opt=r;let o=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,(m,b)=>this.opt.filter(b,f,o,p),m=>{p++,o++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(o):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(t,r){this.opt=r;let o=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)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}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,o=>{this.unwrapMatches(o)},o=>{let a=Lt.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ha(e){let t=new zr(e);return this.mark=(r,o)=>(t.mark(r,o),this),this.markRegExp=(r,o)=>(t.markRegExp(r,o),this),this.markRanges=(r,o)=>(t.markRanges(r,o),this),this.unmark=r=>(t.unmark(r),this),this}var Df=ha,xc=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Lf=ee`
|
|
6
6
|
.highlight-html-match {
|
|
7
|
-
background: ${
|
|
7
|
+
background: ${xc};
|
|
8
8
|
}
|
|
9
|
-
`;function
|
|
9
|
+
`;function Mf(e,t,r){var o,a;let i=e.getAttribute("data-highlight-html-query");if((i??"")!==(t??"")){let s=new Df(e);if(s.unmark(),t&&t.trim()){let l={className:(o=r?.className)!==null&&o!==void 0?o:"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 ma={};Y(ma,{noTextInputDefaultClearButton:()=>Wf,noTextSelect:()=>Ff,safariEllipsisFix:()=>Bf,wordWrap:()=>Uf});var Ff=ee`
|
|
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:n.extend("--ftds-con
|
|
|
15
15
|
-ms-user-select: none;
|
|
16
16
|
user-select: none;
|
|
17
17
|
}
|
|
18
|
-
`,
|
|
18
|
+
`,Uf=ee`
|
|
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:n.extend("--ftds-con
|
|
|
27
27
|
-webkit-hyphens: auto;
|
|
28
28
|
hyphens: auto
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,Bf=ee`
|
|
31
31
|
.ft-safari-ellipsis-fix {
|
|
32
32
|
margin-right: 0;
|
|
33
33
|
|
|
@@ -38,14 +38,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
38
38
|
display: inline-block;
|
|
39
39
|
width: 0;
|
|
40
40
|
}
|
|
41
|
-
`,
|
|
41
|
+
`,Wf=ee`
|
|
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 xc={};var ga={};Y(ga,{ParametrizedLabelResolver:()=>ma});var ma=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;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 o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var za={};Y(za,{FtCommandQueue:()=>zr,FtLitElementRedux:()=>ba,FtReduxStore:()=>$a,ReduxWatcher:()=>ko,clearAllStores:()=>Cp,isFtReduxStore:()=>rr,redux:()=>Hf,reduxEventListener:()=>$f,reduxReactive:()=>Wf,watch:()=>_p,withRedux:()=>vc});var Wf=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},Hf=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:Nt,attribute:!1,...t};D(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[o],store:t.store})}},$f=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.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(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==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 rr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Gr=Symbol("internalReduxEventsUnsubscribers"),ht=Symbol("internalStoresUnsubscribers"),Lt=Symbol("internalStores"),vc=be(Symbol("withRedux"),function(e){var t,r,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[o]=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[Lt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Lt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Lt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Lt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Lt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Lt].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[ht].has(s.store):this[ht].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[ht].set(s,l.subscribe(()=>this.updateFromStores())),this[Gr].set(s,[]),rr(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=m=>this[h](m);l.addEventListener(f.eventName,p),this[Gr].get(s).push(()=>l.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[ht].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[ht].has(s)&&this[ht].get(s)(),this[ht].delete(s),(l=this[Gr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Gr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=ht,r=Lt,o=Gr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),ba=class extends vc(de){};function Ce(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];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 tt(e){return!!e&&!!e[X]}function Pe(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===qf}(e)||Array.isArray(e)||!!e[Ac]||!!(!((t=e.constructor)===null||t===void 0)&&t[Ac])||Aa(e)||Ra(e))}function Mt(e,t,r){r===void 0&&(r=!1),ar(e)===0?(r?Object.keys:nr)(e).forEach(function(o){r&&typeof o=="symbol"||t(o,e[o],e)}):e.forEach(function(o,a){return t(a,o,e)})}function ar(e){var t=e[X];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Aa(e)?2:Ra(e)?3:0}function or(e,t){return ar(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function zf(e,t){return ar(e)===2?e.get(t):e[t]}function Rc(e,t,r){var o=ar(e);o===2?e.set(t,r):o===3?e.add(r):e[t]=r}function Nc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Aa(e){return Kf&&e instanceof Map}function Ra(e){return Zf&&e instanceof Set}function yt(e){return e.o||e.t}function Na(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=kc(e);delete t[X];for(var r=nr(t),o=0;o<r.length;o++){var a=r[o],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 Ta(e,t){return t===void 0&&(t=!1),Ia(e)||tt(e)||!Pe(e)||(ar(e)>1&&(e.set=e.add=e.clear=e.delete=Gf),Object.freeze(e),t&&Mt(e,function(r,o){return Ta(o,!0)},!0)),e}function Gf(){Ce(2)}function Ia(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ge(e){var t=_a[e];return t||Ce(18,e),t}function Yf(e,t){_a[e]||(_a[e]=t)}function wa(){return jr}function xa(e,t){t&&(Ge("Patches"),e.u=[],e.s=[],e.v=t)}function Ao(e){Ea(e),e.p.forEach(jf),e.p=null}function Ea(e){e===jr&&(jr=e.l)}function Sc(e){return jr={p:[],l:jr,h:e,m:!0,_:0}}function jf(e){var t=e[X];t.i===0||t.i===1?t.j():t.g=!0}function va(e,t){t._=t.p.length;var r=t.p[0],o=e!==void 0&&e!==r;return t.h.O||Ge("ES5").S(t,e,o),o?(r[X].P&&(Ao(t),Ce(4)),Pe(e)&&(e=Ro(t,e),t.l||No(t,e)),t.u&&Ge("Patches").M(r[X].t,e,t.u,t.s)):e=Ro(t,r,[]),Ao(t),t.u&&t.v(t.u,t.s),e!==Ic?e:void 0}function Ro(e,t,r){if(Ia(t))return t;var o=t[X];if(!o)return Mt(t,function(l,d){return Oc(e,o,t,l,d,r)},!0),t;if(o.A!==e)return t;if(!o.P)return No(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Na(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),Mt(i,function(l,d){return Oc(e,o,a,l,d,r,s)}),No(e,a,!1),r&&e.u&&Ge("Patches").N(o,r,e.u,e.s)}return o.o}function Oc(e,t,r,o,a,i,s){if(tt(a)){var l=Ro(e,a,i&&t&&t.i!==3&&!or(t.R,o)?i.concat(o):void 0);if(Rc(r,o,l),!tt(l))return;e.m=!1}else s&&r.add(a);if(Pe(a)&&!Ia(a)){if(!e.h.D&&e._<1)return;Ro(e,a),t&&t.A.l||No(e,a)}}function No(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Ta(t,r)}function Sa(e,t){var r=e[X];return(r?yt(r):e)[t]}function wc(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function mt(e){e.P||(e.P=!0,e.l&&mt(e.l))}function Oa(e){e.o||(e.o=Na(e.t))}function Ca(e,t,r){var o=Aa(t)?Ge("MapSet").F(t,r):Ra(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:wa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,f=Vr;s&&(d=[l],f=Yr);var h=Proxy.revocable(d,f),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m}(t,r):Ge("ES5").J(t,r);return(r?r.A:wa()).p.push(o),o}function Vf(e){return tt(e)||Ce(22,e),function t(r){if(!Pe(r))return r;var o,a=r[X],i=ar(r);if(a){if(!a.P&&(a.i<4||!Ge("ES5").K(a)))return a.t;a.I=!0,o=Ec(r,i),a.I=!1}else o=Ec(r,i);return Mt(o,function(s,l){a&&zf(a.t,s)===l||Rc(o,s,t(l))}),i===3?new Set(o):o}(e)}function Ec(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Na(e)}function Tc(){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 Vr.get(f,s)},set:function(f){var h=this[X];Vr.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:o(d)&&mt(d);break;case 4:r(d)&&mt(d)}}}function r(s){for(var l=s.t,d=s.k,f=nr(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==X){var m=l[p];if(m===void 0&&!or(l,p))return!0;var b=d[p],g=b&&b[X];if(g?g.t!==m:!Nc(b,m))return!0}}var S=!!l[X];return f.length!==nr(l).length+(S?0:1)}function o(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(yt(s)))}var i={};Yf("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(p,m){if(p){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var S=kc(m);delete S[X];for(var A=nr(S),C=0;C<A.length;C++){var N=A[C];S[N]=e(N,p||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(d,s),h={i:d?5:4,A:l?l.A:wa(),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?tt(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 m=p.t,b=p.k,g=p.R,S=p.i;if(S===4)Mt(b,function(x){x!==X&&(m[x]!==void 0||or(m,x)?g[x]||f(b[x]):(g[x]=!0,mt(p)))}),Mt(m,function(x){b[x]!==void 0||or(b,x)||(g[x]=!1,mt(p))});else if(S===5){if(o(p)&&(mt(p),g.length=!0),b.length<m.length)for(var A=b.length;A<m.length;A++)g[A]=!1;else for(var C=m.length;C<b.length;C++)g[C]=!0;for(var N=Math.min(b.length,m.length),O=0;O<N;O++)b.hasOwnProperty(O)||(g[O]=!0),g[O]===void 0&&f(b[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Cc,jr,ka=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Kf=typeof Map<"u",Zf=typeof Set<"u",_c=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ic=ka?Symbol.for("immer-nothing"):((Cc={})["immer-nothing"]=!0,Cc),Ac=ka?Symbol.for("immer-draftable"):"__$immer_draftable",X=ka?Symbol.for("immer-state"):"__$immer_state";var qf=""+Object.prototype.constructor,nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,kc=Object.getOwnPropertyDescriptors||function(e){var t={};return nr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},_a={},Vr={get:function(e,t){if(t===X)return e;var r=yt(e);if(!or(r,t))return function(a,i,s){var l,d=wc(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 o=r[t];return e.I||!Pe(o)?o:o===Sa(e.t,t)?(Oa(e),e.o[t]=Ca(e.A.h,o,e)):o},has:function(e,t){return t in yt(e)},ownKeys:function(e){return Reflect.ownKeys(yt(e))},set:function(e,t,r){var o=wc(yt(e),t);if(o?.set)return o.set.call(e.k,r),!0;if(!e.P){var a=Sa(yt(e),t),i=a?.[X];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Nc(r,a)&&(r!==void 0||or(e.t,t)))return!0;Oa(e),mt(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 Sa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Oa(e),mt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=yt(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:r[t]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ce(12)}},Yr={};Mt(Vr,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 Vr.set.call(this,e[0],t,r,e[0])};var Jf=function(){function e(r){var o=this;this.O=_c,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=o;return function(S){var A=this;S===void 0&&(S=l);for(var C=arguments.length,N=Array(C>1?C-1:0),O=1;O<C;O++)N[O-1]=arguments[O];return d.produce(S,function(x){var w;return(w=i).call.apply(w,[A,x].concat(N))})}}var f;if(typeof i!="function"&&Ce(6),s!==void 0&&typeof s!="function"&&Ce(7),Pe(a)){var h=Sc(o),p=Ca(o,a,void 0),m=!0;try{f=i(p),m=!1}finally{m?Ao(h):Ea(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return xa(h,s),va(S,h)},function(S){throw Ao(h),S}):(xa(h,s),va(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Ic&&(f=void 0),o.D&&Ta(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),m=1;m<h;m++)p[m-1]=arguments[m];return o.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(p))})};var s,l,d=o.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),tt(r)&&(r=Vf(r));var o=Sc(this),a=Ca(this,r,void 0);return a[X].C=!0,Ea(o),a},t.finishDraft=function(r,o){var a=r&&r[X],i=a.A;return xa(i,o),va(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!_c&&Ce(20),this.O=r},t.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=Ge("Patches").$;return tt(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},e}(),ve=new Jf,Xf=ve.produce,OO=ve.produceWithPatches.bind(ve),wO=ve.setAutoFreeze.bind(ve),EO=ve.setUseProxies.bind(ve),CO=ve.applyPatches.bind(ve),_O=ve.createDraft.bind(ve),AO=ve.finishDraft.bind(ve),To=Xf;function Ft(e){"@babel/helpers - typeof";return Ft=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},Ft(e)}function Pc(e,t){if(Ft(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(Ft(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dc(e){var t=Pc(e,"string");return Ft(t)=="symbol"?t:t+""}function Lc(e,t,r){return(t=Dc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function Pa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Mc(Object(r),!0).forEach(function(o){Lc(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mc(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function ue(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 Fc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Da=function(){return Math.random().toString(36).substring(7).split("").join(".")},Io={INIT:"@@redux/INIT"+Da(),REPLACE:"@@redux/REPLACE"+Da(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Da()}};function Qf(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 La(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ue(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ue(1));return r(La)(e,t)}if(typeof e!="function")throw new Error(ue(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(ue(3));return i}function p(S){if(typeof S!="function")throw new Error(ue(4));if(d)throw new Error(ue(5));var A=!0;return f(),l.push(S),function(){if(A){if(d)throw new Error(ue(6));A=!1,f();var N=l.indexOf(S);l.splice(N,1),s=null}}}function m(S){if(!Qf(S))throw new Error(ue(7));if(typeof S.type>"u")throw new Error(ue(8));if(d)throw new Error(ue(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var A=s=l,C=0;C<A.length;C++){var N=A[C];N()}return S}function b(S){if(typeof S!="function")throw new Error(ue(10));a=S,m({type:Io.REPLACE})}function g(){var S,A=p;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(ue(11));function O(){N.next&&N.next(h())}O();var x=A(O);return{unsubscribe:x}}},S[Fc]=function(){return this},S}return m({type:Io.INIT}),o={dispatch:m,subscribe:p,getState:h,replaceReducer:b},o[Fc]=g,o}function ep(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:Io.INIT});if(typeof o>"u")throw new Error(ue(12));if(typeof r(void 0,{type:Io.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ue(13))})}function Uc(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{ep(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var p;for(var m=!1,b={},g=0;g<i.length;g++){var S=i[g],A=r[S],C=f[S],N=A(C,h);if(typeof N>"u"){var O=h&&h.type;throw new Error(ue(14))}b[S]=N,m=m||N!==C}return m=m||i.length!==Object.keys(f).length,m?b:f}}function ir(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function Bc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(ue(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=ir.apply(void 0,l)(a.dispatch),Pa(Pa({},a),{},{dispatch:i})}}}function Wc(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Hc=Wc();Hc.withExtraArgument=Wc;var Ma=Hc;var jc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[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 o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),tp=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,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(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=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{o=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},sr=function(e,t){for(var r=0,o=t.length,a=e.length;r<o;r++,a++)e[a]=t[r];return e},rp=Object.defineProperty,op=Object.defineProperties,np=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertySymbols,ap=Object.prototype.hasOwnProperty,ip=Object.prototype.propertyIsEnumerable,zc=function(e,t,r){return t in e?rp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},gt=function(e,t){for(var r in t||(t={}))ap.call(t,r)&&zc(e,r,t[r]);if($c)for(var o=0,a=$c(t);o<a.length;o++){var r=a[o];ip.call(t,r)&&zc(e,r,t[r])}return e},Fa=function(e,t){return op(e,np(t))},sp=function(e,t,r){return new Promise(function(o,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?o(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(e,t)).next())})};var cp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ir:ir.apply(null,arguments)},YO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function lp(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 dp=function(e){jc(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];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=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,sr([void 0],r[0].concat(this)))):new(t.bind.apply(t,sr([void 0],r.concat(this))))},t}(Array),up=function(e){jc(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];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=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,sr([void 0],r[0].concat(this)))):new(t.bind.apply(t,sr([void 0],r.concat(this))))},t}(Array);function Wa(e){return Pe(e)?To(e,function(){}):e}function fp(e){return typeof e=="boolean"}function pp(){return function(t){return hp(t)}}function hp(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,l=new dp;if(r&&(fp(r)?l.push(Ma):l.push(Ma.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return l}var Ua=!0;function Vc(e){var t=pp(),r=e||{},o=r.reducer,a=o===void 0?void 0:o,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,m=p===void 0?void 0:p,b;if(typeof a=="function")b=a;else if(lp(a))b=Uc(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),!Ua&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ua&&g.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Bc.apply(void 0,g),A=ir;d&&(A=cp(gt({trace:!Ua},typeof d=="object"&&d)));var C=new up(S),N=C;Array.isArray(m)?N=sr([S],m):typeof m=="function"&&(N=m(C));var O=A.apply(void 0,N);return La(b,h,O)}function bt(e,t){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return gt(gt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(o){return o.type===e},r}function Kc(e){var t={},r=[],o,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 o=i,a}};return e(a),[t,r,o]}function yp(e){return typeof e=="function"}function mp(e,t,r,o){r===void 0&&(r=[]);var a=typeof t=="function"?Kc(t):[t,r,o],i=a[0],s=a[1],l=a[2],d;if(yp(e))d=function(){return Wa(e())};else{var f=Wa(e);d=function(){return f}}function h(p,m){p===void 0&&(p=d());var b=sr([i[m.type]],s.filter(function(g){var S=g.matcher;return S(m)}).map(function(g){var S=g.reducer;return S}));return b.filter(function(g){return!!g}).length===0&&(b=[l]),b.reduce(function(g,S){if(S)if(tt(g)){var A=g,C=S(A,m);return C===void 0?g:C}else{if(Pe(g))return To(g,function(N){return S(N,m)});var C=S(g,m);if(C===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return g},p)}return h.getInitialState=d,h}function gp(e,t){return e+"/"+t}function Zc(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:Wa(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},l={};a.forEach(function(h){var p=o[h],m=gp(t,h),b,g;"reducer"in p?(b=p.reducer,g=p.prepare):b=p,i[h]=b,s[m]=b,l[h]=g?bt(m,g):bt(m)});function d(){var h=typeof e.extraReducers=="function"?Kc(e.extraReducers):[e.extraReducers],p=h[0],m=p===void 0?{}:p,b=h[1],g=b===void 0?[]:b,S=h[2],A=S===void 0?void 0:S,C=gt(gt({},m),s);return mp(r,function(N){for(var O in C)N.addCase(O,C[O]);for(var x=0,w=g;x<w.length;x++){var I=w[x];N.addMatcher(I.matcher,I.reducer)}A&&N.addDefaultCase(A)})}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",xp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=bp[Math.random()*64|0];return t},vp=["name","message","stack","code"],Ba=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Gc=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Sp=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,o=vp;r<o.length;r++){var a=o[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},ZO=function(){function e(t,r,o){var a=bt(t+"/fulfilled",function(h,p,m,b){return{payload:h,meta:Fa(gt({},b||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),i=bt(t+"/pending",function(h,p,m){return{payload:void 0,meta:Fa(gt({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=bt(t+"/rejected",function(h,p,m,b,g){return{payload:b,error:(o&&o.serializeError||Sp)(h||"Rejected"),meta:Fa(gt({},g||{}),{arg:m,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,m,b){var g=o?.idGenerator?o.idGenerator(h):xp(),S=new d,A,C=!1;function N(x){A=x,S.abort()}var O=function(){return sp(this,null,function(){var x,w,I,L,H,U,k;return tp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),L=(x=o?.condition)==null?void 0:x.call(o,h,{getState:m,extra:b}),wp(L)?[4,L]:[3,2];case 1:L=y.sent(),y.label=2;case 2:if(L===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,H=new Promise(function(v,T){return S.signal.addEventListener("abort",function(){return T({name:"AbortError",message:A||"Aborted"})})}),p(i(g,h,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:g,arg:h},{getState:m,extra:b}))),[4,Promise.race([H,Promise.resolve(r(h,{dispatch:p,getState:m,extra:b,requestId:g,signal:S.signal,abort:N,rejectWithValue:function(v,T){return new Ba(v,T)},fulfillWithValue:function(v,T){return new Gc(v,T)}})).then(function(v){if(v instanceof Ba)throw v;return v instanceof Gc?a(v.payload,g,h,v.meta):a(v,g,h)})])];case 3:return I=y.sent(),[3,5];case 4:return U=y.sent(),I=U instanceof Ba?s(null,g,h,U.payload,U.meta):s(U,g,h),[3,5];case 5:return k=o&&!o.dispatchConditionRejection&&s.match(I)&&I.meta.condition,k||p(I),[2,I]}})})}();return Object.assign(O,{abort:N,requestId:g,arg:h,unwrap:function(){return O.then(Op)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Op(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function wp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var qc="listener",Jc="completed",Xc="cancelled",qO="task-"+Xc,JO="task-"+Jc,XO=qc+"-"+Xc,QO=qc+"-"+Jc;var Ha="listenerMiddleware";var ew=bt(Ha+"/add"),tw=bt(Ha+"/removeAll"),rw=bt(Ha+"/remove");var Yc,ow=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Yc||(Yc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Ep=function(e){return function(t){setTimeout(t,e)}},nw=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ep(10);Tc();window.ftReduxStores||(window.ftReduxStores={});var $a=class e extends Tt{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(rr(i))return i;if(a==null)return;let s=Zc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=Vc({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,o){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=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Cp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))rr(t)&&t.clear()}var ko=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}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);Nt(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 _p(e,t,r){return new ko(e,t,r).watch()}var ja={};Y(ja,{scrollHelper:()=>Ap});var Ga,Po=new Map,Ya=class{lock(t,r){if(r){let o=Po.get(r);if(o==null||o===t)return Po.set(r,t),r}}release(t,r){r&&Po.get(r)===t&&Po.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of Tn(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else l&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o: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 o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,l=Tr(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Ga=window.FluidTopicsScrollHelper)!==null&&Ga!==void 0?Ga:new Ya;var Ap=window.FluidTopicsScrollHelper;var Ka={};Y(Ka,{SearchPlaceConverter:()=>Mo,SearchPlaceQueryParams:()=>j,isSearchPlaceQueryParams:()=>Il,serializeRequest:()=>Tp});var Rp=$d(el(),1);var tl;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(tl||(tl={}));var rl;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(rl||(rl={}));var ol;(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"})(ol||(ol={}));var nl;(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"})(nl||(nl={}));var al;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(al||(al={}));var il;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(il||(il={}));var sl;(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.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",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__DISPLAY="TOPIC__DISPLAY",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"})(sl||(sl={}));var cl;(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"})(cl||(cl={}));var ll;(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"})(ll||(ll={}));var dl;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(dl||(dl={}));var ul;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(ul||(ul={}));var fl;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(fl||(fl={}));var pl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(pl||(pl={}));var hl;(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"})(hl||(hl={}));var yl;(function(e){e.ASC="ASC",e.DESC="DESC"})(yl||(yl={}));var ml;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ml||(ml={}));var Va;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Va||(Va={}));var El=e=>Object.keys(Va).includes(e);var gl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(gl||(gl={}));var bl;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(bl||(bl={}));var xl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(xl||(xl={}));var lr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(lr||(lr={}));var Cl=e=>Object.keys(lr).includes(e);var vl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(vl||(vl={}));var Sl;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Sl||(Sl={}));var Ol;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Ol||(Ol={}));var ie;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(ie||(ie={}));var wl;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(wl||(wl={}));var _l;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(_l||(_l={}));var Al;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Al||(Al={}));var Rl;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(Rl||(Rl={}));var Nl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Nl||(Nl={}));var Cw={[ie.PERSONAL_BOOK_SHARE_USER]:[ie.PERSONAL_BOOK_USER],[ie.HTML_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.PDF_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.KHUB_ADMIN]:[ie.CONTENT_PUBLISHER],[ie.ADMIN]:[ie.KHUB_ADMIN,ie.USERS_ADMIN,ie.PORTAL_ADMIN],[ie.GENERATIVE_AI_EXPORT_USER]:[ie.GENERATIVE_AI_USER]};function Np(e){return`"${e}"`}function Tl(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Tp(e,t){return new Mo(e).serialize(t)}var j;(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"})(j||(j={}));var Ip=new Set(Object.values(j));function Il(e){return Ip.has(e)}var Mo=class{constructor(t,r=20,o=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=o,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 o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,l,d,f,h,p,m,b;let g=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&g.append(j.LOCALE,t.contentLocale):g.append(j.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&g.append(j.QUERY,t.query);let S=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(x=>x.valueFilter&&!x.valueFilter.negative))!==null&&i!==void 0?i:[];if(S.length>0){let x=S.map(w=>{var I,L;let H=((L=(I=w.valueFilter)===null||I===void 0?void 0:I.values)!==null&&L!==void 0?L:[]).map(U=>this.escapeFilters(U)).map(U=>Np(Tl(U))).join("_");return`${w.key}~${H}`}).join("*");g.append(j.VALUE_FILTERS,x)}let A=(l=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(x=>x.dateFilter))!==null&&l!==void 0?l:[];if(A.length>0){let x=A.map(w=>{var I;return`${w.key}~${(I=w.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");g.append(j.DATE_FILTERS,x)}let C=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(x=>x.rangeFilter))!==null&&f!==void 0?f:[];if(C.length>0){let x=C.map(w=>{var I,L;return`${w.key}~${(I=w.rangeFilter)===null||I===void 0?void 0:I.from}_${(L=w.rangeFilter)===null||L===void 0?void 0:L.to}`}).join("*");g.append(j.RANGE_FILTERS,x)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&g.append(j.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&g.append(j.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&g.append(j.SORT,t.sortId),!((h=t.paging)===null||h===void 0)&&h.perPage&&((m=(p=t.paging)===null||p===void 0?void 0:p.perPage)!==null&&m!==void 0?m:this.defaultPerPage)!=this.defaultPerPage&&g.append(j.PER_PAGE,String(t.paging.perPage));let N=(b=t.otherQueryParams)!==null&&b!==void 0?b:{};for(let x in N)g.append(x,N[x]);let O=new Array;return g.forEach((x,w)=>{O.push(this.encodeQueryString(w)+"="+this.encodeQueryString(x))}),encodeURI(O.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[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,o,a,i,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(S){console.warn("Could not decode search request query params, fallback on raw value",S)}let d=new URLSearchParams(t),f=d.get(j.LOCALE)==="all"?void 0:d.get(j.LOCALE),h=((r=d.get(j.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(o=d.get(j.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(a=d.get(j.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=d.get(j.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),g={};for(let S of d.keys())Il(S)||(g[S]=d.get(S));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(j.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:El(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Tr(1,isNaN(b)?this.defaultPerPage:b,1e3)},otherQueryParams:g}}parseCompatFilters(t){var r,o,a,i,s,l;let d=[];return t.has(j.FILTERS)&&(d=this.parseValueFilters((r=t.get(j.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(j.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(j.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(j.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(j.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(j.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(Tl).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:lr[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,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}superEscapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(o,a);return t}unescapeFilterValue(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(Cl(t))return[{key:"ft:lastEdition",dateFilter:{type:lr[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var qa={};Y(qa,{toFtFormComponent:()=>kp});var Za=Symbol("elementInternals"),kp=be(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Za].form}constructor(...o){super(o),this[Za]=this.attachInternals()}setFormValue(o){this[Za].setFormValue(o)}}return t});var Xa={};Y(Xa,{DateFormatter:()=>Ja});var Ja=class{static format(t,r,o,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(o,a)):this.getIntlDateTime(t,r,o,a)}static getMomentDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,o,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(i);if(!a)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${l}`}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ei={};Y(ei,{ALL_KEYS_VALUE:()=>Qa,SameWindowStorageEvent:()=>dr});var Qa="__all__",dr=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==Qa}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new dr(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new dr(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new dr(Qa))}});var ri={};Y(ri,{FocusMainContentEvent:()=>ti});var ti=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var kl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Pp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function Dp(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Pp);document.addEventListener("click",Dp);var Pl=ee`
|
|
48
|
+
`;var vc={};var ba={};Y(ba,{ParametrizedLabelResolver:()=>ga});var ga=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;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 o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var Ga={};Y(Ga,{FtCommandQueue:()=>Gr,FtLitElementRedux:()=>xa,FtReduxStore:()=>za,ReduxWatcher:()=>Po,clearAllStores:()=>_p,isFtReduxStore:()=>nr,redux:()=>$f,reduxEventListener:()=>zf,reduxReactive:()=>Hf,watch:()=>Ap,withRedux:()=>Sc});var Hf=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},$f=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:Nt,attribute:!1,...t};D(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[o],store:t.store})}},zf=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,e)};var Gr=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==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 nr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Yr=Symbol("internalReduxEventsUnsubscribers"),ht=Symbol("internalStoresUnsubscribers"),Mt=Symbol("internalStores"),Sc=be(Symbol("withRedux"),function(e){var t,r,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[o]=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[ht].has(s.store):this[ht].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[ht].set(s,l.subscribe(()=>this.updateFromStores())),this[Yr].set(s,[]),nr(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=m=>this[h](m);l.addEventListener(f.eventName,p),this[Yr].get(s).push(()=>l.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[ht].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[ht].has(s)&&this[ht].get(s)(),this[ht].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=ht,r=Mt,o=Yr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),xa=class extends Sc(ie){};function Ce(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];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 tt(e){return!!e&&!!e[X]}function Pe(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Jf}(e)||Array.isArray(e)||!!e[Rc]||!!(!((t=e.constructor)===null||t===void 0)&&t[Rc])||Ra(e)||Na(e))}function Ft(e,t,r){r===void 0&&(r=!1),sr(e)===0?(r?Object.keys:ir)(e).forEach(function(o){r&&typeof o=="symbol"||t(o,e[o],e)}):e.forEach(function(o,a){return t(a,o,e)})}function sr(e){var t=e[X];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ra(e)?2:Na(e)?3:0}function ar(e,t){return sr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Gf(e,t){return sr(e)===2?e.get(t):e[t]}function Nc(e,t,r){var o=sr(e);o===2?e.set(t,r):o===3?e.add(r):e[t]=r}function Tc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ra(e){return Zf&&e instanceof Map}function Na(e){return qf&&e instanceof Set}function yt(e){return e.o||e.t}function Ta(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Pc(e);delete t[X];for(var r=ir(t),o=0;o<r.length;o++){var a=r[o],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 Ia(e,t){return t===void 0&&(t=!1),ka(e)||tt(e)||!Pe(e)||(sr(e)>1&&(e.set=e.add=e.clear=e.delete=Yf),Object.freeze(e),t&&Ft(e,function(r,o){return Ia(o,!0)},!0)),e}function Yf(){Ce(2)}function ka(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ge(e){var t=Aa[e];return t||Ce(18,e),t}function jf(e,t){Aa[e]||(Aa[e]=t)}function Ea(){return Vr}function va(e,t){t&&(Ge("Patches"),e.u=[],e.s=[],e.v=t)}function Ro(e){Ca(e),e.p.forEach(Vf),e.p=null}function Ca(e){e===Vr&&(Vr=e.l)}function Oc(e){return Vr={p:[],l:Vr,h:e,m:!0,_:0}}function Vf(e){var t=e[X];t.i===0||t.i===1?t.j():t.g=!0}function Sa(e,t){t._=t.p.length;var r=t.p[0],o=e!==void 0&&e!==r;return t.h.O||Ge("ES5").S(t,e,o),o?(r[X].P&&(Ro(t),Ce(4)),Pe(e)&&(e=No(t,e),t.l||To(t,e)),t.u&&Ge("Patches").M(r[X].t,e,t.u,t.s)):e=No(t,r,[]),Ro(t),t.u&&t.v(t.u,t.s),e!==kc?e:void 0}function No(e,t,r){if(ka(t))return t;var o=t[X];if(!o)return Ft(t,function(l,d){return wc(e,o,t,l,d,r)},!0),t;if(o.A!==e)return t;if(!o.P)return To(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Ta(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),Ft(i,function(l,d){return wc(e,o,a,l,d,r,s)}),To(e,a,!1),r&&e.u&&Ge("Patches").N(o,r,e.u,e.s)}return o.o}function wc(e,t,r,o,a,i,s){if(tt(a)){var l=No(e,a,i&&t&&t.i!==3&&!ar(t.R,o)?i.concat(o):void 0);if(Nc(r,o,l),!tt(l))return;e.m=!1}else s&&r.add(a);if(Pe(a)&&!ka(a)){if(!e.h.D&&e._<1)return;No(e,a),t&&t.A.l||To(e,a)}}function To(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Ia(t,r)}function Oa(e,t){var r=e[X];return(r?yt(r):e)[t]}function Ec(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function mt(e){e.P||(e.P=!0,e.l&&mt(e.l))}function wa(e){e.o||(e.o=Ta(e.t))}function _a(e,t,r){var o=Ra(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:Ea(),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=jr);var h=Proxy.revocable(d,f),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m}(t,r):Ge("ES5").J(t,r);return(r?r.A:Ea()).p.push(o),o}function Kf(e){return tt(e)||Ce(22,e),function t(r){if(!Pe(r))return r;var o,a=r[X],i=sr(r);if(a){if(!a.P&&(a.i<4||!Ge("ES5").K(a)))return a.t;a.I=!0,o=Cc(r,i),a.I=!1}else o=Cc(r,i);return Ft(o,function(s,l){a&&Gf(a.t,s)===l||Nc(o,s,t(l))}),i===3?new Set(o):o}(e)}function Cc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ta(e)}function Ic(){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:o(d)&&mt(d);break;case 4:r(d)&&mt(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 m=l[p];if(m===void 0&&!ar(l,p))return!0;var b=d[p],g=b&&b[X];if(g?g.t!==m:!Tc(b,m))return!0}}var w=!!l[X];return f.length!==ir(l).length+(w?0:1)}function o(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(yt(s)))}var i={};jf("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(p,m){if(p){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var w=Pc(m);delete w[X];for(var C=ir(w),_=0;_<C.length;_++){var N=C[_];w[N]=e(N,p||!!w[N].enumerable)}return Object.create(Object.getPrototypeOf(m),w)}(d,s),h={i:d?5:4,A:l?l.A:Ea(),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?tt(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 m=p.t,b=p.k,g=p.R,w=p.i;if(w===4)Ft(b,function(x){x!==X&&(m[x]!==void 0||ar(m,x)?g[x]||f(b[x]):(g[x]=!0,mt(p)))}),Ft(m,function(x){b[x]!==void 0||ar(b,x)||(g[x]=!1,mt(p))});else if(w===5){if(o(p)&&(mt(p),g.length=!0),b.length<m.length)for(var C=b.length;C<m.length;C++)g[C]=!1;else for(var _=m.length;_<b.length;_++)g[_]=!0;for(var N=Math.min(b.length,m.length),S=0;S<N;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):o(s)}})}var _c,Vr,Pa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Zf=typeof Map<"u",qf=typeof Set<"u",Ac=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",kc=Pa?Symbol.for("immer-nothing"):((_c={})["immer-nothing"]=!0,_c),Rc=Pa?Symbol.for("immer-draftable"):"__$immer_draftable",X=Pa?Symbol.for("immer-state"):"__$immer_state";var Jf=""+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,Pc=Object.getOwnPropertyDescriptors||function(e){var t={};return ir(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Aa={},Kr={get:function(e,t){if(t===X)return e;var r=yt(e);if(!ar(r,t))return function(a,i,s){var l,d=Ec(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 o=r[t];return e.I||!Pe(o)?o:o===Oa(e.t,t)?(wa(e),e.o[t]=_a(e.A.h,o,e)):o},has:function(e,t){return t in yt(e)},ownKeys:function(e){return Reflect.ownKeys(yt(e))},set:function(e,t,r){var o=Ec(yt(e),t);if(o?.set)return o.set.call(e.k,r),!0;if(!e.P){var a=Oa(yt(e),t),i=a?.[X];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Tc(r,a)&&(r!==void 0||ar(e.t,t)))return!0;wa(e),mt(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 Oa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,wa(e),mt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=yt(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:r[t]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ce(12)}},jr={};Ft(Kr,function(e,t){jr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),jr.deleteProperty=function(e,t){return jr.set.call(this,e,t,void 0)},jr.set=function(e,t,r){return Kr.set.call(this,e[0],t,r,e[0])};var Xf=function(){function e(r){var o=this;this.O=Ac,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=o;return function(w){var C=this;w===void 0&&(w=l);for(var _=arguments.length,N=Array(_>1?_-1:0),S=1;S<_;S++)N[S-1]=arguments[S];return d.produce(w,function(x){var O;return(O=i).call.apply(O,[C,x].concat(N))})}}var f;if(typeof i!="function"&&Ce(6),s!==void 0&&typeof s!="function"&&Ce(7),Pe(a)){var h=Oc(o),p=_a(o,a,void 0),m=!0;try{f=i(p),m=!1}finally{m?Ro(h):Ca(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(w){return va(h,s),Sa(w,h)},function(w){throw Ro(h),w}):(va(h,s),Sa(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===kc&&(f=void 0),o.D&&Ia(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),m=1;m<h;m++)p[m-1]=arguments[m];return o.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(p))})};var s,l,d=o.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),tt(r)&&(r=Kf(r));var o=Oc(this),a=_a(this,r,void 0);return a[X].C=!0,Ca(o),a},t.finishDraft=function(r,o){var a=r&&r[X],i=a.A;return va(i,o),Sa(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Ac&&Ce(20),this.O=r},t.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=Ge("Patches").$;return tt(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},e}(),ve=new Xf,Qf=ve.produce,wO=ve.produceWithPatches.bind(ve),EO=ve.setAutoFreeze.bind(ve),CO=ve.setUseProxies.bind(ve),_O=ve.applyPatches.bind(ve),AO=ve.createDraft.bind(ve),RO=ve.finishDraft.bind(ve),Io=Qf;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 Dc(e,t){if(Ut(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(Ut(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Lc(e){var t=Dc(e,"string");return Ut(t)=="symbol"?t:t+""}function Mc(e,t,r){return(t=Lc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function Da(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Fc(Object(r),!0).forEach(function(o){Mc(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fc(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function ue(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 Uc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),La=function(){return Math.random().toString(36).substring(7).split("").join(".")},ko={INIT:"@@redux/INIT"+La(),REPLACE:"@@redux/REPLACE"+La(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+La()}};function ep(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ma(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ue(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ue(1));return r(Ma)(e,t)}if(typeof e!="function")throw new Error(ue(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(ue(3));return i}function p(w){if(typeof w!="function")throw new Error(ue(4));if(d)throw new Error(ue(5));var C=!0;return f(),l.push(w),function(){if(C){if(d)throw new Error(ue(6));C=!1,f();var N=l.indexOf(w);l.splice(N,1),s=null}}}function m(w){if(!ep(w))throw new Error(ue(7));if(typeof w.type>"u")throw new Error(ue(8));if(d)throw new Error(ue(9));try{d=!0,i=a(i,w)}finally{d=!1}for(var C=s=l,_=0;_<C.length;_++){var N=C[_];N()}return w}function b(w){if(typeof w!="function")throw new Error(ue(10));a=w,m({type:ko.REPLACE})}function g(){var w,C=p;return w={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(ue(11));function S(){N.next&&N.next(h())}S();var x=C(S);return{unsubscribe:x}}},w[Uc]=function(){return this},w}return m({type:ko.INIT}),o={dispatch:m,subscribe:p,getState:h,replaceReducer:b},o[Uc]=g,o}function tp(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:ko.INIT});if(typeof o>"u")throw new Error(ue(12));if(typeof r(void 0,{type:ko.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ue(13))})}function Bc(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{tp(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var p;for(var m=!1,b={},g=0;g<i.length;g++){var w=i[g],C=r[w],_=f[w],N=C(_,h);if(typeof N>"u"){var S=h&&h.type;throw new Error(ue(14))}b[w]=N,m=m||N!==_}return m=m||i.length!==Object.keys(f).length,m?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(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function Wc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(ue(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),Da(Da({},a),{},{dispatch:i})}}}function Hc(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var $c=Hc();$c.withExtraArgument=Hc;var Fa=$c;var Vc=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[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 o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),rp=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,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(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=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{o=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,o=t.length,a=e.length;r<o;r++,a++)e[a]=t[r];return e},op=Object.defineProperty,np=Object.defineProperties,ap=Object.getOwnPropertyDescriptors,zc=Object.getOwnPropertySymbols,ip=Object.prototype.hasOwnProperty,sp=Object.prototype.propertyIsEnumerable,Gc=function(e,t,r){return t in e?op(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},gt=function(e,t){for(var r in t||(t={}))ip.call(t,r)&&Gc(e,r,t[r]);if(zc)for(var o=0,a=zc(t);o<a.length;o++){var r=a[o];sp.call(t,r)&&Gc(e,r,t[r])}return e},Ua=function(e,t){return np(e,ap(t))},cp=function(e,t,r){return new Promise(function(o,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?o(d.value):Promise.resolve(d.value).then(i,s)};l((r=r.apply(e,t)).next())})};var lp=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)},jO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function dp(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 up=function(e){Vc(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];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=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];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),fp=function(e){Vc(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];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=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];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 Ha(e){return Pe(e)?Io(e,function(){}):e}function pp(e){return typeof e=="boolean"}function hp(){return function(t){return yp(t)}}function yp(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,l=new up;if(r&&(pp(r)?l.push(Fa):l.push(Fa.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return l}var Ba=!0;function Kc(e){var t=hp(),r=e||{},o=r.reducer,a=o===void 0?void 0:o,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,m=p===void 0?void 0:p,b;if(typeof a=="function")b=a;else if(dp(a))b=Bc(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),!Ba&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ba&&g.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var w=Wc.apply(void 0,g),C=cr;d&&(C=lp(gt({trace:!Ba},typeof d=="object"&&d)));var _=new fp(w),N=_;Array.isArray(m)?N=lr([w],m):typeof m=="function"&&(N=m(_));var S=C.apply(void 0,N);return Ma(b,h,S)}function bt(e,t){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return gt(gt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(o){return o.type===e},r}function Zc(e){var t={},r=[],o,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 o=i,a}};return e(a),[t,r,o]}function mp(e){return typeof e=="function"}function gp(e,t,r,o){r===void 0&&(r=[]);var a=typeof t=="function"?Zc(t):[t,r,o],i=a[0],s=a[1],l=a[2],d;if(mp(e))d=function(){return Ha(e())};else{var f=Ha(e);d=function(){return f}}function h(p,m){p===void 0&&(p=d());var b=lr([i[m.type]],s.filter(function(g){var w=g.matcher;return w(m)}).map(function(g){var w=g.reducer;return w}));return b.filter(function(g){return!!g}).length===0&&(b=[l]),b.reduce(function(g,w){if(w)if(tt(g)){var C=g,_=w(C,m);return _===void 0?g:_}else{if(Pe(g))return Io(g,function(N){return w(N,m)});var _=w(g,m);if(_===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return g},p)}return h.getInitialState=d,h}function bp(e,t){return e+"/"+t}function qc(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:Ha(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},l={};a.forEach(function(h){var p=o[h],m=bp(t,h),b,g;"reducer"in p?(b=p.reducer,g=p.prepare):b=p,i[h]=b,s[m]=b,l[h]=g?bt(m,g):bt(m)});function d(){var h=typeof e.extraReducers=="function"?Zc(e.extraReducers):[e.extraReducers],p=h[0],m=p===void 0?{}:p,b=h[1],g=b===void 0?[]:b,w=h[2],C=w===void 0?void 0:w,_=gt(gt({},m),s);return gp(r,function(N){for(var S in _)N.addCase(S,_[S]);for(var x=0,O=g;x<O.length;x++){var I=O[x];N.addMatcher(I.matcher,I.reducer)}C&&N.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 xp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",vp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=xp[Math.random()*64|0];return t},Sp=["name","message","stack","code"],Wa=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Yc=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Op=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,o=Sp;r<o.length;r++){var a=o[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},qO=function(){function e(t,r,o){var a=bt(t+"/fulfilled",function(h,p,m,b){return{payload:h,meta:Ua(gt({},b||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),i=bt(t+"/pending",function(h,p,m){return{payload:void 0,meta:Ua(gt({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=bt(t+"/rejected",function(h,p,m,b,g){return{payload:b,error:(o&&o.serializeError||Op)(h||"Rejected"),meta:Ua(gt({},g||{}),{arg:m,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,m,b){var g=o?.idGenerator?o.idGenerator(h):vp(),w=new d,C,_=!1;function N(x){C=x,w.abort()}var S=function(){return cp(this,null,function(){var x,O,I,L,H,U,k;return rp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),L=(x=o?.condition)==null?void 0:x.call(o,h,{getState:m,extra:b}),Ep(L)?[4,L]:[3,2];case 1:L=y.sent(),y.label=2;case 2:if(L===!1||w.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,H=new Promise(function(v,T){return w.signal.addEventListener("abort",function(){return T({name:"AbortError",message:C||"Aborted"})})}),p(i(g,h,(O=o?.getPendingMeta)==null?void 0:O.call(o,{requestId:g,arg:h},{getState:m,extra:b}))),[4,Promise.race([H,Promise.resolve(r(h,{dispatch:p,getState:m,extra:b,requestId:g,signal:w.signal,abort:N,rejectWithValue:function(v,T){return new Wa(v,T)},fulfillWithValue:function(v,T){return new Yc(v,T)}})).then(function(v){if(v instanceof Wa)throw v;return v instanceof Yc?a(v.payload,g,h,v.meta):a(v,g,h)})])];case 3:return I=y.sent(),[3,5];case 4:return U=y.sent(),I=U instanceof Wa?s(null,g,h,U.payload,U.meta):s(U,g,h),[3,5];case 5:return k=o&&!o.dispatchConditionRejection&&s.match(I)&&I.meta.condition,k||p(I),[2,I]}})})}();return Object.assign(S,{abort:N,requestId:g,arg:h,unwrap:function(){return S.then(wp)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function wp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Ep(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Jc="listener",Xc="completed",Qc="cancelled",JO="task-"+Qc,XO="task-"+Xc,QO=Jc+"-"+Qc,ew=Jc+"-"+Xc;var $a="listenerMiddleware";var tw=bt($a+"/add"),rw=bt($a+"/removeAll"),ow=bt($a+"/remove");var jc,nw=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)})},Cp=function(e){return function(t){setTimeout(t,e)}},aw=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cp(10);Ic();window.ftReduxStores||(window.ftReduxStores={});var za=class e extends Tt{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(nr(i))return i;if(a==null)return;let s=qc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=Kc({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,o){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Gr;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=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function _p(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))nr(t)&&t.clear()}var Po=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}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);Nt(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 Ap(e,t,r){return new Po(e,t,r).watch()}var Va={};Y(Va,{scrollHelper:()=>Rp});var Ya,Do=new Map,ja=class{lock(t,r){if(r){let o=Do.get(r);if(o==null||o===t)return Do.set(r,t),r}}release(t,r){r&&Do.get(r)===t&&Do.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of In(t)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else l&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o: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 o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,l=kr(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,l)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Ya=window.FluidTopicsScrollHelper)!==null&&Ya!==void 0?Ya:new ja;var Rp=window.FluidTopicsScrollHelper;var Za={};Y(Za,{SearchPlaceConverter:()=>Fo,SearchPlaceQueryParams:()=>j,isSearchPlaceQueryParams:()=>kl,serializeRequest:()=>Ip});var Np=zd(tl(),1);var rl;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(rl||(rl={}));var ol;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(ol||(ol={}));var nl;(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"})(nl||(nl={}));var al;(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"})(al||(al={}));var il;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(il||(il={}));var sl;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(sl||(sl={}));var cl;(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.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",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__DISPLAY="TOPIC__DISPLAY",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"})(cl||(cl={}));var ll;(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"})(ll||(ll={}));var dl;(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"})(dl||(dl={}));var ul;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ul||(ul={}));var fl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(fl||(fl={}));var pl;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(pl||(pl={}));var hl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(hl||(hl={}));var yl;(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"})(yl||(yl={}));var ml;(function(e){e.ASC="ASC",e.DESC="DESC"})(ml||(ml={}));var gl;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(gl||(gl={}));var Ka;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ka||(Ka={}));var Cl=e=>Object.keys(Ka).includes(e);var bl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(bl||(bl={}));var xl;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(xl||(xl={}));var vl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(vl||(vl={}));var ur;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ur||(ur={}));var _l=e=>Object.keys(ur).includes(e);var Sl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Sl||(Sl={}));var Ol;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ol||(Ol={}));var wl;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(wl||(wl={}));var se;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(se||(se={}));var El;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(El||(El={}));var Al;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Al||(Al={}));var Rl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Rl||(Rl={}));var Nl;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(Nl||(Nl={}));var Tl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Tl||(Tl={}));var _w={[se.PERSONAL_BOOK_SHARE_USER]:[se.PERSONAL_BOOK_USER],[se.HTML_EXPORT_USER]:[se.PERSONAL_BOOK_USER],[se.PDF_EXPORT_USER]:[se.PERSONAL_BOOK_USER],[se.KHUB_ADMIN]:[se.CONTENT_PUBLISHER],[se.ADMIN]:[se.KHUB_ADMIN,se.USERS_ADMIN,se.PORTAL_ADMIN],[se.GENERATIVE_AI_EXPORT_USER]:[se.GENERATIVE_AI_USER]};function Tp(e){return`"${e}"`}function Il(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Ip(e,t){return new Fo(e).serialize(t)}var j;(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"})(j||(j={}));var kp=new Set(Object.values(j));function kl(e){return kp.has(e)}var Fo=class{constructor(t,r=20,o=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=o,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 o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,l,d,f,h,p,m,b;let g=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&g.append(j.LOCALE,t.contentLocale):g.append(j.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&g.append(j.QUERY,t.query);let w=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(x=>x.valueFilter&&!x.valueFilter.negative))!==null&&i!==void 0?i:[];if(w.length>0){let x=w.map(O=>{var I,L;let H=((L=(I=O.valueFilter)===null||I===void 0?void 0:I.values)!==null&&L!==void 0?L:[]).map(U=>this.escapeFilters(U)).map(U=>Tp(Il(U))).join("_");return`${O.key}~${H}`}).join("*");g.append(j.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(O=>{var I;return`${O.key}~${(I=O.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");g.append(j.DATE_FILTERS,x)}let _=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(x=>x.rangeFilter))!==null&&f!==void 0?f:[];if(_.length>0){let x=_.map(O=>{var I,L;return`${O.key}~${(I=O.rangeFilter)===null||I===void 0?void 0:I.from}_${(L=O.rangeFilter)===null||L===void 0?void 0:L.to}`}).join("*");g.append(j.RANGE_FILTERS,x)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&g.append(j.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&g.append(j.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&g.append(j.SORT,t.sortId),!((h=t.paging)===null||h===void 0)&&h.perPage&&((m=(p=t.paging)===null||p===void 0?void 0:p.perPage)!==null&&m!==void 0?m:this.defaultPerPage)!=this.defaultPerPage&&g.append(j.PER_PAGE,String(t.paging.perPage));let N=(b=t.otherQueryParams)!==null&&b!==void 0?b:{};for(let x in N)g.append(x,N[x]);let S=new Array;return g.forEach((x,O)=>{S.push(this.encodeQueryString(O)+"="+this.encodeQueryString(x))}),encodeURI(S.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[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,o,a,i,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let d=new URLSearchParams(t),f=d.get(j.LOCALE)==="all"?void 0:d.get(j.LOCALE),h=((r=d.get(j.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(o=d.get(j.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(a=d.get(j.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=d.get(j.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),g={};for(let w of d.keys())kl(w)||(g[w]=d.get(w));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(j.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Cl(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:kr(1,isNaN(b)?this.defaultPerPage:b,1e3)},otherQueryParams:g}}parseCompatFilters(t){var r,o,a,i,s,l;let d=[];return t.has(j.FILTERS)&&(d=this.parseValueFilters((r=t.get(j.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(j.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(j.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(j.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(j.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(j.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(Il).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:ur[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,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}superEscapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(o,a);return t}unescapeFilterValue(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(_l(t))return[{key:"ft:lastEdition",dateFilter:{type:ur[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var Ja={};Y(Ja,{toFtFormComponent:()=>Pp});var qa=Symbol("elementInternals"),Pp=be(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[qa].form}constructor(...o){super(o),this[qa]=this.attachInternals()}setFormValue(o){this[qa].setFormValue(o)}}return t});var Qa={};Y(Qa,{DateFormatter:()=>Xa});var Xa=class{static format(t,r,o,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(o,a)):this.getIntlDateTime(t,r,o,a)}static getMomentDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,o,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(i);if(!a)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${l}`}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ti={};Y(ti,{ALL_KEYS_VALUE:()=>ei,SameWindowStorageEvent:()=>fr});var ei="__all__",fr=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==ei}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new fr(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new fr(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new fr(ei))}});var oi={};Y(oi,{FocusMainContentEvent:()=>ri});var ri=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Pl={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Dp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function Lp(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Dp);document.addEventListener("click",Lp);var Dl=ee`
|
|
49
49
|
.sr-only {
|
|
50
50
|
position:absolute;
|
|
51
51
|
left:-10000px;
|
|
@@ -69,35 +69,35 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
69
69
|
width:auto;
|
|
70
70
|
height:auto;
|
|
71
71
|
}
|
|
72
|
-
`;var
|
|
72
|
+
`;var Mp={checkVisibility:!0},Gw=be(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(o,a){let{checkVisibility:i}={...Mp,...a};setTimeout(()=>{(!i||this.checkVisibility())&&(o=typeof o=="string"?o:o?.message,o&&this.dispatchEvent(new Pr({type:"aria",message:o})))},20)}}return t});function Ll(e,t,r){return e?t(e):r?.(e)}var ce=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);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 ni=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}},eE=be(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 ni(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return We`
|
|
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
|
+
${xo(this.errorMessages,o=>We`
|
|
76
76
|
<li>${o}</li>
|
|
77
77
|
`)}
|
|
78
|
-
${
|
|
78
|
+
${xo(this.warningMessages,o=>We`
|
|
79
79
|
<li>${o}</li>
|
|
80
80
|
`)}
|
|
81
|
-
${
|
|
81
|
+
${Ll(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>We`
|
|
82
82
|
<li>${this.helperText}</li>
|
|
83
83
|
`)}
|
|
84
84
|
</ul>
|
|
85
|
-
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?
|
|
86
|
-
[`+i+"] ";for(s in arguments[0])$(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];o.push(a)}
|
|
85
|
+
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Wt.error:this.warningMessages.length?Wt.warning:Wt.default}processRules(o){return o.map(a=>a(this.value)).filter(a=>a!==!0).map(a=>a)}}return ce([D()],t.prototype,"warningRules",void 0),ce([D()],t.prototype,"errorRules",void 0),ce([D()],t.prototype,"validateOn",void 0),ce([D({type:Boolean})],t.prototype,"validateAtRender",void 0),ce([D()],t.prototype,"label",void 0),ce([D({type:Boolean})],t.prototype,"hideLabel",void 0),ce([D()],t.prototype,"name",void 0),ce([D({type:Boolean})],t.prototype,"disabled",void 0),ce([D()],t.prototype,"helperText",void 0),ce([D()],t.prototype,"forceStatus",void 0),ce([D({reflect:!0})],t.prototype,"value",void 0),ce([we()],t.prototype,"errorMessages",void 0),ce([we()],t.prototype,"warningMessages",void 0),ce([we()],t.prototype,"status",void 0),ce([we()],t.prototype,"focused",void 0),ce([we()],t.prototype,"additionalWarningRules",void 0),ce([we()],t.prototype,"additionalErrorRules",void 0),t});var Zr=(e,t)=>{let r=e._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(t,!1),Zr(o,t);return!0},Uo=e=>{let t,r;do{if((t=e._$AM)===void 0)break;r=t._$AN,r.delete(e),e=t}while(r?.size===0)},Ml=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),Bp(t)}};function Fp(e){this._$AN!==void 0?(Uo(this),this._$AM=e,Ml(this)):this._$AM=e}function Up(e,t=!1,r=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(t)if(Array.isArray(o))for(let i=r;i<o.length;i++)Zr(o[i],!1),Uo(o[i]);else o!=null&&(Zr(o,!1),Uo(o));else Zr(this,e)}var Bp=e=>{e.type==He.CHILD&&(e._$AP??=Up,e._$AQ??=Fp)},Bo=class extends Ee{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,r,o){super._$AT(t,r,o),Ml(this),this.isConnected=t._$AU}_$AO(t,r=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),r&&(Zr(this,t),Uo(this))}setValue(t){if(ns(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 Fl;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(Fl||(Fl={}));var Wp={sm:640,md:768,lg:1024,xl:1280},ai=class extends Bo{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,o,a]){return this.lastArgs=[r,o,a],this.render(r,o,a)}render(t,r,o){let a=this.resolveThreshold(t),i=o??(()=>J);return this.size>a?r():i()}resolveThreshold(t){return typeof t=="number"?t:Wp[t]}},hE=Ie(ai);var ii,si,ci,li,Hp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ci=(si=(ii=window.safari)===null||ii===void 0?void 0:ii.pushNotification)===null||si===void 0?void 0:si.toString())!==null&&ci!==void 0?ci:"")==="[object SafariRemoteNotification]",$p="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(li=window.ftGlobals)!==null&&li!==void 0?li:{lit:On,litDecorators:En,litRepeat:Cn,litClassMap:_n,litStyleMap:An,litUnsafeHTML:Rn,wcUtils:{...Fn,...Tn,...Wn,...Qa,...Hn,...$n,...jn,...Ln,...sa,...oi,...Pl,...Va,...Yn,...pa,...Ja,...ua,...bc,...kn,...ya,...Vn,...ma,...Dl,...vc,...ba,...Ga,...ti,...ca,...da,...Za,isSafari:Hp,isTouchScreen:$p,setVariable:qt}};var zl;function A(){return zl.apply(null,arguments)}function zp(e){zl=e}function Le(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function zt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function $(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Si(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if($(e,t))return!1;return!0}function ge(e){return e===void 0}function st(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function oo(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Gl(e,t){var r=[],o,a=e.length;for(o=0;o<a;++o)r.push(t(e[o],o));return r}function vt(e,t){for(var r in t)$(t,r)&&(e[r]=t[r]);return $(t,"toString")&&(e.toString=t.toString),$(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Ve(e,t,r,o){return hd(e,t,r,o,!0).utc()}function Gp(){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 M(e){return e._pf==null&&(e._pf=Gp()),e._pf}var hi;Array.prototype.some?hi=Array.prototype.some:hi=function(e){var t=Object(this),r=t.length>>>0,o;for(o=0;o<r;o++)if(o in t&&e.call(this,t[o],o,t))return!0;return!1};function Oi(e){if(e._isValid==null){var t=M(e),r=hi.call(t.parsedDateParts,function(a){return a!=null}),o=!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&&(o=o&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=o;else return o}return e._isValid}function Jo(e){var t=Ve(NaN);return e!=null?vt(M(t),e):M(t).userInvalidated=!0,t}var Ul=A.momentProperties=[],di=!1;function wi(e,t){var r,o,a,i=Ul.length;if(ge(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ge(t._i)||(e._i=t._i),ge(t._f)||(e._f=t._f),ge(t._l)||(e._l=t._l),ge(t._strict)||(e._strict=t._strict),ge(t._tzm)||(e._tzm=t._tzm),ge(t._isUTC)||(e._isUTC=t._isUTC),ge(t._offset)||(e._offset=t._offset),ge(t._pf)||(e._pf=M(t)),ge(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)o=Ul[r],a=t[o],ge(a)||(e[o]=a);return e}function no(e){wi(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),di===!1&&(di=!0,A.updateOffset(this),di=!1)}function Me(e){return e instanceof no||e!=null&&e._isAMomentObject!=null}function Yl(e){A.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Ae(e,t){var r=!0;return vt(function(){if(A.deprecationHandler!=null&&A.deprecationHandler(null,e),r){var o=[],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])$(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];o.push(a)}Yl(e+`
|
|
87
87
|
Arguments: `+Array.prototype.slice.call(o).join("")+`
|
|
88
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Ul={};function Yl(e,t){_.deprecationHandler!=null&&_.deprecationHandler(e,t),Ul[e]||(Gl(t),Ul[e]=!0)}_.suppressDeprecationWarnings=!1;_.deprecationHandler=null;function Ke(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Gp(e){var t,r;for(r in e)$(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 hi(e,t){var r=vt({},e),o;for(o in t)$(t,o)&&($t(e[o])&&$t(t[o])?(r[o]={},vt(r[o],e[o]),vt(r[o],t[o])):t[o]!=null?r[o]=t[o]:delete r[o]);for(o in e)$(e,o)&&!$(t,o)&&$t(e[o])&&(r[o]=vt({},r[o]));return r}function wi(e){e!=null&&this.set(e)}var yi;Object.keys?yi=Object.keys:yi=function(e){var t,r=[];for(t in e)$(e,t)&&r.push(t);return r};var Yp={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function jp(e,t,r){var o=this._calendar[e]||this._calendar.sameElse;return Ke(o)?o.call(t,r):o}function je(e,t,r){var o=""+Math.abs(e),a=t-o.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}var Ei=/(\[[^\[]*\])|(\\)?([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,Bo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,di={},hr={};function P(e,t,r,o){var a=o;typeof o=="string"&&(a=function(){return this[o]()}),e&&(hr[e]=a),t&&(hr[t[0]]=function(){return je(a.apply(this,arguments),t[1],t[2])}),r&&(hr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Vp(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Kp(e){var t=e.match(Ei),r,o;for(r=0,o=t.length;r<o;r++)hr[t[r]]?t[r]=hr[t[r]]:t[r]=Vp(t[r]);return function(a){var i="",s;for(s=0;s<o;s++)i+=Ke(t[s])?t[s].call(a,e):t[s];return i}}function Ho(e,t){return e.isValid()?(t=jl(t,e.localeData()),di[t]=di[t]||Kp(t),di[t](e)):e.localeData().invalidDate()}function jl(e,t){var r=5;function o(a){return t.longDateFormat(a)||a}for(Bo.lastIndex=0;r>=0&&Bo.test(e);)e=e.replace(Bo,o),Bo.lastIndex=0,r-=1;return e}var Zp={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 qp(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Ei).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[e])}var Jp="Invalid date";function Xp(){return this._invalidDate}var Qp="%d",eh=/\d{1,2}/;function th(e){return this._ordinal.replace("%d",e)}var rh={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 oh(e,t,r,o){var a=this._relativeTime[r];return Ke(a)?a(e,t,r,o):a.replace(/%d/i,e)}function nh(e,t){var r=this._relativeTime[e>0?"future":"past"];return Ke(r)?r(t):r.replace(/%s/i,t)}var Jr={};function pe(e,t){var r=e.toLowerCase();Jr[r]=Jr[r+"s"]=Jr[t]=e}function Re(e){return typeof e=="string"?Jr[e]||Jr[e.toLowerCase()]:void 0}function Ci(e){var t={},r,o;for(o in e)$(e,o)&&(r=Re(o),r&&(t[r]=e[o]));return t}var Vl={};function he(e,t){Vl[e]=t}function ah(e){var t=[],r;for(r in e)$(e,r)&&t.push({unit:r,priority:Vl[r]});return t.sort(function(o,a){return o.priority-a.priority}),t}function Jo(e){return e%4===0&&e%100!==0||e%400===0}function _e(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=_e(t)),r}function gr(e,t){return function(r){return r!=null?(Kl(this,e,r),_.updateOffset(this,t),this):Go(this,e)}}function Go(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Kl(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Jo(e.year())&&e.month()===1&&e.date()===29?(r=F(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),on(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function ih(e){return e=Re(e),Ke(this[e])?this[e]():this}function sh(e,t){if(typeof e=="object"){e=Ci(e);var r=ah(e),o,a=r.length;for(o=0;o<a;o++)this[r[o].unit](e[r[o].unit])}else if(e=Re(e),Ke(this[e]))return this[e](t);return this}var Zl=/\d/,Oe=/\d\d/,ql=/\d{3}/,_i=/\d{4}/,Xo=/[+-]?\d{6}/,q=/\d\d?/,Jl=/\d\d\d\d?/,Xl=/\d\d\d\d\d\d?/,Qo=/\d{1,3}/,Ai=/\d{1,4}/,en=/[+-]?\d{1,6}/,br=/\d+/,tn=/[+-]?\d+/,ch=/Z|[+-]\d\d:?\d\d/gi,rn=/Z|[+-]\d\d(?::?\d\d)?/gi,lh=/[+-]?\d+(\.\d{1,3})?/,no=/[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,Yo;Yo={};function R(e,t,r){Yo[e]=Ke(t)?t:function(o,a){return o&&r?r:t}}function dh(e,t){return $(Yo,e)?Yo[e](t._strict,t._locale):new RegExp(uh(e))}function uh(e){return Se(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,o,a,i){return r||o||a||i}))}function Se(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var mi={};function V(e,t){var r,o=t,a;for(typeof e=="string"&&(e=[e]),st(t)&&(o=function(i,s){s[t]=F(i)}),a=e.length,r=0;r<a;r++)mi[e[r]]=o}function ao(e,t){V(e,function(r,o,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function fh(e,t,r){t!=null&&$(mi,e)&&mi[e](t,r._a,r,e)}var fe=0,nt=1,Ye=2,oe=3,De=4,at=5,Ht=6,ph=7,hh=8;function yh(e,t){return(e%t+t)%t}var te;Array.prototype.indexOf?te=Array.prototype.indexOf:te=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function on(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=yh(t,12);return e+=(t-r)/12,r===1?Jo(e)?29:28:31-r%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1});P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});P("MMMM",0,0,function(e){return this.localeData().months(this,e)});pe("month","M");he("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[nt]=F(e)-1});V(["MMM","MMMM"],function(e,t,r,o){var a=r._locale.monthsParse(e,o,r._strict);a!=null?t[nt]=a:M(r).invalidMonth=e});var mh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ql="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ed=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,gh=no,bh=no;function xh(e,t){return e?Le(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ed).test(t)?"format":"standalone"][e.month()]:Le(this._months)?this._months:this._months.standalone}function vh(e,t){return e?Le(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ed.test(t)?"format":"standalone"][e.month()]:Le(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Sh(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=Ve([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=te.call(this._shortMonthsParse,s),a!==-1?a:null):(a=te.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=te.call(this._shortMonthsParse,s),a!==-1?a:(a=te.call(this._longMonthsParse,s),a!==-1?a:null)):(a=te.call(this._longMonthsParse,s),a!==-1?a:(a=te.call(this._shortMonthsParse,s),a!==-1?a:null))}function Oh(e,t,r){var o,a,i;if(this._monthsParseExact)return Sh.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(a=Ve([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[o]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[o].test(e))return o;if(r&&t==="MMM"&&this._shortMonthsParse[o].test(e))return o;if(!r&&this._monthsParse[o].test(e))return o}}function td(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),!st(t))return e}return r=Math.min(e.date(),on(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function rd(e){return e!=null?(td(this,e),_.updateOffset(this,!0),this):Go(this,"Month")}function wh(){return on(this.year(),this.month())}function Eh(e){return this._monthsParseExact?($(this,"_monthsRegex")||od.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):($(this,"_monthsShortRegex")||(this._monthsShortRegex=gh),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ch(e){return this._monthsParseExact?($(this,"_monthsRegex")||od.call(this),e?this._monthsStrictRegex:this._monthsRegex):($(this,"_monthsRegex")||(this._monthsRegex=bh),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function od(){function e(s,l){return l.length-s.length}var t=[],r=[],o=[],a,i;for(a=0;a<12;a++)i=Ve([2e3,a]),t.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(t.sort(e),r.sort(e),o.sort(e),a=0;a<12;a++)t[a]=Se(t[a]),r[a]=Se(r[a]);for(a=0;a<24;a++)o[a]=Se(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}P("Y",0,0,function(){var e=this.year();return e<=9999?je(e,4):"+"+e});P(0,["YY",2],0,function(){return this.year()%100});P(0,["YYYY",4],0,"year");P(0,["YYYYY",5],0,"year");P(0,["YYYYYY",6,!0],0,"year");pe("year","y");he("year",1);R("Y",tn);R("YY",q,Oe);R("YYYY",Ai,_i);R("YYYYY",en,Xo);R("YYYYYY",en,Xo);V(["YYYYY","YYYYYY"],fe);V("YYYY",function(e,t){t[fe]=e.length===2?_.parseTwoDigitYear(e):F(e)});V("YY",function(e,t){t[fe]=_.parseTwoDigitYear(e)});V("Y",function(e,t){t[fe]=parseInt(e,10)});function Xr(e){return Jo(e)?366:365}_.parseTwoDigitYear=function(e){return F(e)+(F(e)>68?1900:2e3)};var nd=gr("FullYear",!0);function _h(){return Jo(this.year())}function Ah(e,t,r,o,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,o,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,o,a,i,s),l}function Qr(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 jo(e,t,r){var o=7+t-r,a=(7+Qr(e,0,o).getUTCDay()-t)%7;return-a+o-1}function ad(e,t,r,o,a){var i=(7+r-o)%7,s=jo(e,o,a),l=1+7*(t-1)+i+s,d,f;return l<=0?(d=e-1,f=Xr(d)+l):l>Xr(e)?(d=e+1,f=l-Xr(e)):(d=e,f=l),{year:d,dayOfYear:f}}function eo(e,t,r){var o=jo(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+it(s,t,r)):a>it(e.year(),t,r)?(i=a-it(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function it(e,t,r){var o=jo(e,t,r),a=jo(e+1,t,r);return(Xr(e)-o+a)/7}P("w",["ww",2],"wo","week");P("W",["WW",2],"Wo","isoWeek");pe("week","w");pe("isoWeek","W");he("week",5);he("isoWeek",5);R("w",q);R("ww",q,Oe);R("W",q);R("WW",q,Oe);ao(["w","ww","W","WW"],function(e,t,r,o){t[o.substr(0,1)]=F(e)});function Rh(e){return eo(e,this._week.dow,this._week.doy).week}var Nh={dow:0,doy:6};function Th(){return this._week.dow}function Ih(){return this._week.doy}function kh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ph(e){var t=eo(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}P("d",0,"do","day");P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});P("e",0,0,"weekday");P("E",0,0,"isoWeekday");pe("day","d");pe("weekday","e");pe("isoWeekday","E");he("day",11);he("weekday",11);he("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)});ao(["dd","ddd","dddd"],function(e,t,r,o){var a=r._locale.weekdaysParse(e,o,r._strict);a!=null?t.d=a:M(r).invalidWeekday=e});ao(["d","e","E"],function(e,t,r,o){t[o]=F(e)});function Dh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Lh(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ri(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Mh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),id="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Uh=no,Bh=no,Wh=no;function Hh(e,t){var r=Le(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ri(r,this._week.dow):e?r[e.day()]:r}function $h(e){return e===!0?Ri(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function zh(e){return e===!0?Ri(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gh(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=Ve([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=te.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=te.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=te.call(this._weekdaysParse,s),a!==-1||(a=te.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=te.call(this._shortWeekdaysParse,s),a!==-1||(a=te.call(this._weekdaysParse,s),a!==-1)?a:(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=te.call(this._minWeekdaysParse,s),a!==-1||(a=te.call(this._weekdaysParse,s),a!==-1)?a:(a=te.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function Yh(e,t,r){var o,a,i;if(this._weekdaysParseExact)return Gh.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(a=Ve([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[o].test(e))return o;if(r&&t==="ddd"&&this._shortWeekdaysParse[o].test(e))return o;if(r&&t==="dd"&&this._minWeekdaysParse[o].test(e))return o;if(!r&&this._weekdaysParse[o].test(e))return o}}function jh(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Dh(e,this.localeData()),this.add(e-t,"d")):t}function Vh(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 Kh(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Lh(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Zh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||Ni.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):($(this,"_weekdaysRegex")||(this._weekdaysRegex=Uh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||Ni.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):($(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Bh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||Ni.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):($(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Wh),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ni(){function e(h,p){return p.length-h.length}var t=[],r=[],o=[],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),o.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ti(){return this.hours()%12||12}function Xh(){return this.hours()||24}P("H",["HH",2],0,"hour");P("h",["hh",2],0,Ti);P("k",["kk",2],0,Xh);P("hmm",0,0,function(){return""+Ti.apply(this)+je(this.minutes(),2)});P("hmmss",0,0,function(){return""+Ti.apply(this)+je(this.minutes(),2)+je(this.seconds(),2)});P("Hmm",0,0,function(){return""+this.hours()+je(this.minutes(),2)});P("Hmmss",0,0,function(){return""+this.hours()+je(this.minutes(),2)+je(this.seconds(),2)});function sd(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}sd("a",!0);sd("A",!1);pe("hour","h");he("hour",13);function cd(e,t){return t._meridiemParse}R("a",cd);R("A",cd);R("H",q);R("h",q);R("k",q);R("HH",q,Oe);R("hh",q,Oe);R("kk",q,Oe);R("hmm",Jl);R("hmmss",Xl);R("Hmm",Jl);R("Hmmss",Xl);V(["H","HH"],oe);V(["k","kk"],function(e,t,r){var o=F(e);t[oe]=o===24?0:o});V(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});V(["h","hh"],function(e,t,r){t[oe]=F(e),M(r).bigHour=!0});V("hmm",function(e,t,r){var o=e.length-2;t[oe]=F(e.substr(0,o)),t[De]=F(e.substr(o)),M(r).bigHour=!0});V("hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[oe]=F(e.substr(0,o)),t[De]=F(e.substr(o,2)),t[at]=F(e.substr(a)),M(r).bigHour=!0});V("Hmm",function(e,t,r){var o=e.length-2;t[oe]=F(e.substr(0,o)),t[De]=F(e.substr(o))});V("Hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[oe]=F(e.substr(0,o)),t[De]=F(e.substr(o,2)),t[at]=F(e.substr(a))});function Qh(e){return(e+"").toLowerCase().charAt(0)==="p"}var ey=/[ap]\.?m?\.?/i,ty=gr("Hours",!0);function ry(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var ld={calendar:Yp,longDateFormat:Zp,invalidDate:Jp,ordinal:Qp,dayOfMonthOrdinalParse:eh,relativeTime:rh,months:mh,monthsShort:Ql,week:Nh,weekdays:Mh,weekdaysMin:Fh,weekdaysShort:id,meridiemParse:ey},Q={},Zr={},to;function oy(e,t){var r,o=Math.min(e.length,t.length);for(r=0;r<o;r+=1)if(e[r]!==t[r])return r;return o}function Bl(e){return e&&e.toLowerCase().replace("_","-")}function ny(e){for(var t=0,r,o,a,i;t<e.length;){for(i=Bl(e[t]).split("-"),r=i.length,o=Bl(e[t+1]),o=o?o.split("-"):null;r>0;){if(a=nn(i.slice(0,r).join("-")),a)return a;if(o&&o.length>=r&&oy(i,o)>=r-1)break;r--}t++}return to}function ay(e){return e.match("^[^/\\\\]*$")!=null}function nn(e){var t=null,r;if(Q[e]===void 0&&typeof module<"u"&&module&&module.exports&&ay(e))try{t=to._abbr,r=Hi,r("./locale/"+e),Ot(t)}catch{Q[e]=null}return Q[e]}function Ot(e,t){var r;return e&&(ge(t)?r=ct(e):r=Ii(e,t),r?to=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),to._abbr}function Ii(e,t){if(t!==null){var r,o=ld;if(t.abbr=e,Q[e]!=null)Yl("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."),o=Q[e]._config;else if(t.parentLocale!=null)if(Q[t.parentLocale]!=null)o=Q[t.parentLocale]._config;else if(r=nn(t.parentLocale),r!=null)o=r._config;else return Zr[t.parentLocale]||(Zr[t.parentLocale]=[]),Zr[t.parentLocale].push({name:e,config:t}),null;return Q[e]=new wi(hi(o,t)),Zr[e]&&Zr[e].forEach(function(a){Ii(a.name,a.config)}),Ot(e),Q[e]}else return delete Q[e],null}function iy(e,t){if(t!=null){var r,o,a=ld;Q[e]!=null&&Q[e].parentLocale!=null?Q[e].set(hi(Q[e]._config,t)):(o=nn(e),o!=null&&(a=o._config),t=hi(a,t),o==null&&(t.abbr=e),r=new wi(t),r.parentLocale=Q[e],Q[e]=r),Ot(e)}else Q[e]!=null&&(Q[e].parentLocale!=null?(Q[e]=Q[e].parentLocale,e===Ot()&&Ot(e)):Q[e]!=null&&delete Q[e]);return Q[e]}function ct(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return to;if(!Le(e)){if(t=nn(e),t)return t;e=[e]}return ny(e)}function sy(){return yi(Q)}function ki(e){var t,r=e._a;return r&&M(e).overflow===-2&&(t=r[nt]<0||r[nt]>11?nt:r[Ye]<1||r[Ye]>on(r[fe],r[nt])?Ye:r[oe]<0||r[oe]>24||r[oe]===24&&(r[De]!==0||r[at]!==0||r[Ht]!==0)?oe:r[De]<0||r[De]>59?De:r[at]<0||r[at]>59?at:r[Ht]<0||r[Ht]>999?Ht:-1,M(e)._overflowDayOfYear&&(t<fe||t>Ye)&&(t=Ye),M(e)._overflowWeeks&&t===-1&&(t=ph),M(e)._overflowWeekday&&t===-1&&(t=hh),M(e).overflow=t),e}var cy=/^\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)?)?$/,ly=/^\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)?)?$/,dy=/Z|[+-]\d\d(?::?\d\d)?/,Wo=[["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]],ui=[["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/]],uy=/^\/?Date\((-?\d+)/i,fy=/^(?:(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}))$/,py={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 dd(e){var t,r,o=e._i,a=cy.exec(o)||ly.exec(o),i,s,l,d,f=Wo.length,h=ui.length;if(a){for(M(e).iso=!0,t=0,r=f;t<r;t++)if(Wo[t][1].exec(a[1])){s=Wo[t][0],i=Wo[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(ui[t][1].exec(a[3])){l=(a[2]||" ")+ui[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(dy.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),Di(e)}else e._isValid=!1}function hy(e,t,r,o,a,i){var s=[yy(e),Ql.indexOf(t),parseInt(r,10),parseInt(o,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function yy(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 gy(e,t,r){if(e){var o=id.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(o!==a)return M(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function by(e,t,r){if(e)return py[e];if(t)return 0;var o=parseInt(r,10),a=o%100,i=(o-a)/100;return i*60+a}function ud(e){var t=fy.exec(my(e._i)),r;if(t){if(r=hy(t[4],t[3],t[2],t[5],t[6],t[7]),!gy(t[1],r,e))return;e._a=r,e._tzm=by(t[8],t[9],t[10]),e._d=Qr.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),M(e).rfc2822=!0}else e._isValid=!1}function xy(e){var t=uy.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(dd(e),e._isValid===!1)delete e._isValid;else return;if(ud(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:_.createFromInputFallback(e)}_.createFromInputFallback=Ae("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 fr(e,t,r){return e??t??r}function vy(e){var t=new Date(_.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Pi(e){var t,r,o=[],a,i,s;if(!e._d){for(a=vy(e),e._w&&e._a[Ye]==null&&e._a[nt]==null&&Sy(e),e._dayOfYear!=null&&(s=fr(e._a[fe],a[fe]),(e._dayOfYear>Xr(s)||e._dayOfYear===0)&&(M(e)._overflowDayOfYear=!0),r=Qr(s,0,e._dayOfYear),e._a[nt]=r.getUTCMonth(),e._a[Ye]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=o[t]=a[t];for(;t<7;t++)e._a[t]=o[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[oe]===24&&e._a[De]===0&&e._a[at]===0&&e._a[Ht]===0&&(e._nextDay=!0,e._a[oe]=0),e._d=(e._useUTC?Qr:Ah).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oe]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(M(e).weekdayMismatch=!0)}}function Sy(e){var t,r,o,a,i,s,l,d,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=fr(t.GG,e._a[fe],eo(Z(),1,4).year),o=fr(t.W,1),a=fr(t.E,1),(a<1||a>7)&&(d=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,f=eo(Z(),i,s),r=fr(t.gg,e._a[fe],f.year),o=fr(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),o<1||o>it(r,i,s)?M(e)._overflowWeeks=!0:d!=null?M(e)._overflowWeekday=!0:(l=ad(r,o,a,i,s),e._a[fe]=l.year,e._dayOfYear=l.dayOfYear)}_.ISO_8601=function(){};_.RFC_2822=function(){};function Di(e){if(e._f===_.ISO_8601){dd(e);return}if(e._f===_.RFC_2822){ud(e);return}e._a=[],M(e).empty=!0;var t=""+e._i,r,o,a,i,s,l=t.length,d=0,f,h;for(a=jl(e._f,e._locale).match(Ei)||[],h=a.length,r=0;r<h;r++)i=a[r],o=(t.match(dh(i,e))||[])[0],o&&(s=t.substr(0,t.indexOf(o)),s.length>0&&M(e).unusedInput.push(s),t=t.slice(t.indexOf(o)+o.length),d+=o.length),hr[i]?(o?M(e).empty=!1:M(e).unusedTokens.push(i),fh(i,o,e)):e._strict&&!o&&M(e).unusedTokens.push(i);M(e).charsLeftOver=l-d,t.length>0&&M(e).unusedInput.push(t),e._a[oe]<=12&&M(e).bigHour===!0&&e._a[oe]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[oe]=Oy(e._locale,e._a[oe],e._meridiem),f=M(e).era,f!==null&&(e._a[fe]=e._locale.erasConvertYear(f,e._a[fe])),Pi(e),ki(e)}function Oy(e,t,r){var o;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(o=e.isPM(r),o&&t<12&&(t+=12),!o&&t===12&&(t=0)),t)}function wy(e){var t,r,o,a,i,s,l=!1,d=e._f.length;if(d===0){M(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,s=!1,t=Oi({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Di(t),Si(t)&&(s=!0),i+=M(t).charsLeftOver,i+=M(t).unusedTokens.length*10,M(t).score=i,l?i<o&&(o=i,r=t):(o==null||i<o||s)&&(o=i,r=t,s&&(l=!0));vt(e,r||t)}function Ey(e){if(!e._d){var t=Ci(e._i),r=t.day===void 0?t.date:t.day;e._a=zl([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(o){return o&&parseInt(o,10)}),Pi(e)}}function Cy(e){var t=new oo(ki(fd(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function fd(e){var t=e._i,r=e._f;return e._locale=e._locale||ct(e._l),t===null||r===void 0&&t===""?qo({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Me(t)?new oo(ki(t)):(ro(t)?e._d=t:Le(r)?wy(e):r?Di(e):_y(e),Si(e)||(e._d=null),e))}function _y(e){var t=e._i;ge(t)?e._d=new Date(_.now()):ro(t)?e._d=new Date(t.valueOf()):typeof t=="string"?xy(e):Le(t)?(e._a=zl(t.slice(0),function(r){return parseInt(r,10)}),Pi(e)):$t(t)?Ey(e):st(t)?e._d=new Date(t):_.createFromInputFallback(e)}function pd(e,t,r,o,a){var i={};return(t===!0||t===!1)&&(o=t,t=void 0),(r===!0||r===!1)&&(o=r,r=void 0),($t(e)&&vi(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=o,Cy(i)}function Z(e,t,r,o){return pd(e,t,r,o,!1)}var Ay=Ae("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:qo()}),Ry=Ae("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:qo()});function hd(e,t){var r,o;if(t.length===1&&Le(t[0])&&(t=t[0]),!t.length)return Z();for(r=t[0],o=1;o<t.length;++o)(!t[o].isValid()||t[o][e](r))&&(r=t[o]);return r}function Ny(){var e=[].slice.call(arguments,0);return hd("isBefore",e)}function Ty(){var e=[].slice.call(arguments,0);return hd("isAfter",e)}var Iy=function(){return Date.now?Date.now():+new Date},qr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ky(e){var t,r=!1,o,a=qr.length;for(t in e)if($(e,t)&&!(te.call(qr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(o=0;o<a;++o)if(e[qr[o]]){if(r)return!1;parseFloat(e[qr[o]])!==F(e[qr[o]])&&(r=!0)}return!0}function Py(){return this._isValid}function Dy(){return Fe(NaN)}function an(e){var t=Ci(e),r=t.year||0,o=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=ky(t),this._milliseconds=+h+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+o*3+r*12,this._data={},this._locale=ct(),this._bubble()}function $o(e){return e instanceof an}function gi(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ly(e,t,r){var o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<o;s++)(r&&e[s]!==t[s]||!r&&F(e[s])!==F(t[s]))&&i++;return i+a}function yd(e,t){P(e,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+je(~~(r/60),2)+t+je(~~r%60,2)})}yd("Z",":");yd("ZZ","");R("Z",rn);R("ZZ",rn);V(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Li(rn,e)});var My=/([\+\-]|\d\d)/gi;function Li(e,t){var r=(t||"").match(e),o,a,i;return r===null?null:(o=r[r.length-1]||[],a=(o+"").match(My)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function Mi(e,t){var r,o;return t._isUTC?(r=t.clone(),o=(Me(e)||ro(e)?e.valueOf():Z(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),_.updateOffset(r,!1),r):Z(e).local()}function bi(e){return-Math.round(e._d.getTimezoneOffset())}_.updateOffset=function(){};function Fy(e,t,r){var o=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Li(rn,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=bi(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),o!==e&&(!t||this._changeInProgress?bd(this,Fe(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,_.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:bi(this)}function Uy(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function By(e){return this.utcOffset(0,e)}function Wy(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(bi(this),"m")),this}function Hy(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Li(ch,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function $y(e){return this.isValid()?(e=e?Z(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function zy(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gy(){if(!ge(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Oi(e,this),e=fd(e),e._a?(t=e._isUTC?Ve(e._a):Z(e._a),this._isDSTShifted=this.isValid()&&Ly(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Yy(){return this.isValid()?!this._isUTC:!1}function jy(){return this.isValid()?this._isUTC:!1}function md(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Vy=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ky=/^(-|\+)?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,o=null,a,i,s;return $o(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:st(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Vy.exec(e))?(a=o[1]==="-"?-1:1,r={y:0,d:F(o[Ye])*a,h:F(o[oe])*a,m:F(o[De])*a,s:F(o[at])*a,ms:F(gi(o[Ht]*1e3))*a}):(o=Ky.exec(e))?(a=o[1]==="-"?-1:1,r={y:Wt(o[2],a),M:Wt(o[3],a),w:Wt(o[4],a),d:Wt(o[5],a),h:Wt(o[6],a),m:Wt(o[7],a),s:Wt(o[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Zy(Z(r.from),Z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new an(r),$o(e)&&$(e,"_locale")&&(i._locale=e._locale),$o(e)&&$(e,"_isValid")&&(i._isValid=e._isValid),i}Fe.fn=an.prototype;Fe.invalid=Dy;function Wt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Wl(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 Zy(e,t){var r;return e.isValid()&&t.isValid()?(t=Mi(t,e),e.isBefore(t)?r=Wl(e,t):(r=Wl(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function gd(e,t){return function(r,o){var a,i;return o!==null&&!isNaN(+o)&&(Yl(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=o,o=i),a=Fe(r,o),bd(this,a,e),this}}function bd(e,t,r,o){var a=t._milliseconds,i=gi(t._days),s=gi(t._months);e.isValid()&&(o=o??!0,s&&td(e,Go(e,"Month")+s*r),i&&Kl(e,"Date",Go(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),o&&_.updateOffset(e,i||s))}var qy=gd(1,"add"),Jy=gd(-1,"subtract");function xd(e){return typeof e=="string"||e instanceof String}function Xy(e){return Me(e)||ro(e)||xd(e)||st(e)||em(e)||Qy(e)||e===null||e===void 0}function Qy(e){var t=$t(e)&&!vi(e),r=!1,o=["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=o.length;for(a=0;a<s;a+=1)i=o[a],r=r||$(e,i);return t&&r}function em(e){var t=Le(e),r=!1;return t&&(r=e.filter(function(o){return!st(o)&&xd(e)}).length===0),t&&r}function tm(e){var t=$t(e)&&!vi(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<o.length;a+=1)i=o[a],r=r||$(e,i);return t&&r}function rm(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 om(e,t){arguments.length===1&&(arguments[0]?Xy(arguments[0])?(e=arguments[0],t=void 0):tm(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Z(),o=Mi(r,this).startOf("day"),a=_.calendarFormat(this,o)||"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 nm(){return new oo(this)}function am(e,t){var r=Me(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 im(e,t){var r=Me(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 sm(e,t,r,o){var a=Me(e)?e:Z(e),i=Me(t)?t:Z(t);return this.isValid()&&a.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function cm(e,t){var r=Me(e)?e:Z(e),o;return this.isValid()&&r.isValid()?(t=Re(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(t).valueOf()<=o&&o<=this.clone().endOf(t).valueOf())):!1}function lm(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function dm(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function um(e,t,r){var o,a,i;if(!this.isValid())return NaN;if(o=Mi(e,this),!o.isValid())return NaN;switch(a=(o.utcOffset()-this.utcOffset())*6e4,t=Re(t),t){case"year":i=zo(this,o)/12;break;case"month":i=zo(this,o);break;case"quarter":i=zo(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-a)/864e5;break;case"week":i=(this-o-a)/6048e5;break;default:i=this-o}return r?i:_e(i)}function zo(e,t){if(e.date()<t.date())return-zo(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),o=e.clone().add(r,"months"),a,i;return t-o<0?(a=e.clone().add(r-1,"months"),i=(t-o)/(o-a)):(a=e.clone().add(r+1,"months"),i=(t-o)/(a-o)),-(r+i)||0}_.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";_.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function fm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function pm(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Ho(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",Ho(r,"Z")):Ho(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function hm(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,o,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+o+a+i)}function ym(e){e||(e=this.isUtc()?_.defaultFormatUtc:_.defaultFormat);var t=Ho(this,e);return this.localeData().postformat(t)}function mm(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 gm(e){return this.from(Z(),e)}function bm(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 xm(e){return this.to(Z(),e)}function vd(e){var t;return e===void 0?this._locale._abbr:(t=ct(e),t!=null&&(this._locale=t),this)}var Sd=Ae("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 Od(){return this._locale}var Vo=1e3,yr=60*Vo,Ko=60*yr,wd=(365*400+97)*24*Ko;function mr(e,t){return(e%t+t)%t}function Ed(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-wd:new Date(e,t,r).valueOf()}function Cd(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-wd:Date.UTC(e,t,r)}function vm(e){var t,r;if(e=Re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Cd:Ed,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-=mr(t+(this._isUTC?0:this.utcOffset()*yr),Ko);break;case"minute":t=this._d.valueOf(),t-=mr(t,yr);break;case"second":t=this._d.valueOf(),t-=mr(t,Vo);break}return this._d.setTime(t),_.updateOffset(this,!0),this}function Sm(e){var t,r;if(e=Re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Cd:Ed,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+=Ko-mr(t+(this._isUTC?0:this.utcOffset()*yr),Ko)-1;break;case"minute":t=this._d.valueOf(),t+=yr-mr(t,yr)-1;break;case"second":t=this._d.valueOf(),t+=Vo-mr(t,Vo)-1;break}return this._d.setTime(t),_.updateOffset(this,!0),this}function Om(){return this._d.valueOf()-(this._offset||0)*6e4}function wm(){return Math.floor(this.valueOf()/1e3)}function Em(){return new Date(this.valueOf())}function Cm(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function _m(){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 Am(){return this.isValid()?this.toISOString():null}function Rm(){return Si(this)}function Nm(){return vt({},M(this))}function Tm(){return M(this).overflow}function Im(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr");P("NN",0,0,"eraAbbr");P("NNN",0,0,"eraAbbr");P("NNNN",0,0,"eraName");P("NNNNN",0,0,"eraNarrow");P("y",["y",1],"yo","eraYear");P("y",["yy",2],0,"eraYear");P("y",["yyy",3],0,"eraYear");P("y",["yyyy",4],0,"eraYear");R("N",Fi);R("NN",Fi);R("NNN",Fi);R("NNNN",$m);R("NNNNN",zm);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,o){var a=r._locale.erasParse(e,o,r._strict);a?M(r).era=a:M(r).invalidEra=e});R("y",br);R("yy",br);R("yyy",br);R("yyyy",br);R("yo",Gm);V(["y","yy","yyy","yyyy"],fe);V(["yo"],function(e,t,r,o){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[fe]=r._locale.eraYearOrdinalParse(e,a):t[fe]=parseInt(e,10)});function km(e,t){var r,o,a,i=this._eras||ct("en")._eras;for(r=0,o=i.length;r<o;++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 Pm(e,t,r){var o,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),o=0,a=i.length;o<a;++o)if(s=i[o].name.toUpperCase(),l=i[o].abbr.toUpperCase(),d=i[o].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[o];break;case"NNNN":if(s===e)return i[o];break;case"NNNNN":if(d===e)return i[o];break}else if([s,l,d].indexOf(e)>=0)return i[o]}function Dm(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 Lm(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].name;return""}function Mm(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].narrow;return""}function Fm(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].abbr;return""}function Um(){var e,t,r,o,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,o=this.clone().startOf("day").valueOf(),a[e].since<=o&&o<=a[e].until||a[e].until<=o&&o<=a[e].since)return(this.year()-_(a[e].since).year())*r+a[e].offset;return this.year()}function Bm(e){return $(this,"_erasNameRegex")||Ui.call(this),e?this._erasNameRegex:this._erasRegex}function Wm(e){return $(this,"_erasAbbrRegex")||Ui.call(this),e?this._erasAbbrRegex:this._erasRegex}function Hm(e){return $(this,"_erasNarrowRegex")||Ui.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function $m(e,t){return t.erasNameRegex(e)}function zm(e,t){return t.erasNarrowRegex(e)}function Gm(e,t){return t._eraYearOrdinalRegex||br}function Ui(){var e=[],t=[],r=[],o=[],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)),o.push(Se(s[a].name)),o.push(Se(s[a].abbr)),o.push(Se(s[a].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100});P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function sn(e,t){P(0,[e,e.length],0,t)}sn("gggg","weekYear");sn("ggggg","weekYear");sn("GGGG","isoWeekYear");sn("GGGGG","isoWeekYear");pe("weekYear","gg");pe("isoWeekYear","GG");he("weekYear",1);he("isoWeekYear",1);R("G",tn);R("g",tn);R("GG",q,Oe);R("gg",q,Oe);R("GGGG",Ai,_i);R("gggg",Ai,_i);R("GGGGG",en,Xo);R("ggggg",en,Xo);ao(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,o){t[o.substr(0,2)]=F(e)});ao(["gg","GG"],function(e,t,r,o){t[o]=_.parseTwoDigitYear(e)});function Ym(e){return _d.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function jm(e){return _d.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Vm(){return it(this.year(),1,4)}function Km(){return it(this.isoWeekYear(),1,4)}function Zm(){var e=this.localeData()._week;return it(this.year(),e.dow,e.doy)}function qm(){var e=this.localeData()._week;return it(this.weekYear(),e.dow,e.doy)}function _d(e,t,r,o,a){var i;return e==null?eo(this,o,a).year:(i=it(e,o,a),t>i&&(t=i),Jm.call(this,e,t,r,o,a))}function Jm(e,t,r,o,a){var i=ad(e,t,r,o,a),s=Qr(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}P("Q",0,"Qo","quarter");pe("quarter","Q");he("quarter",7);R("Q",Zl);V("Q",function(e,t){t[nt]=(F(e)-1)*3});function Xm(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}P("D",["DD",2],"Do","date");pe("date","D");he("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"],Ye);V("Do",function(e,t){t[Ye]=F(e.match(q)[0])});var Ad=gr("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear");pe("dayOfYear","DDD");he("dayOfYear",4);R("DDD",Qo);R("DDDD",ql);V(["DDD","DDDD"],function(e,t,r){r._dayOfYear=F(e)});function Qm(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}P("m",["mm",2],0,"minute");pe("minute","m");he("minute",14);R("m",q);R("mm",q,Oe);V(["m","mm"],De);var eg=gr("Minutes",!1);P("s",["ss",2],0,"second");pe("second","s");he("second",15);R("s",q);R("ss",q,Oe);V(["s","ss"],at);var tg=gr("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)});P(0,["SS",2],0,function(){return~~(this.millisecond()/10)});P(0,["SSS",3],0,"millisecond");P(0,["SSSS",4],0,function(){return this.millisecond()*10});P(0,["SSSSS",5],0,function(){return this.millisecond()*100});P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});pe("millisecond","ms");he("millisecond",16);R("S",Qo,Zl);R("SS",Qo,Oe);R("SSS",Qo,ql);var St,Rd;for(St="SSSS";St.length<=9;St+="S")R(St,br);function rg(e,t){t[Ht]=F(("0."+e)*1e3)}for(St="S";St.length<=9;St+="S")V(St,rg);Rd=gr("Milliseconds",!1);P("z",0,0,"zoneAbbr");P("zz",0,0,"zoneName");function og(){return this._isUTC?"UTC":""}function ng(){return this._isUTC?"Coordinated Universal Time":""}var E=oo.prototype;E.add=qy;E.calendar=om;E.clone=nm;E.diff=um;E.endOf=Sm;E.format=ym;E.from=mm;E.fromNow=gm;E.to=bm;E.toNow=xm;E.get=ih;E.invalidAt=Tm;E.isAfter=am;E.isBefore=im;E.isBetween=sm;E.isSame=cm;E.isSameOrAfter=lm;E.isSameOrBefore=dm;E.isValid=Rm;E.lang=Sd;E.locale=vd;E.localeData=Od;E.max=Ry;E.min=Ay;E.parsingFlags=Nm;E.set=sh;E.startOf=vm;E.subtract=Jy;E.toArray=Cm;E.toObject=_m;E.toDate=Em;E.toISOString=pm;E.inspect=hm;typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E.toJSON=Am;E.toString=fm;E.unix=wm;E.valueOf=Om;E.creationData=Im;E.eraName=Lm;E.eraNarrow=Mm;E.eraAbbr=Fm;E.eraYear=Um;E.year=nd;E.isLeapYear=_h;E.weekYear=Ym;E.isoWeekYear=jm;E.quarter=E.quarters=Xm;E.month=rd;E.daysInMonth=wh;E.week=E.weeks=kh;E.isoWeek=E.isoWeeks=Ph;E.weeksInYear=Zm;E.weeksInWeekYear=qm;E.isoWeeksInYear=Vm;E.isoWeeksInISOWeekYear=Km;E.date=Ad;E.day=E.days=jh;E.weekday=Vh;E.isoWeekday=Kh;E.dayOfYear=Qm;E.hour=E.hours=ty;E.minute=E.minutes=eg;E.second=E.seconds=tg;E.millisecond=E.milliseconds=Rd;E.utcOffset=Fy;E.utc=By;E.local=Wy;E.parseZone=Hy;E.hasAlignedHourOffset=$y;E.isDST=zy;E.isLocal=Yy;E.isUtcOffset=jy;E.isUtc=md;E.isUTC=md;E.zoneAbbr=og;E.zoneName=ng;E.dates=Ae("dates accessor is deprecated. Use date instead.",Ad);E.months=Ae("months accessor is deprecated. Use month instead",rd);E.years=Ae("years accessor is deprecated. Use year instead",nd);E.zone=Ae("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Uy);E.isDSTShifted=Ae("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Gy);function ag(e){return Z(e*1e3)}function ig(){return Z.apply(null,arguments).parseZone()}function Nd(e){return e}var z=wi.prototype;z.calendar=jp;z.longDateFormat=qp;z.invalidDate=Xp;z.ordinal=th;z.preparse=Nd;z.postformat=Nd;z.relativeTime=oh;z.pastFuture=nh;z.set=Gp;z.eras=km;z.erasParse=Pm;z.erasConvertYear=Dm;z.erasAbbrRegex=Wm;z.erasNameRegex=Bm;z.erasNarrowRegex=Hm;z.months=xh;z.monthsShort=vh;z.monthsParse=Oh;z.monthsRegex=Ch;z.monthsShortRegex=Eh;z.week=Rh;z.firstDayOfYear=Ih;z.firstDayOfWeek=Th;z.weekdays=Hh;z.weekdaysMin=zh;z.weekdaysShort=$h;z.weekdaysParse=Yh;z.weekdaysRegex=Zh;z.weekdaysShortRegex=qh;z.weekdaysMinRegex=Jh;z.isPM=Qh;z.meridiem=ry;function Zo(e,t,r,o){var a=ct(),i=Ve().set(o,t);return a[r](i,e)}function Td(e,t,r){if(st(e)&&(t=e,e=void 0),e=e||"",t!=null)return Zo(e,t,r,"month");var o,a=[];for(o=0;o<12;o++)a[o]=Zo(e,o,r,"month");return a}function Bi(e,t,r,o){typeof e=="boolean"?(st(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,st(t)&&(r=t,t=void 0),t=t||"");var a=ct(),i=e?a._week.dow:0,s,l=[];if(r!=null)return Zo(t,(r+i)%7,o,"day");for(s=0;s<7;s++)l[s]=Zo(t,(s+i)%7,o,"day");return l}function sg(e,t){return Td(e,t,"months")}function cg(e,t){return Td(e,t,"monthsShort")}function lg(e,t,r){return Bi(e,t,r,"weekdays")}function dg(e,t,r){return Bi(e,t,r,"weekdaysShort")}function ug(e,t,r){return Bi(e,t,r,"weekdaysMin")}Ot("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=Ae("moment.lang is deprecated. Use moment.locale instead.",Ot);_.langData=Ae("moment.langData is deprecated. Use moment.localeData instead.",ct);var rt=Math.abs;function fg(){var e=this._data;return this._milliseconds=rt(this._milliseconds),this._days=rt(this._days),this._months=rt(this._months),e.milliseconds=rt(e.milliseconds),e.seconds=rt(e.seconds),e.minutes=rt(e.minutes),e.hours=rt(e.hours),e.months=rt(e.months),e.years=rt(e.years),this}function Id(e,t,r,o){var a=Fe(t,r);return e._milliseconds+=o*a._milliseconds,e._days+=o*a._days,e._months+=o*a._months,e._bubble()}function pg(e,t){return Id(this,e,t,1)}function hg(e,t){return Id(this,e,t,-1)}function Hl(e){return e<0?Math.floor(e):Math.ceil(e)}function yg(){var e=this._milliseconds,t=this._days,r=this._months,o=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Hl(xi(r)+t)*864e5,t=0,r=0),o.milliseconds=e%1e3,a=_e(e/1e3),o.seconds=a%60,i=_e(a/60),o.minutes=i%60,s=_e(i/60),o.hours=s%24,t+=_e(s/24),d=_e(kd(t)),r+=d,t-=Hl(xi(d)),l=_e(r/12),r%=12,o.days=t,o.months=r,o.years=l,this}function kd(e){return e*4800/146097}function xi(e){return e*146097/4800}function mg(e){if(!this.isValid())return NaN;var t,r,o=this._milliseconds;if(e=Re(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+o/864e5,r=this._months+kd(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(xi(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return t*24+o/36e5;case"minute":return t*1440+o/6e4;case"second":return t*86400+o/1e3;case"millisecond":return Math.floor(t*864e5)+o;default:throw new Error("Unknown unit "+e)}}function gg(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+F(this._months/12)*31536e6:NaN}function lt(e){return function(){return this.as(e)}}var bg=lt("ms"),xg=lt("s"),vg=lt("m"),Sg=lt("h"),Og=lt("d"),wg=lt("w"),Eg=lt("M"),Cg=lt("Q"),_g=lt("y");function Ag(){return Fe(this)}function Rg(e){return e=Re(e),this.isValid()?this[e+"s"]():NaN}function zt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ng=zt("milliseconds"),Tg=zt("seconds"),Ig=zt("minutes"),kg=zt("hours"),Pg=zt("days"),Dg=zt("months"),Lg=zt("years");function Mg(){return _e(this.days()/7)}var ot=Math.round,pr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Fg(e,t,r,o,a){return a.relativeTime(t||1,!!r,e,o)}function Ug(e,t,r,o){var a=Fe(e).abs(),i=ot(a.as("s")),s=ot(a.as("m")),l=ot(a.as("h")),d=ot(a.as("d")),f=ot(a.as("M")),h=ot(a.as("w")),p=ot(a.as("y")),m=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&&(m=m||h<=1&&["w"]||h<r.w&&["ww",h]),m=m||f<=1&&["M"]||f<r.M&&["MM",f]||p<=1&&["y"]||["yy",p],m[2]=t,m[3]=+e>0,m[4]=o,Fg.apply(null,m)}function Bg(e){return e===void 0?ot:typeof e=="function"?(ot=e,!0):!1}function Wg(e,t){return pr[e]===void 0?!1:t===void 0?pr[e]:(pr[e]=t,e==="s"&&(pr.ss=t-1),!0)}function Hg(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=pr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(o=Object.assign({},pr,t),t.s!=null&&t.ss==null&&(o.ss=t.s-1)),a=this.localeData(),i=Ug(this,!r,o,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var fi=Math.abs;function ur(e){return(e>0)-(e<0)||+e}function cn(){if(!this.isValid())return this.localeData().invalidDate();var e=fi(this._milliseconds)/1e3,t=fi(this._days),r=fi(this._months),o,a,i,s,l=this.asSeconds(),d,f,h,p;return l?(o=_e(e/60),a=_e(o/60),e%=60,o%=60,i=_e(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=ur(this._months)!==ur(l)?"-":"",h=ur(this._days)!==ur(l)?"-":"",p=ur(this._milliseconds)!==ur(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?h+t+"D":"")+(a||o||e?"T":"")+(a?p+a+"H":"")+(o?p+o+"M":"")+(e?p+s+"S":"")):"P0D"}var W=an.prototype;W.isValid=Py;W.abs=fg;W.add=pg;W.subtract=hg;W.as=mg;W.asMilliseconds=bg;W.asSeconds=xg;W.asMinutes=vg;W.asHours=Sg;W.asDays=Og;W.asWeeks=wg;W.asMonths=Eg;W.asQuarters=Cg;W.asYears=_g;W.valueOf=gg;W._bubble=yg;W.clone=Ag;W.get=Rg;W.milliseconds=Ng;W.seconds=Tg;W.minutes=Ig;W.hours=kg;W.days=Pg;W.weeks=Mg;W.months=Dg;W.years=Lg;W.humanize=Hg;W.toISOString=cn;W.toString=cn;W.toJSON=cn;W.locale=vd;W.localeData=Od;W.toIsoString=Ae("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cn);W.lang=Sd;P("X",0,0,"unix");P("x",0,0,"valueOf");R("x",tn);R("X",lh);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";$p(Z);_.fn=E;_.min=Ny;_.max=Ty;_.now=Iy;_.utc=Ve;_.unix=ag;_.months=sg;_.isDate=ro;_.locale=Ot;_.invalid=qo;_.duration=Fe;_.isMoment=Me;_.weekdays=lg;_.parseZone=ig;_.localeData=ct;_.isDuration=$o;_.monthsShort=cg;_.weekdaysMin=ug;_.defineLocale=Ii;_.updateLocale=iy;_.locales=sy;_.weekdaysShort=dg;_.normalizeUnits=Re;_.relativeTimeRounding=Bg;_.relativeTimeThreshold=Wg;_.calendarFormat=rm;_.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 Ue=_;var ne;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(ne||(ne={}));var Pd=ee`
|
|
88
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Bl={};function jl(e,t){A.deprecationHandler!=null&&A.deprecationHandler(e,t),Bl[e]||(Yl(t),Bl[e]=!0)}A.suppressDeprecationWarnings=!1;A.deprecationHandler=null;function Ke(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Yp(e){var t,r;for(r in e)$(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 yi(e,t){var r=vt({},e),o;for(o in t)$(t,o)&&(zt(e[o])&&zt(t[o])?(r[o]={},vt(r[o],e[o]),vt(r[o],t[o])):t[o]!=null?r[o]=t[o]:delete r[o]);for(o in e)$(e,o)&&!$(t,o)&&zt(e[o])&&(r[o]=vt({},r[o]));return r}function Ei(e){e!=null&&this.set(e)}var mi;Object.keys?mi=Object.keys:mi=function(e){var t,r=[];for(t in e)$(e,t)&&r.push(t);return r};var jp={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Vp(e,t,r){var o=this._calendar[e]||this._calendar.sameElse;return Ke(o)?o.call(t,r):o}function je(e,t,r){var o=""+Math.abs(e),a=t-o.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}var Ci=/(\[[^\[]*\])|(\\)?([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,Wo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ui={},mr={};function P(e,t,r,o){var a=o;typeof o=="string"&&(a=function(){return this[o]()}),e&&(mr[e]=a),t&&(mr[t[0]]=function(){return je(a.apply(this,arguments),t[1],t[2])}),r&&(mr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Kp(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Zp(e){var t=e.match(Ci),r,o;for(r=0,o=t.length;r<o;r++)mr[t[r]]?t[r]=mr[t[r]]:t[r]=Kp(t[r]);return function(a){var i="",s;for(s=0;s<o;s++)i+=Ke(t[s])?t[s].call(a,e):t[s];return i}}function $o(e,t){return e.isValid()?(t=Vl(t,e.localeData()),ui[t]=ui[t]||Zp(t),ui[t](e)):e.localeData().invalidDate()}function Vl(e,t){var r=5;function o(a){return t.longDateFormat(a)||a}for(Wo.lastIndex=0;r>=0&&Wo.test(e);)e=e.replace(Wo,o),Wo.lastIndex=0,r-=1;return e}var qp={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 Jp(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Ci).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[e])}var Xp="Invalid date";function Qp(){return this._invalidDate}var eh="%d",th=/\d{1,2}/;function rh(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 nh(e,t,r,o){var a=this._relativeTime[r];return Ke(a)?a(e,t,r,o):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 Xr={};function pe(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 _i(e){var t={},r,o;for(o in e)$(e,o)&&(r=Re(o),r&&(t[r]=e[o]));return t}var Kl={};function he(e,t){Kl[e]=t}function ih(e){var t=[],r;for(r in e)$(e,r)&&t.push({unit:r,priority:Kl[r]});return t.sort(function(o,a){return o.priority-a.priority}),t}function Xo(e){return e%4===0&&e%100!==0||e%400===0}function _e(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=_e(t)),r}function xr(e,t){return function(r){return r!=null?(Zl(this,e,r),A.updateOffset(this,t),this):Yo(this,e)}}function Yo(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Zl(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Xo(e.year())&&e.month()===1&&e.date()===29?(r=F(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),nn(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function sh(e){return e=Re(e),Ke(this[e])?this[e]():this}function ch(e,t){if(typeof e=="object"){e=_i(e);var r=ih(e),o,a=r.length;for(o=0;o<a;o++)this[r[o].unit](e[r[o].unit])}else if(e=Re(e),Ke(this[e]))return this[e](t);return this}var ql=/\d/,Oe=/\d\d/,Jl=/\d{3}/,Ai=/\d{4}/,Qo=/[+-]?\d{6}/,q=/\d\d?/,Xl=/\d\d\d\d?/,Ql=/\d\d\d\d\d\d?/,en=/\d{1,3}/,Ri=/\d{1,4}/,tn=/[+-]?\d{1,6}/,vr=/\d+/,rn=/[+-]?\d+/,lh=/Z|[+-]\d\d:?\d\d/gi,on=/Z|[+-]\d\d(?::?\d\d)?/gi,dh=/[+-]?\d+(\.\d{1,3})?/,ao=/[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,jo;jo={};function R(e,t,r){jo[e]=Ke(t)?t:function(o,a){return o&&r?r:t}}function uh(e,t){return $(jo,e)?jo[e](t._strict,t._locale):new RegExp(fh(e))}function fh(e){return Se(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,o,a,i){return r||o||a||i}))}function Se(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var gi={};function V(e,t){var r,o=t,a;for(typeof e=="string"&&(e=[e]),st(t)&&(o=function(i,s){s[t]=F(i)}),a=e.length,r=0;r<a;r++)gi[e[r]]=o}function io(e,t){V(e,function(r,o,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function ph(e,t,r){t!=null&&$(gi,e)&&gi[e](t,r._a,r,e)}var fe=0,nt=1,Ye=2,oe=3,De=4,at=5,$t=6,hh=7,yh=8;function mh(e,t){return(e%t+t)%t}var te;Array.prototype.indexOf?te=Array.prototype.indexOf:te=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function nn(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=mh(t,12);return e+=(t-r)/12,r===1?Xo(e)?29:28:31-r%7%2}P("M",["MM",2],"Mo",function(){return this.month()+1});P("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});P("MMMM",0,0,function(e){return this.localeData().months(this,e)});pe("month","M");he("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[nt]=F(e)-1});V(["MMM","MMMM"],function(e,t,r,o){var a=r._locale.monthsParse(e,o,r._strict);a!=null?t[nt]=a:M(r).invalidMonth=e});var gh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ed="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),td=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,bh=ao,xh=ao;function vh(e,t){return e?Le(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||td).test(t)?"format":"standalone"][e.month()]:Le(this._months)?this._months:this._months.standalone}function Sh(e,t){return e?Le(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[td.test(t)?"format":"standalone"][e.month()]:Le(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Oh(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=Ve([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=te.call(this._shortMonthsParse,s),a!==-1?a:null):(a=te.call(this._longMonthsParse,s),a!==-1?a:null):t==="MMM"?(a=te.call(this._shortMonthsParse,s),a!==-1?a:(a=te.call(this._longMonthsParse,s),a!==-1?a:null)):(a=te.call(this._longMonthsParse,s),a!==-1?a:(a=te.call(this._shortMonthsParse,s),a!==-1?a:null))}function wh(e,t,r){var o,a,i;if(this._monthsParseExact)return Oh.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(a=Ve([2e3,o]),r&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[o]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[o].test(e))return o;if(r&&t==="MMM"&&this._shortMonthsParse[o].test(e))return o;if(!r&&this._monthsParse[o].test(e))return o}}function rd(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),!st(t))return e}return r=Math.min(e.date(),nn(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function od(e){return e!=null?(rd(this,e),A.updateOffset(this,!0),this):Yo(this,"Month")}function Eh(){return nn(this.year(),this.month())}function Ch(e){return this._monthsParseExact?($(this,"_monthsRegex")||nd.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):($(this,"_monthsShortRegex")||(this._monthsShortRegex=bh),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function _h(e){return this._monthsParseExact?($(this,"_monthsRegex")||nd.call(this),e?this._monthsStrictRegex:this._monthsRegex):($(this,"_monthsRegex")||(this._monthsRegex=xh),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function nd(){function e(s,l){return l.length-s.length}var t=[],r=[],o=[],a,i;for(a=0;a<12;a++)i=Ve([2e3,a]),t.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(t.sort(e),r.sort(e),o.sort(e),a=0;a<12;a++)t[a]=Se(t[a]),r[a]=Se(r[a]);for(a=0;a<24;a++)o[a]=Se(o[a]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}P("Y",0,0,function(){var e=this.year();return e<=9999?je(e,4):"+"+e});P(0,["YY",2],0,function(){return this.year()%100});P(0,["YYYY",4],0,"year");P(0,["YYYYY",5],0,"year");P(0,["YYYYYY",6,!0],0,"year");pe("year","y");he("year",1);R("Y",rn);R("YY",q,Oe);R("YYYY",Ri,Ai);R("YYYYY",tn,Qo);R("YYYYYY",tn,Qo);V(["YYYYY","YYYYYY"],fe);V("YYYY",function(e,t){t[fe]=e.length===2?A.parseTwoDigitYear(e):F(e)});V("YY",function(e,t){t[fe]=A.parseTwoDigitYear(e)});V("Y",function(e,t){t[fe]=parseInt(e,10)});function Qr(e){return Xo(e)?366:365}A.parseTwoDigitYear=function(e){return F(e)+(F(e)>68?1900:2e3)};var ad=xr("FullYear",!0);function Ah(){return Xo(this.year())}function Rh(e,t,r,o,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,o,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,o,a,i,s),l}function eo(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 Vo(e,t,r){var o=7+t-r,a=(7+eo(e,0,o).getUTCDay()-t)%7;return-a+o-1}function id(e,t,r,o,a){var i=(7+r-o)%7,s=Vo(e,o,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 to(e,t,r){var o=Vo(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+it(s,t,r)):a>it(e.year(),t,r)?(i=a-it(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function it(e,t,r){var o=Vo(e,t,r),a=Vo(e+1,t,r);return(Qr(e)-o+a)/7}P("w",["ww",2],"wo","week");P("W",["WW",2],"Wo","isoWeek");pe("week","w");pe("isoWeek","W");he("week",5);he("isoWeek",5);R("w",q);R("ww",q,Oe);R("W",q);R("WW",q,Oe);io(["w","ww","W","WW"],function(e,t,r,o){t[o.substr(0,1)]=F(e)});function Nh(e){return to(e,this._week.dow,this._week.doy).week}var Th={dow:0,doy:6};function Ih(){return this._week.dow}function kh(){return this._week.doy}function Ph(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Dh(e){var t=to(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}P("d",0,"do","day");P("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});P("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});P("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});P("e",0,0,"weekday");P("E",0,0,"isoWeekday");pe("day","d");pe("weekday","e");pe("isoWeekday","E");he("day",11);he("weekday",11);he("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)});io(["dd","ddd","dddd"],function(e,t,r,o){var a=r._locale.weekdaysParse(e,o,r._strict);a!=null?t.d=a:M(r).invalidWeekday=e});io(["d","e","E"],function(e,t,r,o){t[o]=F(e)});function Lh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Mh(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ni(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Fh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),sd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Uh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bh=ao,Wh=ao,Hh=ao;function $h(e,t){var r=Le(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ni(r,this._week.dow):e?r[e.day()]:r}function zh(e){return e===!0?Ni(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gh(e){return e===!0?Ni(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yh(e,t,r){var o,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=Ve([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=te.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=te.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=te.call(this._weekdaysParse,s),a!==-1||(a=te.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=te.call(this._shortWeekdaysParse,s),a!==-1||(a=te.call(this._weekdaysParse,s),a!==-1)?a:(a=te.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=te.call(this._minWeekdaysParse,s),a!==-1||(a=te.call(this._weekdaysParse,s),a!==-1)?a:(a=te.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function jh(e,t,r){var o,a,i;if(this._weekdaysParseExact)return Yh.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(a=Ve([2e3,1]).day(o),r&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[o].test(e))return o;if(r&&t==="ddd"&&this._shortWeekdaysParse[o].test(e))return o;if(r&&t==="dd"&&this._minWeekdaysParse[o].test(e))return o;if(!r&&this._weekdaysParse[o].test(e))return o}}function Vh(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Lh(e,this.localeData()),this.add(e-t,"d")):t}function Kh(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 Zh(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Mh(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function qh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||Ti.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):($(this,"_weekdaysRegex")||(this._weekdaysRegex=Bh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Jh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||Ti.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):($(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Wh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xh(e){return this._weekdaysParseExact?($(this,"_weekdaysRegex")||Ti.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):($(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Hh),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ti(){function e(h,p){return p.length-h.length}var t=[],r=[],o=[],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),o.push(f),a.push(l),a.push(d),a.push(f);t.sort(e),r.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ii(){return this.hours()%12||12}function Qh(){return this.hours()||24}P("H",["HH",2],0,"hour");P("h",["hh",2],0,Ii);P("k",["kk",2],0,Qh);P("hmm",0,0,function(){return""+Ii.apply(this)+je(this.minutes(),2)});P("hmmss",0,0,function(){return""+Ii.apply(this)+je(this.minutes(),2)+je(this.seconds(),2)});P("Hmm",0,0,function(){return""+this.hours()+je(this.minutes(),2)});P("Hmmss",0,0,function(){return""+this.hours()+je(this.minutes(),2)+je(this.seconds(),2)});function cd(e,t){P(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}cd("a",!0);cd("A",!1);pe("hour","h");he("hour",13);function ld(e,t){return t._meridiemParse}R("a",ld);R("A",ld);R("H",q);R("h",q);R("k",q);R("HH",q,Oe);R("hh",q,Oe);R("kk",q,Oe);R("hmm",Xl);R("hmmss",Ql);R("Hmm",Xl);R("Hmmss",Ql);V(["H","HH"],oe);V(["k","kk"],function(e,t,r){var o=F(e);t[oe]=o===24?0:o});V(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});V(["h","hh"],function(e,t,r){t[oe]=F(e),M(r).bigHour=!0});V("hmm",function(e,t,r){var o=e.length-2;t[oe]=F(e.substr(0,o)),t[De]=F(e.substr(o)),M(r).bigHour=!0});V("hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[oe]=F(e.substr(0,o)),t[De]=F(e.substr(o,2)),t[at]=F(e.substr(a)),M(r).bigHour=!0});V("Hmm",function(e,t,r){var o=e.length-2;t[oe]=F(e.substr(0,o)),t[De]=F(e.substr(o))});V("Hmmss",function(e,t,r){var o=e.length-4,a=e.length-2;t[oe]=F(e.substr(0,o)),t[De]=F(e.substr(o,2)),t[at]=F(e.substr(a))});function ey(e){return(e+"").toLowerCase().charAt(0)==="p"}var ty=/[ap]\.?m?\.?/i,ry=xr("Hours",!0);function oy(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var dd={calendar:jp,longDateFormat:qp,invalidDate:Xp,ordinal:eh,dayOfMonthOrdinalParse:th,relativeTime:oh,months:gh,monthsShort:ed,week:Th,weekdays:Fh,weekdaysMin:Uh,weekdaysShort:sd,meridiemParse:ty},Q={},qr={},ro;function ny(e,t){var r,o=Math.min(e.length,t.length);for(r=0;r<o;r+=1)if(e[r]!==t[r])return r;return o}function Wl(e){return e&&e.toLowerCase().replace("_","-")}function ay(e){for(var t=0,r,o,a,i;t<e.length;){for(i=Wl(e[t]).split("-"),r=i.length,o=Wl(e[t+1]),o=o?o.split("-"):null;r>0;){if(a=an(i.slice(0,r).join("-")),a)return a;if(o&&o.length>=r&&ny(i,o)>=r-1)break;r--}t++}return ro}function iy(e){return e.match("^[^/\\\\]*$")!=null}function an(e){var t=null,r;if(Q[e]===void 0&&typeof module<"u"&&module&&module.exports&&iy(e))try{t=ro._abbr,r=$i,r("./locale/"+e),Ot(t)}catch{Q[e]=null}return Q[e]}function Ot(e,t){var r;return e&&(ge(t)?r=ct(e):r=ki(e,t),r?ro=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ro._abbr}function ki(e,t){if(t!==null){var r,o=dd;if(t.abbr=e,Q[e]!=null)jl("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."),o=Q[e]._config;else if(t.parentLocale!=null)if(Q[t.parentLocale]!=null)o=Q[t.parentLocale]._config;else if(r=an(t.parentLocale),r!=null)o=r._config;else return qr[t.parentLocale]||(qr[t.parentLocale]=[]),qr[t.parentLocale].push({name:e,config:t}),null;return Q[e]=new Ei(yi(o,t)),qr[e]&&qr[e].forEach(function(a){ki(a.name,a.config)}),Ot(e),Q[e]}else return delete Q[e],null}function sy(e,t){if(t!=null){var r,o,a=dd;Q[e]!=null&&Q[e].parentLocale!=null?Q[e].set(yi(Q[e]._config,t)):(o=an(e),o!=null&&(a=o._config),t=yi(a,t),o==null&&(t.abbr=e),r=new Ei(t),r.parentLocale=Q[e],Q[e]=r),Ot(e)}else Q[e]!=null&&(Q[e].parentLocale!=null?(Q[e]=Q[e].parentLocale,e===Ot()&&Ot(e)):Q[e]!=null&&delete Q[e]);return Q[e]}function ct(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ro;if(!Le(e)){if(t=an(e),t)return t;e=[e]}return ay(e)}function cy(){return mi(Q)}function Pi(e){var t,r=e._a;return r&&M(e).overflow===-2&&(t=r[nt]<0||r[nt]>11?nt:r[Ye]<1||r[Ye]>nn(r[fe],r[nt])?Ye:r[oe]<0||r[oe]>24||r[oe]===24&&(r[De]!==0||r[at]!==0||r[$t]!==0)?oe:r[De]<0||r[De]>59?De:r[at]<0||r[at]>59?at:r[$t]<0||r[$t]>999?$t:-1,M(e)._overflowDayOfYear&&(t<fe||t>Ye)&&(t=Ye),M(e)._overflowWeeks&&t===-1&&(t=hh),M(e)._overflowWeekday&&t===-1&&(t=yh),M(e).overflow=t),e}var ly=/^\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)?)?$/,dy=/^\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)?)?$/,uy=/Z|[+-]\d\d(?::?\d\d)?/,Ho=[["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]],fi=[["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/]],fy=/^\/?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}))$/,hy={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 ud(e){var t,r,o=e._i,a=ly.exec(o)||dy.exec(o),i,s,l,d,f=Ho.length,h=fi.length;if(a){for(M(e).iso=!0,t=0,r=f;t<r;t++)if(Ho[t][1].exec(a[1])){s=Ho[t][0],i=Ho[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(fi[t][1].exec(a[3])){l=(a[2]||" ")+fi[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(uy.exec(a[4]))d="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(d||""),Li(e)}else e._isValid=!1}function yy(e,t,r,o,a,i){var s=[my(e),ed.indexOf(t),parseInt(r,10),parseInt(o,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function my(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function gy(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 o=sd.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(o!==a)return M(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function xy(e,t,r){if(e)return hy[e];if(t)return 0;var o=parseInt(r,10),a=o%100,i=(o-a)/100;return i*60+a}function fd(e){var t=py.exec(gy(e._i)),r;if(t){if(r=yy(t[4],t[3],t[2],t[5],t[6],t[7]),!by(t[1],r,e))return;e._a=r,e._tzm=xy(t[8],t[9],t[10]),e._d=eo.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),M(e).rfc2822=!0}else e._isValid=!1}function vy(e){var t=fy.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ud(e),e._isValid===!1)delete e._isValid;else return;if(fd(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:A.createFromInputFallback(e)}A.createFromInputFallback=Ae("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 hr(e,t,r){return e??t??r}function Sy(e){var t=new Date(A.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Di(e){var t,r,o=[],a,i,s;if(!e._d){for(a=Sy(e),e._w&&e._a[Ye]==null&&e._a[nt]==null&&Oy(e),e._dayOfYear!=null&&(s=hr(e._a[fe],a[fe]),(e._dayOfYear>Qr(s)||e._dayOfYear===0)&&(M(e)._overflowDayOfYear=!0),r=eo(s,0,e._dayOfYear),e._a[nt]=r.getUTCMonth(),e._a[Ye]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=o[t]=a[t];for(;t<7;t++)e._a[t]=o[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[oe]===24&&e._a[De]===0&&e._a[at]===0&&e._a[$t]===0&&(e._nextDay=!0,e._a[oe]=0),e._d=(e._useUTC?eo:Rh).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oe]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(M(e).weekdayMismatch=!0)}}function Oy(e){var t,r,o,a,i,s,l,d,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=hr(t.GG,e._a[fe],to(Z(),1,4).year),o=hr(t.W,1),a=hr(t.E,1),(a<1||a>7)&&(d=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,f=to(Z(),i,s),r=hr(t.gg,e._a[fe],f.year),o=hr(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),o<1||o>it(r,i,s)?M(e)._overflowWeeks=!0:d!=null?M(e)._overflowWeekday=!0:(l=id(r,o,a,i,s),e._a[fe]=l.year,e._dayOfYear=l.dayOfYear)}A.ISO_8601=function(){};A.RFC_2822=function(){};function Li(e){if(e._f===A.ISO_8601){ud(e);return}if(e._f===A.RFC_2822){fd(e);return}e._a=[],M(e).empty=!0;var t=""+e._i,r,o,a,i,s,l=t.length,d=0,f,h;for(a=Vl(e._f,e._locale).match(Ci)||[],h=a.length,r=0;r<h;r++)i=a[r],o=(t.match(uh(i,e))||[])[0],o&&(s=t.substr(0,t.indexOf(o)),s.length>0&&M(e).unusedInput.push(s),t=t.slice(t.indexOf(o)+o.length),d+=o.length),mr[i]?(o?M(e).empty=!1:M(e).unusedTokens.push(i),ph(i,o,e)):e._strict&&!o&&M(e).unusedTokens.push(i);M(e).charsLeftOver=l-d,t.length>0&&M(e).unusedInput.push(t),e._a[oe]<=12&&M(e).bigHour===!0&&e._a[oe]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[oe]=wy(e._locale,e._a[oe],e._meridiem),f=M(e).era,f!==null&&(e._a[fe]=e._locale.erasConvertYear(f,e._a[fe])),Di(e),Pi(e)}function wy(e,t,r){var o;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(o=e.isPM(r),o&&t<12&&(t+=12),!o&&t===12&&(t=0)),t)}function Ey(e){var t,r,o,a,i,s,l=!1,d=e._f.length;if(d===0){M(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<d;a++)i=0,s=!1,t=wi({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Li(t),Oi(t)&&(s=!0),i+=M(t).charsLeftOver,i+=M(t).unusedTokens.length*10,M(t).score=i,l?i<o&&(o=i,r=t):(o==null||i<o||s)&&(o=i,r=t,s&&(l=!0));vt(e,r||t)}function Cy(e){if(!e._d){var t=_i(e._i),r=t.day===void 0?t.date:t.day;e._a=Gl([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(o){return o&&parseInt(o,10)}),Di(e)}}function _y(e){var t=new no(Pi(pd(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function pd(e){var t=e._i,r=e._f;return e._locale=e._locale||ct(e._l),t===null||r===void 0&&t===""?Jo({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Me(t)?new no(Pi(t)):(oo(t)?e._d=t:Le(r)?Ey(e):r?Li(e):Ay(e),Oi(e)||(e._d=null),e))}function Ay(e){var t=e._i;ge(t)?e._d=new Date(A.now()):oo(t)?e._d=new Date(t.valueOf()):typeof t=="string"?vy(e):Le(t)?(e._a=Gl(t.slice(0),function(r){return parseInt(r,10)}),Di(e)):zt(t)?Cy(e):st(t)?e._d=new Date(t):A.createFromInputFallback(e)}function hd(e,t,r,o,a){var i={};return(t===!0||t===!1)&&(o=t,t=void 0),(r===!0||r===!1)&&(o=r,r=void 0),(zt(e)&&Si(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=o,_y(i)}function Z(e,t,r,o){return hd(e,t,r,o,!1)}var Ry=Ae("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:Jo()}),Ny=Ae("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:Jo()});function yd(e,t){var r,o;if(t.length===1&&Le(t[0])&&(t=t[0]),!t.length)return Z();for(r=t[0],o=1;o<t.length;++o)(!t[o].isValid()||t[o][e](r))&&(r=t[o]);return r}function Ty(){var e=[].slice.call(arguments,0);return yd("isBefore",e)}function Iy(){var e=[].slice.call(arguments,0);return yd("isAfter",e)}var ky=function(){return Date.now?Date.now():+new Date},Jr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Py(e){var t,r=!1,o,a=Jr.length;for(t in e)if($(e,t)&&!(te.call(Jr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(o=0;o<a;++o)if(e[Jr[o]]){if(r)return!1;parseFloat(e[Jr[o]])!==F(e[Jr[o]])&&(r=!0)}return!0}function Dy(){return this._isValid}function Ly(){return Fe(NaN)}function sn(e){var t=_i(e),r=t.year||0,o=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=Py(t),this._milliseconds=+h+f*1e3+d*6e4+l*1e3*60*60,this._days=+s+i*7,this._months=+a+o*3+r*12,this._data={},this._locale=ct(),this._bubble()}function zo(e){return e instanceof sn}function bi(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function My(e,t,r){var o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,s;for(s=0;s<o;s++)(r&&e[s]!==t[s]||!r&&F(e[s])!==F(t[s]))&&i++;return i+a}function md(e,t){P(e,0,0,function(){var r=this.utcOffset(),o="+";return r<0&&(r=-r,o="-"),o+je(~~(r/60),2)+t+je(~~r%60,2)})}md("Z",":");md("ZZ","");R("Z",on);R("ZZ",on);V(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Mi(on,e)});var Fy=/([\+\-]|\d\d)/gi;function Mi(e,t){var r=(t||"").match(e),o,a,i;return r===null?null:(o=r[r.length-1]||[],a=(o+"").match(Fy)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function Fi(e,t){var r,o;return t._isUTC?(r=t.clone(),o=(Me(e)||oo(e)?e.valueOf():Z(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),A.updateOffset(r,!1),r):Z(e).local()}function xi(e){return-Math.round(e._d.getTimezoneOffset())}A.updateOffset=function(){};function Uy(e,t,r){var o=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Mi(on,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=xi(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),o!==e&&(!t||this._changeInProgress?xd(this,Fe(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?o:xi(this)}function By(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Wy(e){return this.utcOffset(0,e)}function Hy(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(xi(this),"m")),this}function $y(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Mi(lh,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function zy(e){return this.isValid()?(e=e?Z(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Gy(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yy(){if(!ge(this._isDSTShifted))return this._isDSTShifted;var e={},t;return wi(e,this),e=pd(e),e._a?(t=e._isUTC?Ve(e._a):Z(e._a),this._isDSTShifted=this.isValid()&&My(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jy(){return this.isValid()?!this._isUTC:!1}function Vy(){return this.isValid()?this._isUTC:!1}function gd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ky=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Zy=/^(-|\+)?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,o=null,a,i,s;return zo(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:st(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Ky.exec(e))?(a=o[1]==="-"?-1:1,r={y:0,d:F(o[Ye])*a,h:F(o[oe])*a,m:F(o[De])*a,s:F(o[at])*a,ms:F(bi(o[$t]*1e3))*a}):(o=Zy.exec(e))?(a=o[1]==="-"?-1:1,r={y:Ht(o[2],a),M:Ht(o[3],a),w:Ht(o[4],a),d:Ht(o[5],a),h:Ht(o[6],a),m:Ht(o[7],a),s:Ht(o[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=qy(Z(r.from),Z(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new sn(r),zo(e)&&$(e,"_locale")&&(i._locale=e._locale),zo(e)&&$(e,"_isValid")&&(i._isValid=e._isValid),i}Fe.fn=sn.prototype;Fe.invalid=Ly;function Ht(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Hl(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 qy(e,t){var r;return e.isValid()&&t.isValid()?(t=Fi(t,e),e.isBefore(t)?r=Hl(e,t):(r=Hl(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function bd(e,t){return function(r,o){var a,i;return o!==null&&!isNaN(+o)&&(jl(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=o,o=i),a=Fe(r,o),xd(this,a,e),this}}function xd(e,t,r,o){var a=t._milliseconds,i=bi(t._days),s=bi(t._months);e.isValid()&&(o=o??!0,s&&rd(e,Yo(e,"Month")+s*r),i&&Zl(e,"Date",Yo(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),o&&A.updateOffset(e,i||s))}var Jy=bd(1,"add"),Xy=bd(-1,"subtract");function vd(e){return typeof e=="string"||e instanceof String}function Qy(e){return Me(e)||oo(e)||vd(e)||st(e)||tm(e)||em(e)||e===null||e===void 0}function em(e){var t=zt(e)&&!Si(e),r=!1,o=["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=o.length;for(a=0;a<s;a+=1)i=o[a],r=r||$(e,i);return t&&r}function tm(e){var t=Le(e),r=!1;return t&&(r=e.filter(function(o){return!st(o)&&vd(e)}).length===0),t&&r}function rm(e){var t=zt(e)&&!Si(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<o.length;a+=1)i=o[a],r=r||$(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 nm(e,t){arguments.length===1&&(arguments[0]?Qy(arguments[0])?(e=arguments[0],t=void 0):rm(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||Z(),o=Fi(r,this).startOf("day"),a=A.calendarFormat(this,o)||"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 no(this)}function im(e,t){var r=Me(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 sm(e,t){var r=Me(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 cm(e,t,r,o){var a=Me(e)?e:Z(e),i=Me(t)?t:Z(t);return this.isValid()&&a.isValid()&&i.isValid()?(o=o||"()",(o[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(o[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function lm(e,t){var r=Me(e)?e:Z(e),o;return this.isValid()&&r.isValid()?(t=Re(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(o=r.valueOf(),this.clone().startOf(t).valueOf()<=o&&o<=this.clone().endOf(t).valueOf())):!1}function dm(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function um(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function fm(e,t,r){var o,a,i;if(!this.isValid())return NaN;if(o=Fi(e,this),!o.isValid())return NaN;switch(a=(o.utcOffset()-this.utcOffset())*6e4,t=Re(t),t){case"year":i=Go(this,o)/12;break;case"month":i=Go(this,o);break;case"quarter":i=Go(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-a)/864e5;break;case"week":i=(this-o-a)/6048e5;break;default:i=this-o}return r?i:_e(i)}function Go(e,t){if(e.date()<t.date())return-Go(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),o=e.clone().add(r,"months"),a,i;return t-o<0?(a=e.clone().add(r-1,"months"),i=(t-o)/(o-a)):(a=e.clone().add(r+1,"months"),i=(t-o)/(a-o)),-(r+i)||0}A.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";A.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 hm(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?$o(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",$o(r,"Z")):$o(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ym(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,o,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',o=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+o+a+i)}function mm(e){e||(e=this.isUtc()?A.defaultFormatUtc:A.defaultFormat);var t=$o(this,e);return this.localeData().postformat(t)}function gm(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 xm(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 vm(e){return this.to(Z(),e)}function Sd(e){var t;return e===void 0?this._locale._abbr:(t=ct(e),t!=null&&(this._locale=t),this)}var Od=Ae("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 wd(){return this._locale}var Ko=1e3,gr=60*Ko,Zo=60*gr,Ed=(365*400+97)*24*Zo;function br(e,t){return(e%t+t)%t}function Cd(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Ed:new Date(e,t,r).valueOf()}function _d(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Ed:Date.UTC(e,t,r)}function Sm(e){var t,r;if(e=Re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?_d:Cd,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-=br(t+(this._isUTC?0:this.utcOffset()*gr),Zo);break;case"minute":t=this._d.valueOf(),t-=br(t,gr);break;case"second":t=this._d.valueOf(),t-=br(t,Ko);break}return this._d.setTime(t),A.updateOffset(this,!0),this}function Om(e){var t,r;if(e=Re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?_d:Cd,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+=Zo-br(t+(this._isUTC?0:this.utcOffset()*gr),Zo)-1;break;case"minute":t=this._d.valueOf(),t+=gr-br(t,gr)-1;break;case"second":t=this._d.valueOf(),t+=Ko-br(t,Ko)-1;break}return this._d.setTime(t),A.updateOffset(this,!0),this}function wm(){return this._d.valueOf()-(this._offset||0)*6e4}function Em(){return Math.floor(this.valueOf()/1e3)}function Cm(){return new Date(this.valueOf())}function _m(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Am(){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 Rm(){return this.isValid()?this.toISOString():null}function Nm(){return Oi(this)}function Tm(){return vt({},M(this))}function Im(){return M(this).overflow}function km(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}P("N",0,0,"eraAbbr");P("NN",0,0,"eraAbbr");P("NNN",0,0,"eraAbbr");P("NNNN",0,0,"eraName");P("NNNNN",0,0,"eraNarrow");P("y",["y",1],"yo","eraYear");P("y",["yy",2],0,"eraYear");P("y",["yyy",3],0,"eraYear");P("y",["yyyy",4],0,"eraYear");R("N",Ui);R("NN",Ui);R("NNN",Ui);R("NNNN",zm);R("NNNNN",Gm);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,o){var a=r._locale.erasParse(e,o,r._strict);a?M(r).era=a:M(r).invalidEra=e});R("y",vr);R("yy",vr);R("yyy",vr);R("yyyy",vr);R("yo",Ym);V(["y","yy","yyy","yyyy"],fe);V(["yo"],function(e,t,r,o){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[fe]=r._locale.eraYearOrdinalParse(e,a):t[fe]=parseInt(e,10)});function Pm(e,t){var r,o,a,i=this._eras||ct("en")._eras;for(r=0,o=i.length;r<o;++r){switch(typeof i[r].since){case"string":a=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=A(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function Dm(e,t,r){var o,a,i=this.eras(),s,l,d;for(e=e.toUpperCase(),o=0,a=i.length;o<a;++o)if(s=i[o].name.toUpperCase(),l=i[o].abbr.toUpperCase(),d=i[o].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[o];break;case"NNNN":if(s===e)return i[o];break;case"NNNNN":if(d===e)return i[o];break}else if([s,l,d].indexOf(e)>=0)return i[o]}function Lm(e,t){var r=e.since<=e.until?1:-1;return t===void 0?A(e.since).year():A(e.since).year()+(t-e.offset)*r}function Mm(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].name;return""}function Fm(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].narrow;return""}function Um(){var e,t,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return o[e].abbr;return""}function Bm(){var e,t,r,o,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,o=this.clone().startOf("day").valueOf(),a[e].since<=o&&o<=a[e].until||a[e].until<=o&&o<=a[e].since)return(this.year()-A(a[e].since).year())*r+a[e].offset;return this.year()}function Wm(e){return $(this,"_erasNameRegex")||Bi.call(this),e?this._erasNameRegex:this._erasRegex}function Hm(e){return $(this,"_erasAbbrRegex")||Bi.call(this),e?this._erasAbbrRegex:this._erasRegex}function $m(e){return $(this,"_erasNarrowRegex")||Bi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ui(e,t){return t.erasAbbrRegex(e)}function zm(e,t){return t.erasNameRegex(e)}function Gm(e,t){return t.erasNarrowRegex(e)}function Ym(e,t){return t._eraYearOrdinalRegex||vr}function Bi(){var e=[],t=[],r=[],o=[],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)),o.push(Se(s[a].name)),o.push(Se(s[a].abbr)),o.push(Se(s[a].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}P(0,["gg",2],0,function(){return this.weekYear()%100});P(0,["GG",2],0,function(){return this.isoWeekYear()%100});function cn(e,t){P(0,[e,e.length],0,t)}cn("gggg","weekYear");cn("ggggg","weekYear");cn("GGGG","isoWeekYear");cn("GGGGG","isoWeekYear");pe("weekYear","gg");pe("isoWeekYear","GG");he("weekYear",1);he("isoWeekYear",1);R("G",rn);R("g",rn);R("GG",q,Oe);R("gg",q,Oe);R("GGGG",Ri,Ai);R("gggg",Ri,Ai);R("GGGGG",tn,Qo);R("ggggg",tn,Qo);io(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,o){t[o.substr(0,2)]=F(e)});io(["gg","GG"],function(e,t,r,o){t[o]=A.parseTwoDigitYear(e)});function jm(e){return Ad.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vm(e){return Ad.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Km(){return it(this.year(),1,4)}function Zm(){return it(this.isoWeekYear(),1,4)}function qm(){var e=this.localeData()._week;return it(this.year(),e.dow,e.doy)}function Jm(){var e=this.localeData()._week;return it(this.weekYear(),e.dow,e.doy)}function Ad(e,t,r,o,a){var i;return e==null?to(this,o,a).year:(i=it(e,o,a),t>i&&(t=i),Xm.call(this,e,t,r,o,a))}function Xm(e,t,r,o,a){var i=id(e,t,r,o,a),s=eo(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}P("Q",0,"Qo","quarter");pe("quarter","Q");he("quarter",7);R("Q",ql);V("Q",function(e,t){t[nt]=(F(e)-1)*3});function Qm(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}P("D",["DD",2],"Do","date");pe("date","D");he("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"],Ye);V("Do",function(e,t){t[Ye]=F(e.match(q)[0])});var Rd=xr("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear");pe("dayOfYear","DDD");he("dayOfYear",4);R("DDD",en);R("DDDD",Jl);V(["DDD","DDDD"],function(e,t,r){r._dayOfYear=F(e)});function eg(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}P("m",["mm",2],0,"minute");pe("minute","m");he("minute",14);R("m",q);R("mm",q,Oe);V(["m","mm"],De);var tg=xr("Minutes",!1);P("s",["ss",2],0,"second");pe("second","s");he("second",15);R("s",q);R("ss",q,Oe);V(["s","ss"],at);var rg=xr("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)});P(0,["SS",2],0,function(){return~~(this.millisecond()/10)});P(0,["SSS",3],0,"millisecond");P(0,["SSSS",4],0,function(){return this.millisecond()*10});P(0,["SSSSS",5],0,function(){return this.millisecond()*100});P(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});P(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});P(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});P(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});pe("millisecond","ms");he("millisecond",16);R("S",en,ql);R("SS",en,Oe);R("SSS",en,Jl);var St,Nd;for(St="SSSS";St.length<=9;St+="S")R(St,vr);function og(e,t){t[$t]=F(("0."+e)*1e3)}for(St="S";St.length<=9;St+="S")V(St,og);Nd=xr("Milliseconds",!1);P("z",0,0,"zoneAbbr");P("zz",0,0,"zoneName");function ng(){return this._isUTC?"UTC":""}function ag(){return this._isUTC?"Coordinated Universal Time":""}var E=no.prototype;E.add=Jy;E.calendar=nm;E.clone=am;E.diff=fm;E.endOf=Om;E.format=mm;E.from=gm;E.fromNow=bm;E.to=xm;E.toNow=vm;E.get=sh;E.invalidAt=Im;E.isAfter=im;E.isBefore=sm;E.isBetween=cm;E.isSame=lm;E.isSameOrAfter=dm;E.isSameOrBefore=um;E.isValid=Nm;E.lang=Od;E.locale=Sd;E.localeData=wd;E.max=Ny;E.min=Ry;E.parsingFlags=Tm;E.set=ch;E.startOf=Sm;E.subtract=Xy;E.toArray=_m;E.toObject=Am;E.toDate=Cm;E.toISOString=hm;E.inspect=ym;typeof Symbol<"u"&&Symbol.for!=null&&(E[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E.toJSON=Rm;E.toString=pm;E.unix=Em;E.valueOf=wm;E.creationData=km;E.eraName=Mm;E.eraNarrow=Fm;E.eraAbbr=Um;E.eraYear=Bm;E.year=ad;E.isLeapYear=Ah;E.weekYear=jm;E.isoWeekYear=Vm;E.quarter=E.quarters=Qm;E.month=od;E.daysInMonth=Eh;E.week=E.weeks=Ph;E.isoWeek=E.isoWeeks=Dh;E.weeksInYear=qm;E.weeksInWeekYear=Jm;E.isoWeeksInYear=Km;E.isoWeeksInISOWeekYear=Zm;E.date=Rd;E.day=E.days=Vh;E.weekday=Kh;E.isoWeekday=Zh;E.dayOfYear=eg;E.hour=E.hours=ry;E.minute=E.minutes=tg;E.second=E.seconds=rg;E.millisecond=E.milliseconds=Nd;E.utcOffset=Uy;E.utc=Wy;E.local=Hy;E.parseZone=$y;E.hasAlignedHourOffset=zy;E.isDST=Gy;E.isLocal=jy;E.isUtcOffset=Vy;E.isUtc=gd;E.isUTC=gd;E.zoneAbbr=ng;E.zoneName=ag;E.dates=Ae("dates accessor is deprecated. Use date instead.",Rd);E.months=Ae("months accessor is deprecated. Use month instead",od);E.years=Ae("years accessor is deprecated. Use year instead",ad);E.zone=Ae("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",By);E.isDSTShifted=Ae("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yy);function ig(e){return Z(e*1e3)}function sg(){return Z.apply(null,arguments).parseZone()}function Td(e){return e}var z=Ei.prototype;z.calendar=Vp;z.longDateFormat=Jp;z.invalidDate=Qp;z.ordinal=rh;z.preparse=Td;z.postformat=Td;z.relativeTime=nh;z.pastFuture=ah;z.set=Yp;z.eras=Pm;z.erasParse=Dm;z.erasConvertYear=Lm;z.erasAbbrRegex=Hm;z.erasNameRegex=Wm;z.erasNarrowRegex=$m;z.months=vh;z.monthsShort=Sh;z.monthsParse=wh;z.monthsRegex=_h;z.monthsShortRegex=Ch;z.week=Nh;z.firstDayOfYear=kh;z.firstDayOfWeek=Ih;z.weekdays=$h;z.weekdaysMin=Gh;z.weekdaysShort=zh;z.weekdaysParse=jh;z.weekdaysRegex=qh;z.weekdaysShortRegex=Jh;z.weekdaysMinRegex=Xh;z.isPM=ey;z.meridiem=oy;function qo(e,t,r,o){var a=ct(),i=Ve().set(o,t);return a[r](i,e)}function Id(e,t,r){if(st(e)&&(t=e,e=void 0),e=e||"",t!=null)return qo(e,t,r,"month");var o,a=[];for(o=0;o<12;o++)a[o]=qo(e,o,r,"month");return a}function Wi(e,t,r,o){typeof e=="boolean"?(st(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,st(t)&&(r=t,t=void 0),t=t||"");var a=ct(),i=e?a._week.dow:0,s,l=[];if(r!=null)return qo(t,(r+i)%7,o,"day");for(s=0;s<7;s++)l[s]=qo(t,(s+i)%7,o,"day");return l}function cg(e,t){return Id(e,t,"months")}function lg(e,t){return Id(e,t,"monthsShort")}function dg(e,t,r){return Wi(e,t,r,"weekdays")}function ug(e,t,r){return Wi(e,t,r,"weekdaysShort")}function fg(e,t,r){return Wi(e,t,r,"weekdaysMin")}Ot("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}});A.lang=Ae("moment.lang is deprecated. Use moment.locale instead.",Ot);A.langData=Ae("moment.langData is deprecated. Use moment.localeData instead.",ct);var rt=Math.abs;function pg(){var e=this._data;return this._milliseconds=rt(this._milliseconds),this._days=rt(this._days),this._months=rt(this._months),e.milliseconds=rt(e.milliseconds),e.seconds=rt(e.seconds),e.minutes=rt(e.minutes),e.hours=rt(e.hours),e.months=rt(e.months),e.years=rt(e.years),this}function kd(e,t,r,o){var a=Fe(t,r);return e._milliseconds+=o*a._milliseconds,e._days+=o*a._days,e._months+=o*a._months,e._bubble()}function hg(e,t){return kd(this,e,t,1)}function yg(e,t){return kd(this,e,t,-1)}function $l(e){return e<0?Math.floor(e):Math.ceil(e)}function mg(){var e=this._milliseconds,t=this._days,r=this._months,o=this._data,a,i,s,l,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=$l(vi(r)+t)*864e5,t=0,r=0),o.milliseconds=e%1e3,a=_e(e/1e3),o.seconds=a%60,i=_e(a/60),o.minutes=i%60,s=_e(i/60),o.hours=s%24,t+=_e(s/24),d=_e(Pd(t)),r+=d,t-=$l(vi(d)),l=_e(r/12),r%=12,o.days=t,o.months=r,o.years=l,this}function Pd(e){return e*4800/146097}function vi(e){return e*146097/4800}function gg(e){if(!this.isValid())return NaN;var t,r,o=this._milliseconds;if(e=Re(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+o/864e5,r=this._months+Pd(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(vi(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return t*24+o/36e5;case"minute":return t*1440+o/6e4;case"second":return t*86400+o/1e3;case"millisecond":return Math.floor(t*864e5)+o;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 lt(e){return function(){return this.as(e)}}var xg=lt("ms"),vg=lt("s"),Sg=lt("m"),Og=lt("h"),wg=lt("d"),Eg=lt("w"),Cg=lt("M"),_g=lt("Q"),Ag=lt("y");function Rg(){return Fe(this)}function Ng(e){return e=Re(e),this.isValid()?this[e+"s"]():NaN}function Gt(e){return function(){return this.isValid()?this._data[e]:NaN}}var Tg=Gt("milliseconds"),Ig=Gt("seconds"),kg=Gt("minutes"),Pg=Gt("hours"),Dg=Gt("days"),Lg=Gt("months"),Mg=Gt("years");function Fg(){return _e(this.days()/7)}var ot=Math.round,yr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ug(e,t,r,o,a){return a.relativeTime(t||1,!!r,e,o)}function Bg(e,t,r,o){var a=Fe(e).abs(),i=ot(a.as("s")),s=ot(a.as("m")),l=ot(a.as("h")),d=ot(a.as("d")),f=ot(a.as("M")),h=ot(a.as("w")),p=ot(a.as("y")),m=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&&(m=m||h<=1&&["w"]||h<r.w&&["ww",h]),m=m||f<=1&&["M"]||f<r.M&&["MM",f]||p<=1&&["y"]||["yy",p],m[2]=t,m[3]=+e>0,m[4]=o,Ug.apply(null,m)}function Wg(e){return e===void 0?ot:typeof e=="function"?(ot=e,!0):!1}function Hg(e,t){return yr[e]===void 0?!1:t===void 0?yr[e]:(yr[e]=t,e==="s"&&(yr.ss=t-1),!0)}function $g(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,o=yr,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(o=Object.assign({},yr,t),t.s!=null&&t.ss==null&&(o.ss=t.s-1)),a=this.localeData(),i=Bg(this,!r,o,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var pi=Math.abs;function pr(e){return(e>0)-(e<0)||+e}function ln(){if(!this.isValid())return this.localeData().invalidDate();var e=pi(this._milliseconds)/1e3,t=pi(this._days),r=pi(this._months),o,a,i,s,l=this.asSeconds(),d,f,h,p;return l?(o=_e(e/60),a=_e(o/60),e%=60,o%=60,i=_e(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=l<0?"-":"",f=pr(this._months)!==pr(l)?"-":"",h=pr(this._days)!==pr(l)?"-":"",p=pr(this._milliseconds)!==pr(l)?"-":"",d+"P"+(i?f+i+"Y":"")+(r?f+r+"M":"")+(t?h+t+"D":"")+(a||o||e?"T":"")+(a?p+a+"H":"")+(o?p+o+"M":"")+(e?p+s+"S":"")):"P0D"}var W=sn.prototype;W.isValid=Dy;W.abs=pg;W.add=hg;W.subtract=yg;W.as=gg;W.asMilliseconds=xg;W.asSeconds=vg;W.asMinutes=Sg;W.asHours=Og;W.asDays=wg;W.asWeeks=Eg;W.asMonths=Cg;W.asQuarters=_g;W.asYears=Ag;W.valueOf=bg;W._bubble=mg;W.clone=Rg;W.get=Ng;W.milliseconds=Tg;W.seconds=Ig;W.minutes=kg;W.hours=Pg;W.days=Dg;W.weeks=Fg;W.months=Lg;W.years=Mg;W.humanize=$g;W.toISOString=ln;W.toString=ln;W.toJSON=ln;W.locale=Sd;W.localeData=wd;W.toIsoString=Ae("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ln);W.lang=Od;P("X",0,0,"unix");P("x",0,0,"valueOf");R("x",rn);R("X",dh);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))});A.version="2.29.4";zp(Z);A.fn=E;A.min=Ty;A.max=Iy;A.now=ky;A.utc=Ve;A.unix=ig;A.months=cg;A.isDate=oo;A.locale=Ot;A.invalid=Jo;A.duration=Fe;A.isMoment=Me;A.weekdays=dg;A.parseZone=sg;A.localeData=ct;A.isDuration=zo;A.monthsShort=lg;A.weekdaysMin=fg;A.defineLocale=ki;A.updateLocale=sy;A.locales=cy;A.weekdaysShort=ug;A.normalizeUnits=Re;A.relativeTimeRounding=Wg;A.relativeTimeThreshold=Hg;A.calendarFormat=om;A.prototype=E;A.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 Ue=A;var ne;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(ne||(ne={}));var Dd=ee`
|
|
89
89
|
.sessions-chart {
|
|
90
90
|
height: 100%;
|
|
91
91
|
width: 100%;
|
|
92
92
|
}
|
|
93
|
-
`;var ye=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);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 re=class extends
|
|
93
|
+
`;var ye=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);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 re=class extends ie{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=ne.DAY,this.data=[]}render(){return We`
|
|
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 o;(o=this.myChart)===null||o===void 0||o.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===ne.DAY||t.period===ne.WEEK?Ue.utc(r*1e3).format("DD MMM YYYY"):t.period===ne.MONTH?Ue.utc(r*1e3).format("MMMM YYYY"):Ue.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){let r=Ue.utc(t[0].data.value[0]*1e3),o=t.map(d=>d.data.value[1]),a,i,s="";switch(this.period){case ne.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,ne.DAY)&&(s=" so far");break}case ne.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,ne.WEEK)&&(s=" so far");break}case ne.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,ne.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<o.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,p=o[d]===1?h:f;l+=`${o[d].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,o=Ue.utc()){switch(r){case ne.DAY:return t.format("YYYY-MM-DD")===o.clone().startOf("day").format("YYYY-MM-DD");case ne.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===o.clone().startOf("isoWeek").format("YYYY-MM-DD");case ne.MONTH:return t.month()===o.month()&&t.year()===o.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 o=0;o<t;o++)r[o]={type:this.barChart?"bar":"line",data:this.getData(o)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(Ue.unix(r[0]),this.period)?{value:[r[0],r[t+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[t+1]]})}};re.styles=
|
|
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 o;(o=this.myChart)===null||o===void 0||o.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===ne.DAY||t.period===ne.WEEK?Ue.utc(r*1e3).format("DD MMM YYYY"):t.period===ne.MONTH?Ue.utc(r*1e3).format("MMMM YYYY"):Ue.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){let r=Ue.utc(t[0].data.value[0]*1e3),o=t.map(d=>d.data.value[1]),a,i,s="";switch(this.period){case ne.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,ne.DAY)&&(s=" so far");break}case ne.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,ne.WEEK)&&(s=" so far");break}case ne.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,ne.MONTH)&&(s=" so far");break}}let l="";for(let d=0;d<o.length;d++){let f=this.valueLabels?this.valueLabels[d]:this.yAxisName,h=this.valueLabelsSingular?this.valueLabelsSingular[d]:f,p=o[d]===1?h:f;l+=`${o[d].toLocaleString()} ${p} ${i} ${a}${s}</br>`}return l.substring(0,l.length-5)}isThisPeriod(t,r,o=Ue.utc()){switch(r){case ne.DAY:return t.format("YYYY-MM-DD")===o.clone().startOf("day").format("YYYY-MM-DD");case ne.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===o.clone().startOf("isoWeek").format("YYYY-MM-DD");case ne.MONTH:return t.month()===o.month()&&t.year()===o.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 o=0;o<t;o++)r[o]={type:this.barChart?"bar":"line",data:this.getData(o)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(Ue.unix(r[0]),this.period)?{value:[r[0],r[t+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[t+1]]})}};re.styles=Dd;ye([D({type:String})],re.prototype,"xAxisName",void 0);ye([D({type:String})],re.prototype,"yAxisName",void 0);ye([D({type:String})],re.prototype,"graphColor",void 0);ye([D({type:String})],re.prototype,"hoverColor",void 0);ye([D({type:String})],re.prototype,"tooltipBackgroundColor",void 0);ye([D({type:String})],re.prototype,"tooltipBorderColor",void 0);ye([D({type:String})],re.prototype,"tooltipTextColor",void 0);ye([D({type:String})],re.prototype,"tooltipBorderRadius",void 0);ye([It(void 0)],re.prototype,"valueLabels",void 0);ye([It(void 0)],re.prototype,"valueLabelsSingular",void 0);ye([D({type:Boolean})],re.prototype,"barChart",void 0);ye([D({type:String})],re.prototype,"period",void 0);ye([It([])],re.prototype,"data",void 0);ye([wn(".sessions-chart")],re.prototype,"container",void 0);re=ye([Je("ft-chart")],re);Je("ft-chart")(re);var Ld=ee`
|
|
96
96
|
.session-chart {
|
|
97
97
|
width: 100%;
|
|
98
98
|
height: 100%;
|
|
99
99
|
}
|
|
100
|
-
`;var Ne=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);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},
|
|
100
|
+
`;var Ne=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);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},le=class extends ie{constructor(){super(...arguments),this.baseUrl="",this.period=ne.MONTH,this.startDate=Ue.utc().startOf("month").add(-3,"months").format("YYYY-MM-DD"),this.endDate=Ue.utc().startOf("month").format("YYYY-MM-DD"),this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.data=[]}render(){return We`
|
|
101
101
|
<div class="session-chart">
|
|
102
102
|
<ft-chart
|
|
103
103
|
xAxisName="date"
|
|
@@ -115,7 +115,7 @@ Arguments: `+Array.prototype.slice.call(o).join("")+`
|
|
|
115
115
|
data="${JSON.stringify(this.data)}"
|
|
116
116
|
></ft-chart>
|
|
117
117
|
</div>
|
|
118
|
-
`}update(t){super.update(t),t.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(t.ok){let r=(await t.json()).results;this.data=this.getData(r)}else console.log((await t.json()).message)}}getData(t){return t.map(r=>[Ue.utc(r.periodStartDate,"YYYY-MM-DD").unix(),r.sessionCount])}};
|
|
118
|
+
`}update(t){super.update(t),t.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(t.ok){let r=(await t.json()).results;this.data=this.getData(r)}else console.log((await t.json()).message)}}getData(t){return t.map(r=>[Ue.utc(r.periodStartDate,"YYYY-MM-DD").unix(),r.sessionCount])}};le.elementDefinitions={"ft-chart":re};le.styles=Ld;Ne([D({type:String})],le.prototype,"baseUrl",void 0);Ne([D({type:String})],le.prototype,"period",void 0);Ne([D({type:String})],le.prototype,"startDate",void 0);Ne([D({type:String})],le.prototype,"endDate",void 0);Ne([D({type:String})],le.prototype,"graphColor",void 0);Ne([D({type:String})],le.prototype,"hoverColor",void 0);Ne([D({type:String})],le.prototype,"tooltipBackgroundColor",void 0);Ne([D({type:String})],le.prototype,"tooltipBorderColor",void 0);Ne([D({type:String})],le.prototype,"tooltipTextColor",void 0);Ne([D({type:String})],le.prototype,"tooltipBorderRadius",void 0);Ne([we()],le.prototype,"data",void 0);le=Ne([Je("ft-analytics-sessions-chart")],le);Je("ft-analytics-sessions-chart")(le);})();
|
|
119
119
|
/*! Bundled license information:
|
|
120
120
|
|
|
121
121
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|